FIRST JOIN MESSAGE I have added to the plugin a new customizable message for players who enter the server for the first time and a variable of my own that indicates the total number of players that have been joining.
New Message:
New config:
Code (YAML):
enable-first-join-message: true
#Set this to false for disable the message. first-join-message: "&7[&a+&7] &bPlayer &d%player_name% &bis new on the server. &7(&8#%player_count%&7)"
Code (YAML):
player-count: 0
# It is recommended not to touch this parameter.
PERMISSIONS I have added permissions so that only users who have that permission can see the messages and only administrators can use administrator commands.
New Permissions:
customwelcome.admin ➣ Allows you to use administrator commands.
customwelcome.join.show➣ Allows the player to see the join message.
customwelcome.motd.show➣ Allows the player to see the motd message when joining.
customwelcome.quit.show ➣ Allows you to send the message when leaving.
New config:
Code (YAML):
# Users need permissions to see join, quit, and motd messages. # To see the list of permissions go to the CustomWelcome Spigot page: https://www.spigotmc.org/resources/%E2%AD%90-customwelcome-%E2%AD%90-customize-join-leave-motd-messages.108510/