The default reward list and spawn-group list are empty. Their entry properties are documented here. JSON fragments below are examples to merge into the appropriate generated file, preserving your current settings.
Playtime rewards and rank tiers
In rewardsConfig.json, use playtime.rewards.entries for both ordinary rewards and rank tiers. playtime.rewards.enabled controls the unified reward/rankup enablement. A non-empty rank makes an entry a rankup tier.
Reward entry properties
7 entries| Entry field | Meaning |
|---|---|
id | Required, unique reward identifier. |
requiredSeconds | Required accumulated playtime in seconds. |
requiredCost | Non-negative integer money cost in minor units. 10000 represents 100.00 when decimalPlaces is 2. |
rank | Target permission group; leave empty for an ordinary reward. |
autoClaim | Whether this entry can be auto-claimed. The reader defaults ordinary rewards to true and rank entries to false when omitted. |
commands | List of command strings to execute as reward actions. |
broadcastMessage | Optional broadcast for the reward. |
{
"playtime": {
"rewards": {
"enabled": true,
"entries": [
{
"id": "regular",
"requiredSeconds": 3600,
"requiredCost": 0,
"rank": "regular",
"autoClaim": false,
"commands": [],
"broadcastMessage": ""
}
]
}
}
}
Create the target rank in your permission provider and test /rankup and /rankup confirm. Rankup requirement toggles live under rankup.requirements; automatic checks live under rankup.auto.
Reward input aliases
The reader also accepts name for id; cost or price for requiredCost; targetRank or group for rank; command for a single command; broadcast for the broadcast; and playtime.rewards.list as the list input. Prefer the canonical fields shown above.
Time input alternatives are timeRequirementSeconds, playtimeSeconds, requiredMinutes, requiredHours, requiredTime, time, and timeRequirement. Duration-string inputs use the plugin's duration parser. The saved form uses requiredSeconds.
Command-rule reductions
Under commandRules.commands.<key> in config.json, configure enabled, cooldownSeconds, warmupSeconds, cancelWarmupOnMove, price, blacklistedWorlds, and reductions. Rule prices use the plugin's normal configured money format; reward-entry requiredCost above is a different, integer minor-unit field.
Reduction entry properties
7 entries| Reduction property | Meaning |
|---|---|
permission | Required permission selecting this reduction. |
cooldownReductionPercent | Cooldown percentage reduction. |
warmupReductionPercent | Warmup percentage reduction. |
priceReductionPercent | Price percentage reduction. |
cooldownSeconds | Optional absolute cooldown override. |
warmupSeconds | Optional absolute warmup override. |
price | Optional absolute price override in the normal configured money format. |
Spawn route groups and maps
Use /setspawn <name> to create a named spawn. spawn.routing.groups is an array of entries with id, permission, priority, and spawns. A group needs a non-empty ID, permission, and spawn list. Higher priority groups are considered first.
{
"spawn": {
"routing": {
"selectionMode": "first",
"groups": [
{ "id": "vip", "permission": "server.rank.vip", "priority": 10, "spawns": ["vip_spawn"] }
],
"worlds": { "default": ["town_spawn"] }
}
}
}
World map keys are world names. Spawn lists may also be supplied as comma-separated names, but arrays are clearer. Route orders are configured under spawn.routing.orders; prefer /spawnroute to edit and validate them.
Announcement action entries
announcements.presets entries in config.json support name, enabled, permission, chatMessages, notification, title, sound, particle, serverCommands, and playerCommands. name is required. Optional action objects may be omitted.
Optional announcement action objects
4 entries| Action object | Properties |
|---|---|
notification | title, message, icon, style |
title | primary, secondary, major |
sound | soundEventIndex, category, volume, pitch |
particle | particleSystemId, scale, color |
Input aliases include announcements.announcements for the preset list, chatMessage for a single chat line, runCommandAsServer for server command actions, and runCommandAsPlayer for player command actions. Use the canonical names for new setups and use the preset editor to select valid sounds and particles.
Custom text commands
In mods/HyEssentialsX/commands.yml, each command accepts message and aliases. The command key is the command's name; its permission is generated as hyessentialsx.custom.<command>.
commands:
website:
message: "Visit https://example.com"
aliases: [web]
The loader also accepts a direct string value, text or reply as message aliases, comma-separated alias strings, and an older top-level command map without the commands wrapper. Use the wrapped form for new files. Restart after adding or removing command definitions.
Chat maps
Use chat.groups for group-format mappings, chat.groupPriorities for ordering, and chat.groupPrefixes / chat.groupSuffixes for fallback tags. The reader also accepts legacy group arrays with name, group, or permission plus format. Prefer the current map form.
Accepted compatibility keys
These keys are still read for older configurations. They are not additional current defaults. Some are migrated or superseded during load; keep new edits on the canonical setting.
Legacy and compatibility inputs
12 entries| Compatibility input | Current setting / migration |
|---|---|
usePermissionsSystem | UsePermissionsSystem |
hideNoPermissionCommands | HideNoPermissionCommands |
commandTreeRefreshEnabled | CommandTreeRefreshEnabled |
chat.format | chat.groups (per-group formatting) |
features.homes / kits / near / rtp / spawn / tpa / warps | The matching feature section’s enabled property in config.json |
features.motd | motd.enabled in chatConfig.json |
scoreboard.defaultHidden | scoreboard.defaultHideScoreboard |
rankup.enabled | Superseded by playtime.rewards.enabled during load |
rankup.ranks | Migrated into playtime.rewards.entries |
storage.mariadbHost / mariadbPort / mariadbDatabase / mariadbUser / mariadbPassword | storage.mysqlHost / mysqlPort / mysqlDatabase / mysqlUser / mysqlPassword |
storage.mongoDb / mongodbDatabase | storage.mongoDatabase |
storage.mongodbUri | storage.mongoUri |
Hologram animation presets
The current animation registry provides float, float_slow, float_fast, spin, spin_fast, spin_slow, tumble, pulse, pulse_big, heartbeat, bounce, bounce_small, sway, sway_big, wobble, wobble_slow, wobble_fast, shake, shake_big, orbit, orbit_small, orbit_fast, wave, breathe, flip, and flip_full. Use the hologram editor and /hologram animlist for application help.