Page cover

📩Create Join/Quit Messages

Guide to create new input/output messages

first_join

In the messages.yml configuration file there is a section at the top "first_join" where you can modify the default message.

messages.yml
Menu:
 first_join: '&6✮&l &e%player% &fis new playing on the server. &7(&a#%server_unique_joins%&7)'

This message will be played when a new player joins the server. Remember that you can use PlaceholderAPI variables and colors from the new version, click here.

New player

material_no_permission

This material will be displayed when a player does not have the necessary permission for the message. To learn more about the materials and how you should use them, click here.

messages.yml
Menu:
 material_no_permission: 'BARRIER'
No permissions

Create new message

Below you have the model to be able to copy and paste in your configuration file, it is important that you modify the name "key_name" to avoid errors with the plugin.

messages.yml
  key_name:
   material: 'MATERIAL_NAME'
   display_name: 'MESSAGE_NAME'
   slot: 1
   lore:
    - 'Here enter the text you like'
    - 'Remember that you can also use variables from PlaceholderAPI'
    - 'and special variables of message'
    - ''
   message_join: 'JOIN MESSAGE'
   message_quit: 'QUIT MESSAGE'
   actionbar_join: 'JOIN ACTIONBAR'
   actionbar_quit: 'QUIT ACTIONBAR'
   permission: 'PERMISSION'

message_join & message_quit

In these two sections you can place the message you like. This will be reflected when a player leaves or enters the server, of course, only if the player has this message selected.

messages.yml
  key_name:
   message_join: '&e%player% &fhas joined'
   message_quit: '&e%player% &fhas left'

You can use variables from PlaceholderAPI and variables from this event. You can also occupy colors of the new versions, only servers 1.16+, click here.

Also if you don't want it to show any message, just leave that section blank and it won't send anything.

messages.yml
  key_name:
   message_join: ''
   message_quit: ''

actionbar_join & actionbar_quit

The actionbar is the message that appears at the bottom of the center. It will be shown when a player enters or leaves the server, of course, only if it is selected.

messages.yml
  key_name:
   actionbar_join: '&e%player% &fhas joined'
   actionbar_quit: '&e%player% &fhas left'

Also if you don't want it to show any message, just leave that section blank and it won't send anything.

messages.yml
  key_name:
   message_join: ''
   message_quit: ''

In the same way as messages_join & message_quit you can use PlaceholderAPI variables and event variables and colors of the new versions

permission

This section is optional, if you want all users to be able to select this firework without permission, just put "none", it should be:

messages.yml
permission: 'none'

But if you like, you can place a permission, this so that only users with this permission can select it.

messages.yml
permission: 'customjoin.message_name'

Messages Variables

Here are the variables that can be occupied solely in this event (lore), but you can also occupy PlaceholderAPI variables.

Variable
Description

%message_name%

Shows the name of the message depending on the option you have (key/display_name). Example: message1 o Message #1

%message_message_join%

Shows the message that will be executed when the player enters, all this defined in the config. Example: _ImJonahas joined

%message_message_quit%

Shows the message that will be executed when the player enters, all this defined in the config. Example: _ImJonahas left

%message_actionbar_join%

Shows the actionbar that is displayed on login. Example: _ImJonahas joined

%message_actionbar_quit%

Shows the actionbar that is displayed on exit. Example: _ImJonahas left

%message_status_locked%

Shows the status of the message, if the user has the corresponding permission, the message you configured in translations will appear. Example: Unlocked or Locked

%message_status_selected%

Shows the status of the message, if the user has selected the message you configured in translations will appear. Example: Selected or Unselected

%player%

Shows the name of the player who is interacting with the menu. Example: _ImJona

Última actualización