You can tell your players what's new at your server
Automatically opens the book when a player joined the server
Softdepend - PlaceholderAPI
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 server owner clear the player list data (/booknews clear). always: true
Message:
No-Permission: '&cYou don''t have permission to do this!'
Interactive-Word:
1:
word: "Go to Next Page" placeholder: "gotopage2" bold: true
color: gold
italic: false
underlined: false
obfuscated: false
clickevent:
enable: true
action: CHANGE_PAGE
# [OPEN_URL / RUN_COMMAND / CHANGE_PAGE / COPY_TO_CLIPBOARD] value: '2'
hoverevent:
enable: true
text: 'Click me to go to next page!'
2:
word: "Go to Next Page" placeholder: "gotopage3" bold: true
color: gold
italic: false
underlined: false
obfuscated: false
clickevent:
enable: true
action: CHANGE_PAGE
# [OPEN_URL / RUN_COMMAND / CHANGE_PAGE / COPY_TO_CLIPBOARD] value: '3'
hoverevent:
enable: true
text: 'Click me to go to next page!'
3:
word: "Go to Next Page" placeholder: "gotopage4" bold: true
color: gold
italic: false
underlined: false
obfuscated: false
clickevent:
enable: true
action: CHANGE_PAGE
# [OPEN_URL / RUN_COMMAND / CHANGE_PAGE / COPY_TO_CLIPBOARD] value: '4'
hoverevent:
enable: true
text: 'Click me to go to next page!'
4:
word: "Go to Next Page" placeholder: "gotopage5" bold: true
color: gold
italic: false
underlined: false
obfuscated: false
clickevent:
enable: true
action: CHANGE_PAGE
# [OPEN_URL / RUN_COMMAND / CHANGE_PAGE / COPY_TO_CLIPBOARD] value: '5'
hoverevent:
enable: true
text: 'Click me to go to next page!'
5:
word: "Hover text" placeholder: "hover" bold: false
color: black
italic: false
underlined: false
obfuscated: false
clickevent:
enable: false
action: OPEN_URL
# [OPEN_URL / RUN_COMMAND / CHANGE_PAGE / COPY_TO_CLIPBOARD] value: ''
hoverevent:
enable: true
text: 'Hello!'
6:
word: "Open link" placeholder: "opengoogle" bold: false
color: black
italic: false
underlined: false
obfuscated: false
clickevent:
enable: true
action: OPEN_URL
# [OPEN_URL / RUN_COMMAND / CHANGE_PAGE / COPY_TO_CLIPBOARD] value: 'https://www.google.com'
hoverevent:
enable: true
text: 'Click me to open google search page!'
7:
word: "Execute command" placeholder: "spawn" bold: false
color: black
italic: false
underlined: false
obfuscated: false
clickevent:
enable: true
action: RUN_COMMAND
# [OPEN_URL / RUN_COMMAND / CHANGE_PAGE / COPY_TO_CLIPBOARD] value: '/spawn'
hoverevent:
enable: true
text: 'Click me to go to spawn!'
8:
word: "Copy to clipboard" placeholder: "copy" bold: false
color: black
italic: false
underlined: false
obfuscated: false
clickevent:
enable: true
action: COPY_TO_CLIPBOARD
# [OPEN_URL / RUN_COMMAND / CHANGE_PAGE / COPY_TO_CLIPBOARD] value: 'Oh wow, you have copied me!'
hoverevent:
enable: true
text: 'Click me to copy a text!'
9:
word: "Go back to first page" placeholder: "gobackfirstpage" bold: true
color: gold
italic: false
underlined: false
obfuscated: false
clickevent:
enable: true
action: CHANGE_PAGE
# [OPEN_URL / RUN_COMMAND / CHANGE_PAGE / COPY_TO_CLIPBOARD] value: '1'
hoverevent:
enable: true
text: 'Click me to go to first page!'
book: ###################################### # "1": # "1" mean page 1 # # |- # # First Line # # Second Line # # Third Line # # (Spacing will leave the line empty)# # Fifth Line # # # ###################################### "1": |-
Hello, this is a book that will automatically open for players
when they join the server
%booknews_gotopage2% "2": |-
In this plugin, you can use color
code, and also hex color
(above 1.16
)!
For example: &0- &cRed Color
&0- &6Gold color
&0-
#b4c1f2&lH#a2ade4&lE#909acb&lX #7d87b1&lC#6c7398&lo#5a607f&ll#484d65&lo#36394c&lr &0The format for hex color: #{hex_code}
%booknews_gotopage3% "3": |-
The plugin also supports PlaceHolderAPI!
For example:
Hello
%player_name%!
There're
%server_online% players online!
%booknews_gotopage4% "4": |-
Clickable/hover texts are also supported!
For example: -
%booknews_hover%
-
%booknews_opengoogle%
-
%booknews_spawn%
-
%booknews_copy%
%booknews_gotopage5% "5": |-
Hope you enjoy the plugin!
%booknews_gobackfirstpage%
Note: Remember to put a space after the interactive word placeholder!
Preview:
Features:
Color code supported (e.g &4Red Text)
Hex color supported (e.g #ff8888Text here)
Placeholder supported
Clickable Text/Hover Text /Execute Command/Open Link/Copy to Clipboard interactive text support
Easy setup interactive text
Lightweight
Tutorial of how to use Interactives Word
/booknews [Permision: booknews.admin]
/booknews reload [Permission: booknews.admin.reload] reload config
/booknews clear [Permission booknews.admin.clear]
/news [Permission: booknews.news] open book
booknews.skip: plugin won't open book for the player who has this permission when they join the server
Having issues with the plugin? You can report it in the discord server. It might take some time for me to reply as I am a student. Thank you for your patience
FAQ
Q: The plugin does not open the book for me when I join the server! A: Make sure Open-Book-Onjoin.enable is set to true, and the plugin will not show the book for the player who has booknews.skip permission