Skip to main content

Commands & Permissions

Commands

📋 /redeemablecodes, /redeemablecode, /rc

Admin / Codes

  • /rc new [integer/string] - Create a new code.

    • Use an integer to create a random character code of that length. Use a string to create a specific code.
  • /rc delete [id] - Deletes a code.

  • /rc info [id] - View information about a code.

  • /rc addcmd [id] [command] - Add a command to be executed upon redemption of the code.

    • Use "{PLAYER}" case-sensitive in commands. You can also use PAPI placeholders if you have it installed.
  • /rc delcmd [id] [command id] - Delete a command from a code. ID can be found with the info command.

  • /rc secure [id] [player] - Secure a code to user(s), so that it can be redeemed by them only.

  • /rc unsecure [id] [player] - Unsecure a user from a code.

  • /rc uses [id] [integer/string] - Set uses of a code.

    • Use a positive integer to set the uses to that, or use "infinite" to add infinite uses to the code.
  • /rc bulk [id] [copies] - Create copies of a code.

  • /rc permbased [id] [boolean] - Set the code to require a permission to be redeemed (rc.user.redeem.[code]). Boolean is either "True" or "False".

  • /rc enabled [id] [boolean] - Enable or disable the code. Boolean is either "True" or "False".

  • /rc expiry [id] [dd/MM/yyyy] - Set the expiry of a code, must follow the dd/MM/yyyy format, e.g 12/12/2022.

  • /rc search [keyword] - Searches all of the log files for the provided keyword. If successfull, a new file will be generated with all of the found items.

  • /rc debug - Enter debug mode (doesn't check for conditions when redeeming codes, does not deplete uses of a code).

Admin / General:

  • /rc help - Show the admin menu.
  • /rc version - Show version/update information.
  • /rc reload - Reload the plugin configuration files.
  • /rc debuginfo - View debug information.

Admin Permissions

Admin / Codes:

  • rc.admin.create - Access to create command.
  • rc.admin.delete - Access to delete command.
  • rc.admin.addcmd - Access to addcmd command.
  • rc.admin.delcmd - Access to delcmd command.
  • rc.admin.secure - Access to secure command.
  • rc.admin.unsecure - Access to unsecure command.
  • rc.admin.info - Access to info command.
  • rc.admin.uses - Access to uses command.
  • rc.admin.bulk - Access to bulk command.
  • rc.admin.permbased - Access to permbased command.
  • rc.admin.enabled - Access to enabled command.
  • rc.admin.expiry - Access to expiry command.
  • rc.admin.search - Access to search command.
  • rc.admin.debug - Access to debug command.

Admin / General:

  • rc.admin - Access to admin menu/tab-completion.
  • rc.admin.reload - Access to reload command.
  • rc.admin.version - Access to version command.
  • rc.admin.debuginfo - Access to debuginfo command.

User Permissions

  • rc.user.redeem - Access to custom redeem command.