Skip to content

Releases: Phoenix616/BetterBeds

BetterBeds v0.6.1 - No-Perm-Plugin Update

20 Apr 21:58
Compare
Choose a tag to compare

This update removes the need for permissions to be managed by another plugin!

Changes:
_The permission _betterbeds.sleep* is now set to true in the plugin.yml on default!
That means that you don't have to set it via another permission management plugin! It also means that you will have to give players -betterbeds.sleep if you don't want them to use that plugin's mechanics. (That would have the same effect as betterbeds.ignore)

BetterBeds v0.6.0 - Night cycle animation and notificiation receiver config

08 Feb 20:14
Compare
Choose a tag to compare

The cool night skip animation was implemented by @NeoTiger. Huge thanks to him!

Also you can now set who should receive which notification message.

Please update or regenerate your config file. (it should work without doing it 'though)

New config format:

# the number of players which have to sleep independently from the percentage
# if this is above the playercount in a world all players in the world have to sleep
minPlayers: 2
# the ration of players which have to sleep
# set it to 1 or 100% to use the plugin and normal sleeping behavior but with the benefit of ignored 
sleepPercentage: 0.5
# Speed of time for a smoother transition to the morning. Set to 0 to disable this feature. 
nightSpeed: 300  
# use {player} for the sleeping players name
# use {sleeping} for the count of the sleeping players
# use {online} for the online playercount
# use {percentage} for the percentage of sleeping players 
# use {more} to get the count of how many more players have to sleep to skip the night
#
# The Type defines who should get the message.
# Possibly values:
#   NOONE - Don't display the message to anyone
#   SLEEPING - Only players who lye in a bed
#   WORLD - Every player who is in the same world
#   SERVER - Every player on the server
msg:
    ghost: "You may not rest now, there are ghosts nearby"
    sleep:
        text: "{player} is now sleeping. {sleeping}/{online} ({percentage}%)"
        type: "SLEEPING"
    leave:
        text: "{player} is no longer sleeping. {sleeping}/{online} ({percentage}%) {more} more required!"
        type: "SLEEPING"
    wake:
        text: "Wakey wakey, rise and shine... Good morning everyone!"
        type: "WORLD"
    notify:
        text: "{sleeping} players have gone to bed. Skipping the night!"
        type: "SLEEPING"
    notifyOnSingle:
        text: "{player} has gone to bed. Skipping the night!"
        type: "SLEEPING"