Economy System
Sell ranks or rank upgrades in the economy.
Create a ranking system with different permission levels, prefixes, and abilities. Players can earn ranks through playtime, achievements, or purchases.
Assign ranks using tags:
/cmd add setrank_vip tag ${rank_player} add vip && tellraw ${rank_player} {"text":"You are now VIP!","color":"gold"}
/cmd add setrank_mod tag ${rank_player} add moderator && tellraw ${rank_player} {"text":"You are now a Moderator!","color":"blue"}
Restrict commands by rank:
/cmd add vip_command execute if entity @s[tag=vip] run give @s diamond 1 || tellraw @s {"text":"VIP required!","color":"red"}
/cmd add mod_command execute if entity @s[tag=moderator] run kick ${kick_player} || tellraw @s {"text":"Moderator required!","color":"red"}
// In syntax.json
{
"setrank": {
"pattern": "/setrank ",
"description": "Set a player's rank"
},
"rank": {
"pattern": "/rank ",
"description": "Check a player's rank"
}
}
// In aliases.json
{
"setrank_player": "tag ${setrank_player} add ${setrank_rank} && tellraw ${setrank_player} {\"text\":\"Rank set to ${setrank_rank}!\",\"color\":\"green\"}",
"rank_player": "execute if entity ${rank_player}[tag=vip] run tellraw @s {\"text\":\"${rank_player} is VIP\",\"color\":\"gold\"} || execute if entity ${rank_player}[tag=moderator] run tellraw @s {\"text\":\"${rank_player} is Moderator\",\"color\":\"blue\"} || tellraw @s {\"text\":\"${rank_player} is Member\",\"color\":\"gray\"}"
}
Promote players based on playtime:
/cmd add rank_check execute as @a[scores={playtime=72000..}] unless entity @s[tag=vip] run tag @s add vip && tellraw @s {"text":"Congratulations! You earned VIP rank!","color":"gold"}
Sell ranks or rank upgrades in the economy.
Award ranks for completing achievements.
Create flexible rank management commands.