Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {donator.used.%player%} = "False"
- command /donator <player>:
- permission message: &8» &cYou do not have the right permission for that
- permission: donatorrank.give
- trigger:
- if arg 1 is set:
- Give arg 1 book named "&8» &6&lDONATOR &e[RIGHT CLICK]"
- command /resetdonator:
- trigger:
- set {donator.used.%player%} to "False"
- on rightclick:
- if {donator.used.%player%} is "False":
- player is holding a book named "&8» &6&lDONATOR &e[RIGHT CLICK]"
- execute console command "/rank %player% donator"
- send "&8» &7You have just applied the &6&lDONATOR &7rank" to player
- remove 1 book named "&8» &6&lDONATOR &e[RIGHT CLICK]" from player
- set {donator.used.%player%} to "True"
- on rightclick:
- if {donator.used.%player%} is "True":
- player is holding a book named "&8» &6&lDONATOR &e[RIGHT CLICK]"
- cancel event
- send player title "&cError!" with subtitle "&8» &7You have already unlocked this rank" for 4 second
- command /tablistrank [<text>] [<player>] [<text>]:
- permission message:&8» &cYou do not have permission for this command
- permission: tablist.rank
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- if arg 3 is not set:
- message " &e&lTABLIST RANKS"
- message "&8• &e/tablistrank clear <player> &8» &7Clears a tablist rank"
- message "&8• &e/tablistrank clear <player> &8» &7Clears a tablist rank"
- message "&8• &e/tablistrank help &8» &7Shows this message"
- if arg 1 is "help":
- message " &e&lTABLIST RANKS"
- message "&8• &e/tablistrank clear <player> &8» &7Clears a tablist rank"
- message "&8• &e/tablistrank clear <player> &8» &7Clears a tablist rank"
- message "&8• &e/tablistrank help &8» &7Shows this message"
- if arg 1 is "set":
- if arg 2 is not set:
- message "&cSpecify a player!"
- if arg 2 is set:
- if arg 3 is not set:
- message "&cSpecify a rank"
- if arg 3 is set:
- message "&b&lSK &8» &fChanged &a%arg 2%'s &frank to &a%arg 3%"
- set {%arg 2%.rank} to "%arg 3%"
- if arg 1 is "clear":
- if arg 2 is not set:
- message "&cSpecify a player!"
- if arg 2 is set:
- set {%arg 2%.rank} to "default"
- message "&b&lSK &8» &fRemoved &a%arg 2%'s &frank!"
- every second:
- loop all players:
- if {%loop-player%.rank} is "admin":
- set the loop-player's tablist name to "&8[&c&lADMIN&8] &f%name of loop-player% &8» &7Money: &e%balance of loop-player%"
- if {%loop-player%.rank} is "mod":
- set the loop-player's tablist name to "&e[MOD] &e%name of loop-player% &8» &7Money: &e%balance of loop-player%"
- if {%loop-player%.rank} is "jr.mod":
- set the loop-player's tablist name to "&e[JR.MOD] &e%name of loop-player% &8» &7Money: &e%balance of loop-player%"
- if {%loop-player%.rank} is "sr.mod":
- set the loop-player's tablist name to "&e[SR.MOD] &e%name of loop-player% &8» &7Money: &e%balance of loop-player%"
- if {%loop-player%.rank} is "builder":
- set the loop-player's tablist name to "&d[BUILDER] &d%name of loop-player% &8» &7Money: &e%balance of loop-player%"
- if {%loop-player%.rank} is "owner":
- set the loop-player's tablist name to "&a(%{level.%loop-player%}%✬) &c(&c&lOWNER&c) &c%name of loop-player%"
- if {%loop-player%.rank} is "manager":
- set the loop-player's tablist name to "&d[MANAGER] &D%name of loop-player% &8» &7Money: &e%balance of loop-player%"
- if {%loop-player%.rank} is "donator":
- set the loop-player's tablist name to "&6[DONATOR] &6%name of loop-player% &8» &7Money: &e%balance of loop-player%"
- if {%loop-player%.rank} is "default":
- set the loop-player's tablist name to "&a(%{level.%loop-player%}%✬) &7%name of loop-player%"
- if {%loop-player%.rank} is not set:
- set the loop-player's tablist name to "&a(%{level.%loop-player%}%✬) &7%name of loop-player%"
- wait 5 ticks
- options:
- permission-ex: false
- group-manager: true
- command /rank [<offlineplayer>] [<text>]:
- permission: rank.set
- permission message:&8» &cYou do not have permission for this command
- trigger:
- if arg-1 is not set:
- message "&8» &7Use &e/rank <player> <rank>"
- stop
- if arg-2 is not set:
- message "&8» &7Please specify a rank!"
- stop
- if arg-2 is set:
- if {@permission-ex} is true:
- execute console command "pex user %arg-1% group set %arg-2%"
- message "&8» &7Your rank has been updated to &e%arg-2%" to arg-1
- stop
- if {@group-manager} is true:
- execute console command "manuadd %arg-1% %arg-2%"
- execute console command "tablistrank set %arg-1% %arg-2%"
- message "&8» &7Your rank has been updated to &e%arg-2%!" to arg-1
- stop
- command /store:
- aliases: /buy, /shop, /webstore, /purchase, /ranks
- trigger:
- open chest with 3 row named "&8» &a&lDrop Store" to player
- play "block_note_pling" to player
- format slot 0 of player with gray glass pane named "" to be unstealable
- format slot 1 of player with gray glass pane named "" to be unstealable
- format slot 2 of player with gray glass pane named "" to be unstealable
- format slot 3 of player with gray glass pane named "" to be unstealable
- format slot 4 of player with gray glass pane named "" to be unstealable
- format slot 13 of player with chest named "&6&lDONATOR RANK &e(£5) &7(Click to purchase)" with lore "||&6Donator Perks:||&7||&8• &e/horse &8» &7With speed boost on the horse||&8• &e/vault &8» &7Access to more than 1 vault||&8• &e/daily &8» &7Daily rewards (1 day cooldown)||&8• &e/fly &8» &7Fly around spawn||&8• &eGlow &8» &7When you join you get the glow effect||&7||&6Donator Chat:||&7||&8• &eChat &8» &7Custom coloured prefix||&8• &eTablist &8» &7Display's rank on tablist||&7||&6Donator Planned Features:||&7||&8• &e[item] &8» &7Item your tools into chat||&8• &eCustom join message &8» &7Custom join message in chat||&8• &eMore free items on join &8» &7Self explanitory||&7" to close then run [player command "donatorpurchase"]
- format slot 5 of player with gray glass pane named "" to be unstealable
- format slot 6 of player with gray glass pane named "" to be unstealable
- format slot 7 of player with gray glass pane named "" to be unstealable
- format slot 8 of player with gray glass pane named "" to be unstealable
- format slot 18 of player with gray glass pane named "" to be unstealable
- format slot 19 of player with gray glass pane named "" to be unstealable
- format slot 20 of player with gray glass pane named "" to be unstealable
- format slot 21 of player with gray glass pane named "" to be unstealable
- format slot 22 of player with gray glass pane named "" to be unstealable
- format slot 23 of player with gray glass pane named "" to be unstealable
- format slot 24 of player with gray glass pane named "" to be unstealable
- format slot 25 of player with gray glass pane named "" to be unstealable
- format slot 26 of player with gray glass pane named "" to be unstealable
- command /donatorpurchase:
- trigger:
- send ""
- json("%player%","&6&lCLICK THIS MESSAGE TO PURCHASE||url:www.paypal.me/nerosixteen/5||ttp:&8» &7Click this message to purchase the donator rank")
- send ""
- send "&8» &cDo not forget to:"
- send ""
- send "&8» &7Add a note"
- send "&8» &7And simply put your ingame name in the note section"
- send ""
- send "&4REFUNDS ARE NOT PERMITTED, AND YOUR ACCOUNT WILL BE BANNED"
Add Comment
Please, Sign In to add comment