An all-in-one referral plugin with all the features you need designed to bring more players to your server
SUPPORTS 1.8 - 1.21 (+HEX SUPPORT)
What is ReferMe?
ReferMe is a referral plugin that gives each player in your server a personal referral code that can be used by new players so that both can get a reward. All rewards are customizable and can be added chance!
FEATURES:
- MILESTONES SYSTEM FOR REFERRALS
- CUSTOM CODES WITH OWN REWARDS
- MAX AND MIN TIME ONLINE LIMITS TO REDEEM
- MANY CUSTOMIZABLE MENUS
- REWARDS BY CHANCE
- TOP REFERRALS, POINTS AND REP SYSTEMS
- REFERRAL POINTS AND SHOP SYSTEM
- PROTECTION AGAINST SAME IP REFERRALS
- AND MUCH MORE...
SQLite and MySQL supported!
COMMANDS:
/refer - Main command, opens menu with player info
/refer +rep (nick) - Adds rep to player
/refer -rep (nick) - Lowers rep to player
/refer help - Shows all available player commands.
/refer shop - Opens shop menu by using command
/refer claim - opens claim menu by using command
/refer list - Opens list of all invited players (not unclaimed ones)
/refer profile - Opens the player's own profile
/refer profile (nick) - Opens a player profile.
/refer milestones - Opens milestones menu for player.
/refer code - Shows the player's own referral code
/refer top referral
/refer top rep
/refer top points
/redeem (code) - Gives new player rewards
ADMIN COMMANDS:
/referme reload - Reloads the plugin
/referme setpoints (nick) (amount) - Sets the specified player's points /referme setreferrals (nick) (amount) - Sets the specified player's referral amount
/referme setrep (nick) (amount) - Sets the specified player's rep amount
/referme setRedeemAmount (player) (amount) - Sets the amount of codes redeemed for the player
/referme +points/-points (player) (amount) - Adds/Subtracts points from the player
PERMISSIONS:
referme.player - parent permission
referme.use - /refer
referme.help - /refer help
referme.shop - /refer shop
referme.claim - /refer claim
referme.list - /refer list
referme.profile - /refer profile
referme.profile.others
referme.milestones /refer milestones
referme.seecode /refer code
referme.top.referral /refer top referral
referme.top.rep /refer top rep
referme.top.points /refer top points
referme.redeem /redeem
1. Purchase the plugin from this resource page
2. Add ReferMe.jar to the plugins folder
3. Restart your server
4. ENJOY THE PLUGIN!
FILES:
Code (YAML):
prefix: '&7
[&d&lRefer&5&lMe&7
]'
#SQLite, MySQL storage: 'SQLite'
#Use your own mysql information here if storage is MySQL. #Won't work if you just leave it this way using MySQL unless you create a mysql database in your localhost named 'referme'. mysql:
host: 'localhost'
database: 'referme'
username: 'root'
password: ''
port: 3306
ssl: false
#Length of the referrals codes. Max = 32 referral-code-length: 6
#The type of characters to generate a new code #TYPES: #- APLHA (Uppercase and lowercase letters ONLY) #- ALPHANUMERIC (Uppercase and lowercase letters AND numbers 0-9) #- NUMERIC (Numbers 0-9 ONLY) referral-code-type: ALPHA
#The amount of codes that a player can use to get rewards. code-redeem-limit: 3
time-to-redeem: #Use this function or not enable: true
#In seconds, the minimum time that a player must be inside the server before being able to use /redeem (Playing time) min: 600
#In seconds, the maximum time until a player can redeem a code. Leave at -1 for no specified time (Playing time) max: 3600
Rewards: #The rewards that will be given to the player who is redeeming a code redeem: - '
[consolecmd
] give
%player% iron_block 5' - '10
%~ [consolecmd] give %player% iron_block 3'
#The rewards that will be given to the code owner when their code is used by someone else claim: - '
[consolecmd
] give
%player% iron_block 5'
#The minimum length for any codes to be created using /referme create <code>. See customcodes.yml CustomCode-min-length: 3
#Allow players to rep each other through profile menu by clicking their head allow-rep-on-profile: true
disabled-worlds: - 'example_world'
Code (YAML):
#FORMAT # #Custom: (only set once you want to create 1 or more custom codes) # # code: (replace this with the code that you want to create) # # affiliate: '' (put player UUID here to link them to this specific code) # # redeem: # - '' (list all rewards here, use same chance rewards like other yml files here too) # # claim: # - '' (list all rewards here, use same chance rewards like other yml files here too) # #ADDITIONAL INFO: # #If you simply want to create a code that will give different rewards but not benefit/affiliate anyone #simply follow the format above but remove affiliate and claim sections. Only leaving redeem.
Code (YAML):
MainMenu:
GUISize: 27
GUIName: '&6&lReferMe'
Items:
glass1:
material: BLACK_STAINED_GLASS_PANE
amount: 1
slots: - 1
- 3
- 5
- 7
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 19
- 20
- 22
- 24
- 25
name: '&e'
lore: - '&7'
glass2:
material: YELLOW_STAINED_GLASS_PANE
amount: 1
slots: - 0
- 8
- 9
- 17
- 26
name: '&e'
lore: - '&7'
close:
material: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODgwYzI1MTc4ZDJjNmU3M2FhY2Q1ZTYzNzA4ZmE2OTBmMjQ1NTFiNWYwZmJlMmU0ODliOTEwOTY3YzU4YTJmZCJ9fX0=
amount: 1
slots: - 18
name: '&cClose'
lore: - '&7Use this item to close this menu!'
commands: - '
[close
]'
milestones:
material: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODZkZmMyZDI1ZjI1NjEzMTM1ZTA5ODJjZGMzNmVhNGZkYWRhYzc3YzgyZWU1MDBlYzQ4NmQ1N2ZhZGZmZmQzYiJ9fX0=
amount: 1
slots: - 2
name: '&e&lMilestones'
lore: - '&7Use this item to open the Milestones menu!'
commands: - '
[playercmd
] invite milestones'
shop:
material: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTFiZTRiNWI1OTJmZWUyMWE2NWUwZjkwMzAzOGM1MzMzYmUzODgyMzRhNDM3MzFkNGFkZmU1ZDU3ZDM2NDRlNSJ9fX0=
amount: 1
slots: - 4
name: '&3&lShop'
lore: - '&7Use this item to open the Shop menu!'
commands: - '
[playercmd
] invite shop'
claim:
material: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzNlMWNjZjM3NTdkODNiNmNmMWM1Zjc0YTdmNjQzNWY1YWEwNGZkOGFiNmUyZTBjZWU3OWMwYjkwNzAzY2M2ZiJ9fX0=
amount: 1
slots: - 6
name: '&d&lClaim List'
lore: - '&7Use this item to open the Claim menu!'
- ''
- '&7This menu contains
all the unclaimed rewards'
- '&7from your referrals!'
commands: - '
[playercmd
] invite claim'
invites:
material: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjdhMzliZDcwZmQ1ZGI4MDU3Y2RiMzNkN2Q2OTMwZjYwMWI4YzljOTU4MTRkODRkYTUzMzMyMDZhMTAxMTYyNCJ9fX0=
amount: 1
slots: - 21
name: '&a&lInvites List'
lore: - '&7Use this item to open the Invites menu!'
- ''
- '&7This menu contains
all the past referrals'
- '&7you have completed before!'
commands: - '
[playercmd
] invite list'
profile:
material: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjZhNzRmMTRiMWJjYzQzYmRhZmYyNjEwOTdlNmQ4YTMxNjM5YzIyZGJlODIyNWU5OWU5Zjk5NmI5NDFlMzliNCJ9fX0=
amount: 1
slots: - 23
name: '&b&lProfile'
lore: - '&7Use this item to open the Profile menu!'
- ''
- '&7This menu contains some of your stats!'
commands: - '
[playercmd
] invite profile'
%referme_points% - Shows player's referral points
%referme_referrals% - Shows total referrals done by the player
%referme_rep% - Shows player rep
%referme_code% - Shows the player's unique code
%referme_codes_redeemed% - Shows how many codes the player has redeemed
%referme_last_milestone% - Shows the last milestone achieved
%referme_points_amount_<1-10>% - Shows the amount of points of the top position specified
%referme_points_name_<1-10>% - Shows the name at the position specified
%referme_referral_amount_<1-10>% - Shows the amount of referrals of the top position specified
%referme_referral_name_<1-10>% - Shows the name at the position specified, in referral top
%referme_rep_amount_<1-10>% - Shows the amount of rep of the top position specified
%referme_rep_name_<1-10>% - Shows the name at the position specified, in rep top
If you find any bugs, send it on the discord server and you'll get fast support and a fix!