Sueta
CU

Custom Welcome Messages

1.0

Cool, awesome and more.... AWESOME :D

·Plugin
wmprefix:
        description: Set prefix for welcome message commands.
        usage: /<command>
    wmsgprefix:
        description: Alias to WMPrefix.
        usage: /<command>
    welcomebackmsg:
        description: Set the welcome back message.
        usage: /<command>
    wbmsg:
        description: Alias to WelcomeBackMSG.
        usage: /<command>
    leavemsg:
        description: Set the leave message.
        usage: /<command>
    lmsg:
        description: Alias to LeaveMSG.
        usage: /<command>
    welcomemsg:
        description: Set welcome message.
        usage: /<command>
    wmset:
        description: Alias to WelcomeMSG.
        usage: /<command>
    welcomerl:
        description: Reloads the config and the ArrayList.
        usage: /<command>
    wrl:
        description: Alias to WelcomeRL.
        usage: /<command>

You can set the messages and stuff from in-game.

HOW IT WORKS?
It listens for a PlayerJoinEvent and when the player joins it adds the player's name to an ArrayList and then sets the ArrayList to the config (So no data is lost (I don't know if it's a good method)) then it stores the names in the config under a StringList and when the player joins again it checks if its in the ArrayList. (ON ENABLE IT SETS ARRAY LIST TO STRING LIST :D)

Message me any bugs :)

Similar projects

Plugin →