Added: - 1.20.2 support
-
KeepBook: false/true in the config. When it is set to true, the book will remain in the player's inventory
- Command to give the book to a player
Added: - added bstats
- Added data.yml to store those player who have read the news if you disable the "always" options
Note: don't touch the data.yml
Code (YAML):
Open-Book-Onjoin:
enable: true
#if true, it always open book for players when they join the server. #if false, it only open book for players when server owner clear the player list data (/booknews clear). always: false
Changes: - Renamed [/booknews news] to [/booknews clear]
(clear the player data list and they will be able to see the news again after joining server.)
I know there are a lot of people waiting for the plugin update to support json so they can create some clickable texts or hover texts, BUT I have made another way to do that! Watch the video to know how to create interactive text.
Made changes in config, please use the new config to make sure your plugin works fine!
Code (YAML):
check-update: true
Prefix: '&e&l
[BookNews
] '
OpenBookDelaySecond: 5
OpenBookSoundEffect:
enable: true
sound-effect: ENTITY_PLAYER_LEVELUP
Open-Book-Onjoin: enable: true
#if true, it always open book for players when they join the server. #if false, it only open book for players when the news is updated (/booknews new). always: true
Message:
No-Permission: '&cYou don''t have permission to do this!'
book:
###################################### # "1": # "1" mean page 1 # # |- # # First Line # # Second Line # # Third Line # # (Spacing will leave the line empty)# # Fifth Line # # # ###################################### "1": |-
&4&n&3An Example Line
&rSecond Line
&4Thanks for downloading &a&lBookNews.
BY: LegameMc
"2": |-
This is page 2
Added:
- new command /booknews new
permission: booknews.new
Code (YAML):
#if true, it always open book for players when they join the server. #if false, it only open book for players when the news is updated (/booknews new). AlwaysOpenBook: true