Join / quit

In welcome.yml:
join-quit:
first-join: "&8[<gradient:#2F80ED:#56CCF2>NEW</gradient>&8] &f{player} &7joined for the first time! &8(#{join_number})"
formats:
vip:
permission: "flaremessages.format.vip"
priority: 10
join: "&8[&a+&8] <gradient:#F2C94C:#F2994A>VIP</gradient> &f{player} &7joined the server"
quit: "&8[&c-&8] <gradient:#F2C94C:#F2994A>VIP</gradient> &f{player} &7left the server"
default:
permission: ""
priority: 0
join: "&8[&a+&8] &7{player}"
quit: "&8[&c-&8] &7{player}"
- Every player gets the format with the highest priority he has the permission for.
permission: ""= everyone. - Add as many formats as you want (staff, vip, mvp...), each with its own permission.
join: ""orquit: ""= no message for players with that format (e.g. hidden staff).first-joinis used only the very first time a player joins (""= the normal format).config.yml > join-quit > hide-join / hide-quit: true= no join / quit message at all.- (1.0.2+) Staff in vanish (EssentialsX, SuperVanish, PremiumVanish...) joins and leaves without a message (
config.yml > join-quit > hide-vanished, on by default). - (1.0.2+) Players with
flaremessages.silentjoin and leave without a message. config.yml > modules > join-quit: false= Minecraft's normal "joined the game" message.
Sound per format (1.0.3+)
Every format can play its own sound to everyone online when its message is shown. For example a little chime when a VIP joins, and nothing for normal players:
join-quit:
formats:
vip:
permission: "flaremessages.format.vip"
priority: 10
join: "&8[&a+&8] <gradient:#F2C94C:#F2994A>VIP</gradient> &f{player} &7joined the server"
quit: "&8[&c-&8] <gradient:#F2C94C:#F2994A>VIP</gradient> &f{player} &7left the server"
join-sound: "block.note_block.chime"
quit-sound: ""
sound-volume: 0.6
sound-pitch: 1.4
default:
permission: ""
priority: 0
join: "&8[&a+&8] &7{player}"
quit: "&8[&c-&8] &7{player}"
| Option | |
|---|---|
join-sound | sound played to everyone online when the join message of this format is shown ("" or missing = no sound) |
quit-sound | same, when the quit message is shown (the player who leaves doesn't hear it) |
sound-volume | 1.0 = normal, lower = quieter (default 1.0) |
sound-pitch | 0.5 - 2.0, 1.0 = normal (default 1.0) |
- The sound plays only when the message is shown: no message (
join: "", vanish,flaremessages.silent,hide-join/hide-quit) = no sound. - On the very first join the
first-joinline is shown with thejoin-soundof the player's format. - Sound keys are the same as everywhere else, e.g.
entity.player.levelup,block.note_block.pling,ui.toast.challenge_complete. Full list: minecraft.wiki/w/Sounds.json (Java Edition). - Files made before 1.0.3 don't have these lines: just add them under the formats you want, then
/fmes reload. - (1.0.4+) Hear it without leaving:
/fmes preview joinand/fmes preview quit.
Example: a different sound for staff, a quiet "pop" for everyone else:
staff:
permission: "group.staff"
priority: 20
join: "&8[&a+&8] <gradient:#2F80ED:#56CCF2>STAFF</gradient> &f{player}"
quit: "&8[&c-&8] <gradient:#2F80ED:#56CCF2>STAFF</gradient> &f{player}"
join-sound: "entity.player.levelup"
sound-volume: 0.5
default:
permission: ""
priority: 0
join: "&8[&a+&8] &7{player}"
quit: "&8[&c-&8] &7{player}"
join-sound: "entity.item.pickup"
quit-sound: "entity.item.pickup"
sound-volume: 0.4
sound-pitch: 0.8Actualizat ultima data pe