Skip to Content
Haven Documentation is the shared home for product guides, plugin setup, and release docs.
PluginsRival CreditsCommands and Workflow

Rival Credits Commands And Workflow

Commands

CommandNotes
/rcredits balance player:<name>Checks a player’s RivalCredits balance.
/rcredits give player:<name> amount:<amount> reason:<note>Adds credits to a player.
/rcredits remove player:<name> amount:<amount> reason:<note>Removes credits from a player.
/rcredits set player:<name> amount:<amount> reason:<note>Sets a player’s balance.
/rcredits reset player:<name> reason:<note>Resets a player’s balance.
/rcredits testSends the configured test command over RCON.

The reason option is optional and is meant as an internal staff note.

Workflow

  1. A staff member runs /rcredits.
  2. AthenaBot checks the base command permission and the action-specific permission.
  3. The plugin validates the Minecraft username and amount.
  4. AthenaBot fills the configured RCON command template.
  5. The command is sent to the Minecraft server through RCON.
  6. The cleaned server response is shown in a Discord embed.

Expected Discord Behavior

  • Replies are ephemeral by default.
  • Balance responses show the parsed balance when the configured regex can find one.
  • Give, remove, set, and reset actions return the server response from RivalCredits.
  • Rate limits prevent one user or one server from spamming RCON.
  • User-facing text and embeds come from rival_credits_lang.

Use a light split between viewing and changing balances:

ActionRecommended Permission
balancemember or staff
givemanagement
removemanagement
setmanagement
resetmanagement
testmanagement

For public community servers, keep all balance-changing actions limited to trusted staff.