Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mystery Spawners Update V2.
- command /mshelp:
- trigger:
- if player has permission "ms.help":
- send "&0---------&6&lMystery Spawners help&0---------"
- send "&6- &6/msgui | &6Opens a GUI for players to receive a spawner!"
- send "&6- &6/mshelp | &6Displays Mystery spawners help information."
- send "&6- &6/ms <player> | &6Gives a Mystery Spawner."
- else:
- send "&cYou don't have permission!"
- command /ms <players>:
- permission: ms.use
- permission message: &0[&6Mystery Spawners&0] &cYou don't have permission to execute this command.
- description: Get a Mystery Spawner!
- trigger:
- give arg 1 mob spawner named "&6&lMystery Spawner" with lore "&7>> Right-click to receive a spawner!"
- command /msgui:
- permission: ms.gui
- permission message: &0[&6Mystery Spawners&0] &cYou don't have permission to execute this command.
- description: Get a Mystery Spawner!
- trigger:
- wait 1 tick
- open chest with 4 row named "&6&lMystery Spawner GUI" to player
- format slot 0 of player with mob spawner named "&6&lMystery Spawner" with lore "&7>> Right-click to receive a spawner!" to close then run [make player execute command "/ms %player%"]
- format slot 9 of player with wool named "&6&lTypes of Spawners!" to be unstealable
- format slot 10 of player with mob spawner named "&6&lCow Spawner" to be unstealable
- format slot 11 of player with mob spawner named "&6&lEnderman Spawner" to be unstealable
- format slot 12 of player with mob spawner named "&6&lZombie Pigman Spawner" to be unstealable
- format slot 13 of player with mob spawner named "&6&lCreeper Spawner" to be unstealable
- format slot 14 of player with mob spawner named "&6&lBlaze Spawner" to be unstealable
- format slot 15 of player with mob spawner named "&6&lIrongolem Spawner" to be unstealable
- format slot 16 of player with mob spawner named "&6&lMooshroom Spawner" to be unstealable
- format slot 17 of player with mob spawner named "&6&lGhast Spawner" to be unstealable
- format slot 18 of player with mob spawner named "&6&lMagmacube Spawner" to be unstealable
- options:
- Prefix: &0[&6Mystery Spawner&0]&c> &r
- Percentage: 100
- Broadcast: true
- BroadcastMessage: &c%player% &fhas opened a mystery spawner!
- RewardMessage1: &fYou have received a &6Cow Spawner!
- RewardMessage2: &fYou have received a &6Enderman Spawner!
- RewardMessage3: &fYou have received a &6Zombie Pigman Spawner!
- RewardMessage4: &fYou have received a &6Creeper Spawner!
- RewardMessage5: &fYou have received a &6Blaze Spawner!
- RewardMessage6: &fYou have received a &6Iron Golem Spawner!
- RewardMessage7: &fYou have received a &6Mooshroom Spawner!
- RewardMessage8: &fYou have received a &6Ghast Spawner!
- RewardMessage9: &fYou have received a &6Magmacube Spawner!
- on rightclick:
- player is holding mob spawner named "&6&lMystery Spawner" with lore "&7>> Right-click to receive a spawner!"
- remove 1 mob spawner named "&6&lMystery Spawner" with lore "&7>> Right-click to receive a spawner!" from player
- chance of {@Percentage}%
- if "{@Broadcast}" is "true":
- broadcast "{@Prefix}{@BroadcastMessage}"
- set {_Mystery} to a random integer between 1 and 9
- if {_Mystery} is 1:
- execute console command "/ss give %player% cow 1"
- message "{@Prefix}{@RewardMessage1}"
- if {_Mystery} is 2:
- execute console command "/ss give %player% enderman 1"
- message "{@Prefix}{@RewardMessage2}"
- if {_Mystery} is 3:
- execute console command "/ss give %player% pigman 1"
- message "{@Prefix}{@RewardMessage3}"
- if {_Mystery} is 4:
- execute console command "/ss give %player% creeper 1"
- message "{@Prefix}{@RewardMessage4}"
- if {_Mystery} is 5:
- execute console command "/ss give %player% blaze 1"
- message "{@Prefix}{@RewardMessage5}"
- if {_Mystery} is 6:
- execute console command "/ss give %player% irongolem 1"
- message "{@Prefix}{@RewardMessage6}"
- if {_Mystery} is 7:
- execute console command "/ss give %player% mooshroom 1"
- message "{@Prefix}{@RewardMessage7}"
- if {_Mystery} is 8:
- execute console command "/ss give %player% ghast 1"
- message "{@Prefix}{@RewardMessage8}"
- if {_Mystery} is 9:
- execute console command "/ss give %player% magmacube 1"
- message "{@Prefix}{@RewardMessage9}"
- Money Pouch:
- command /mphelp:
- trigger:
- if player has permission "mp.help":
- send "&0&M---------&6&lMoney Pouch help&0&M---------"
- send "&6- &6/mpgui | &6Opens a GUI for players to receive a Money Pouch Pouch!"
- send "&6- &6/mphelp | &6Displays Money Pouch help information."
- send "&6- &6/MP <player> | &6Gives a Money Pouch Pouch."
- else:
- send "&c&l(!) &cYou do not have permission to execute this command!"
- command /mp <players>:
- permission: mp.use
- permission message: &0[&6MoneyPouchs&0] &c&l(!) &cYou don't have permission to execute this command.
- description: Get a Money Pouch Pouch!
- trigger:
- give arg 1 EnderChest named "&f&lMoney &6&lPouch" with lore "&7>> Right-click to receive a Money Pouch! &7<<"
- command /mpgui:
- permission: mp.gui
- permission message: &0[&6MoneyPouchs&0] &c&l(!) &cYou don't have permission to execute this command.
- description: Get a Money Pouch Pouch!
- trigger:
- wait 1 tick
- open chest with 4 row named "&6&lMoney Pouch GUI" to player
- format slot 0 of player with EnderChest named "&f&lMoney &6&lPouch" with lore "&7>> Right-click to receive a Money Pouch! &7<<" to close then run [make player execute command "/rc %player%"]
- format slot 9 of player with wool named "&6&lTypes of Moneys!" to be unstealable
- format slot 10 of player with paper named "&6&l$10,000" to be unstealable
- format slot 11 of player with paper named "&6&l$20,000" to be unstealable
- format slot 12 of player with paper named "&6&l$30,000" to be unstealable
- format slot 13 of player with paper named "&6&l$40,000" to be unstealable
- format slot 14 of player with paper named "&6&l$500,000" to be unstealable
- format slot 15 of player with paper named "&6&l$600,000" to be unstealable
- format slot 16 of player with paper named "&6&l$700,000" to be unstealable
- format slot 17 of player with paper named "&6&l$800,000" to be unstealable
- format slot 18 of player with paper named "&6&l$1,0000,000" to be unstealable
- options:
- Prefix: &0[&6Money Pouch&0]&c> &r
- Percentage: 100
- Broadcast: true
- BroadcastMessage: &c%player% &fhas opened a Money Pouch Pouch!
- RewardMessage1: &a&l+ $10,000
- RewardMessage2: &a&l+ $20,000
- RewardMessage3: &a&l+ $30,000
- RewardMessage4: &a&l+ $40,000
- RewardMessage5: &a&l+ $500,000
- RewardMessage6: &a&l+ $600,000
- RewardMessage7: &a&l+ $700,000
- RewardMessage8: &a&l+ $800,000
- RewardMessage9: &a&l+ $1,000,000
- on rightclick:
- player is holding 1 EnderChest named "&f&lMoney &6&lPouch" with lore "&7>> Right-click to receive a Money Pouch! &7<<"
- remove 1 EnderChest named "&f&lMoney &6&lPouch" with lore "&7>> Right-click to receive a Money Pouch! &7<<" from player
- chance of {@Percentage}%
- if "{@Broadcast}" is "true":
- broadcast "{@Prefix}{@BroadcastMessage}"
- set {_Money} to a random integer between 0 and 9
- if {_Money} is 1:
- execute console command "/eco give %player% 10000"
- message "{@Prefix}{@RewardMessage1}"
- if {_Money} is 2:
- execute console command "/eco give %player% 20000"
- message "{@Prefix}{@RewardMessage2}"
- if {_Money} is 3:
- execute console command "/eco give %player% 30000"
- message "{@Prefix}{@RewardMessage3}"
- if {_Money} is 4:
- execute console command "/eco give %player% 40000"
- message "{@Prefix}{@RewardMessage4}"
- if {_Money} is 5:
- execute console command "/eco give %player% 50000"
- message "{@Prefix}{@RewardMessage5}"
- if {_Money} is 6:
- execute console command "/eco give %player% 600000"
- message "{@Prefix}{@RewardMessage6}"
- if {_Money} is 7:
- execute console command "/eco give %player% 700000"
- message "{@Prefix}{@RewardMessage7}"
- if {_Money} is 8:
- execute console command "/eco give %player% 800000"
- message "{@Prefix}{@RewardMessage8}"
- if {_Money} is 9:
- execute console command "/eco give %player% 1000000"
- message "{@Prefix}{@RewardMessage9}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement