Formats

This page will teach the user how to create a format.

circle-exclamation

It is very easy to create a format, but you need to know the syntax.

MiniMessage is fully supported, you can create hover texts, click actions, etc. but here we're going to cover "basic" components.

The formats priority is checked descendent order, that means that the first is over the second and so on.

For example:

A player joins the server, but he was the permission of 2 different formats (eg. ajoin.vip and ajoin.mvp), the plugin will decide which format to use by the order they we're declared in configuration, if VIP is over MVP, so the plugin will use VIP and viceversa.

Send a simple broadcast, a sound and a title when the player joins, and only a broadcast when the player leaves.

circle-info

The formats with the "default" permission will be used for players that DO NOT have any format permission.

default:
  permission: default
  join-actions:
    - "broadcast;<color:#27B3D9><b>MYSERVER</b></color> <gray>•</gray> <white>Say hello to <color:#5BCF68>%player_name%</color>!"
    - "sound;BLOCK_NOTE_BLOCK_PLING;1;1"
    - "title;<color:#2BEDBF><b>WELCOME TO;<color:#71E630><b>MYSERVER;20;20;20"
  leave-actions: 
    - "broadcast;<color:#27B3D9><b>MYSERVER</b></color> <gray>•</gray> <color:#5BCF68>%player_name%</color> <white>left the server :("
  

In-game result:

Pretty simple, right? But this is not the only things the plugin can do, lets see the next example.

Last updated