Skip to content

Commands and Permissions

CrestReferrals uses a simple command structure to manage the referral system.

Commands

CommandDescriptionPermission
/crestreferrals or /referrals or /referralShows help messagecrestreferrals.use
/referral <player/code>Add a referral using a player name or referral codecrestreferrals.use
/referral info [player]View your referral information or another player'screstreferrals.use
/referral codeView your referral codecrestreferrals.use
/referral code <code>Set your referral code to a custom codecrestreferrals.use
/referral leaderboard or /referral topView the referral leaderboardcrestreferrals.leaderboard
/referral reloadReloads the plugin configurationcrestreferrals.reload

Notes

  • /referral <player/code> will fail if:
    • The time limit has passed (default: 30 minutes after first join)
    • The player tries to refer themselves
    • The player and the referrer have the same IP address (if IP checking is enabled)
    • The player has already added a referral

Permission Nodes

PermissionDescription
crestreferrals.useAllows basic usage of the plugin
crestreferrals.leaderboardAllows access to the referral leaderboard
crestreferrals.reloadAllows reloading the plugin configuration

Command Aliases

The main command has several aliases for convenience:

  • /crestreferrals
  • /referrals
  • /referral

Players can use any of these interchangeably.