A plugin for creating referral codes for content creators. Creators have their own codes, which they share with new players. After a player uses the code, they receive a starting reward, and the creator whose code was used can run the command "/ref claim" to collect all the rewards for sharing their code.
/ref claim - It is for the owners of referral codes to claim rewards.
/ref <code> - It is used to apply the given referral code.
/ref reload - It is used to reload the plugin.
To use the command "/ref reload", you need to have OP or the permission "referral.admin".
config.yml
referral-codes.yml
By downloading this file, you agree not to resell the plugin or present it as your own product.
Please do not use reviews to report any bugs please report any bugs directly on my Discord server.
I'll appreciate positive reviews so I know to keep going.
If you have any ideas for additions, please write to me on the Discord server.
/ref claim - It is for the owners of referral codes to claim rewards.
/ref <code> - It is used to apply the given referral code.
/ref reload - It is used to reload the plugin.
To use the command "/ref reload", you need to have OP or the permission "referral.admin".
config.yml
Code (Text):
messages:
only-players: "&6&lReferral Codes &8- &7This command can only be used by players."
usage: "&6&lReferral Codes &8- &7Usage: /referral <claim|reload|code>"
already-used: "&6&lReferral Codes &8- &7You have already used a referral code."
cannot-use-own: "&6&lReferral Codes &8- &7You cannot use your own code."
code-used: "&6&lReferral Codes &8- &7You have used the code of player %owner%."
invalid-code: "&6&lReferral Codes &8- &7Invalid code."
no-rewards: "&6&lReferral Codes &8- &7You have no unclaimed rewards."
rewards-claimed: "&6&lReferral Codes &8- &7You have claimed all your rewards."
no-permission: "&6&lReferral Codes &8- &7You do not have permission to use this command."
reloaded: "&6&lReferral Codes &8- &7Configuration has been reloaded."
only-players: "&6&lReferral Codes &8- &7This command can only be used by players."
usage: "&6&lReferral Codes &8- &7Usage: /referral <claim|reload|code>"
already-used: "&6&lReferral Codes &8- &7You have already used a referral code."
cannot-use-own: "&6&lReferral Codes &8- &7You cannot use your own code."
code-used: "&6&lReferral Codes &8- &7You have used the code of player %owner%."
invalid-code: "&6&lReferral Codes &8- &7Invalid code."
no-rewards: "&6&lReferral Codes &8- &7You have no unclaimed rewards."
rewards-claimed: "&6&lReferral Codes &8- &7You have claimed all your rewards."
no-permission: "&6&lReferral Codes &8- &7You do not have permission to use this command."
reloaded: "&6&lReferral Codes &8- &7Configuration has been reloaded."
Code (Text):
codes:
ExampleNick:
code: "EXAMPLECODE"
uses: 0
reward-command: "msg %player% You used the player's code %player%"
claim-command: "msg %player% You have claimed all your rewards."
Kijler: #Content creator nick
code: "Kijler" #Always use a different creator's code than the previous one.
uses: 0 #The number of uses of the code.
reward-command: "msg %player% You used the player's code %player%" #The command that is triggered when a player uses the given code.
claim-command: "msg %player% You have claimed all your rewards." #The command that is triggered when the creator claims the reward using /ref claim.
ExampleNick:
code: "EXAMPLECODE"
uses: 0
reward-command: "msg %player% You used the player's code %player%"
claim-command: "msg %player% You have claimed all your rewards."
Kijler: #Content creator nick
code: "Kijler" #Always use a different creator's code than the previous one.
uses: 0 #The number of uses of the code.
reward-command: "msg %player% You used the player's code %player%" #The command that is triggered when a player uses the given code.
claim-command: "msg %player% You have claimed all your rewards." #The command that is triggered when the creator claims the reward using /ref claim.
By downloading this file, you agree not to resell the plugin or present it as your own product.
Please do not use reviews to report any bugs please report any bugs directly on my Discord server.
I'll appreciate positive reviews so I know to keep going.
If you have any ideas for additions, please write to me on the Discord server.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.17, 1.18, 1.19
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
ReferralCodes | [1.17-1.21] is a free Minecraft Java mod. Compatible with Minecraft 1.17, 1.18, 1.19, 1.20 and newer. Downloaded 200 times (via Spigot). Download it and open it directly in the game.