Setup
Scorpion edited this page 4 years ago

Due to /bcrank reload and even more so the /reload being wonky, and ill adviced. Suggested is to first disable the server before making any changes.

Lets start with the basics, lets create a rank called space

Settings:
  Ranks:
    Space:
    #Now that we have our name#
    #We need a permission node to attach to buying the rank.
      Custom-permission: 'my.space.permission'
      #Now we need a counte permission to avoid re-buying.
      No-purchase-perm: 'my.not.so.awesome.permission'
      #Next we need a display name and an icon, for both buyable and not buyable and where we want the item in our gui.
      Display-Name: '&9Space' #Adviced is to name it the same as the group.
      Icon: 'GREEN_CONCRETE'
      Icon-no-permission: 'BARRIER'
      Slot: 12
      #Now that we have our block setup in a location, lets get to the fun stuff.
      #In this example i'll be using mcmmo, Gems and a few world stats(esc -> stats)
      #Lets start with mcmmo
      Requirements:
        mcmmo:
        - 'fishing'
        - 'mining'
        - 'repair'
        - 'alchemy'
        mcmmocombined: 100
        #Done.
        #Now the plugin knows this rank requires mcmmo.
        #This also lets us and the players know they need level 25 in fishing, repair, alchemy and mining.(100/<skills>)
        
        #Lets add some gem requirements.
        
        gems: 10
        
        #This will tell the plugin, okay we want gems to be a part of this rank. Specifically 10.
        #Now lets add some world statistics, killing a few guardians, the enderdragon and maybe require the player to fly?
        
        playerStatistics:
        - 'AVIATE_ONE_CM:1000000'
        - 'KILL_ENTITY:1:ENDER_DRAGON'
        - 'KILL_ENTITY:50:GUARDIAN'
        
        #there we go, now the player also must kill 1 ander dragon, kill 50 guardians and fly 1m centimeters(thats vanilla) with an elytra.
        
        #Now we want to let the player know, what rewards they get:
        
      rewardLore:
      - ''
      - 'A Whole inventory of diamonds'
      - 'Maybe a horse spawn egg too!'

      #Now that they read the rewards, they also want to have that reward.
      #Kinda... how players like their rewards...
      
      commands:
      - 'give %name% 1 horse_spawn_egg'
      - 'give %name% diamond 2370' #Unsure on the amount a player can hold.
      

Simple right?

Okay not that simple but you can always ask for help :)