Usage:
This plugin lets users customize join, leave, and death player messages.
Download the .jar file from releases in the GitHub link.
Copy and paste the .jar file to the plugins folder of your server. The config file and data folder are created on the first launch of the plugin, but it is recommended to create it yourself. The data folder's name should be 'PlayerMessages' and the config's name should be 'config.yml'.
The config.yml file is used to store custom messages, which are then printed whenever an event occurs.
Labels:
Under the
'join-messages:' label, a yaml list of all strings can be printed whenever a player joins the server.
Code (Text):
join-messages:
- 'message'
- 'another one'
For the leave and death events, the
'leave-messages' and
'death-messages' labels can be used, respectively.
Placeholders like %player% and %entity% can be used to hold the name of the player or the name of the entity that killed the player. The %entity% placeholder can be used only in death messages.
The chat colors can also be altered with the use of '&' and the respective color code, for example: '&he has &acome' produces '
he has
come'. By default all of the messages are yellow.
Player-specific messages are also supported. Under the 'players:' label the
names (not UUIDs) of the specific players are to be listed. Below the players' name are join, leave, and death labels used as described above.
The complete guide and the yaml example can be found on my GitHub (in the source code link).
Database:
The plugin uses SQLite db to store player-specific messages (for optimal search).
Feel free to leave comments and reviews

any feedback (even negative) is appreciated.