Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {miner::level::%player%} = 1
- {level1::manager::%player%} = "False"
- {level1::jrmanager::%player%} = "False"
- {level::1::%player%} = "True"
- {staffchat::%player%} = "False"
- {Mute::%player%} = "False"
- on chat:
- if {MuteChat::Survival} is set:
- if player is in world "Survival":
- cancel event
- send "&e(Chat) &7The chat is muted."
- stop
- if {staffchat::%player%} is "True":
- cancel event
- loop all players:
- if loop-player has permission "staff.chat":
- send "&e(Staff Chat) %coloured player's prefix% &e%player% &8» &f%message%" to loop-player
- send "&e(Staff Chat) %coloured player's prefix% &e%player% &8» &f%message%" to player
- stop
- if player is in world "Main":
- if {MuteChat} is "True":
- if {Bypass::%player%} is not set:
- cancel event
- send "&e(Chat) &7The chat is muted."
- stop
- if {Mute::%player%} is "True":
- cancel event
- send "&7You are muted, so you cannot speak"
- stop
- if player is in world "Main":
- cancel event
- loop all players:
- if loop-player is in world "Main":
- send "&8[&aClicker&8] %colored player's prefix% &e%player% &8» &7%message%" to loop-player
- if player is in world "ul_Lobby-1":
- cancel event
- loop all players:
- if loop-player is in world "ul_Lobby-1":
- send "&8[&aLobby ##1&8] %colored player's prefix% &e%player% &8» &7%message%" to loop-player
- if player is in world "Survival":
- cancel event
- loop all players:
- if loop-player is in world "Survival":
- send "&8[&aSurvival&8] %colored player's prefix% &e%player% &8» &7%message%" to loop-player
- if player is in world "Plots":
- cancel event
- loop all players:
- if loop-player is in world "Plots":
- send "&8[&aCreative&8] %colored player's prefix% &e%player% &8» &7%message%" to loop-player
- command /start:
- trigger:
- if player is in world "ul_lobby-1":
- send "&fUnknown command. Type ""/help"" for help."
- if player is in world "main":
- if {OneUseClicker::%player%} is not set:
- set {OneUseClicker::%player%} to "True"
- give player 1 emerald named "&a✎ Idle Miner &7(Click to earn 1 cash)"
- if player is in world "Survival":
- if {OneUseSurv::%player%} is not set:
- set {OneUseSurv::%player%} to "True"
- give player 1 leather helmet named "&cStarter Helmet"
- give player 1 leather chestplate named "&cStarter Tunic"
- give player 1 leather leggings named "&cStarter Pants"
- give player 1 leather boots named "&cStarter Boots"
- give player 1 stone sword named "&cStarter Sword"
- give player 1 stone pickaxe named "&cStarter Pickaxe"
- give player 1 stone axe named "&cStarter Axe"
- give player 1 stone shovel named "&cStarter Shovel"
- give player 16 cooked beef named "&cStarter Beef"
- give player 2 golden apples named "&cStarter Apples"
- give player 16 oak logs named "&cStarter Logs"
- give player 32 cobble stone named "&cStarter Cobblestone"
- give player 3 diamonds named "&cStarter Diamonds"
- give player 5 iron ingots named "&cStarter Iron"
- command /sc:
- permission: staff.chat
- trigger:
- if {staffchat::%player%} is "False":
- set {staffchat::%player%} to "True"
- send "&e(Staff Chat) &7staff chat enabled"
- stop
- if {staffchat::%player%} is "True":
- set {staffchat::%player%} to "False"
- send "&e(Staff Chat) &7staff chat disabled"
- stop
- command /managers:
- aliases: /manager
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level::1::%player%} is "True":
- open chest with 3 rows named " &0&nManagers" to player
- format slot 10 of player with 1 emerald named "&3Level 1 Jr.Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 1 jr.manager||&7||&3Price: &a300 cash||&7" to run [make player execute "/level1jr.manager"]
- format slot 11 of player with 1 emerald named "&3Level 1 Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 1 manager||&7||&3Price: &a500 cash||&7" to run [make player execute "/level1manager"]
- format slot 12 of player with 1 emerald named "&3Level 1 Sr.Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 1 sr.manager||&7||&3Price: &a900 cash||&7" to run [make player execute "/level1sr.manager"]
- format slot 13 of player with 1 emerald named "&3Level 1 Account Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 1 account manager||&7||&3Price: &a1200 cash||&7" to run [make player execute "/level1accountmanager"]
- format slot 14 of player with 1 emerald named "&3Level 1 Director &7(Click to purchase)" with lore "||&7Click to purchase the level 1 director||&7||&3Price: &a1600 cash||&7" to run [make player execute "/level1director"]
- format slot 15 of player with 1 emerald named "&3Level 1 Secretary &7(Click to purchase)" with lore "||&7Click to purchase the level 1 secretary||&7||&3Price: &a2000 cash||&7" to run [make player execute "/level1secretary"]
- format slot 16 of player with 1 emerald named "&3Level 1 Operator &7(Click to purchase)" with lore "||&7Click to purchase the level 1 operator||&7||&3Price: &a2500 cash||&7" to run [make player execute "/level1operator"]
- if {level::2::%player%} is "True":
- open chest with 3 rows named " &0&nManagers" to player
- format slot 10 of player with 1 emerald named "&3Level 2 Jr.Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 2 jr.manager||&7||&3Price: &a600 cash||&7" to run [make player execute "/level2jr.manager"]
- format slot 11 of player with 1 emerald named "&3Level 2 Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 2 manager||&7||&3Price: &a1000 cash||&7" to run [make player execute "/level2manager"]
- format slot 12 of player with 1 emerald named "&3Level 2 Sr.Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 2 sr.manager||&7||&3Price: &a1800 cash||&7" to run [make player execute "/level2sr.manager"]
- format slot 13 of player with 1 emerald named "&3Level 2 Account Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 2 account manager||&7||&3Price: &a2400 cash||&7" to run [make player execute "/level2accountmanager"]
- format slot 14 of player with 1 emerald named "&3Level 2 Director &7(Click to purchase)" with lore "||&7Click to purchase the level 2 director||&7||&3Price: &a3200 cash||&7" to run [make player execute "/level2director"]
- format slot 15 of player with 1 emerald named "&3Level 2 Secretary &7(Click to purchase)" with lore "||&7Click to purchase the level 2 secretary||&7||&3Price: &a4000 cash||&7" to run [make player execute "/level2secretary"]
- format slot 16 of player with 1 emerald named "&3Level 2 Operator &7(Click to purchase)" with lore "||&7Click to purchase the level 2 operator||&7||&3Price: &a5000 cash||&7" to run [make player execute "/level2operator"]
- if {level::3::%player%} is "True":
- open chest with 3 rows named " &0&nManagers" to player
- format slot 10 of player with 1 emerald named "&3Level 3 Jr.Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 3 jr.manager||&7||&3Price: &a900 cash||&7" to run [make player execute "/level3jr.manager"]
- format slot 11 of player with 1 emerald named "&3Level 3 Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 3 manager||&7||&3Price: &a1500 cash||&7" to run [make player execute "/level3manager"]
- format slot 12 of player with 1 emerald named "&3Level 3 Sr.Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 3 sr.manager||&7||&3Price: &a2700 cash||&7" to run [make player execute "/level3sr.manager"]
- format slot 13 of player with 1 emerald named "&3Level 3 Account Manager &7(Click to purchase)" with lore "||&7Click to purchase the level 3 account manager||&7||&3Price: &a3600 cash||&7" to run [make player execute "/level3accountmanager"]
- format slot 14 of player with 1 emerald named "&3Level 3 Director &7(Click to purchase)" with lore "||&7Click to purchase the level 3 director||&7||&3Price: &a4800 cash||&7" to run [make player execute "/level3director"]
- format slot 15 of player with 1 emerald named "&3Level 3 Secretary &7(Click to purchase)" with lore "||&7Click to purchase the level 3 secretary||&7||&3Price: &a6000 cash||&7" to run [make player execute "/level3secretary"]
- format slot 16 of player with 1 emerald named "&3Level 3 Operator &7(Click to purchase)" with lore "||&7Click to purchase the level 3 operator||&7||&3Price: &a7500 cash||&7" to run [make player execute "/level3operator"]
- command /level1jr.manager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level1::jrmanager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 299:
- send "&e(Manager) &7You need 300 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 299:
- remove 300 from {cash::%player%}
- set {level1::jrmanager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 1 jr.manager"
- stop
- command /level1manager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level1::manager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 499:
- send "&e(Manager) &7You need 500 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 499:
- remove 500 from {cash::%player%}
- set {level1::manager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 1 manager"
- stop
- command /level1sr.manager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level1::srmanager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 899:
- send "&e(Manager) &7You need 900 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 899:
- remove 900 from {cash::%player%}
- set {level1::srmanager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 1 sr.manager"
- stop
- command /level1accountmanager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level1::accountmanager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 1199:
- send "&e(Manager) &7You need 1200 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 1199:
- remove 1200 from {cash::%player%}
- set {level1::accountmanager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 1 account manager"
- stop
- command /level1director:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level1::director::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 1599:
- send "&e(Manager) &7You need 1600 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 1599:
- remove 1600 from {cash::%player%}
- set {level1::director::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 1 director"
- stop
- command /level1secretary:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level1::secretary::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 1999:
- send "&e(Manager) &7You need 2000 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 1999:
- remove 2000 from {cash::%player%}
- set {level1::secretary::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 1 secretary"
- stop
- command /level1operator:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level1::operator::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 2499:
- send "&e(Manager) &7You need 2500 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 2499:
- remove 2500 from {cash::%player%}
- set {level1::operator::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 1 operator"
- stop
- command /level2jr.manager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level2::jrmanager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 599:
- send "&e(Manager) &7You need 600 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 599:
- remove 600 from {cash::%player%}
- set {level2::jrmanager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 2 jr.manager"
- stop
- command /level2manager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level2::manager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 999:
- send "&e(Manager) &7You need 1000 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 999:
- remove 1000 from {cash::%player%}
- set {level2::manager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 2 manager"
- stop
- command /level2sr.manager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level2::srmanager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 1799:
- send "&e(Manager) &7You need 1800 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 1799:
- remove 1800 from {cash::%player%}
- set {level2::srmanager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 2 sr.manager"
- stop
- command /level2accountmanager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level2::accountmanager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 2399:
- send "&e(Manager) &7You need 2400 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 2399:
- remove 2400 from {cash::%player%}
- set {level2::accountmanager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 2 account manager"
- stop
- command /level2director:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level2::director::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 3199:
- send "&e(Manager) &7You need 3200 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 3199:
- remove 3200 from {cash::%player%}
- set {level2::director::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 2 director"
- stop
- command /level2secretary:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level2::secretary::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 3999:
- send "&e(Manager) &7You need 4000 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 3999:
- remove 4000 from {cash::%player%}
- set {level2::secretary::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 2 secretary"
- stop
- command /level2operator:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level2::operator::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 4999:
- send "&e(Manager) &7You need 5000 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 4999:
- remove 5000 from {cash::%player%}
- set {level2::operator::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 2 operator"
- stop
- command /level3jr.manager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level3::jrmanager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 899:
- send "&e(Manager) &7You need 900 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 899:
- remove 900 from {cash::%player%}
- set {level3::jrmanager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 3 jr.manager"
- stop
- command /level3manager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level3::manager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 1499:
- send "&e(Manager) &7You need 1500 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 1499:
- remove 1500 from {cash::%player%}
- set {level3::manager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 3 manager"
- stop
- command /level3sr.manager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level3::srmanager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 2699:
- send "&e(Manager) &7You need 2700 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 2699:
- remove 2700 from {cash::%player%}
- set {level3::srmanager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 3 sr.manager"
- stop
- command /level3accountmanager:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level3::accountmanager::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 3599:
- send "&e(Manager) &7You need 3600 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 3599:
- remove 3600 from {cash::%player%}
- set {level3::accountmanager::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 3 account manager"
- stop
- command /level3director:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level3::director::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 4799:
- send "&e(Manager) &7You need 4800 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 4799:
- remove 4800 from {cash::%player%}
- set {level3::director::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 3 director"
- stop
- command /level3secretary:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level3::secretary::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 5999:
- send "&e(Manager) &7You need 6000 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 5999:
- remove 6000 from {cash::%player%}
- set {level3::secretary::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 3 secretary"
- stop
- command /level3operator:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {level3::operator::%player%} is "True":
- send "&e(Manager) &7You already have this manager unlocked"
- stop
- if {cash::%player%} is less than 7499:
- send "&e(Manager) &7You need 7500 cash to purchase this manager"
- stop
- if {cash::%player%} is more than 7499:
- remove 7500 from {cash::%player%}
- set {level3::operator::%player%} to "True"
- send "&e(Manager) &7You have purchased the level 3 operator"
- stop
- on join:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- set slot 0 of player's inventory to 1 emerald named "&a✎ Idle Miner &7(Click to earn 1 cash)"
- if {click::2::%player%} is "True":
- set slot 0 of player's inventory to 1 emerald named "&a✎ Idle Miner &7(Click to earn 2 cash)"
- if {click::3::%player%} is "True":
- set slot 0 of player's inventory to 1 emerald named "&a✎ Idle Miner &7(Click to earn 3 cash)"
- if {click::4::%player%} is "True":
- set slot 0 of player's inventory to 1 emerald named "&a✎ Idle Miner &7(Click to earn 5 cash)"
- if {click::5::%player%} is "True":
- set slot 0 of player's inventory to 1 emerald named "&a✎ Idle Miner &7(Click to earn 8 cash)"
- on rightclick:
- if player's tool is emerald named "&a✎ Idle Miner &7(Click to earn 1 cash)":
- add 1 to {cash::%player%}
- if player's tool is emerald named "&a✎ Idle Miner &7(Click to earn 2 cash)":
- add 2 to {cash::%player%}
- if player's tool is emerald named "&a✎ Idle Miner &7(Click to earn 3 cash)":
- add 3 to {cash::%player%}
- if player's tool is emerald named "&a✎ Idle Miner &7(Click to earn 5 cash)":
- add 5 to {cash::%player%}
- if player's tool is emerald named "&a✎ Idle Miner &7(Click to earn 8 cash)":
- add 8 to {cash::%player%}
- every second:
- loop all players:
- if {level1::manager::%loop-player%} is "True":
- add 2 to {cash::%loop-player%}
- if {level1::jrmanager::%loop-player%} is "True":
- add 1 to {cash::%loop-player%}
- if {level1::srmanager::%loop-player%} is "True":
- add 3 to {cash::%loop-player%}
- if {level1::accountmanager::%loop-player%} is "True":
- add 4 to {cash::%loop-player%}
- if {level1::director::%loop-player%} is "True":
- add 5 to {cash::%loop-player%}
- if {level1::secretary::%loop-player%} is "True":
- add 6 to {cash::%loop-player%}
- if {level1::operator::%loop-player%} is "True":
- add 7 to {cash::%loop-player%}
- if {level2::manager::%loop-player%} is "True":
- add 4 to {cash::%loop-player%}
- if {level2::jrmanager::%loop-player%} is "True":
- add 2 to {cash::%loop-player%}
- if {level2::srmanager::%loop-player%} is "True":
- add 6 to {cash::%loop-player%}
- if {level2::accountmanager::%loop-player%} is "True":
- add 8 to {cash::%loop-player%}
- if {level2::director::%loop-player%} is "True":
- add 10 to {cash::%loop-player%}
- if {level2::secretary::%loop-player%} is "True":
- add 12 to {cash::%loop-player%}
- if {level2::operator::%loop-player%} is "True":
- add 14 to {cash::%loop-player%}
- if {level3::manager::%loop-player%} is "True":
- add 8 to {cash::%loop-player%}
- if {level3::jrmanager::%loop-player%} is "True":
- add 4 to {cash::%loop-player%}
- if {level3::srmanager::%loop-player%} is "True":
- add 12 to {cash::%loop-player%}
- if {level3::accountmanager::%loop-player%} is "True":
- add 16 to {cash::%loop-player%}
- if {level3::director::%loop-player%} is "True":
- add 20 to {cash::%loop-player%}
- if {level3::secretary::%loop-player%} is "True":
- add 24 to {cash::%loop-player%}
- if {level3::operator::%loop-player%} is "True":
- add 28 to {cash::%loop-player%}
- every 1 second:
- loop all players:
- if {miner::level::%loop-player%} is equal to 1:
- add 1 to {miner::level::%loop-player%}
- if {miner::level::%loop-player%} is equal to 2:
- add 1 to {miner::level::%loop-player%}
- if {miner::level::%loop-player%} is equal to 3:
- add 1 to {miner::level::%loop-player%}
- if {miner::level::%loop-player%} is equal to 4:
- add 1 to {miner::level::%loop-player%}
- if {miner::level::%loop-player%} is equal to 5:
- set {miner::level::%loop-player%} to 1
- command /reset:
- trigger:
- loop all players:
- set {miner::level::%loop-player%} to 1
- set {cash::%loop-player%} to 0
- set {level1::jrmanager::%loop-player%} to "False"
- set {level1::manager::%loop-player%} to "False"
- command /level [<number>]:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if arg 1 is 2:
- if {level::2::%player%} is "True":
- send "&e(Leveling) &7You are already level 2"
- stop
- if {cash::%player%} is less than 30000:
- send "&e(Leveling) &7You need 30k cash to level up to level 2"
- stop
- if {cash::%player%} is more than 29999:
- send "&e(Leveling) &7You have leveled up to level 2"
- set {level::2::%player%} to "True"
- set {level::1::%player%} to "False"
- remove 30000 from {cash::%player%}
- set {level1::jrmanager::%player%} to "False"
- set {level1::manager::%player%} to "False"
- set {level1::srmanager::%player%} to "False"
- set {level1::operator::%player%} to "False"
- set {level1::secretary::%player%} to "False"
- set {level1::director::%player%} to "False"
- set {level1::accountmanager::%player%} to "False"
- stop
- if arg 1 is 3:
- if {level::3::%player%} is "True":
- send "&e(Leveling) &7You are already level 3"
- stop
- if {cash::%player%} is less than 60000:
- send "&e(Leveling) &7You need 60k cash to level up to level 3"
- stop
- if {cash::%player%} is more than 59999:
- send "&e(Leveling) &7You have leveled up to level 3"
- set {level::3::%player%} to "True"
- set {level::2::%player%} to "False"
- set {level::1::%player%} to "False"
- remove 30000 from {cash::%player%}
- set {level2::jrmanager::%player%} to "False"
- set {level2::manager::%player%} to "False"
- set {level2::srmanager::%player%} to "False"
- set {level2::operator::%player%} to "False"
- set {level2::secretary::%player%} to "False"
- set {level2::director::%player%} to "False"
- set {level2::accountmanager::%player%} to "False"
- stop
- command /clickers:
- aliases: /clicker
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- open chest with 3 rows named " &0&nClickers" to player
- format slot 10 of player with 1 emerald named "&3##2 Clicker &7(Click to purchase)" with lore "||&7Click to purchase the ##2 clicker||&7||&3Price: &a200 cash||&7" to run [make player execute "/clicker1"]
- format slot 11 of player with 1 emerald named "&3##3 Clicker &7(Click to purchase)" with lore "||&7Click to purchase the ##3 clicker||&7||&3Price: &a400 cash||&7" to run [make player execute "/clicker2"]
- format slot 12 of player with 1 emerald named "&3##4 Clicker &7(Click to purchase)" with lore "||&7Click to purchase the ##4 clicker||&7||&3Price: &a800 cash||&7" to run [make player execute "/clicker3"]
- format slot 13 of player with 1 emerald named "&3##5 Clicker &7(Click to purchase)" with lore "||&7Click to purchase the ##5 clicker||&7||&3Price: &a1200 cash||&7" to run [make player execute "/clicker4"]
- command /clicker1:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {click::1::%player%} is "True":
- send "&e(Clicker) &7You already have this clicker"
- stop
- if {cash::%player%} is less than 199:
- send "&e(Clicker) &7You need 200 cash to purchase this clicker"
- stop
- if {cash::%player%} is more than 199:
- set {click::1::%player%} to "True"
- remove 200 from {cash::%player%}
- send "&e(Clicker) &7You have purchased the click ##2"
- set slot 0 of player's inventory to 1 emerald named "&a✎ Idle Miner &7(Click to earn 2 cash)"
- stop
- command /clicker2:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {click::2::%player%} is "True":
- send "&e(Clicker) &7You already have this clicker"
- stop
- if {cash::%player%} is less than 399:
- send "&e(Clicker) &7You need 400 cash to purchase this clicker"
- stop
- if {cash::%player%} is more than 399:
- set {click::2::%player%} to "True"
- remove 400 from {cash::%player%}
- send "&e(Clicker) &7You have purchased the click ##3"
- set slot 0 of player's inventory to 1 emerald named "&a✎ Idle Miner &7(Click to earn 3 cash)"
- stop
- command /clicker3:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {click::3::%player%} is "True":
- send "&e(Clicker) &7You already have this clicker"
- stop
- if {cash::%player%} is less than 799:
- send "&e(Clicker) &7You need 800 cash to purchase this clicker"
- stop
- if {cash::%player%} is more than 799:
- set {click::3::%player%} to "True"
- remove 800 from {cash::%player%}
- send "&e(Clicker) &7You have purchased the click ##4"
- set slot 0 of player's inventory to 1 emerald named "&a✎ Idle Miner &7(Click to earn 5 cash)"
- stop
- command /clicker4:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if {click::4::%player%} is "True":
- send "&e(Clicker) &7You already have this clicker"
- stop
- if {cash::%player%} is less than 1199:
- send "&e(Clicker) &7You need 1200 cash to purchase this clicker"
- stop
- if {cash::%player%} is more than 1199:
- set {click::4::%player%} to "True"
- remove 1200 from {cash::%player%}
- send "&e(Clicker) &7You have purchased the click ##5"
- set slot 0 of player's inventory to 1 emerald named "&a✎ Idle Miner &7(Click to earn 8 cash)"
- stop
- command /resetclicker:
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- set {click::1::%player%} to "False"
- command /money [<text>] [<offlineplayer>] [<number>]:
- permission: admin.use
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if arg 1 is not set:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- if arg 2 is not set:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- if arg 1 is "add":
- if arg 2 is set:
- if arg 3 is set:
- send "&e(MONEY) &6%arg 3% &7was added to &6%arg 2%'s &7cash" to player
- send "&e(MONEY) &6%arg 3% &7was added to your cash" to arg 2
- add arg 3 to {cash::%arg 2%}
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- if arg 1 is "remove":
- if arg 2 is set:
- if arg 3 is set:
- send "&e(MONEY) &6%arg 3% &7was removed from &6%arg 2%'s &7cash" to player
- send "&e(MONEY) &6%arg 3% &7was removed from your cash" to arg 2
- remove arg 3 from {cash::%arg 2%}
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- if arg 1 is "set":
- if arg 2 is set:
- if arg 3 is set:
- send "&e(MONEY) &6%arg 2%'s &7cash was set to &6%arg 3%" to player
- send "&e(MONEY) &7Your cash was set to &6%arg 3%" to arg 2
- set {cash::%arg 2%} to arg 3
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- if arg 1 is "reset":
- if arg 2 is set:
- if arg 3 is not set:
- send "&e(MONEY) &6%arg 2%'s &7cash was reset" to player
- send "&e(MONEY) &7Your cash was reset" to arg 2
- set {cash::%arg 2%} to 0
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- else:
- send "&e(MONEY) &7/money <add|remove|set|reset> <player> [<amount>]"
- stop
- command /rank [<offlineplayer>] [<text>]:
- permission: admin.use
- trigger:
- if player is not in world "Main":
- send "&fUnknown command. Type ""/help"" for help."
- stop
- if arg 1 is not set:
- send "&e(RANK) &7/rank <player> <rank>"
- stop
- if arg 2 is not set:
- send "&e(RANK) &7/rank <player> <rank>"
- stop
- if arg 1 is set:
- if arg 2 is set:
- set {level1::jrmanager::%player%} to "False"
- set {level1::manager::%player%} to "False"
- set {level1::srmanager::%player%} to "False"
- set {level1::operator::%player%} to "False"
- set {level1::secretary::%player%} to "False"
- set {level1::director::%player%} to "False"
- set {level1::accountmanager::%player%} to "False"
- set {level2::jrmanager::%player%} to "False"
- set {level2::manager::%player%} to "False"
- set {level2::srmanager::%player%} to "False"
- set {level2::operator::%player%} to "False"
- set {level2::secretary::%player%} to "False"
- set {level2::director::%player%} to "False"
- set {level2::accountmanager::%player%} to "False"
- set {level3::jrmanager::%player%} to "False"
- set {level3::manager::%player%} to "False"
- set {level3::srmanager::%player%} to "False"
- set {level3::operator::%player%} to "False"
- set {level3::secretary::%player%} to "False"
- set {level3::director::%player%} to "False"
- set {level3::accountmanager::%player%} to "False"
- if arg 2 is "1":
- send "&e(RANK) &7Set &8%arg 1%'s &7rank to &8%arg 2%" to player
- set {level::1::%player%} to "True"
- set {level::2::%player%} to "False"
- set {level::3::%player%} to "False"
- if arg 2 is "2":
- send "&e(RANK) &7Set &8%arg 1%'s &7rank to &8%arg 2%" to player
- set {level::1::%player%} to "False"
- set {level::2::%player%} to "True"
- set {level::3::%player%} to "False"
- if arg 2 is "3":
- send "&e(RANK) &7Set &8%arg 1%'s &7rank to &8%arg 2%" to player
- set {level::1::%player%} to "False"
- set {level::2::%player%} to "False"
- set {level::3::%player%} to "True"
Add Comment
Please, Sign In to add comment