RA-EasterEggChat
Author: RajaAditya Website: rajaaditya.my.id Version: 1.0 API: Paper 1.21.x
Features
Secret Keywords
- Hide a keyword anywhere (a Discord post, a sign, a video) and reward the players who find it
- When a player types the keyword in chat, the reward commands run from the console
- The chat message containing the keyword can be deleted so it is not spoiled for others
Per-Keyword Limits
- One-time claims per player
- Limit per IP so one network cannot farm the same egg with many accounts (IPs are stored hashed)
- Maximum total claims across the whole server
- Expiry date after which the keyword stops working
- Each keyword can be switched on or off without deleting it
Admin Tools
- Create a keyword step by step in chat with a wizard (rewards, one-time, IP limit, max claims, expiry)
- List and inspect keywords, toggle or delete them
- Reset one player's claim for a keyword, or all of their claims
- Give a keyword's reward to a player by hand
eastereggchat.bypasslets staff test a keyword repeatedly
Messages
- Every player-facing message lives in
messages.ymlwith&color codes
Dependencies
None. The plugin runs standalone. Reward commands can use any plugin that provides the command (for example eco give from EssentialsX).
Installation
- Place
RA-EasterEggChat.jarinto yourplugins/folder - Restart the server
- Edit
config.yml,keywords.yml, andmessages.ymlinplugins/RA-EasterEggChat/ - Run
/eastereggchat reload
File Structure
text
1
plugins/RA-EasterEggChat/
├── config.yml # Global behavior
├── keywords.yml # Your easter egg keywords
├── messages.yml # All messages
└── (data file) # Claim records
Configuration
config.yml
yaml
1
settings:
delete-message: true # remove chat messages containing a keyword
log-claims: true # log every claim to the console
cooldown-message: true # tell players when they try an already claimed keyword
keywords.yml
yaml
1
keywords:
mineforgeontop:
enabled: true
one-time: true
limit-per-ip: true
max-claims: 100 # 0 = unlimited
expired: "2025-12-31" # YYYY-MM-DD, "-" or empty for none
delete-message: true
reward:
- "give %player% diamond 5"
- "eco give %player% 10000"
message: "&aYou found an easter egg! &e&lCONGRATULATIONS! &a🎉"
| Field | Description |
|---|---|
enabled | Turn the keyword on or off |
one-time | Each player can claim it only once |
limit-per-ip | Only one claim per IP address |
max-claims | Total number of claims allowed |
expired | Last valid date |
delete-message | Remove the chat message for this keyword |
reward | Console commands. %player% is the claimer |
message | Message sent to the claimer |
messages.yml (excerpt)
yaml
1
already-claimed: "&cYou have already claimed this easter egg!"
ip-limited: "&cThis easter egg has already been claimed from your network!"
max-claims-reached: "&cThis easter egg has run out of claims!"
keyword-expired: "&cThis easter egg has expired!"
keyword-disabled: "&cThis easter egg is currently disabled!"
Commands
The main command is /eastereggchat (aliases /raeec, /eechat, /easteregg).
| Command | Description |
|---|---|
/eastereggchat reload | Reload all config files |
/eastereggchat list | List keywords |
/eastereggchat info <keyword> | Show a keyword's settings and claims |
/eastereggchat toggle <keyword> | Enable or disable a keyword |
/eastereggchat create | Start the keyword creation wizard |
/eastereggchat delete <keyword> | Delete a keyword |
/eastereggchat give <player> <keyword> | Give a keyword's reward to a player |
/eastereggchat reset <player> <keyword> | Reset one claim of a player |
/eastereggchat resetall <player> | Reset all claims of a player |
Permissions
| Permission | Default | Description |
|---|---|---|
eastereggchat.admin | op | Use all admin commands |
eastereggchat.bypass | false | Ignore one-time and IP limits (for testing) |
License
Developed by RajaAditya — rajaaditya.my.id