Advanced Messages Mode/Examples
Examples
Basics for the following examples
- Name: Peter
- Groups: [Admin], [Mod], [Builder], [Guest]
- Placeholders: %time: 15min, %world: world2,
Example 1
We only want join and quit messages triggered by Admins and Mods. We want to hide all other groups.
Default: JM1: 'off' QM1: 'off' Groups: Admin: JM1: '%chatplayername &1joined the game!' QM1: '%chatplayername &1 left the game!' Mod: JM1: '%chatplayername &1joined the game!' QM1: '%chatplayername &1left the game!'
If our test Mod Peter joins, it would look like this; [Mod] Peter joined the game!. 'off' prevents a message from our other groups "Builder" and "Guest". Don't forget to use ' ... '. Otherwise it can cause strange messages.
Example 2
We want more variety for our small server and not always the same messages. The current setup defines one join and quit message for every group. Additionally we defined a special message for the server owner "JustAMinecraftAdmin" who is in the group "Admin", too (That's the reason why he has a individual path at "Players").
Groups: Guest: JM1: '&2Guest &1%playername &2joined our server' QM1: '&2Guest &1%playername &2left our server' Builder: JM1: '&2Builder &1%playername &2joined our server' QM1: '&2Builder &1%playername &2left our server' Mod: JM1: '&2Mod &1%playername &2joined our server' QM1: '&2Mod &1%playername &2left our server' Admin: JM1: '&2Admin &1%playername &2joined our server' QM1: '&2Admin &1%playername &2left our server' Players: JustAMinecraftAdmin: JM1: '&4Owner JustAMinecraftAdmin &2joined our server' QM1: '&4Owner JustAMinecraftAdmin &2left our server'
We will now add some messages with changed formulations. PLM will choose one message randomly.
Groups: Guest: JM1: '&2Guest &1%playername &2joined our server' QM1: '&2Guest &1%playername &2left our server' JM2: '&2Guest &1%playername &2joined the game' QM2: '&2Guest &1%playername &2left the game' Builder: JM1: '&2Builder &1%playername &2joined our server' QM1: '&2Builder &1%playername &2left our server' Mod: JM1: '&2Mod &1%playername &2joined our server' QM1: '&2Mod &1%playername &2left our server' Admin: JM1: '&2Admin &1%playername &2joined our server' QM1: '&2Admin &1%playername &2left our server' Players: JustAMinecraftAdmin: JM1: '&4Owner JustAMinecraftAdmin &2joined our server' QM1: '&4Owner JustAMinecraftAdmin &2left our server'
Comments