Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Idea by: Maximus & PleatMC #
- # Skript by: Maximus #
- # Feel free to change the options below to your liking #
- options:
- P: &5[&eCraft Cycle&5]&7
- Perm: skript.op
- command /craftcycle <text>:
- permission: {@Perm}
- usage: /craftcycle (<enable/disable/set/item>)
- trigger:
- if arg-1 is equal to "on" or "enable":
- set {craftcycle} to true
- send "{@P} has been enabled!" to command sender
- execute console command "/craftcycle set"
- if arg-1 is equal to "off" or "disable":
- set {craftcycle} to false
- send "{@P} has been disabled!" to command sender
- delete {craftitem}
- if arg-1 is equal to "set":
- set {craftitem} to a random integer between 1 and 20
- if arg-1 is equal to "item":
- if {craftitem} is set:
- if {craftitem} is equal to 1:
- send "{@P} Current Item: &f&oBucket" to command sender
- if {craftitem} is equal to 2:
- send "{@P} Current Item: &f&oDiamond Sword" to command sender
- if {craftitem} is equal to 3:
- send "{@P} Current Item: &f&oIron Sword" to command sender
- if {craftitem} is equal to 4:
- send "{@P} Current Item: &f&oDiamond Pickaxe" to command sender
- if {craftitem} is equal to 5:
- send "{@P} Current Item: &f&oIron Pickaxe" to command sender
- if {craftitem} is equal to 6:
- send "{@P} Current Item: &f&oIron Helmet" to command sender
- if {craftitem} is equal to 7:
- send "{@P} Current Item: &f&oIron Chestplate" to command sender
- if {craftitem} is equal to 8:
- send "{@P} Current Item: &f&oIron Leggings" to command sender
- if {craftitem} is equal to 9:
- send "{@P} Current Item: &f&oIron Boots" to command sender
- if {craftitem} is equal to 10:
- send "{@P} Current Item: &f&oDiamond Helmet" to command sender
- if {craftitem} is equal to 11:
- send "{@P} Current Item: &f&oDiamond Chestplate" to command sender
- if {craftitem} is equal to 12:
- send "{@P} Current Item: &f&oDiamond Leggings" to command sender
- if {craftitem} is equal to 13:
- send "{@P} Current Item: &f&oDiamond Boots" to command sender
- if {craftitem} is equal to 14:
- send "{@P} Current Item: &f&oGolden Apple" to command sender
- if {craftitem} is equal to 15:
- send "{@P} Current Item: &f&oBow" to command sender
- if {craftitem} is equal to 16:
- send "{@P} Current Item: &f&oFishing Rod" to command sender
- if {craftitem} is equal to 17:
- send "{@P} Current Item: &f&oBook" to command sender
- if {craftitem} is equal to 18:
- send "{@P} Current Item: &f&oEnchantment Table" to command sender
- if {craftitem} is equal to 19:
- send "{@P} Current Item: &f&oAnvil" to command sender
- if {craftitem} is equal to 20:
- send "{@P} Current Item: &f&oShears" to command sender
- command /cycleitems:
- trigger:
- send "{@P} &7&lCraft Cycle Items:"
- send "&7- Bucket"
- send "&7- Diamond Sword"
- send "&7- Iron Sword"
- send "&7- Diamond Pickaxe"
- send "&7- Iron Pickaxe"
- send "&7- Iron Helmet"
- send "&7- Iron Chestplate"
- send "&7- Iron Leggings"
- send "&7- Iron Boots"
- send "&7- Diamond Helmet"
- send "&7- Diamond Chestplate"
- send "&7- Diamond Leggings"
- send "&7- Diamond Boots"
- send "&7- Golden Apple"
- send "&7- Bow"
- send "&7- Fishing Rod"
- send "&7- Book"
- send "&7- Enchantment Table"
- send "&7- Anvil"
- send "&7- Shears"
- command /cyclerewards:
- trigger:
- send "{@P} &7&lCraft Cycle Rewards:"
- send "&7- 1 Diamond"
- send "&7- 20 Arrows"
- send "&7- 5 XP Bottles"
- send "&7- 7 Gold Ingots"
- send "&7- 4 String"
- on craft of bucket:
- if {craftcycle} is true:
- if {craftitem} is equal to 1:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oBucket"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of diamond sword:
- if {craftcycle} is true:
- if {craftitem} is equal to 2:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oDiamond Sword"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of iron sword:
- if {craftcycle} is true:
- if {craftitem} is equal to 3:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oIron Sword"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of diamond pickaxe:
- if {craftcycle} is true:
- if {craftitem} is equal to 4:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oDiamond Pickaxe"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of iron pickaxe:
- if {craftcycle} is true:
- if {craftitem} is equal to 5:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oIron Pickaxe"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of iron helmet:
- if {craftcycle} is true:
- if {craftitem} is equal to 6:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oIron Helmet"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of iron chestplate:
- if {craftcycle} is true:
- if {craftitem} is equal to 7:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oIron Chestplate"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of iron leggings:
- if {craftcycle} is true:
- if {craftitem} is equal to 8:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oIron Leggings"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of iron boots:
- if {craftcycle} is true:
- if {craftitem} is equal to 9:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oIron Boots"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of diamond helmet:
- if {craftcycle} is true:
- if {craftitem} is equal to 10:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oDiamond Helmet"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of diamond chestplate:
- if {craftcycle} is true:
- if {craftitem} is equal to 11:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oDiamond Chestplate"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of diamond leggings:
- if {craftcycle} is true:
- if {craftitem} is equal to 12:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oDiamond Leggings"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of diamond boots:
- if {craftcycle} is true:
- if {craftitem} is equal to 13:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oDiamond Boots"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of golden apple:
- if {craftcycle} is true:
- if {craftitem} is equal to 14:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oGolden Apple"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of bow:
- if {craftcycle} is true:
- if {craftitem} is equal to 15:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oBow"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of fishing rod:
- if {craftcycle} is true:
- if {craftitem} is equal to 16:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oFishing Rod"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of book:
- if {craftcycle} is true:
- if {craftitem} is equal to 17:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oBook"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of enchantment table:
- if {craftcycle} is true:
- if {craftitem} is equal to 18:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oEnchantment Table"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of anvil:
- if {craftcycle} is true:
- if {craftitem} is equal to 19:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oAnvil"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
- on craft of shears:
- if {craftcycle} is true:
- if {craftitem} is equal to 20:
- set {craftprize} to a random integer between 1 and 5
- broadcast "{@P} &f&l%player% &7has crafted the Cycled Item: &f&oShears"
- if {craftprize} is equal to 1:
- broadcast "{@P} They have been rewarded with &f&o1 Diamond"
- if player has enough space for 1 diamond:
- give player 1 diamond
- else:
- drop 1 diamond at the player
- if {craftprize} is equal to 2:
- broadcast "{@P} They have been rewarded with &f&o20 Arrows"
- if player has enough space for 20 arrow:
- give player 20 arrow
- else:
- drop 20 arrow at the player
- if {craftprize} is equal to 3:
- broadcast "{@P} They have been rewarded with &f&o7 Gold Ingots"
- if player has enough space for 7 gold ingots:
- give player 7 gold ingots
- else:
- drop 7 gold ingots at the player
- if {craftprize} is equal to 4:
- broadcast "{@P} They have been rewarded with &f&o5 XP Bottles"
- if player has enough space for 5 384:
- give player 5 384
- else:
- drop 5 384 at the player
- if {craftprize} is equal to 5:
- broadcast "{@P} They have been rewarded with &f&o4 String"
- if player has enough space for 4 string:
- give player 4 string
- else:
- drop 4 string at the player
- broadcast "{@P} A new item has now been cycled!"
- execute console command "/craftcycle set"
Advertisement
Add Comment
Please, Sign In to add comment