Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on mine of stone:
- cancel event
- on break of coal ore:
- cancel event
- set event-block to stone
- give player (a random integer between 1 and 50) of coal ore
- add random integer between 5 and 7 to {pd::%uuid of player%::exp}
- wait 5 seconds
- set event-block to coal ore
- make player execute "reload:misc"
- on break of lapis ore:
- if {pd::%uuid of player%::lvl} > 24:
- cancel event
- set event-block to stone
- give player (a random integer between 1 and 50) of lapis ore
- add random integer between 50 and 100 to {pd::%uuid of player%::exp}
- wait 5 seconds
- set event-block to lapis ore
- make player execute "reload:misc"
- else if {pd::%uuid of player%::lvl} < 25:
- send player title "&c&lERROR" with subtitle "&7 You must be level 25+" for 1 second
- cancel event
- on break of iron ore:
- if {pd::%uuid of player%::lvl} > 39:
- cancel event
- set event-block to stone
- give player (a random integer between 1 and 50) of iron ore
- add random integer between 50 and 150 to {pd::%uuid of player%::exp}
- wait 5 seconds
- set event-block to iron ore
- make player execute "reload:misc"
- else if {pd::%uuid of player%::lvl} < 40:
- send player title "&c&lERROR" with subtitle "&7 You must be level 40+" for 1 second
- cancel event
- on break of gold ore:
- if {pd::%uuid of player%::lvl} > 59:
- cancel event
- set event-block to stone
- give player (a random integer between 1 and 50) of gold ore
- add random integer between 150 and 250 to {pd::%uuid of player%::exp}
- wait 5 seconds
- set event-block to gold ore
- make player execute "reload:misc"
- else if {pd::%uuid of player%::lvl} < 60:
- send player title "&c&lERROR" with subtitle "&7 You must be level 60+" for 1 second
- cancel event
- on break of diamond ore:
- if {pd::%uuid of player%::lvl} > 84:
- cancel event
- set event-block to stone
- give player (a random integer between 1 and 50) of diamond ore
- add random integer between 250 and 500 to {pd::%uuid of player%::exp}
- wait 5 seconds
- set event-block to diamond ore
- make player execute "reload:misc"
- else if {pd::%uuid of player%::lvl} < 85:
- send player title "&c&lERROR" with subtitle "&7 You must be level 85+" for 1 second
- cancel event
- on break of emerald ore:
- if {pd::%uuid of player%::lvl} > 99:
- cancel event
- set event-block to stone
- give player (a random integer between 1 and 50) of emerald ore
- add random integer between 500 and 1000 to {pd::%uuid of player%::exp}
- wait 5 seconds
- set event-block to emerald ore
- make player execute "reload:misc"
- else if {pd::%uuid of player%::lvl} < 100:
- send player title "&c&lERROR" with subtitle "&7 You must be level 100+" for 1 second
- cancel event
- on break of redstone ore:
- if {pd::%uuid of player%::lvl} > 149:
- cancel event
- set event-block to stone
- give player (a random integer between 1 and 50) of redstone ore
- add random integer between 2000 and 4000 to {pd::%uuid of player%::exp}
- wait 5 seconds
- set event-block to redstone ore
- make player execute "reload:misc"
- else if {pd::%uuid of player%::lvl} < 150:
- send player title "&c&lERROR" with subtitle "&7 You must be level 150+" for 1 second
- cancel event
- on break of end stone:
- if {pd::%uuid of player%::lvl} > 224:
- cancel event
- set event-block to stone
- give player (a random integer between 1 and 50) of end stone
- add random integer between 15000 and 20000 to {pd::%uuid of player%::exp}
- wait 5 seconds
- set event-block to end stone
- make player execute "reload:misc"
- else if {pd::%uuid of player%::lvl} < 225:
- send player title "&c&lERROR" with subtitle "&7 You must be level 255+" for 1 second
- cancel event
- command /pvp <text>:
- permission: pvp.toggle
- usage: /pvp <on/off>
- trigger:
- if arg 1 is "on":
- broadcast "&6&lCENTREUM: &7PvP has been &a&lENABLED!"
- enable PvP
- if arg 1 is "off":
- broadcast "&6&lCENTREUM: &7PvP has been &c&lDISABLED!"
- disable PvP
- command /heea:
- permission: perm.rocket
- trigger:
- set {rocketclouds.%player%} to 1
- set {rocketfalmes.%player%} to 2
- wait 4 second
- delete {rocketflames.%player%}
- delete {rocketclouds.%player%}
- on damage:
- damage cause is fall:
- cancel the event
- command /orewand:
- permission: perm.orewand
- trigger:
- give player 1 golden hoe named "&6&lOre Wand" with lore "||&7Right-Click a ore to remove it!"
- command /dangle:
- trigger:
- if player's tool is not air:
- if player has permission "perm.dangle":
- if {dangle.%player%.lastused} is not set:
- set {dangle.%player%.lastused} to now
- if {dangle.%player%.lastused} is set:
- set {_dangle} to difference between {dangle.%player%.lastused} and now
- if {_dangle} is less than a minute:
- message "&bDangle: &7You have to wait &b%difference between a minute and {_dangle}% &7before you can use this command again!"
- stop
- if {_dangle} is larger than a minute:
- set {dangle.%player%.lastused} to now
- if player's tool's name is set:
- if level of sharpness of player's tool is set:
- set {sharpness} to ";Sharpness %level of sharpness of player's tool%"
- if level of sharpness of player's tool is 0:
- set {sharpness} to ""
- if level of Protection of player's tool is set:
- set {Protection} to ";Protection %level of Protection of player's tool%"
- if level of Protection of player's tool is 0:
- set {Protection} to ""
- if level of Power of player's tool is set:
- set {Power} to ";Power %level of Power of player's tool%"
- if level of Power of player's tool is 0:
- set {Power} to ""
- if level of efficiency of player's tool is set:
- set {efficiency} to ";efficiency %level of efficiency of player's tool%"
- if level of efficiency of player's tool is 0:
- set {efficiency} to ""
- if level of Fire Aspect of player's tool is set:
- set {fire} to ";Fire Aspect %level of Fire Aspect of player's tool%"
- if level of Fire Aspect of player's tool is 0:
- set {fire} to ""
- if level of Looting of player's tool is set:
- set {Looting} to ";Looting %level of Looting of player's tool%"
- if level of Looting of player's tool is 0:
- set {Looting} to ""
- if level of Flame of player's tool is set:
- set {Flame} to "Flame %level of Flame of player's tool%"
- if level of Flame of player's tool is 0:
- set {Flame} to ""
- if level of Infinity of player's tool is set:
- set {Infinity} to ";Infinity %level of Infinity of player's tool%"
- if level of Infinity of player's tool is 0:
- set {Infinity} to ""
- if level of Unbreaking of player's tool is set:
- set {Unbreaking} to ";Unbreaking %level of Unbreaking of player's tool%"
- if level of Unbreaking of player's tool is 0:
- set {Unbreaking} to ""
- if line 1 of lore of player's tool is set:
- set {lore1} to ";%line 1 of lore of player's tool%"
- if line 1 of lore of player's tool is not set:
- set {lore1} to ""
- if line 2 of lore of player's tool is set:
- set {lore2} to ";%line 2 of lore of player's tool%"
- if line 2 of lore of player's tool is not set:
- set {lore2} to ""
- if line 3 of lore of player's tool is set:
- set {lore3} to ";%line 3 of lore of player's tool%"
- if line 3 of lore of player's tool is not set:
- set {lore3} to ""
- if line 4 of lore of player's tool is set:
- set {lore4} to ";%line 4 of lore of player's tool%"
- if line 4 of lore of player's tool is not set:
- set {lore4} to ""
- if line 5 of lore of player's tool is set:
- set {lore5} to ";%line 5 of lore of player's tool%"
- if line 5 of lore of player's tool is not set:
- set {lore5} to ""
- if line 6 of lore of player's tool is set:
- set {lore6} to ";%line 6 of lore of player's tool%"
- if line 6 of lore of player's tool is not set:
- set {lore6} to ""
- if line 7 of lore of player's tool is set:
- set {lore7} to ";%line 7 of lore of player's tool%"
- if line 7 of lore of player's tool is not set:
- set {lore7} to ""
- if line 8 of lore of player's tool is set:
- set {lore8} to ";%line 8 of lore of player's tool%"
- if line 8 of lore of player's tool is not set:
- set {lore8} to ""
- if line 9 of lore of player's tool is set:
- set {lore9} to ";%line 9 of lore of player's tool%"
- if line 9 of lore of player's tool is not set:
- set {lore9} to ""
- if line 10 of lore of player's tool is set:
- set {lore10} to ";%line 10 of lore of player's tool%"
- if line 10 of lore of player's tool is not set:
- set {lore10} to ""
- bind hologram "&6&l%player's tool's name%;ItemStack:%player's tool's type%;%{sharpness}%%{Protection}%%{Power}%%{efficiency}%%{fire}%%{Looting}%%{Flame}%%{Infinity}%%{Unbreaking}%%{lore1}%%{lore2}%%{lore3}%%{lore4}%%{lore5}%%{lore6}%%{lore7}%%{lore8}%%{lore9}%%{lore10}%" to player for 10 seconds offset by 2.10, 3.10, 0.0
- stop
- if player's tool's name isn't set:
- if level of sharpness of player's tool is set:
- set {sharpness} to ";Sharpness %level of sharpness of player's tool%"
- if level of sharpness of player's tool is 0:
- set {sharpness} to ""
- if level of Protection of player's tool is set:
- set {Protection} to ";Protection %level of Protection of player's tool%"
- if level of Protection of player's tool is 0:
- set {Protection} to ""
- if level of Power of player's tool is set:
- set {Power} to ";Power %level of Power of player's tool%"
- if level of power of player's tool is 0:
- set {Power} to ""
- if level of efficiency of player's tool is set:
- set {efficiency} to ";efficiency %level of efficiency of player's tool%"
- if level of efficiency of player's tool is 0:
- set {efficiency} to ""
- if level of Fire Aspect of player's tool is set:
- set {fire} to ";Fire Aspect %level of Fire Aspect of player's tool%"
- if level of Fire Aspect of player's tool is 0:
- set {fire} to ""
- if level of Looting of player's tool is set:
- set {Looting} to ";Looting %level of Looting of player's tool%"
- if level of Looting of player's tool is 0:
- set {Looting} to ""
- if level of Flame of player's tool is set:
- set {Flame} to "Flame %level of Flame of player's tool%"
- if level of Flame of player's tool is 0:
- set {Flame} to ""
- if level of Infinity of player's tool is set:
- set {Infinity} to ";Infinity %level of Infinity of player's tool%"
- if level of Infinity of player's tool is 0:
- set {Infinity} to ""
- if level of Unbreaking of player's tool is set:
- set {Unbreaking} to ";Unbreaking %level of Unbreaking of player's tool%"
- if level of Unbreaking of player's tool is 0:
- set {Unbreaking} to ""
- if line 1 of lore of player's tool is set:
- set {lore1} to ";%line 1 of lore of player's tool%"
- if line 1 of lore of player's tool is not set:
- set {lore1} to ""
- if line 2 of lore of player's tool is set:
- set {lore2} to ";%line 2 of lore of player's tool%"
- if line 2 of lore of player's tool is not set:
- set {lore2} to ""
- if line 3 of lore of player's tool is set:
- set {lore3} to ";%line 3 of lore of player's tool%"
- if line 3 of lore of player's tool is not set:
- set {lore3} to ""
- if line 4 of lore of player's tool is set:
- set {lore4} to ";%line 4 of lore of player's tool%"
- if line 4 of lore of player's tool is not set:
- set {lore4} to ""
- if line 5 of lore of player's tool is set:
- set {lore5} to ";%line 5 of lore of player's tool%"
- if line 5 of lore of player's tool is not set:
- set {lore5} to ""
- if line 6 of lore of player's tool is set:
- set {lore6} to ";%line 6 of lore of player's tool%"
- if line 6 of lore of player's tool is not set:
- set {lore6} to ""
- if line 7 of lore of player's tool is set:
- set {lore7} to ";%line 7 of lore of player's tool%"
- if line 7 of lore of player's tool is not set:
- set {lore7} to ""
- if line 8 of lore of player's tool is set:
- set {lore8} to ";%line 8 of lore of player's tool%"
- if line 8 of lore of player's tool is not set:
- set {lore8} to ""
- if line 9 of lore of player's tool is set:
- set {lore9} to ";%line 9 of lore of player's tool%"
- if line 9 of lore of player's tool is not set:
- set {lore9} to ""
- if line 10 of lore of player's tool is set:
- set {lore10} to ";%line 10 of lore of player's tool%"
- if line 10 of lore of player's tool is not set:
- set {lore10} to ""
- bind hologram "%player's tool's type%;ItemStack:%player's tool's type%;%{sharpness}%%{Protection}%%{Power}%%{efficiency}%%{fire}%%{Looting}%%{Flame}%%{Infinity}%%{Unbreaking}%%{lore1}%%{lore2}%%{lore3}%%{lore4}%%{lore5}%%{lore6}%%{lore7}%%{lore8}%%{lore9}%%{lore10}%" to player for 10 seconds offset by 2.10, 3.10, 0.0
- command /reload:misc:
- trigger:
- wipe player's sidebar
- set name of sidebar of player to "&6&lCENTREUM &r({@ver})"
- set score "&7&m-------------------" in sidebar of player to 15
- set score "&6&lLEVEL" in sidebar of player to 14
- set score "&r%{pd::%uuid of player%::lvl}%" in sidebar of player to 13
- set score "&2" in sidebar of player to 12
- set score "&a&lXP" in sidebar of player to 11
- set score "%{pd::%uuid of player%::exp}% " in sidebar of player to 10
- set score "&e&l" in sidebar of player to 9
- set score "&d&lXP Required" in sidebar of player to 8
- set score "&r%{pd::%uuid of player%::expreq}% " in sidebar of player to 7
- set score "&3" in sidebar of player to 6
- set score "&c&lBalance" in sidebar of player to 5
- set score "&r$%{pd::%uuid of player%::bal}% " in sidebar of player to 4
- set score "&r" in sidebar of player to 3
- set score "&6Rank:" in sidebar of player to 2
- set score "&r%{pd::%uuid of player%::rank}% " in sidebar of player to 1
- set score "&r&7&m-------------------" in sidebar of player to 0
- on join:
- if {mb.%player%} is not set:
- set {mb.%player%} to true
- on break:
- if {mb.%player%} is true:
- cancel event
- command /blockbreak [<text>]:
- permission: server.blockbreak
- permission message: &8(&c!&8) &7You can not do this command!"
- trigger:
- if arg-1 is not set:
- send "&8&m-------------------------------------------"
- send "&e/blockbreak toggle &8- &7Toggles block breaking"
- send "&8&m-------------------------------------------"
- if arg-1 is "toggle":
- if {mb.%player%} is not set:
- send "&6BlockBreak: &7You have &c&lDISABLED &7block breaking!"
- set {mb.%player%} to true
- stop
- if {mb.%player%} is true:
- send "&6BlockBreak: &7You have &a&lENABLED &7block breaking!"
- delete {mb.%player%}
- stop
- on place:
- if {mb.%player%} is true:
- cancel event
- on first join:
- set {pd::%uuid of player%::exp} to 0
- set {pd::%uuid of player%::lvl} to 1
- set {pd::%uuid of player%::expreq} to 499
- set {pd::%uuid of player%::bal} to 0
- command /reset:
- trigger:
- set {pd::%uuid of player%::exp} to 0
- set {pd::%uuid of player%::lvl} to 1
- set {pd::%uuid of player%::expreq} to 500
- set {pd::%uuid of player%::bal} to 0
- make player execute "reload:misc"
- every 1 second:
- loop all players:
- make loop-player execute "rankup"
- command /rankup:
- trigger:
- if {pd::%uuid of player%::exp} > {pd::%uuid of player%::expreq}:
- subtract {pd::%uuid of player%::expreq} from {pd::%uuid of player%::exp}
- add 1 to {pd::%uuid of player%::lvl}
- if {pd::%uuid of player%::lvl} < 10:
- add 200 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} < 20:
- add 400 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} < 30:
- add 800 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} < 40:
- add 2000 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} < 50:
- add 5000 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} < 60:
- add 10000 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} < 70:
- add 15000 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} < 80:
- add 25000 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} < 90:
- add 50000 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} < 100:
- add 75000 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} > 100:
- add 1250000 to {pd::%uuid of player%::expreq}
- else if {pd::%uuid of player%::lvl} > 200:
- add 75250000 to {pd::%uuid of player%::expreq}
- make player execute "reload:misc"
- command /setlvl [<offline player>] [<integer>]:
- permission: perm.setlvl
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- set {pd::%uuid of argument 1%::lvl} to argument 2
- make player execute "reload:misc"
- command /setexp [<offline player>] [<integer>]:
- permission: perm.setlvl
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- set {pd::%uuid of argument 1%::exp} to argument 2
- make player execute "reload:misc"
- command /adminsell:
- aliases: /asell
- permission: perm.asell
- trigger:
- set {_coalore} to number of coal ore in player's inventory
- set {_ironore} to number of iron ore in player's inventory
- set {_goldore} to number of gold ore in player's inventory
- set {_diamondore} to number of diamond ore in player's inventory
- set {_emeraldore} to number of emerald ore in player's inventory
- set {_lapisore} to number of lapis ore in player's inventory
- set {_redstoneore} to number of redstone ore in player's inventory
- set {_endstone} to number of end stone in player's inventory
- set {_value1} to 0.05 * {_coalore}#!<---
- set {_value2} to 2.5 * {_ironore}#!<---
- set {_value3} to 5 * {_goldore}#!<---
- set {_value4} to 10 * {_diamondore}#!<---
- set {_value5} to 40 * {_emeraldore}#!<---
- set {_value6} to 1.5 * {_lapisore}
- set {_value7} to 500 * {_redstoneore}
- set {_value8} to 1000 * {_endstone}
- set {_value10} to {_value1} + {_value2} + {_value3} + {_value4} + {_value5} + {_value6} + {_value7} + {_value8}#!<--
- remove all emerald ore, coal ore, iron ore, diamond ore, lapis ore, gold ore, redstone ore and end stone from player's inventory
- add {_value10} to {pd::%uuid of player%::bal}
- make player execute "reload:misc"
- set action bar of player to "&6Sold all your items for &a&l$%{_value10}%"
- command /tr:
- permission: perm.rocket
- trigger:
- show 860 cloud particles at location of player
- on any movement:
- if {rocketclouds.%player%} is 1:
- show 2 "cloud" particles at location of player for player offset by 0.2, 0.4, 0.2
- if {rocketflames.%player%} is 2:
- show 2 "flame" particles at location of player for player offset by 0.2, 0.4, 0.2
Add Comment
Please, Sign In to add comment