➣ ReferMe [1.8-1.21.X] ✉️ Complete Referral Tools for your Server ✉️ icon

➣ ReferMe [1.8-1.21.X] ✉️ Complete Referral Tools for your Server ✉️ -----

Use this versatile and modern plugin to manage the invitation of new people into your server!



Supports Java version 8 or newer
[​IMG] [​IMG]
[​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG]
ReferMe

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



referme.admin - parent permission

referme.reload /referme reload

referme.help.admin /referme



/referme set(referrals/points/rep/RedeemAmount)

referme.manage.points
referme.manage.referrals 

referme.manage.rep

INSTALLATION:

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'


ClaimRewards
:
  #gui name, etc
  GUISize
: 54
  GUIName
: '&d&lClaim'

  #The max amount that will be shown in one page of unclaimed rewards
  pagelength
: 40

  #The format to be used for each player added to the CLAIM section of a player
  format-name
: ' %name%'
  format-lore
:
   - ' %name%  %referrals%  %rep%  %points%'

  Items
:
    next-page
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzMzYWU4ZGU3ZWQwNzllMzhkMmM4MmRkNDJiNzRjZmNiZDk0YjM0ODAzNDhkYmI1ZWNkOTNkYThiODEwMTVlMyJ9fX0=
      amount
: 1
      slots
:
       - 53
      name
: '&aNext Page'
      lore
:
       - '&d'
    previous-page
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODFjOTZhNWMzZDEzYzMxOTkxODNlMWJjN2YwODZmNTRjYTJhNjUyNzEyNjMwM2FjOGUyNWQ2M2UxNmI2NGNjZiJ9fX0=
      amount
: 1
      slots
:
       - 52
      name
: '&ePrevious Page'
      lore
:
       - '&d'
    close
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODgwYzI1MTc4ZDJjNmU3M2FhY2Q1ZTYzNzA4ZmE2OTBmMjQ1NTFiNWYwZmJlMmU0ODliOTEwOTY3YzU4YTJmZCJ9fX0=
      amount
: 1
      slots
:
       - 45
      name
: '&cClose'
      lore
:
       - '&7Use this item to close this menu!'
      commands
:
       - ' [close ]'
    glass1
:
      material
: BLACK_STAINED_GLASS_PANE
      amount
: 1
      slots
:
       - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 17
        - 18
        - 26
        - 27
        - 35
        - 36
        - 44
        - 46
        - 47
        - 48
        - 49
        - 50
        - 51
      name
: '&e'
      lore
:
       - '&7'
InvitesMenu
:
  #gui name, etc
  GUISize
: 54
  GUIName
: '&a&lInvites'

  #The max amount that will be shown in one page of unclaimed rewards
  pagelength
: 40

  #The format to be used for each player item added to the inventory
  format-name
: ' %name%'
  format-lore
:
   - ' %name%  %referrals%  %rep%  %points%'

  Items
:
    next-page
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzMzYWU4ZGU3ZWQwNzllMzhkMmM4MmRkNDJiNzRjZmNiZDk0YjM0ODAzNDhkYmI1ZWNkOTNkYThiODEwMTVlMyJ9fX0=
      amount
: 1
      slots
:
       - 53
      name
: '&aNext Page'
      lore
:
       - '&d'
    previous-page
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODFjOTZhNWMzZDEzYzMxOTkxODNlMWJjN2YwODZmNTRjYTJhNjUyNzEyNjMwM2FjOGUyNWQ2M2UxNmI2NGNjZiJ9fX0=
      amount
: 1
      slots
:
       - 52
      name
: '&ePrevious Page'
      lore
:
       - '&d'
    close
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODgwYzI1MTc4ZDJjNmU3M2FhY2Q1ZTYzNzA4ZmE2OTBmMjQ1NTFiNWYwZmJlMmU0ODliOTEwOTY3YzU4YTJmZCJ9fX0=
      amount
: 1
      slots
:
       - 45
      name
: '&cClose'
      lore
:
       - '&7Use this item to close this menu!'
      commands
:
       - ' [close ]'
    glass1
:
      material
: BLUE_STAINED_GLASS_PANE
      amount
: 1
      slots
:
       - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 17
        - 18
        - 26
        - 27
        - 35
        - 36
        - 44
        - 46
        - 47
        - 48
        - 49
        - 50
        - 51
      name
: '&e'
      lore
:
       - '&7'

ProfileMenu
:
  GUISize
: 27
  GUIName
: 'Profile'

  profile-name
: '&2&l《 %name% 》'
  profile-lore
:
   - '&f&m -----------------'
    - '&7Name
: &3%name%'
    - '&7Referrals
: &3%referrals%'
    - '&7Points
: &3%points%'
    - '&7Rep
: &3%rep%'
    - '&7Last Milestone Completed
: &3%last_milestone%'
    - '&7Referral Code
: &3%referral_code%'
    - '&f&m -----------------'
  profile-slot
: 13

  Items
:
    close
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODgwYzI1MTc4ZDJjNmU3M2FhY2Q1ZTYzNzA4ZmE2OTBmMjQ1NTFiNWYwZmJlMmU0ODliOTEwOTY3YzU4YTJmZCJ9fX0=
      amount
: 1
      slots
:
       - 18
      name
: '&cClose'
      lore
:
       - '&7Use this item to close this menu!'
      commands
:
       - ' [close ]'
    glass1
:
      material
: GREEN_STAINED_GLASS_PANE
      amount
: 1
      slots
:
       - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
        - 11
        - 12
        - 14
        - 15
        - 16
        - 17
        - 19
        - 20
        - 21
        - 22
        - 23
        - 24
        - 25
        - 26
      name
: '&e'
      lore
:
       - '&7'

#Use the following under Items if you want to add extra functionality to any item
#[playercmd]  [consolecmd]  [playermsg]  [playermsg]  [broadcast]
ShopMenu
:
  GUISize
: 36
  GUIName
: '&3&lShop'

  Items
:
    next-page
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzMzYWU4ZGU3ZWQwNzllMzhkMmM4MmRkNDJiNzRjZmNiZDk0YjM0ODAzNDhkYmI1ZWNkOTNkYThiODEwMTVlMyJ9fX0=
      amount
: 1
      slots
:
       - 35
      name
: '&aNext Page'
      lore
:
       - '&d'
    previous-page
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODFjOTZhNWMzZDEzYzMxOTkxODNlMWJjN2YwODZmNTRjYTJhNjUyNzEyNjMwM2FjOGUyNWQ2M2UxNmI2NGNjZiJ9fX0=
      amount
: 1
      slots
:
       - 34
      name
: '&ePrevious Page'
      lore
:
       - '&d'
    glass1
:
      material
: BLACK_STAINED_GLASS_PANE
      amount
: 1
      slots
:
       - 29
        - 30
        - 31
        - 32
        - 33
      name
: '&e'
      lore
:
       - '&7'
    close
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODgwYzI1MTc4ZDJjNmU3M2FhY2Q1ZTYzNzA4ZmE2OTBmMjQ1NTFiNWYwZmJlMmU0ODliOTEwOTY3YzU4YTJmZCJ9fX0=
      amount
: 1
      slots
:
       - 27
      name
: '&cClose'
      lore
:
       - '&7Use this item to close this menu!'
      commands
:
       - ' [close ]'
    balance
:
      placeholder
: true #Adding this will apply PlaceHolderAPI placeholders to your item's meta.
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWJkYTVmMzE5MzdiMmZmNzU1MjcxZDk3ZjAxYmU4NGQ1MmE0MDdiMzZjYTc3NDUxODU2MTYyYWM2Y2ZiYjM0ZiJ9fX0=
      amount
: 1
      slots
:
       - 28
      name
: '&eBalance : %referme_points%'
      lore
:
       - '&7Get more points by referring users!'

ConfirmMenu
:
  GUISize
: 27
  GUIName
: '&9&lConfirm'

  confirm-slot
: 13

  Items
:
    cancel
:
      material
: REDSTONE_BLOCK
      amount
: 1
      slots
:
       - 10
      name
: '&cCancel'
      lore
:
       - '&fCancel the purchase'
      commands
:
       - ' [close ]'
    confirm
:
      material
: EMERALD_BLOCK
      amount
: 1
      slots
:
       - 16
      name
: '&aCONFIRM'
      lore
:
       - '&fConfirm the purchase of this item'
    glass1
:
      material
: PURPLE_STAINED_GLASS_PANE
      amount
: 1
      slots
:
       - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 11
        - 12
        - 13
        - 14
        - 15
        - 17
        - 18
        - 19
        - 20
        - 21
        - 22
        - 23
        - 24
        - 25
        - 26
      name
: '&e'
      lore
:
       - '&7'
Code (YAML):
CONFIG_RELOADED : ' %prefix% All files and inventories have been reloaded.'
NOT_ENOUGH_PERMISSIONS
: ' %prefix% &cYou don`t have enough permissions to do this.'
COMMAND_USAGE_REDEEM
: ' %prefix% &cWrong command. Try: /redeem (code)'
ARGUMENT_NOT_A_NUMBER
: ' %prefix% &fThe argument entered is not a number.'

invite_command_help
:
 - ' %prefix% &3&lCOMMANDS:'
  - ''
  - '&d/redeem [code ] &7- &fRedeems the specified code'
  - '&d/refer &7- &fMain command. Opens Main Menu'
  - '&d/refer (+rep/-rep ) [player ] &7- &fCommand to add or remove REP to a player'
  - '&d/refer shop &7- &fOpens shop menu'
  - '&d/refer list &7- &fOpens list menu with all the sucessful referrals you`ve had'
  - '&d/refer claim &7- &fOpens claim menu with all unclaimed referrals'
  - '&d/refer milestones &7- &fOpens milestones menu'
  - '&d/refer profile [optional
: <player> ] &7- &fOpens your profile, or another player`s if <player> specified'
  - '&d/refer code &7- &fShows your unique referral code'
  - '&d/refer top <referral/points/rep>&7- &fSends top 10 players for the specified category'
admin_command_help
:
 - ' %prefix% &c&lADMIN COMMANDS:'
  - ''
  - '&5/referme reload &7- &fReloads all files and inventories'
  - '&5/referme setpoints [player ] [amount ] &7- &fSets points to the specified amount for the player'
  - '&5/referme setreferrals [player ] [amount ] &7- &fSets referrals to the specified amount for the player'
  - '&5/referme setrep [player ] [amount ] &7- &fSets rep to the specified amount for the player'
Tops
:
  referral
:
    header
: '&b&m ------&e&lTOP REFERRALS&b&m ------'
    separators
: '&a'
    format
: '&c %spot%. &f%player% &8| &e&l%amount% &7referrals'
    player-stat-format
: '&7You`ve got &e&l %player_amount% &7referrals'
    footer
: '&b&m ---------------------------'
  rep
:
    header
: '&b&m -------&e&lTOP REPS&b&m -------'
    separators
: '&a'
    format
: '&c %spot%. &f%player% &8| &e&l%amount% &7rep'
    player-stat-format
: '&7You`ve got &e&l %player_amount% &7rep'
    footer
: '&b&m -----------------------'
  points
:
    header
: '&b&m ------&e&lTOP POINTS&b&m ------'
    separators
: '&a'
    format
: '&c %spot%. &f%player% &8| &e&l%amount% &7points'
    player-stat-format
: '&7You`ve got &e&l %player_amount% &7points'
    footer
: '&b&m -----------------------'

SET_REP_COMMAND
: ' %prefix% &fSet rep of &e%player% to &a%amount%'
SET_REFERRALS_COMMAND
: ' %prefix% &fSet referral amount of &e%player% to &a%amount%'
SET_POINTS_COMMAND
: ' %prefix% &fSet points of &e%player% to &a%amount%'

NOT_ENOUGH_POINTS
: ' %prefix% &cYou don`t have &e%points_needed% &cpoints. &fPoints: &a%points%'
REDEEM_LIMIT_REACHED
: ' %prefix% You have reached the redeem limit!'
CODE_NOT_FOUND
: ' %prefix% &cSorry! It seems that the code &e%code% &cwas no found, try something else!'
PLAYER_NOT_FOUND
: ' %prefix% &fThe player &e%player% was not found!'

CODE_REDEEMED
:
 - '<center> %prefix%'
  - ''
  - '<center>&fYou have redeemed the code &e %code%'
CLAIM_REFERRAL
:
 - '<center> %prefix%'
  - ''
  - '<center>&fYou have claimed the rewards for referring &e %player_claimed%&f!'

CODE_COMMAND_MESSAGE
: ' %prefix% &fYour code is: &e%code%'
SAME_PLAYER_REDEEM
: ' %prefix% &fYou can`t redeem your own code!'
PLAYER_ALREADY_REP
: ' %prefix% &fYou`ve already given rep to &e%player%&f. Try someone else!'
REP_ADDED
: ' %prefix% &fYou have successfully added rep to &e%player%'
REP_REMOVED
: ' %prefix% &fYou have removed rep from &e%player%'
Code (YAML):
MilestoneMenu:
  GUISize
: 54
  GUIName
: '&e&lMilestones'

  #If the milestone was achieved and claimed by the player, the milestone will become this material
  completed-material
: OBSIDIAN

  #If the milestone was achieved by the player BUT NOT CLAIMED YET, the milestone will become this material
  unclaimed-material
: EMERALD_BLOCK

  #The message that will be replaced in each milestone if variable is used in milestone
  status-completed
: '&a&lCOMPLETED'
  status-not-completed
: '&c&lINCOMPLETE'

  Items
:
    next-page
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzMzYWU4ZGU3ZWQwNzllMzhkMmM4MmRkNDJiNzRjZmNiZDk0YjM0ODAzNDhkYmI1ZWNkOTNkYThiODEwMTVlMyJ9fX0=
      amount
: 1
      slots
:
       - 53
      name
: '&aNext Page'
      lore
:
       - '&d'
    previous-page
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODFjOTZhNWMzZDEzYzMxOTkxODNlMWJjN2YwODZmNTRjYTJhNjUyNzEyNjMwM2FjOGUyNWQ2M2UxNmI2NGNjZiJ9fX0=
      amount
: 1
      slots
:
       - 52
      name
: '&ePrevious Page'
      lore
:
       - '&d'
    close
:
      material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODgwYzI1MTc4ZDJjNmU3M2FhY2Q1ZTYzNzA4ZmE2OTBmMjQ1NTFiNWYwZmJlMmU0ODliOTEwOTY3YzU4YTJmZCJ9fX0=
      amount
: 1
      slots
:
       - 45
      name
: '&cClose'
      lore
:
       - '&7Use this item to close this menu!'
      commands
:
       - ' [close ]'
    glass1
:
      material
: BLACK_STAINED_GLASS_PANE
      amount
: 1
      slots
:
       - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 17
        - 18
        - 26
        - 27
        - 35
        - 36
        - 44
        - 46
        - 47
        - 48
        - 49
        - 50
        - 51
      name
: '&e'
      lore
:
       - '&7'

  #NAMES FOR EACH MILESTONE MUST BE DIFFERENT.
  milestones
:
    page_1
:
      1
:
        material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTM5Yzg0NmY2NWQ1ZjI3MmE4MzlmZDljMmFlYjExYmRjOGUzZjgyMjlmYmUzNTgzNDg2ZTc4ZjRjMjNjOGI1YiJ9fX0=
        amount
: 1
        name
: '&c %milestone%'
        lore
:
         - ''
          - '&f&m -------------------'
          - '&7In order to redeem this milestone, you'
          - '&7need to complete &e %milestone% &7referrals!'
          - ''
          - '&fStatus
: %status%'
          - '&f&m -------------------'
        slots
:
         - 10

        rewards
:
         - ' [consolecmd ] give %player% iron_block 2'
      3
:
        material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWY4ZDNjOGNiMDk4M2E0ZjU2Y2MyNmE3MWZmY2VkYmQ3YmVjYzUyMTI5MWM3ODM2MWZmMWU5OWRmNDE0NGNiYyJ9fX0=
        amount
: 1
        name
: '&c %milestone%'
        lore
:
         - ''
          - '&f&m -------------------'
          - '&7In order to redeem this milestone, you'
          - '&7need to complete &e %milestone% &7referrals!'
          - ''
          - '&fStatus
: %status%'
          - '&f&m -------------------'
        slots
:
         - 12

        rewards
:
         - ' [consolecmd ] give %player% iron_block 5'
      5
:
        material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmUxMDA4NTkyZTNhZDI0ZDY1ZGZhNGZmNWEzYzgwMGQ3OGEzZGIxMzRjYmQ4ZTllYzNjYmFjMWVhODM5MWI5ZCJ9fX0=
        amount
: 1
        name
: '&c %milestone%'
        lore
:
         - ''
          - '&f&m -------------------'
          - '&7In order to redeem this milestone, you'
          - '&7need to complete &e %milestone% &7referrals!'
          - ''
          - '&fStatus
: %status%'
          - '&f&m -------------------'
        slots
:
         - 14

        rewards
:
         - ' [consolecmd ] give %player% iron_block 8'
      10
:
        material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmYzMjIyMmRlZjFjN2IzYmQwNDUxM2IxYTQwNDkzNDA3YzQyODdiNmVjMzk0M2Y3MzMzZjcxNTc3M2Q0Y2I2MSJ9fX0=
        amount
: 1
        name
: '&c %milestone%'
        lore
:
         - ''
          - '&f&m -------------------'
          - '&7In order to redeem this milestone, you'
          - '&7need to complete &e %milestone% &7referrals!'
          - ''
          - '&fStatus
: %status%'
          - '&f&m -------------------'
        slots
:
         - 16

        rewards
:
         - ' [consolecmd ] give %player% iron_block 10'
      15
:
        material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODdiODE0NWJlNGVmNTE2ZmFhOWU4MDk0YTllZWNjOGZkMzQ0ZTJiYTE5NTQ2NGZjMzk2NmQ3MWNkOTczZWM3YyJ9fX0=
        amount
: 1
        name
: '&c %milestone%'
        lore
:
         - ''
          - '&f&m -------------------'
          - '&7In order to redeem this milestone, you'
          - '&7need to complete &e %milestone% &7referrals!'
          - ''
          - '&fStatus
: %status%'
          - '&f&m -------------------'
        slots
:
         - 28

        rewards
:
         - ' [consolecmd ] give %player% iron_block 12'
      20
:
        material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2M1OTdmMTRlYzE4NmQ2ZWQ1NTM3NDM1Yjk5MjFmYTlkMTQyZjRkZDNlYTBiNGE5YjliMTk2NjU0YTliN2JiNCJ9fX0=
        amount
: 1
        name
: '&c %milestone%'
        lore
:
         - ''
          - '&f&m -------------------'
          - '&7In order to redeem this milestone, you'
          - '&7need to complete &e %milestone% &7referrals!'
          - ''
          - '&fStatus
: %status%'
          - '&f&m -------------------'
        slots
:
         - 30

        rewards
:
         - ' [consolecmd ] give %player% iron_block 15'
      25
:
        material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTBlMTE3NmM2OWM5ZWU1NzQwZGMwMzUwNzc4M2UyYjY4MWRmNGEzY2M4YzIwOTgxOTdmNjVmYmM0NjAwNDY1OCJ9fX0=
        amount
: 1
        name
: '&c %milestone%'
        lore
:
         - ''
          - '&f&m -------------------'
          - '&7In order to redeem this milestone, you'
          - '&7need to complete &e %milestone% &7referrals!'
          - ''
          - '&fStatus
: %status%'
          - '&f&m -------------------'
        slots
:
         - 32

        rewards
:
         - ' [consolecmd ] give %player% iron_block 17'
      30
:
        material
: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWRkMDBkNjE5NWQ5NDQyMzZjNTIxOGJjNDEyNjQ4N2UwOThiYjFmMzkyZTEyMWM5ODg4MGE2ZTMyZDMxNjQ1OCJ9fX0=
        amount
: 1
        name
: '&c %milestone%'
        lore
:
         - ''
          - '&f&m -------------------'
          - '&7In order to redeem this milestone, you'
          - '&7need to complete &e %milestone% &7referrals!'
          - ''
          - '&fStatus
: %status%'
          - '&f&m -------------------'
        slots
:
         - 34

        rewards
:
         - ' [consolecmd ] give %player% iron_block 20'
Code (YAML):
Shop:
  page_1
:
    1
:
      material
: IRON_BLOCK
      amount
: 1
      slots
:
       - 0
      name
: '&3Example 1'
      lore
:
       - ''
        - '&fPrice
: &e%price%'
      price
: 10
      commands
:
       - ' [consolecmd ] give %player% iron_block 5'
  page_2
:
    1
:
      material
: LAPIS_BLOCK
      amount
: 1
      slots
:
       - 0
      name
: '&3Example 2'
      lore
:
       - ''
        - '&fPrice
: &e%price%'
      price
: 5
      commands
:
       - ' [consolecmd ] give %player% iron_block 2'

[​IMG]

%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!
Resource Information
Author:
----------
Total Downloads: 33
First Release: Sep 11, 2023
Last Update: Dec 28, 2024
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings