This file contains the settings for custom events.
The customevents.yml file contains a list of configuration nodes for each custom event.
Example:
-
owner: permission: superlobby.owner join-message: '&eThe owner &a<player> &ejoined the server!' quit-message: '&eThe owner &c<player> &eleave the server!' join-firework: random, 5 join-sound: ENTITY_GENERIC_EXPLODE join-sound-old: EXPLODE
-
silent: permission: superlobby.staff join-message: none quit-message: none
-
god: permission: superlobby.god join-message: '&b#GOD &a<player> &ejoined the server!' quit-message: '&b#GOD &c<player> &eleave the server!' join-firework: random, 5 join-sound-global: true join-sound: ENTITY_GENERIC_EXPLODE join-sound-old: EXPLODE
-
vip++: permission: superlobby.vip++ join-message: '&b#VIP++ &a<player> &ejoined the server!' quit-message: '&b#VIP++ &c<player> &eleave the server!' join-firework: random, 5 join-sound: ENTITY_GENERIC_EXPLODE join-sound-global: true join-sound-old: EXPLODE
-
vip: permission: superlobby.vip join-message: '&b#VIP &a<player> &ejoined the server!' quit-message: '&b#VIP &c<player> &eleave the server!' join-firework: random, 5
-
default: permission: superlobby.default join-message: '&a<player> &ejoined the server!' quit-message: '&c<player> &eleave the server!'
Node configuration.
permission:
- Any string value.
- Example: superlobby.default
- Permission for the event to work.
join-message:
- Any string value.
- Example: &a<player> &ejoined the server!
- Message when entering the server. Place «none» to not send any message.
quit-message:
- Any string value.
- Example: &c<player> &eleave the server!
- Message when leaving the server. Place «none» to not send any message.
join-firework:
- Any text value and a number.
- Example: random, 5
- Fireworks when entering the server. Use «random» or (FireworkEffect Type). After the «,» the number of fireworks is placed.
join-sound:
- Any string value.
- Example: ENTITY_GENERIC_EXPLODE
- Sound when entering the server. Name a sound valid for Minecraft version 1.9 or higher.(1.9 – 1.10 – 1.11 – 1.12 – 1.13 – 1.14 – 1.15 – 1.16 – 1.xx).
join-sound-old:
- Any string value.
- Example: EXPLODE
- Sound when entering the server. Put the sound name valid for Minecraft version 1.8.8. (1.8.8).
join-gamemode:
- Any string value.
- Example: SURVIVAL
- Player’s game mode when it enters the server. (GameModes).
join-comands:
- List of string values.
- Example:
-
- "player: say hola"
-
- "op: gamemode 1"
-
- "tell: Hola mundo"
-
- (List) Commands to execute when the player enters the server. (Command format).
join-sound-global:
- Boolean value true or false.
- Example: true
- Enabled to send sound of all players.