Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.
#Special server: GreenMasters.duckMc.net
#Creator: BasicL
#Discord: Robert#7217
options:
version: 1.1.5
command /bcinfo:
aliases: /basicchestsinfo
trigger:
send "&eINFO &aThe author of the skript is &bBasicL"
send "&eINFO &aHis discord is &bRobert##7217"
send "&eINFO &aVersion: &b{@version}"
send "&eINFO &aOther skripts:"
send "&eINFO &aTrollToolsPlus: https://www.spigotmc.org/resources/trolltoolsplus.57239/"
send "&eINFO &aBasicDuels: https://www.spigotmc.org/resources/basicduels.61451/"
send "&eINFO &aBasicDuelsPremium: &c&lCOMING SOON"
command /lcr:
permission: luckychest.reload
permission message: You do not have acces to execute this command! Contact a staff member if you think that this is a fault!
executable by: console and players
aliases: /luckychestreload
trigger:
make console execute command "sk reload BasicLuckyChests"
send "&aReloaded &cBasicChests &asuccessfully!"
command /lcfee <number>:
permission: luckychest.fee
permission message: You do not have acces to execute this command! Contact a staff member if you think that this is a fault!
executable by: console and players
aliases: /luckychestfee
trigger:
if arg 1 is a number:
set {lcfee} to arg 1
send "&8{&a!&8} &aThe normal LuckyChest fee is set to &c&l$%arg-1%&a."
if arg 1 is not a number:
send "&8{&c!&8} &c&l%arg-1% is not a vaild number."
command /luckychest [<text>]:
permission: basicchests.use
permission message: &cYou do not have permission to use this command. Contact a administrator if you think that this is a problem.
executable by: players
aliases: /lc
trigger:
if arg 1 is "list":
send "&c Prize list. Every number has the same chances to be picked. "
send "&aNumber 1.&f Sudden death."
send "&aNumber 2.&f $10 000 added."
send "&aNumber 3.&f Another chance."
send "&aNumber 4.&f Zombie Invasion."
send "&aNumber 5.&f $15 000 added."
send "&aNumber 6.&f 64 Diamonds."
send "&aNumber 7.&f 3 Dead Bushes."
send "&aNumber 8.&f 2 More Chances."
send "&aNumber 9.&f Nothing."
send "&aNumber 10.&f 128 Iron."
send "&aNumber 11.&f 128 Obsidian."
send "&aNumber 12.&f +15 XP Levels added."
send "&aNumber 13.&f Push into the sky."
send "&aNumber 14.&f Full Diamonds Armor."
send "&aNumber 15.&f 16 Emeralds."
send "&aNumber 16.&f 1 Free SuperLuckyChest."
send "&aNumber 17.&f Skeleton Invasion."
send "&aNumber 18.&f Pig Invasion."
if arg 1 is not set:
if sender's balance is less than {lcfee}:
send "&8{&c!&8} &cYou do not have &f$%{lcfee}%&c!"
send "&8{&c!&8} &cBalance: &f%sender's balance%"
if sender's balance is bigger than {lcfee}:
remove {lcfee} from sender's balance
send "&8{&a!&8} &aPlace the chest of luck and see what you get!"
send "&8{&a!&8} &c-$%{lcfee}%"
send "&8{&a!&8} &cBalance: &f%sender's balance%"
add chest with name "&6&lLuckyChest" to player's inventory
if arg 1 is "chest":
if sender's balance is less than {lcfee}:
send "&8{&c!&8} &cYou do not have &f$%{lcfee}%&c!"
send "&8{&c!&8} &cBalance: &f%sender's balance%"
if sender's balance is bigger than {lcfee}:
remove {lcfee} from sender's balance
send "&8{&a!&8} &aPlace the chest of luck and see what you get!"
send "&8{&a!&8} &c-$%{lcfee}%"
send "&8{&a!&8} &cBalance: &f%sender's balance%"
add chest with name "&6&lLuckyChest" to player's inventory
if arg 1 is "super":
if sender's balance is less than 100000:
send "&8{&c!&8} &cYou do not have &f$100000&c!"
send "&8{&c!&8} &cBalance: &f%sender's balance%"
if sender's balance is bigger than 100000:
remove 100000 from sender's balance
send "&8{&a!&8} &aPlace the chest of luck and see what you get!"
send "&8{&a!&8} &c-$100000"
send "&8{&a!&8} &cBalance: &f%sender's balance%"
add chest with name "&c&lSuperLuckyChest" to player's inventory
on place of chest:
if name of tool of player is "&6&lLuckyChest":
set {mobspawnloc.%player%} to location of event-block
set {rclick.chest.%player%} to true
set {lclick.chest.%player%} to true
set {lclick.echest.%player%} to true
set {rclick.echest.%player%} to true
set {lclick.obsidian.%player%} to true
set {rclick.obsidian.%player%} to true
set {rclick.gwool.%player%} to true
set {lclick.gwool.%player%} to true
set {rclick.rwool.%player%} to true
set {lclick.rwool.%player%} to true
broadcast "&a&l%player% &cjust placed a &a&lLuckyChest&c!"
play sound "block.dispenser.dispense" with volume 10 and pitch 1 at player
send "&6├ &f&l5 &74 &73 &72 &71 &6┤"
wait 15 ticks
show mob spawner flames at the event-block to the player
set event-block to green wool
play sound "block.dispenser.dispense" with volume 10 and pitch 1 at player
send "&6├ &75 &f&l4 &73 &72 &71 &6┤"
wait 15 ticks
show mob spawner flames at the event-block to the player
set event-block to red wool
play sound "block.dispenser.dispense" with volume 10 and pitch 1 at player
send "&6├ &75 &74 &f&l3 &72 &71 &6┤"
wait 15 ticks
show mob spawner flames at the event-block to the player
set event-block to ender chest
play sound "block.dispenser.dispense" with volume 10 and pitch 1 at player
send "&6├ &75 &74 &73 &f&l2 &71 &6┤"
wait 15 ticks
show mob spawner flames at the event-block to the player
set event-block to chest
play sound "block.dispenser.dispense" with volume 10 and pitch 1 at player
send "&6├ &75 &74 &73 &72 &f&l1 &6┤"
create a fake explosion at event-block's location
wait 12 ticks
set {rclick.chest.%player%} to false
set {lclick.chest.%player%} to false
set {lclick.echest.%player%} to false
set {rclick.echest.%player%} to false
set {lclick.obsidian.%player%} to false
set {rclick.obsidian.%player%} to false
set {rclick.gwool.%player%} to false
set {lclick.gwool.%player%} to false
set {rclick.rwool.%player%} to false
set {lclick.rwool.%player%} to false
show mob spawner flames at the event-block to the player
set event-block to air
wait 15 ticks
set {_chance} to a random integer between 1 and 18
if {_chance} is 1:
clear {mobspawnloc.%player%}
kill player
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
send "&8{&c!&8} &cNot your lucky day, you just got a sudden death! :,(" to player
broadcast "&a&l%player% &cgot number &a&l1. The sudden death!"
if {_chance} is 2:
clear {mobspawnloc.%player%}
add 10000 to player's balance
send "&8{&a!&8} &aYou just got $10 000! Total: &f(%player's balance%)&a." to player
broadcast "&a&l%player% &cgot number &a&l2. &a+$10 000!"
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
if {_chance} is 3:
clear {mobspawnloc.%player%}
give chest named "&6&lLuckyChest" to player
send "&8{&a!&8} &aYou got another Lucky chest, good luck!" to player
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
broadcast "&a&l%player% &cgot number &a&l3. &aAnother chance!"
if {_chance} is 4:
spawn a zombie above {mobspawnloc.%player%}
wait 2 seconds
spawn a zombie above {mobspawnloc.%player%}
wait 2 seconds
spawn 5 zombies above {mobspawnloc.%player%}
clear {mobspawnloc.%player%}
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
wait 5 ticks
broadcast "&a&l%player% &cgot number &a&l4&c. Zombie Invasion!"
if {_chance} is 5:
clear {mobspawnloc.%player%}
add 15000 to player's balance
send "&8{&c!&8} &aYou just got $15 000! Total: &f(%player's balance%)&a." to player
broadcast "&a&l%player% &cgot number &a&l5. &a+$15 000!"
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
if {_chance} is 6:
clear {mobspawnloc.%player%}
add 64 diamonds with name "&bShiny Diamonds" to player's inventory
send "&8{&c!&8} &b64 Shiny Diamonds came to your inventory! &f(0.5%%)" to player
broadcast "&a&l%player% &cgot number &a&l6&c. &a64 DIAMONDS&c!"
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
if {_chance} is 7:
clear {mobspawnloc.%player%}
send "&8{&c!&8} &cEnjoy those 3 dead bushes!" to player
add 3 dead bushes with name "&4&lLol" to player's inventory
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
broadcast "&a&l%player% &cgot number &a&l7&c.&a3 Dead Bushes&c."
if {_chance} is 8:
clear {mobspawnloc.%player%}
add 2 chests named "&6&lLuckyChest" to player's inventory
send "&8{&a!&8} &a+2 Lucky Chests." to player
broadcast "&a&l%player% &cgot number &a&l8&c.&a3 more Lucky chests&c."
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
if {_chance} is 9:
clear {mobspawnloc.%player%}
send "&cnothing.... try again later." to player
broadcast "&a&l%player% &cgot number &a&l9&c. &aNothing... &c."
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
if {_chance} is 10:
clear {mobspawnloc.%player%}
broadcast "&a&l%player% &cgot number &a&l10&c. &aIron"
add 128 iron ingots with name "&6lIRON" to player's inventory
send "&8{&a!&8} &a+ 2 Iron Ingot stacks."
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
if {_chance} is 11:
clear {mobspawnloc.%player%}
broadcast "&a&l%player% &cgot number &a&l11&c. &aOBSIDIAN&c."
add 128 obsidian with name "&5OBBY" to player's inventory
send "&8{&a!&8} &a+ 2 OBSIDIAN STACKS." to player
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
if {_chance} is 12:
clear {mobspawnloc.%player%}
broadcast "&a&l%player% &cgot number &a&l12&c.&a +15 XP LEVELS&c!"
send "&8{&a!&8} &a+ 15 EXP LVL." to player
add 15 to player's level
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
if {_chance} is 13:
clear {mobspawnloc.%player%}
push the player upwards at speed 14
send "&8{&a!&8} &aVROOOMMM TO THE MOON!!" to player
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
broadcast "&a&l%player% &cgot number &a&l13&c.&a PUSH UPWARDS&c."
if {_chance} is 14:
clear {mobspawnloc.%player%}
broadcast "&a&l%player% &cgot number &a&l14&c.&a Diamond armor&c."
add 1 diamond chestplate to player's inventory
add 1 diamond helmet to player's inventory
add 1 diamond leggings to player's inventory
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
add 1 diamond boots to player's inventory
send "&8{&a!&8} &aARMOR FOR YOU!" to player
if {_chance} is 15:
clear {mobspawnloc.%player%}
add 16 emeralds with name "&aShiny Emeralds" to player's inventory
send "&8{&a!&8} &aYou just got 16 emeralds."
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
broadcast "&a&l%player% &cgot number &a&l15&c. &a16 Emeralds&c."
if {_chance} is 16:
drop 1 chest with name "&c&lSuperLuckyChest" at location of {mobspawnloc.%player%}
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
broadcast "&a&l%player% &cGot number &a&l16&c. &c&lSuperLuckyChest"
send "&cPlace the &c&lSuperLuckyChest &cto see what you get!"
clear {mobspawnloc.%player%}
if {_chance} is 17:
spawn a pig above {mobspawnloc.%player%}
wait 2 seconds
spawn a pig above {mobspawnloc.%player%}
wait 2 seconds
spawn 5 pigs above {mobspawnloc.%player%}
clear {mobspawnloc.%player%}
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
wait 5 ticks
broadcast "&a&l%player% &cgot number &a&l7&c. Pig Invasion!"
if {_chance} is 18:
spawn a skeleton above {mobspawnloc.%player%}
wait 2 seconds
spawn a skeleton above {mobspawnloc.%player%}
wait 2 seconds
spawn 5 skeletons above {mobspawnloc.%player%}
clear {mobspawnloc.%player%}
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
wait 5 ticks
broadcast "&a&l%player% &cgot number &a&l4&c. Skeleton Invasion!"
on place of chest:
if name of tool of player is "&c&lSuperLuckyChest":
set {rclick.chest.%player%} to true
set {lclick.chest.%player%} to true
set {lclick.echest.%player%} to true
set {rclick.echest.%player%} to true
set {lclick.obsidian.%player%} to true
set {rclick.obsidian.%player%} to true
set {rclick.gwool.%player%} to true
set {lclick.gwool.%player%} to true
set {rclick.rwool.%player%} to true
set {lclick.rwool.%player%} to true
broadcast "&a&l%player% &cjust placed a &c&lSuperLuckyChest"
play sound "block.dispenser.dispense" with volume 10 and pitch 1 at player
send "&6├ &f&l5 &74 &73 &72 &71 &6┤"
wait 15 ticks
show mob spawner flames at the event-block to the player
set event-block to green wool
play sound "block.dispenser.dispense" with volume 10 and pitch 1 at player
send "&6├ &75 &f&l4 &73 &72 &71 &6┤"
wait 15 ticks
show mob spawner flames at the event-block to the player
set event-block to red wool
play sound "block.dispenser.dispense" with volume 10 and pitch 1 at player
send "&6├ &75 &74 &f&l3 &72 &71 &6┤"
wait 15 ticks
show mob spawner flames at the event-block to the player
set event-block to ender chest
play sound "block.dispenser.dispense" with volume 10 and pitch 1 at player
send "&6├ &75 &74 &73 &f&l2 &71 &6┤"
wait 15 ticks
show mob spawner flames at the event-block to the player
set event-block to chest
play sound "block.dispenser.dispense" with volume 10 and pitch 1 at player
send "&6├ &75 &74 &73 &72 &f&l1 &6┤"
create a fake explosion at event-block's location
set event-block to obsidian
wait 12 ticks
set {rclick.chest.%player%} to false
set {lclick.chest.%player%} to false
set {lclick.echest.%player%} to false
set {rclick.echest.%player%} to false
set {lclick.obsidian.%player%} to false
set {rclick.obsidian.%player%} to false
set {rclick.gwool.%player%} to false
set {lclick.gwool.%player%} to false
set {rclick.rwool.%player%} to false
set {lclick.rwool.%player%} to false
show mob spawner flames at the event-block to the player
set event-block to air
wait 15 ticks
set {_schance} to a random integer between 1 and 2
if {_schance} is 1:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
send "&8{&c!&8} &cNothing..." to player
broadcast "&a&l%player% &cgot number &a&l1. NOTHING!"
if {_schance} is 2:
add 200000 to player's balance
send "&8{&a!&8} &aYou just got $200 000! Total: &f(%player's balance%)&a." to player
broadcast "&a&l%player% &cgot number &a&l2. &a+$200 000!"
play sound "minecraft:ui.toast.challenge_complete" with volume 10 and pitch 2 at player
on right click:
if {rclick.chest.%player%} is true:
if targeted block is chest:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
push player backwards at speed 3
on left click:
if {lclick.chest.%player%} is true:
if targeted block is chest:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
push player backwards at speed 3
on right click:
if {rclick.rwool.%player%} is true:
if targeted block is red wool:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
push player backwards at speed 3
on left click:
if {lclick.rwool.%player%} is true:
if targeted block is red wool:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
push player backwards at speed 3
on right click:
if {rclick.gwool.%player%} is true:
if targeted block is green wool:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
push player backwards at speed 3
on left click:
if {lclick.gwool.%player%} is true:
if targeted block is green wool:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
push player backwards at speed 3
on right click:
if {rclick.obsidian.%player%} is true:
if targeted block is obsidian:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
push player backwards at speed 3
on left click:
if {lclick.obsidian.%player%} is true:
if targeted block is obsidian:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
push player backwards at speed 3
on right click:
if {rclick.echest.%player%} is true:
if targeted block is ender chest:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
push player backwards at speed 3
on left click:
if {lclick.echest.%player%} is true:
if targeted block is ender chest:
play sound "minecraft:entity.villager.death" with volume 10 and pitch 0.5 at player
push player backwards at speed 3