Player Enhancments
Allows you to change the join/leave or player chat message (also allows yo to run a list of commands when a player leaves or joins)
How to use:
if you havent changed the config.yml (Root/plugins/Playerenhancments/confg.yml) the leave/join text shows up as: Player Joined/Left the game/there a now {playercount}/{maxplayers} in the game! in join/leave text or command you can use these for customization:
- {user} the username of the player
- {playercount} The number of players in the game
- {maxplayers}
in player message text:
- {user} the username of the player
- {message} the text message sent
Config constumization:
joinText: '§e{user} joined the game, There are now {playercount}/{maxplayers} players in the server!' < the tet when a player joins
messageText: '<{user}> {message}' < the text when a player sends a message
leaveText: '§e{user} left the game, There are now {playercount}/{maxplayers} players in the server!' < the text when a player leaves
joinCommands: < the commands when a player joins (it must have ' at the start and end. Example: 'say WELCOME')
- ''
leaveCommands: < the commands when a player leaves (it must have ' at the start and end. Example: 'say WELCOME')
- ''
Default Config.yml:
joinText: '§e{user} joined the game, There are now {playercount}/{maxplayers} players in the server!'
messageText: '<{user}> {message}'
leaveText: '§e{user} left the game, There are now {playercount}/{maxplayers} players in the server!'
joinCommands:
- ''
leaveCommands:
- ''