Join experience
When a player joins, mcHub runs these steps (each configurable under join and spawn):
- Set the game mode (
join.gamemode), heal (join.heal) and clear the inventory (join.clear-inventory), in lobby worlds. - Teleport to the spawn (
spawn.on-join:always,first-joinoroff). - Give the join items and apply the player's saved toggles.
- Show the intro title and play the join sound (
join.intro). - Send the welcome message (
join.welcome), or the first-join message and broadcast (join.first-join) for players who have never joined. - Fire
HubJoinEvent.
The join and quit messages are set with join.join-message and join.quit-message: custom (from lang.yml), vanilla or none. The texts are in lang.yml under join; they accept <player> and the placeholders.
A player's saved toggles are read in the background while they log in, so joining never waits for the disk.
The default welcome in chat has no divider lines: your server name, a greeting, the lobby and network counts, the game modes and a hint. Everything is editable in lang.yml under join.welcome.