Git Product home page Git Product logo

sleeper's Introduction

Sleeper

Sleeper icon

Skip the night with an animation and some logic, with configuration.

Features of Sleeper

  • Skip nights with a configurable percentage of players
  • Animated night skip with a configurable speed
  • Voting system for skipping the night
  • Fully configurable through the config

Commands and permissions

Everyone

  • sleeper.sleep | /sleep - Main command for subcommands
  • sleeper.vote - Vote with the "yes" and "no" subcommands

Admin

  • sleeper.ignore - Use the "ignore" subcommand to make sleeper ignore if you sleep
  • sleeper.reload - Use the "reload" subcommand to reload plugin configuration
  • sleeper.data - Use the "debug" subcommand to see debug messages

sleeper's People

Contributors

hraponssi avatar hilltty avatar

Stargazers

PM avatar Neko7sora avatar  avatar  avatar 药尘 avatar Kay avatar  avatar  avatar BloodyEyes avatar

Watchers

 avatar  avatar

sleeper's Issues

Sleep Ignore not working

I am in spectator mode and I have ignored myself but it still counts me. I have done the command multiple times and have reset the plugin too. Please fix this.

New feature: Skip Night Voting

The bottom line is that while someone goes to bed, 2 buttons are sent to the chat: "for the pass" and "against the pass", after the specified time in the config, the calculation will be performed, for which more people voted for it, it will be done, so I suggest doing nothing if, for example, less than 30% of the players voted (you can also add a setting to the config)

Sleeper+ spams the console with dozen of [WARN]'s

Hej, I have this (Warning) in the console non-Stop, it spams it every second 20+ times.
After a time the server begins to lag because of this 😅
image

Is this of the Plugin or do I miss something? an extra File/Plugin for it?
Or os this because I use a Paper server?

Plugin not working.

I am trying to load the latest version of the plugin with a 1.21 bukkit server but every time i load it it fails to load the plugin

Minor improvements

  1. Add the placeholder %player% to the "SleepInfo" message, which should display the nickname of the player who lay down on the bed and started the night skip
  2. Add a custom cooldown for the player who lays down on the bed, this should fix spam messages

Calculation for player sleeping percentage wrong?

Tried to use this on a server with 4 people and had the sleep percentage set to 25%. The plugin wouldn't register to skip the night unless all 4 people were asleep. The messages said that 0% of people sleeping. I think the calculation in the number of people sleeping might be off because of using ints rather than doubles. If 1/4 people are sleeping, with ints it would round down to 0. Could be wrong about that but that was the issue I was running into.

error

I keep getting a error when I start up my server when using the sleeper plugin this is what it says Fatal error trying to convert Sleeper v1.5.3:sleeper/main/Metrics$JsonObjectBuilder$JsonObject.class do you know how to fix this?

Please update to 1.20.2

This seems like a good plugin to be added to the minecraft server, would appreciate it if it is updated to 1.20.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.