-
Notifications
You must be signed in to change notification settings - Fork 9
Features
Actions are small pieces of text between brackets (like [THIS]
) that allow you to execute, like the name says, certain actions when something happens. There are different type of actions, some receive arguments and some don't. Here is the list of the current available actions:
# [MESSAGE] <message> - Send a message to the player
# [BROADCAST] <message> - Broadcast a message to everyone
# [TITLE] <title;subtitle>[;fade-in][;stay][;fade-out] - Send the player a title message
# [ACTIONBAR] <message> - Send an action bar message
# [SOUND] <sound> - Send the player a sound
# [COMMAND] <command> - Execute a command as the player
# [CONSOLE] <command> - Execute a command as console
# [GAMEMODE] <gamemode> - Change a players' gamemode
# [SERVER] <server> - Send a player to a server
# [EFFECT] <effect;level>- Give a potion effect
# [MENU] <menu> - Open a menu from (plugins/Akropolis/menus)
# [CLOSE] - Close an open inventory
Rick roll everyone with a message!
actions:
- "[BROADCAST] <hover:show_text:'<red>Never gonna give you up!'><rainbow>Hello world!</hover>"
Send someone to a server called "survival1"
actions:
- "[SERVER] survival1"
Play a bat sound
actions:
- "[SOUND] ENTITY_BAT_TAKEOFF"
Open a custom menu called "serverselector"
actions:
- "[MENU] serverselector"
Custom menus are just chest inventories that you can customize through a file and the open it with the /akropolis open <menu>
or with the [MENU] <menu>
action. Custom menus are located in the Akropolis/menus/
directory.
The best example you can see about this feature, is the serverselector.yml custom menu that comes by default with the plugin.
Originally made by ItsLewizz, forked by ZetaStormy. Maintained by DevBlook Team.
Source code | Issues | Wiki | Modrinth | Hangar