mining ranks

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

BluePainted_

Member
Dec 6, 2021
3
0
1
16
So I want a variable that saves the amount of mined blocks for each player, I already know how to do that but I want the player to be assigned a rank using LuckPerms as soon as they hit a certain amount of blocks mined in that variable like for an example:

1,000 blocks mined = player gets Iron Miner rank
 
Code:
on mine:
 add 1 to {%uuid of player%.blocks.mined}
 if {%uuid of player%.blocks.mined} is greater than or equal to 10000:
  add {permission} to player's permissions
 
Status
Not open for further replies.