• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

Ranks /Action

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.

MateCap

Tree Puncher
#1
Hi, I have a question about /action
If i wolf like to create a rank...:

/action (tap block)
/setgroup %p Vip %pow
/action (tap the same block)
/takemoney %p 30000 %pow

And it is working, but if I have 10$ Dollars I get the Rank too.
Do you have any Idea how to set the minimum limit?
 

Viny1212

Tree Puncher
#2
Hi, I have a question about /action
If i wolf like to create a rank...:

/action (tap block)
/setgroup %p Vip %pow
/action (tap the same block)
/takemoney %p 30000 %pow

And it is working, but if I have 10$ Dollars I get the Rank too.
Do you have any Idea how to set the minimum limit?
Not completely sure if it’s possible with user actions but if you have madcommands you can simply make a command and add it to a block.

/cmd create rank
/cmd add rank if playerbalance(%p%) < \”30000\” then message %p% You do not have enough money to buy this rank.
/cmd add rank if playerbalance(%p%) < \”30000\” then exit
/cmd add rank ascon /takemoney %p% 30000
/cmd add rank ascon /setgroup %p% Vip
/cmd add rank message %p% You received the VIP rank!
/cmd add rank exit
/cmd unregister rank

/action (tap block)
/cmd run rank %op
 
#3
Hi, I have a question about /action
If i wolf like to create a rank...:

/action (tap block)
/setgroup %p Vip %pow
/action (tap the same block)
/takemoney %p 30000 %pow

And it is working, but if I have 10$ Dollars I get the Rank too.
Do you have any Idea how to set the minimum limit?
Dear MateCap,

If somebody has less than 30000 it basically takes all their money.
Maybe make someone (yourself) a banker. You put /pay (bankers username)
30000. That will do it.

Sincerely,
DaDominusGuy
 
#5
If you insist on doing it without MadCommands you can perhaps use airport signs to a place where you can choose your rank and teleport them back as soon as they got a rank.