Example
Last updated
Last updated
In this example, a storage object is created for the config.yml
file and sets the default value join-message
. Then when the PlayerJoinEvent
is called it gets the storage value from the , replaces %s
with the player name and sets it to the join message.