Important!
This plugin uses Java 17, if you are using another java version you may need to add this line to your batch file:
"
-DPaper.IgnoreJavaVersion=true ^"
- Advancement Announcer gives you ability to send toast advancement messages to desired players.
- You can set up presets to easily send them just a simple command.
- You can set automated messages to send on a specified interval to your players.
- AA supports PAPI you can use any placeholder supported by PAPI.
- Advancement Announcer has been tested on versions 1.16.5 - 1.21.4.
- Please feel free to contact me via Discord for any questions, problems or recommendations.
- /aa <style> <icon> <player's name/all> <preset/message>
- Possible options for style are: GOAL, TASK, CHALLENGE
- Possible options for icon can be found here.
- You can either give a player's name or "all" as target.
- You can write your own message on the command or use one of the presets you defined in the config.
- /aa toggle: Players can set if they want to see announcement messages (Player-specific announcements are not affected by this command).
Permissions
- Only permission the plugin has is "advancementannouncer.admin"
Code (YAML):
###################################################################################################################################################
## This plugin made by Altkat(StreetMelodeez) V1.1 ##
## Feel free to contact me for anything on discord: streetmelodeez ##
## Please use /aa reload to reload the plugin, or restart the server after you changed something in the config file. ##
###################################################################################################################################################
bstats
: true
# Should the plugin send data to bStats?
# you can use placeholders from PlaceholderAPI in the messages. like %player_name%
# use | to print on a new line
presets
:
# you can add as many presets as you want
preset1
:
"&aThis is &6my cool| &amessage wow!"
store-preset
:
"&6You can get ranks|&6on our store &b/store"
discord-preset
:
"&9Join our discord server|&bdiscord.gg/yourdc"
greeting
:
"&eHello &a%player_name%|&eHow is it going?"
auto-announce:
enabled
: false
# should the plugin announce messages automatically
interval
: 30
# in seconds
mode
:
"ORDERED"
# ORDERED, RANDOM
messages
:
# you can add as many messages as you want
custommessage1:
message
:
"&eHello &a%player_name%|&eHow is it going?"
style
:
"GOAL"
# GOAL, TASK, CHALLENGE
icon
:
"EMERALD"
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
custommessage2:
message
:
"&9Join our discord server|&bdiscord.gg/yourdc"
style
:
"TASK"
icon
:
"DIAMOND"
vipmessage:
message
:
"&6You can get ranks|&6on our store &b/store"
style
:
"CHALLENGE"
icon
:
"GOLD_INGOT"
#These are the messages shown to players
#You can edit these messages
lang-messages:
config-reloaded
:
"&3[AdvancementAnnouncer] &aConfig reloaded!"
wrong-usage
:
"&cWrong usage! Please use /aa toggle"
announcements-toggled-on
:
"&aYou now see the advancement announcements!"
announcements-toggled-off
:
"&cYou no longer see the advancement announcements!"
You need help? You can contact me via
Discord.