Note when updating:
Everything will still work fine if you just replace the old jar and don't follow the steps below, but the default values of the missing options would be used (and the console would notify you).
A new option has been added in both lang.yml and config.yml (support to show
messages on screen instead of in the chat and a customizable message that is sent to the players that didn't sleep).
If you want to customize these new features when updating from a previous version, please
add the following options to the correct file and read their explanation to avoid mistakes.
Alternatively, you can reset config.yml and lang.yml by deleting them and performing /bs reload or by a full server restart (both are equally valid options). This option would also copy an explanation of both new options to both config files.
- config.yml
- messages_in_chat: true
- If set to true, all messages will be sent in chat. Otherwise they will appear on screen.
- IMPORTANT extra note: When set to false, only the last message will be visible if multiple messages are sent back to back. As a result, players will no longer receive good_morning and as a fix, this requires buffs_received and no_buffs_received to be disabled OR if you really want to notify players with the amount of buffs they (didn't) get, you can say good morning in buffs_received and no_buffs_received while neglecting good_morning.
- lang.yml
- no_buff_received: "You didn't sleep and feel tired, so you didn't receive [a.<amount>] [buff.buffs]!"
- This message is sent to the players that didn't sleep during the night that was skipped and thus, didn't get any buffs
Patch notes:
- Added an option to show messages on screen but not in the chat,
- Players that didn't sleep will get a message, notifying them that they are missing out on sleeping buffs (if any buffs are enabled)
- The default documentation (comments) in config.yml and lang.yml were improved
- Removed Freddy Krueger
- More messages are now being sent to the console when config files are being loaded: no missing options are found, no enabled buffs were found
Coming soon: A Discord server for support!