Repository navigation
Commands
Unariginal edited this page Oct 16, 2026
·
2 revisions
Every command DexRewards adds. All commands live under the /dex root, and /dexrewards works as an alias (e.g. /dexrewards rewards).
Note
Permissions use the Fabric Permissions API, so they work with LuckPerms and other permission mods. Without a permission mod, "Everyone" commands are available to all players and "OP" commands need operator level 4.
| Command | Permission | Default | Description |
|---|---|---|---|
/dex rewards |
dexrewards.rewards |
Everyone | Opens the rewards GUI for the default dex type. |
/dex rewards <dex-type> |
dexrewards.rewards |
Everyone | Opens the rewards GUI for a specific dex type. Tab completion lists every loaded dex type. |
/dex rewards with no dex type opens default_dex_type from Config.json. If that dex type doesn't exist, or the <dex-type> given doesn't exist, it opens the first loaded dex type instead.
| Command | Permission | Default | Description |
|---|---|---|---|
/dex reload |
dexrewards.reload |
OP | Reloads Config.json, Messages.json, Reward_GUI.json and every file in dex_types/, then recalculates progress for every online player. |
/dex update <player> |
dexrewards.update |
OP | Recalculates the player's progress and claimable rewards in every dex type. |
/dex reset <player> <dex-type> |
dexrewards.reset |
OP | Clears the player's claimed and claimable rewards for one dex type, then recalculates their progress. Other dex types aren't touched. |
Important
/dex update and /dex reset only work on online players.
Caution
/dex reset lets the player claim that dex type's rewards again. If <dex-type> doesn't exist, the command does nothing.
| Permission | Default |
|---|---|
dexrewards.rewards |
Everyone |
dexrewards.reload |
OP |
dexrewards.update |
OP |
dexrewards.reset |
OP |
- How-It-Works: when progress updates and how rewards unlock.
-
Reward_GUI.json: the layout and look of the
/dex rewardsGUI. - Messages.json: the text every command sends.