Commands
Admin / Codes
/rc new [integer/string]
- Create a new code using an integer for a random character code or a string for a specific code
/rc delete [id]
/rc info [id]
- View information about a code
/rc addcmd [id] [command]
- Add a command to be executed upon code redemption (use
{PLAYER}
case-sensitive or PAPI placeholders if 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) for their exclusive redemption
/rc unsecure [id] [player]
- Unsecure a user from a code
/rc uses [id] [integer/string]
- Set uses of a code using a positive integer or "infinite" for unlimited uses
/rc bulk [id] [copies]
/rc permbased [id] [boolean]
- Set the code to require a permission to be redeemed (rc.user.redeem.[code]); boolean is "True" or "False"
/rc enabled [id] [boolean]
- Enable or disable the code; boolean is "True" or "False"
/rc expiry [id] [dd/MM/yyyy]
- Set the expiry of a code using the
dd/MM/yyyy
format, e.g., 12/12/2022
/rc search [keyword]
- Search all log files for the provided keyword, generating a new file with found items if successful
/rc debug
- Enter debug mode (skips condition checks when redeeming codes, does not deplete uses of a code)
Admin / General
/rc help
/rc version
- Show version/update information
/rc reload
- Reload the plugin configuration files
/rc debuginfo
Admin Permissions
Admin / Codes
rc.admin.create
rc.admin.delete
rc.admin.addcmd
rc.admin.delcmd
rc.admin.secure
rc.admin.unsecure
- Access to
unsecure
command
rc.admin.info
rc.admin.uses
rc.admin.bulk
rc.admin.permbased
- Access to
permbased
command
rc.admin.enabled
- Access to
enabled
command
rc.admin.expiry
rc.admin.search
rc.admin.debug
Admin / General
rc.admin
- Access to admin menu and tab-completion
rc.admin.reload
rc.admin.version
- Access to
version
command
rc.admin.debuginfo
- Access to
debuginfo
command
User Permissions
rc.user.redeem
- Access to custom redeem command