RA-CustomJoinMessages
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, orALL, 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
nameslist 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
| Plugin | Required | Purpose |
|---|---|---|
| PlaceholderAPI | No (softdepend) | Extra placeholders in messages |
| EssentialsX | No (softdepend) | Vanish detection |
| SuperVanish / PremiumVanish | No (softdepend) | Vanish detection |
Installation
- Place
RA-CustomJoinMessages.jarinto yourplugins/folder - Restart the server
- Edit
config.ymlandmessages.ymlinplugins/RA-CustomJoinMessages/ - 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
| Placeholder | Description |
|---|---|
%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
| Command | Description | Access |
|---|---|---|
/racustomjoin reload (alias /rcjm) | Reload config.yml and messages.yml | Admin |
Permissions
| Permission | Default | Description |
|---|---|---|
racustomjoinmessages.admin | op | Reload the configuration |
License
Developed by RajaAditya — rajaaditya.my.id