World change messages
(1.1.0+) A message to the player when he goes to another world: a big title the first time he enters the Nether, a short action bar every time he's back in the Overworld, a sound when he leaves the End...
Everything is in worlds.yml (on / off: config.yml > modules.world-change).
Example
settings:
cooldown-seconds: 5
delay-ticks: 10
worlds:
world_nether:
first-enter:
title:
title: "<gradient:#EB5757:#F2994A><bold>THE NETHER</bold></gradient>"
subtitle: "&7Your first time here. Be careful!"
chat:
lines:
- "&8[&c!&8] &7Welcome to the &cNether&7. Bring fire resistance and never sleep here."
sound: "ambient.nether_wastes.mood"
enter:
title:
title: "<gradient:#EB5757:#F2994A><bold>THE NETHER</bold></gradient>"
subtitle: ""
stay: 30
sound: "block.portal.travel"
sound-volume: 0.2
world:
enter:
actionbar: "&7Back in the &fOverworld"
actionbar-seconds: 3
What the player sees: the very first time through a Nether portal, the big title "THE NETHER" with "Your first time here" and the tip in chat. Every next time only the short title and the portal sound. Back home: "Back in the Overworld" above the hotbar.
| Option | |
|---|---|
| world name | the folder name of the world, e.g. world, world_nether, world_the_end, spawn (not case sensitive). Worlds not written here send nothing |
enter | when he arrives in this world |
first-enter | only the very first time he arrives in this world, instead of enter. Remembered on the player, also after restarts |
leave | when he leaves this world (sent before the enter of the next one) |
enabled: false | turns that world off without deleting it |
settings.cooldown-seconds | the same message is not sent again to a player within this time (back and forth through a portal). 0 = always |
settings.delay-ticks | wait after the change (20 = 1 second), so the title isn't lost while the world loads |
- Every message uses the keys of the message format: chat (with the face too), title, action bar, boss bar, sound and commands. Commands run every time the message is sent, e.g. a kit the first time in the End:
```yaml world_the_end: first-enter: title: title: "<gradient:#9B51E0:#56CCF2><bold>THE END</bold></gradient>" commands: console:
- "give {player} golden_apple 2"
```
- Placeholders are about the player, and
{world}is the new world. - Only the player who changed world sees it. Teleports inside the same world send nothing.
- Players who already visited a world before 1.1.0 get its
first-enteronce, the first time after the update. - On a server that already used FlareMessages
worlds.ymlis created with the examples turned off (enabled: false): setenabled: trueon the worlds you want, then/fmes reload. On a new server they are on.
Actualizat ultima data pe