NightJoiner - plugin for 
 
Paper, that gives your player ability to set custom join/quit message
  
  
  
  
 
Features
 
 
 - Store player messages in database with HikariCP:
  
  
 - On-join message of the day (MOTD) for players with PlaceholderAPI placeholders support
  
 - Ability to block player for changing join message
  
 - Set default messages in config for blocked or players without permission to choose custom message
  
 - HEX Codes by MiniMessage support
  
 - Vanish (SuperVanish) plugin support
  
 Requirements
 
 - Java 17 or newer
  
 - Paper (or forks, such as Purpur) 1.18 or newer (not Spigot/CraftBukkit)
  
 - PlaceholderAPI plugin
  
 Configuration
 
 
  
  
   
   
    Code (YAML):
   
 
   
    
 
    #
    
 
    # Database for storing custom join messages
    
 
    # Supports SQLITE; todo: other DBs
    
 
    #
    
 database:
    
   type
    : SQLITE
    
 
    
 
    #
    
 
    # Join/quit and welcome messages format
    
 
    # Support:
    
 
    #   - MiniMessage (<#abcdef>) and Legacy (&#abcdef) formatting codes
    
 
    #   - PlaceholderAPI placeholders
    
 
    #
    
 messages:
    
   show-in-console
    : true
    
   join
    :
     - 
    ""
    
     - 
    " <#ace1af>+</#ace1af> &#fcfcfc%luckperms_prefix% %player_name% &#fcfcfc%player_text%"
    
     - 
    ""
    
   quit
    :
     - 
    ""
    
     - 
    " <#d45079>-</#d45079> &#fcfcfc%luckperms_prefix% %player_name% &#fcfcfc%player_text%"
    
     - 
    ""
    
 
    
   
    #
    
   
    # Default join/quit messages if player not set
    
   
    #
    
   default:
    
     join
    : 
    "joined game"
    
     quit
    : 
    "leaved"
    
 
    
   motd:
    
     enabled
    : true
    
     text
    :
       - 
    ""
    
       - 
    " <#fcfcfc>Welcome, <#745c97>%player_name%</#745c97>!"
    
       - 
    "  <#c0c0c0>‣ <#fcfcfc>Your group: %luckperms_prefix%"
    
       - 
    ""
    
  
   
 
   
   
 
 
 
  
  
   
   
    Code (YAML):
   
 
   
    
 
    #
    
 
    # Messages of plugin
    
 
    # Support only MiniMessage format
    
 
    #
    
 
    
 global:
    
   no-permission
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>You <#d45079>don't have permissions</#d45079> to perform this action"
    
     - 
    ""
    
   not-player
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>you <#d45079>can't run</#d45079> this command from console!"
    
     - 
    ""
    
   database-error
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>A <#d45079>database error occurred</#d45079> while performing action"
    
     - 
    ""
    
 
    
 nightjoiner:
    
   usage
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Usage"
    
     - 
    "  <#c0c0c0>‣ <click:suggest_command:'/nightjoiner reload'><#745c97>/nightjoiner reload</click> <#c0c0c0>- <#fcfcfc>reload plugin"
    
     - 
    "  <#c0c0c0>‣ <click:suggest_command:'/nightjoiner ban'><#745c97>/nightjoiner ban <player></click> <#c0c0c0>- <#fcfcfc>ban player"
    
     - 
    "  <#c0c0c0>‣ <click:suggest_command:'/nightjoiner unban'><#745c97>/nightjoiner unban <player></click> <#c0c0c0>- <#fcfcfc>unban player"
    
     - 
    ""
    
   reloaded
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Plugin <#ace1af>successfully reloaded</#ace1af>!"
    
     - 
    ""
    
   player-not-found
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Player <#745c97>%player%</#745c97> not found"
    
     - 
    ""
    
   banned
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Player <#745c97>%player%</#745c97> <#d45079>banned</#d45079> from changing messages"
    
     - 
    ""
    
   unbanned
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Player <#745c97>%player%</#745c97> <#ace1af>unbanned</#ace1af> from changing messages"
    
     - 
    ""
    
 
    
 setjoin:
    
   usage
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Usage <#745c97>/setjoin</#745c97>:"
    
     - 
    "  <#c0c0c0>‣ <click:suggest_command:'/setjoin'><#745c97>/setjoin <text></click> <#c0c0c0>- <#fcfcfc>set message for join"
    
     - 
    ""
    
   success
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>You successfully changed join message to <#ace1af>%message%</#ace1af>"
    
     - 
    ""
    
   blocked
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Ability to changing join messages <#d45079>was blocked for violating server rules</#d45079>!"
    
     - 
    ""
    
 
    
 setquit:
    
   usage
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Usage <#745c97>/setjoin</#745c97>:"
    
     - 
    "  <#c0c0c0>‣ <click:suggest_command:'/setquit'><#745c97>/setquit <text></click> <#c0c0c0>- <#fcfcfc>set message for quit"
    
     - 
    ""
    
   success
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>You successfully changed quit message to <#d45079>%message%</#d45079>"
    
     - 
    ""
    
   blocked
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Ability to changing quit messages <#d45079>was blocked for violating server rules</#d45079>!"
    
     - 
    ""
    
 
    
 resetjoin:
    
   success
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>You <#d45079>successfully reset</#d45079> your join message"
    
     - 
    ""
    
   blocked
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Ability to changing join messages <#d45079>was blocked for violating server rules</#d45079>!"
    
     - 
    ""
    
 
    
 resetquit:
    
   success
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>You <#d45079>successfully reset</#d45079> your quit message"
    
     - 
    ""
    
   blocked
    :
     - 
    ""
    
     - 
    " <#745c97>NightCodes <#c0c0c0>› <#fcfcfc>Ability to changing quit messages <#d45079>was blocked for violating server rules</#d45079>!"
    
     - 
    ""
    
  
   
 
   
   
 
 
 
 
 
 
 If you find a bug or want to help with development, feel free to contact me
 
 
 
 You can also (optionally) donate me:
 
 
 
 
  
 
   
   - Donate: DonationAlerts (link)
  
   - TON: UQAwUJ_DWQ26_b94mFAy0bE1hrxVRHrq51umphFPreFraVL2
  
   - ETH: 0xf5D0Ab258B0f8EeA7EA07cF1050B35cc12E06Ab0