Adding a reward in-game

Pages

Adding a reward in game

You must first use the /llfadd command, the syntax of which is:

/<command> {rewardName} {powerlevel} r:yes r1:{req1} r2:{req2} r3:{req3} r4:{req4} {commands}

OR

/<command> {rewardName} {powerlevel} r:no {commands}

  • rewardName can be anythng
  • powerlevel is the minimum powerlevel to have the plugin check for the reward
  • r:yes/no is saying whether or not there are any other stat requirements
  • req1 can be a number or 0 if you want no requirement at that check
    • req1 is checking if you have at least one stat at that level
  • req2 can be a number or 0 if you want no requirement at that check
    • req2 is checking if you have at least two stats at that level
  • req3 can be a number or 0 if you want no requirement at that check
    • req3 is checking if you have at least three stats at that level
  • req4 can be a number or 0 if you want no requirement at that check
    • req4 is checking to see if all the players stats are at that level
  • commands are any commands you wish to run (may have {player} to designate the rewarded player)
Examples: (all are on one line)

/llfadd example 5 r:yes r1:2 r2:0 r3:0 r4:0 /msg {player} you have been granted the reward example/give {player} 1 57

/llfadd test 20 r: no /msg {player} you have been granted the reward test

/llfadd example 5 r:yes r1:2 r2:0 r3:0 r4:0 /msg {player} you have been granted the reward example/manuaddp {player} permission.node

Comments

Posts Quoted:
Reply
Clear All Quotes