Description
Bedtime v1.3.1
Description
A simple plugin that notifies all players when someone goes to bed and kick idle players. Will also list the sleeping players to the players whom are in bed.
Features
- List players and their sleep status when entering a bed
- Will redisplay this list when the list is somehow changed
- Notify all players when someone enter a bed
- Players do not need to sleep and will not be kicked if set in the config
- Will kick players whom aren't in bed. Behavior:
- KICK-action: Kick idle players if all nonidle players are in bed(They will receive a kick message)
- COUNTDOWN-action: When a player enter a bed there will be initiated a countdown. When this countdown reaches zero all players whom aren't in a bed will be kicked. If all players leave their bed this countdown will be aborted.
- DISABLE-action: Disable kicking. The plugin will not kick any players.
- Behaves as expected on a multi world server.
Feature features
None at the moment. Give me a comment and maybe I'll implement it :)
Commands
- /bed: List players and their sleep status. Green = sleeping, yellow = nonsleeping and red = nonsleeping idle, blue = sleep status ignored.
- /bedcountdown <secs>: Sets the countdown time in seconds
- /bedidleaction <action>: Sets the idle action. Can be KICK, COUNTDOWN or DISABLE
- /bedidletime <idletime in seconds>: Time in seconds until a nonmoving player is considered to be idle
- /bedsleepignore <player name>: Player does not need to sleep/will not be kicked
- /bedsleepunignore <player name>: Player will need to sleep/will be kicked
Permissions
- bedtime.idleaction: Needed to use the /bedidleaction command
- bedtime.idletime: Needed to use the /bedidletime command
- bedtime.sleepignore: Needed to use the /bedsleepignore command
- bedtime.sleepunignore: Needed to use the /bedsleepunignore command
Default config
Config location: /plugins/BedTime/config.yml
- idletime: 10 (Time in seconds before a player i considered idle)
- idleaction: KICK (Kick behavior. Can be set to KICK, COUNTDOWN or DISABLE)
- countdown: 10 (Countdown time in seconds)
- sleepignore: (List of player whom does not need to sleep and will not be kicked)
Bugs / Known issues
- Will not kick idle players if idleaction is set to KICK and they become idle when all other players are sleeping
Images



