Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /balance [<offlineplayer>]:
- aliases: /money, /cash, /bal, /coins, /tokens, /bread
- trigger:
- if arg 1 is not set:
- send "&8» &7Balance: &e%balance of player%"
- if arg 1 is set:
- send "&8» &7Balance of %arg 1%: &e%balance of arg 1%"
- options:
- # CONFIG
- PermissionActivated: true #Do you want to use a permission? So set it to true or to false if you don't want it
- Permission: donator.signs # Here you can set the permission when this PermissionActivated is set to true
- ColorReplacer: "&"
- on sign change:
- if {@PermissionActivated} is true:
- if player has permission "{@Permission}":
- replace all {@ColorReplacer} with "§" in line 1 of event-block
- replace all {@ColorReplacer} with "§" in line 2 of event-block
- replace all {@ColorReplacer} with "§" in line 3 of event-block
- replace all {@ColorReplacer} with "§" in line 4 of event-block
- else:
- replace all {@ColorReplacer} with "§" in line 1 of event-block
- replace all {@ColorReplacer} with "§" in line 2 of event-block
- replace all {@ColorReplacer} with "§" in line 3 of event-block
- replace all {@ColorReplacer} with "§" in line 4 of event-block
- every second:
- loop all players:
- set the loop-player's food level to 10
- command /level [<text>] [<offlineplayer>] [<number>]:
- permission: level.admin
- permission message: &8» &cYou do not have the right permission to use that command!
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- if arg 3 is not set:
- send "&8» &7Your level is &e%{level.%player%}%"
- if arg 2 is set:
- if arg 3 is not set:
- if arg 1 is "check":
- send "&8» &7%arg 2%'s level is &e%{level.%arg 2%}%"
- if arg 2 is set:
- if arg 3 is set:
- if arg 1 is "add":
- add arg 3 to {level.%arg 2%}
- send "&8» &e%player% &7has added &e%arg 3% &7to your level" to arg 2
- send "&8» &7You have added &e%arg 3% &7to &e%arg 2%'s &7level" to player
- if arg 2 is set:
- if arg 3 is set:
- if arg 1 is "set":
- set {level.%arg 2%} to arg 3
- send "&8» &e%player% &7has set &e%arg 3% &7to your level" to arg 2
- send "&8» &7You have set &e%arg 2%'s &7level to &e%arg 3%" to player
- if arg 2 is set:
- if arg 3 is set:
- if arg 1 is "remove":
- remove arg 3 from {level.%arg 2%}
- send "&8» &e%player% &7has removed &e%arg 3% &7from your level" to arg 2
- send "&8» &7You have removed &e%arg 3% &7from &e%arg 2%'s &7level" to player
- if arg 2 is set:
- if arg 1 is "reset":
- set {level.%arg 2%} to 1
- send "&8» &e%player% &7has reset your level" to arg 2
- send "&8» &7You have reset &e%arg 2%'s &7level" to player
- command /exp [<text>] [<offlineplayer>] [<number>]:
- permission: exp.admin
- permission message: &8» &cYou do not have the right permission to use that command!
- trigger:
- if arg 2 is set:
- if arg 3 is set:
- if arg 1 is "add":
- add arg 3 to {exp.%arg 2%}
- send "&8» &e%player% &7has added &e%arg 3% &7to your exp" to arg 2
- send "&8» &7You have added &e%arg 3% &7to &e%arg 2%'s &7exp" to player
- if arg 2 is set:
- if arg 3 is set:
- if arg 1 is "set":
- set {exp.%arg 2%} to arg 3
- send "&8» &e%player% &7has set &e%arg 3% &7to your exp" to arg 2
- send "&8» &7You have set &e%arg 2%'s &7exp to &e%arg 3%" to player
- if arg 2 is set:
- if arg 3 is set:
- if arg 1 is "remove":
- remove arg 3 from {exp.%arg 2%}
- send "&8» &e%player% &7has removed &e%arg 3% &7from your exp" to arg 2
- send "&8» &7You have removed &e%arg 3% &7from &e%arg 2%'s &7exp" to player
- if arg 2 is set:
- if arg 1 is "reset":
- set {exp.%arg 2%} to 1
- send "&8» &e%player% &7has reset your exp" to arg 2
- send "&8» &7You have reset &e%arg 2%'s &7exp" to player
- command /withdraw [<int>]:
- trigger:
- if arg 1 is set:
- if {coins.%player%} is less than 5:
- send "&8[&6&l❂&8] &eThe least you can withdraw is &65 coins"
- stop
- if arg 1 is less than 5:
- send "&8[&6&l❂&8] &eThe least you can withdraw is &65 coins"
- else:
- if player has enough space for 1 emerald:
- remove arg 1 from {coins.%player%}
- give player 1 emerald named "%arg 1%" with lore "&8[&6&l❂&8] &eThis is a physical Coin. To claim it||&8[&6&l❂&8] &esimply &6right-click &eand claim the coinscoins!||||&8[&6&l❂&8] &eWithdrawed by: &6%player%||&8[&6&l❂&8] &eAmount: &6%arg 1% coins."
- set {_coin} to "%arg 1%"
- message "&8[&6&l❂&8] &eYou have just withdrawn &6%arg 1% &ecoins"
- stop
- on right click holding emerald:
- if lore of player's held item contains "coin":
- set {_coin} to "%arg 1%"
- add {_coin} to {coins.%player%}
- remove held item from player
- send player title "&6&lCOINS" with subtitle "&e&l+%{_coin}%" for 2 seconds
- stop
- options:
- Title: &7 &6&lDROP &7
- # The lines, you can use %{rank.%loop-player%}% for the users group, %balance of loop-player% for their balance, and %player% for their name.
- Line1: &7
- Line2: &b &6&lLEVEL: &e%{level.%loop-player%}%✬
- Line3: &d &6&lCOINS: &e%{coins.%loop-player%}%⛃
- Line4: &3
- Line5: &d &6&lNAME: &e%loop-player%
- Line6: &d &6&lRANK: &e%colored loop-player's prefix%
- Line7: &0
- Line8: &6 &6&lTUTORIAL: &e%{tutorial.%loop-player%}%
- Line9: &8
- #ScoreBoard (You can add lines)
- every second:
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "{@Title}"
- set score "{@Line1}" in sidebar of loop-player to 9
- set score "{@Line2}" in sidebar of loop-player to 8
- set score "{@Line3}" in sidebar of loop-player to 7
- set score "{@Line4}" in sidebar of loop-player to 6
- set score "{@Line5}" in sidebar of loop-player to 5
- set score "{@Line6}" in sidebar of loop-player to 4
- set score "{@Line7}" in sidebar of loop-player to 3
- set score "{@Line8}" in sidebar of loop-player to 2
- set score "{@Line9}" in sidebar of loop-player to 1
- command /set [<text>] [<text>] [<number>]:
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- send "&8[&6&l❂&8] &e/set <warp/tutorial> <name> [<number>]"
- if arg 1 is set:
- if arg 2 is not set:
- send "&8[&6&l❂&8] &e/set <warp/tutorial> <name> [<number>]"
- if arg 1 is "warp":
- if arg 2 is set:
- send "&8[&6&l❂&8] &eSet warp &6%arg 2%"
- set {%arg 2%} to location of the player
- if arg 1 is "tutorial":
- if arg 3 is set:
- send "&8[&6&l❂&8] &eSet tutorial location &6%arg 3%" to player
- set {tutorial%arg 3%} to location of the player
- command /warp [<text>] [<player>]:
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- send "&8[&6&l❂&8] &e/warp <warp> [<player>]"
- if arg 1 is set:
- if arg 2 is not set:
- teleport player to {%arg 1%}
- send "&8[&6&l❂&8] &eTeleported to warp &6%arg 1%"
- if arg 1 is set:
- if arg 2 is set:
- teleport arg 2 to {%arg 1%}
- send "&8[&6&l❂&8] &eYou teleported %arg 2% to warp &6%arg 1%"
- send "&8[&6&l❂&8] &6%player% &eteleported you to &6%arg 1%" to arg 2
- command /warps:
- trigger:
- open chest with 3 rows named "&7 &0&nPlayer Warps" to player
- if player has permission "warp.mine":
- format slot 10 of player with emerald named "&6&lMINE &7(Click to warp)" with lore "||&8» &7Click to warp to the mine||&7||&8» &a&lUNLOCKED" to close then run [player command "warp mine"]
- if player does not have permission "warp.mine":
- format slot 10 of player with emerald named "&6&lMINE &7(Click to warp)" with lore "||&8» &7Click to warp to the mine||&7||&8» &c&lLOCKED" to be unstealable
- if player has permission "warp.spawn":
- format slot 11 of player with emerald named "&6&lSPAWN &7(Click to warp)" with lore "||&8» &7Click to warp to the spawn||&7||&8» &a&lUNLOCKED" to close then run [player command "warp spawn"]
- if player does not have permission "warp.spawn":
- format slot 11 of player with emerald named "&6&lSPAWN &7(Click to warp)" with lore "||&8» &7Click to warp to the spawn||&7||&8» &c&lLOCKED" to be unstealable
- command /compressor:
- trigger:
- open chest with 3 rows named "&7 &0&nCompressor" to player
- format slot 10 of player with coal named "&8&lCOAL &7(Click to compress)" with lore "||&8» &7Click to compress your coal ||&7" to close then run [player command "compresscoal"]
- format slot 11 of player with iron ingot named "&f&lIRON &7(Click to compress)" with lore "||&8» &7Click to compress your iron ||&7" to close then run [player command "compressiron"]
- command /compresscoal:
- trigger:
- while amount of coal ore in player's inventory is less than 1:
- send "&8[&6&l❂&8] &eYou need to get some coal ore to compress" to player
- stop
- while amount of coal ore in player's inventory is bigger than 0:
- remove 1 coal ore from player's inventory
- add 1 to {coal}
- send player title "&6&lCOMPRESSED" with subtitle "&eSold for &6%{coal}%⛃" for 2 seconds
- add {coal} to {coins.%player%}
- set {coal} to 0
- stop
- command /compressiron:
- trigger:
- while amount of iron ore in player's inventory is less than 1:
- send "&8[&6&l❂&8] &eYou need to get some iron ore to compress" to player
- stop
- while amount of iron ore in player's inventory is bigger than 0:
- remove 1 iron ore from player's inventory
- add 1 to {iron}
- send player title "&6&lCOMPRESSED" with subtitle "&eSold for &6%{iron}%⛃" for 2 seconds
- add {iron} to {coins.%player%}
- set {iron} to 0
- stop
- command /bypass [<player>]:
- permission: admin.bypass
- permission message: &8[&6&l❂&8] &eNo permission
- trigger:
- if arg 1 is not set:
- if {bypass.%player%} is "False":
- set {bypass.%player%} to "True"
- send "&8[&6&l❂&8] &eYou have entered bypass mode"
- stop
- if {bypass.%player%} is "True":
- set {bypass.%player%} to "False"
- send "&8[&6&l❂&8] &eYou have left bypass mode"
- if arg 1 is set:
- if {bypass.%arg 1%} is "False":
- set {bypass.%arg 1%} to "True"
- send "&8[&6&l❂&8] &eYou have forced &6%arg 1% &eto enter bypass mode"
- send "&8[&6&l❂&8] &6%player% &eforced you to enter bypass mode" to arg 1
- stop
- if {bypass.%arg 1%} is "True":
- set {bypass.%arg 1%} to "False"
- send "&8[&6&l❂&8] &eYou have forced &6%arg 1% &eto leave bypass mode"
- send "&8[&6&l❂&8] &6%player% &eforced you to leave bypass mode" to arg 1
- on break:
- if {bypass.%player%} is "False":
- if event-block is coal ore or iron ore:
- stop
- if event-block is not coal ore or iron ore:
- cancel event
- send "&8[&6&l❂&8] &eYou cant break this type of block"
- on drop:
- if {bypass.%player%} is "False":
- cancel event
- on damage:
- if {bypass.%attacker%} is "False":
- cancel event
- send "&8[&6&l❂&8] &eYou cant pvp in this area" to attacker
- on break:
- if name of player's tool is "&6&lSTARTER PICKAXE":
- set the 1st line of lore of player's tool to "&7"
- set the 2nd line of lore of player's tool to "&8[&6&l❂&8] &eXP: %{exp.%player%}%"
- set the 3rd line of lore of player's tool to "&8[&6&l❂&8] &eLEVEL: %{level.%player%}%"
- set the 4th line of lore of player's tool to "&8[&6&l❂&8] &eCOINS: %balance of player%⛃"
- on join:
- set {bypass.%player%} to "False"
- set {none.teleport.%player%} to "True"
- on first join:
- set slot 0 of player's inventory to diamond pickaxe named "&6&lSTARTER PICKAXE"
- set {bypass.%player%} to "False"
- set {Joined.%player%} to true
- on break of coal ore:
- cancel event
- chance of 20%:
- give 1 coal ore to player
- set action bar of player to "&eYou got lucky and got an extra &6coal ore"
- set block to stone
- add 1 to {exp.%player%}
- give 1 coal ore to player
- wait 3 seconds
- set block to coal ore
- on break of iron ore:
- cancel event
- chance of 20%:
- give 1 iron ore to player
- set action bar of player to "&eYou got lucky and got an extra &6iron ore"
- set block to stone
- add 2 to {exp.%player%}
- give 1 iron ore to player
- wait 3 seconds
- set block to iron ore
- on rightclick with compass:
- if {druglore.teleport.%player%} is "True":
- teleport player to {druglore}
- send "&8[&6&l❂&8] &eTeleported you to the &6Drug Lord Bob"
- if {miner.teleport.%player%} is "True":
- teleport player to {miner}
- send "&8[&6&l❂&8] &eTeleported you to &6Miner Mike"
- on leftclick with compass:
- if {none.teleport.%player%} is "True":
- set {druglord.teleport.%player%} to "True"
- set {none.teleport.%player%} to "False"
- send "&8[&6&l❂&8] &eCompass changed to the &6Drug Lord Bob"
- if {druglord.teleport.%player%} is "True":
- set {druglord.teleport.%player%} to "False"
- set {miner.teleport.%player%} to "True"
- send "&8[&6&l❂&8] &eCompass changed to the &6Miner Mike"
- if {miner.teleport.%player%} is "True":
- set {miner.teleport.%player%} to "False"
- set {none.teleport.%player%} to "True"
- send "&8[&6&l❂&8] &eCompass changed to &6Nothing"
- command /resetcompass:
- trigger:
- set {none.teleport.%player%} to "True"
Advertisement
Add Comment
Please, Sign In to add comment