RA-CustomJoinMessages

Custom join and leave messages for Paper 1.21.x with name-based message groups, a permanent member number on first join, chat, action bar, or title display, join sounds, and vanish support.

Author: RajaAditya Website: rajaaditya.my.id Version: 1.0.1 API: Paper 1.21.x (Java 21)


Features

Custom Join and Leave Messages

  • Replace the vanilla join and leave lines with your own, with & color codes
  • Choose where the message appears: CHAT, ACTIONBAR, TITLE, or ALL, separately for join and leave
  • A join sound with configurable name, volume, and pitch
  • Join and leave can each be switched off

Message Groups

  • Groups are matched by player name, checked from top to bottom, and the first match wins
  • A group with an empty names list is the default for everyone else
  • Give VIPs, staff, or friends their own message

First Join and Member Number

  • A different message for a player's very first join
  • A permanent member number (join order) is stored in SQLite, so you can greet someone with "You are member #123 to join this server"
  • %first_join_date% shows the date of their first join

Vanish Support

  • Join and leave messages are hidden for vanished players (EssentialsX, SuperVanish, PremiumVanish)

Placeholders

  • Built-in placeholders plus PlaceholderAPI placeholders inside messages

Dependencies

PluginRequiredPurpose
PlaceholderAPINo (softdepend)Extra placeholders in messages
EssentialsXNo (softdepend)Vanish detection
SuperVanish / PremiumVanishNo (softdepend)Vanish detection

Installation

  1. Place RA-CustomJoinMessages.jar into your plugins/ folder
  2. Restart the server
  3. Edit config.yml and messages.yml in plugins/RA-CustomJoinMessages/
  4. Run /racustomjoin reload

File Structure

text
1
plugins/RA-CustomJoinMessages/
├── config.yml       # Display modes, sound, groups
├── messages.yml     # Message text per group
└── playerdata.db    # SQLite: member numbers and first join dates

Configuration

config.yml

yaml
1
settings:
  use-placeholderapi: true

storage:
  type: sqlite
  file: playerdata.db

join:
  enabled: true
  display-mode: CHAT        # CHAT, ACTIONBAR, TITLE, ALL
  first-join-different: true
  sound:
    enabled: true
    sound-name: ENTITY_PLAYER_LEVELUP
    volume: 1.0
    pitch: 1.0

leave:
  enabled: true
  display-mode: CHAT

vanish:
  hide-join-leave: true

# Checked top-down; the first name match decides the group
groups:
  - id: vip
    names:
      - RajaAditya
      - Steve
  - id: default
    names: []

messages.yml

yaml
1
join:
  vip: "&8[&6+&8] &6VIP &e%player% &fhas entered the server!"
  default: "&8[&a+&8] &7%player% &fjoined the game"
  first-join: "&8[&b★&8] &bWelcome, &f%player%&b! You are member &e#%member_number%&b to join this server!"

leave:
  vip: "&8[&6-&8] &6%player% &fhas left the server."
  default: "&8[&c-&8] &7%player% &fleft the game"

title:
  join:
    title: "&aWelcome!"
    subtitle: "&7%player%, enjoy your stay"
    fade-in: 10
    stay: 40
    fade-out: 10
PlaceholderDescription
%player%Player name
%displayname%Player display name
%online% / %maxplayers%Players online and server slots
%world%World the player joined into
%member_number%Permanent join-order number (first join)
%first_join_date%Date of the player's first join

Commands

CommandDescriptionAccess
/racustomjoin reload (alias /rcjm)Reload config.yml and messages.ymlAdmin

Permissions

PermissionDefaultDescription
racustomjoinmessages.adminopReload the configuration

License

Developed by RajaAditya — rajaaditya.my.id