Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EZSHOPPER - The name is a work in progress :/
- Hey there skripter! Thanks for checking out my skript. You're currently using the Alpha version of the EzShopper skript. Thank you so much for helping me test out this huge skript. I hope you're enjoy it as much as I enjoyed making it. Please don't copy this and sell it, as it took hours to make, aswell as a lot of skill and dedication. Feel free to share this with others, or make a youtube video explaining how to use it. I'd be happy to check it out *and maybe subscribe*! I hope you have fun, and can't wait to see what you create! If you encounter any issues or unexpected errors, feel free to contact me on discord @Nic_#8692. Please remember this is an early alpha version of EzShopper so many bugs, aswell as hard labor is expected. In the full release, everything will be through commands. Meaning you won't have to edit a single thing! Once again, thank you lovely person for helping out! I honestly can't thank you enough.
- Thanks,
- Nic
- SKRIPT IS BELOW - ONLY COPY CONTENT AFTER THIS LINE - PLEASE DO NOT REMOVE CREDITS - PLEASE - :(
- ##################
- UPDATE (2021) - I do not know what plugins this skript uses! It may not even work at all. Use at your own discretion. I have no intentions of updating this skript. If you're interested in an easily customizable shopping skript please see: https://shop.minehut.com/products/custom-shops
- ##################
- # ----------------------------------------------------------------------------------------------------------------------------------------------------------------------#
- # Made By ItzNic_ - Copying is stupid, dumb, and if you do copy this. You are a terrible person and deserve to be banned from all of Skript - Have a good day :') #
- # This is not protected by a license, but I'm working on it. #
- # ----------------------------------------------------------------------------------------------------------------------------------------------------------------------#
- #Skript made by ItzNic_. Anyone who is selling this skript is a fake re-seller. This skript is free and made to be free. Use it as you wish. Please keep credit, as I spent a really long time making this. Feel free to give yourself credit for using :)
- variables:
- {shopname} = "&6&lSHOP"
- {cat1name} = "&cCategory 1"
- {cat2name} = "&cCategory 2"
- {cat3name} = "&cCategory 3"
- {cat4name} = "&cCategory 4"
- {cat5name} = "&cCategory 5"
- {shoplayout} = 1
- command /shop:
- trigger:
- #Layout 1
- if {shoplayout} is 1:
- open virtual chest inventory with size 3 named "%{shopname}%" to player
- format gui slot 0 of player with gray stained glass pane named " "
- format gui slot 1 of player with gray stained glass pane named " "
- format gui slot 2 of player with gray stained glass pane named " "
- format gui slot 3 of player with gray stained glass pane named " "
- format gui slot 4 of player with gray stained glass pane named " "
- format gui slot 5 of player with gray stained glass pane named " "
- format gui slot 6 of player with gray stained glass pane named " "
- format gui slot 7 of player with gray stained glass pane named " "
- format gui slot 8 of player with gray stained glass pane named " "
- format gui slot 9 of player with gray stained glass pane named " "
- format gui slot 10 of player with gray stained glass pane named " "
- format gui slot 11 of player with bedrock named "%{cat1name}%" to close:
- make player say "/shopcat1"
- format gui slot 12 of player with gray stained glass pane named " "
- format gui slot 13 of player with bedrock named "%{cat2name}%" to close:
- make player say "/shopcat2"
- format gui slot 14 of player with gray stained glass pane named " "
- format gui slot 16 of player with gray stained glass pane named " "
- format gui slot 15 of player with bedrock named "%{cat3name}%" to close:
- make player say "/shopcat3"
- format gui slot 17 of player with gray stained glass pane named " "
- format gui slot 18 of player with gray stained glass pane named " "
- format gui slot 19 of player with gray stained glass pane named " "
- format gui slot 20 of player with gray stained glass pane named " "
- format gui slot 21 of player with gray stained glass pane named " "
- format gui slot 22 of player with gray stained glass pane named " "
- format gui slot 23 of player with gray stained glass pane named " "
- format gui slot 24 of player with gray stained glass pane named " "
- format gui slot 25 of player with gray stained glass pane named " "
- format gui slot 26 of player with gray stained glass pane named " "
- format gui slot 27 of player with gray stained glass pane named " "
- #Layout 2
- if {shoplayout} is 2:
- open virtual chest inventory with size 3 named "%{shopname}%" to player
- format gui slot 0 of player with gray stained glass pane named " "
- format gui slot 1 of player with gray stained glass pane named " "
- format gui slot 2 of player with gray stained glass pane named " "
- format gui slot 3 of player with gray stained glass pane named " "
- format gui slot 4 of player with gray stained glass pane named " "
- format gui slot 5 of player with gray stained glass pane named " "
- format gui slot 6 of player with gray stained glass pane named " "
- format gui slot 7 of player with gray stained glass pane named " "
- format gui slot 8 of player with gray stained glass pane named " "
- format gui slot 9 of player with gray stained glass pane named " "
- format gui slot 11 of player with gray stained glass pane named " "
- format gui slot 10 of player with bedrock named "%{cat1name}%" to close:
- make player say "/shopcat1"
- format gui slot 13 of player with gray stained glass pane named " "
- format gui slot 12 of player with bedrock named "%{cat2name}%" to close:
- make player say "/shopcat2"
- format gui slot 15 of player with gray stained glass pane named " "
- format gui slot 16 of player with bedrock named "%{cat4name}%" to close:
- make player say "/shopcat4"
- format gui slot 14 of player with bedrock named "%{cat3name}%" to close:
- make player say "/shopcat3"
- format gui slot 17 of player with gray stained glass pane named " "
- format gui slot 18 of player with gray stained glass pane named " "
- format gui slot 19 of player with gray stained glass pane named " "
- format gui slot 20 of player with gray stained glass pane named " "
- format gui slot 21 of player with gray stained glass pane named " "
- format gui slot 22 of player with gray stained glass pane named " "
- format gui slot 23 of player with gray stained glass pane named " "
- format gui slot 24 of player with gray stained glass pane named " "
- format gui slot 25 of player with gray stained glass pane named " "
- format gui slot 26 of player with gray stained glass pane named " "
- format gui slot 27 of player with gray stained glass pane named " "
- #Layout 3
- if {shoplayout} is 3:
- open virtual chest inventory with size 3 named "%{shopname}%" to player
- format gui slot 0 of player with gray stained glass pane named " "
- format gui slot 1 of player with gray stained glass pane named " "
- format gui slot 2 of player with gray stained glass pane named " "
- format gui slot 3 of player with gray stained glass pane named " "
- format gui slot 4 of player with gray stained glass pane named " "
- format gui slot 5 of player with gray stained glass pane named " "
- format gui slot 6 of player with gray stained glass pane named " "
- format gui slot 7 of player with gray stained glass pane named " "
- format gui slot 8 of player with gray stained glass pane named " "
- format gui slot 9 of player with gray stained glass pane named " "
- format gui slot 10 of player with gray stained glass pane named " "
- format gui slot 11 of player with bedrock named "%{cat1name}%" to close:
- make player say "/shopcat1"
- format gui slot 12 of player with bedrock named "%{cat2name}%" to close:
- make player say "/shopcat2"
- format gui slot 13 of player with bedrock named "%{cat3name}%" to close:
- make player say "/shopcat3"
- format gui slot 14 of player with bedrock named "%{cat4name}%" to close:
- make player say "/shopcat4"
- format gui slot 16 of player with gray stained glass pane named " "
- format gui slot 15 of player with bedrock named "%{cat5name}%" to close:
- make player say "/shopcat5"
- format gui slot 17 of player with gray stained glass pane named " "
- format gui slot 18 of player with gray stained glass pane named " "
- format gui slot 19 of player with gray stained glass pane named " "
- format gui slot 20 of player with gray stained glass pane named " "
- format gui slot 21 of player with gray stained glass pane named " "
- format gui slot 22 of player with gray stained glass pane named " "
- format gui slot 23 of player with gray stained glass pane named " "
- format gui slot 24 of player with gray stained glass pane named " "
- format gui slot 25 of player with gray stained glass pane named " "
- format gui slot 26 of player with gray stained glass pane named " "
- format gui slot 27 of player with gray stained glass pane named " "
- command /shopa <text> [<text>]:
- trigger:
- if arg-1 is "rename" or "refresh" or "Cat1Name" or "Cat2Name" or "Cat3Name" or "Layout":
- if arg-1 is "rename":
- if arg-2 is set:
- send "&7Set the header of &c/shop&7 to &c%arg-2%&7."
- set {shopname} to colored arg-2
- stop
- else:
- send "&cYou did not state what you would like your shop to be renamed to."
- stop
- if arg-1 is "refresh":
- send "&cAll shop instances refreshed."
- loop all players:
- close loop-player's inventory
- stop
- # This is all I could find that worked. - All inventories will be closed. :/
- if arg-1 is "Cat1Name":
- if arg-2 is set:
- send "&7Set the name of &cCategory 1&7 to colored &c%arg-2%&7."
- set {cat1name} to colored arg-2
- stop
- if arg-1 is "Cat2Name":
- if arg-2 is set:
- send "&7Set the name of &cCategory 2&7 to colored &c%arg-2%&7."
- set {cat2name} to colored arg-2
- stop
- if arg-1 is "Cat3Name":
- if arg-2 is set:
- send "&7Set the name of &cCategory 3&7 to colored &c%arg-2%&7."
- set {cat3name} to colored arg-2
- stop
- if arg-1 is "Cat4Name":
- if arg-2 is set:
- send "&7Set the name of &cCategory 4&7 to colored &c%arg-2%&7."
- set {cat4name} to colored arg-2
- stop
- if arg-1 is "Cat5Name":
- if arg-2 is set:
- send "&7Set the name of &cCategory 5&7 to colored &c%arg-2%&7."
- set {cat5name} to colored arg-2
- stop
- if arg-1 is "Layout":
- if arg-2 is set:
- if arg-2 is "1":
- send "&7Set the shop layout to layout &c##1&7. &8(&73 Categories&8)"
- set {shoplayout} to 1
- stop
- if arg-2 is "2":
- send "&7Set the shop layout to layout &c##2&7. &8(&74 Categories&8)"
- set {shoplayout} to 2
- stop
- if arg-2 is "3":
- send "&7Set the shop layout to layout &c##3&7. &8(&75 Categories&8)"
- set {shoplayout} to 3
- stop
- command /shophelp:
- trigger:
- if player has permission "*":
- send " "
- send "&c&lSHOP ADMIN HELP"
- send "&7Made by &cItzNic_"
- send " "
- send "&c/shopa rename (Custom Name) &8- &7Renames the shop header."
- send "&c/shopa refresh &8- &7Refreshes all open shop instances."
- send "&c/shopa Cat1Name (Custom Name) &8- &7Sets the name of the first category."
- send "&c/shopa Cat2Name (Custom Name) &8- &7Sets the name of the second category."
- send "&c/shopa Cat3Name (Custom Name) &8- &7Sets the name of the third category."
- send "&c/shopa Cat4Name (Custom Name) &8- &7Sets the name of the fourth category. &8(&7If applicable&8)"
- send "&c/shopa Cat5Name (Custom Name) &8- &7Sets the name of the fifth category. &8(&7If applicable&8)"
- send "&c/shopreload &8- &7Reloads the shop skript."
- send "&c/shopa Layout (Custom Name) &8- &7Layout 1 &8- &73 Slots in the shop menu &8| &7Layout 2 &8_ &74 Slots in the shop menu &8| Layout 3 &8- &75 Slots in the shop menu &8"
- send "&c/shophelp&8- &7brings up this help menu."
- send "&7Thanks for using! This skript took multiple hours to create. I hope you enjoy it!"
- send " "
- stop
- else:
- send " "
- send "&c&lSHOP PLAYER HELP"
- send "&7Skript made by &cItzNic_"
- send " "
- send "&c/shop &8- &7Opens the shop interface."
- send "&c/shophelp &8- &7Opens this help menu."
- send "&7Thanks for playing! And have a great time."
- send " "
- # TUTORIAL #
- # How to custom blocks in the shop
- #
- # This may be challenging if you're not familliar with skript. It make cost a bit of time, but I'll try my hardest to make this fast and easy for everyone :)
- #
- # Here are some examples. Repalace certain lines in the following skript, or paste the whole thing! If you need assistance, feel free to DM me on discord (@Nic_#8692)
- #
- # Replace this within any line
- # [SLOT] = Slot Number in inventory (for example, slot #5 would be the 6th slot over since slot 0 is technically the first slot)
- # [YOUR BLOCK] = The block of your choice. For example, grass block, dirt, oak log. Make sure you use the proper name for the block though!
- # [YOUR PRICE HERE] = The amount you want to charge the player. Do not use $ signs in this space. Only use solid numbers such as 10, 20, 5, whatever - There is a cap which I believe is 1Billion
- # [BALANCE] = Depending on what plugin you use for your economy, this could vary. If you use Vault + Essentials, put player's balance in the spot.
- # If you're using skript for your economy, use {[BALANCE VARIABLE]::%player%}. Replace the [BALANCE VARIABLE] with your variable you use for balance. If you prefer using
- # UUID's then use {[BALANCE VARIABLE]::%uuid of player%}
- # [AMOUNT OF BLOCK] = This is the amount of the block you want to give the player. For example, change this to 5 if you want to give the player 5 of your block.
- # Keep the [SHOP] the same. It's the prefix and makes the message look better. You can change it to whatever you want, like &c[NIC'S SHOP] or &c[SERVER SHOP]
- #
- # format gui slot [SLOT] of player with [YOUR BLOCK] named "[YOUR BLOCK]" with lore "&7Price&8: &e$[YOUR PRICE HERE]" to run:
- # if [BALANCE - If you're using essentials replace this with, "player's balance" (without the quotes)] is greater than or equal to [YOUR PRICE HERE]:
- # remove [YOUR PRICE HERE] from player's balance
- # give player [AMOUNT OF BLOCK] [YOUR BLOCK]
- # send "&c[SHOP] &7Purchased &cx(AMOUNT OF BLOCK) [YOUR BLOCK]&7 from the shop!"
- #
- # ^ PLEASE READ THE INFO ABOVE BEFORE USING. THANKS!
- command /shopcat1:
- trigger:
- open virtual chest inventory with size 3 named "%{cat1name}%" to player
- format gui slot 0 of player with gray stained glass pane named " "
- format gui slot 1 of player with gray stained glass pane named " "
- format gui slot 2 of player with gray stained glass pane named " "
- format gui slot 3 of player with gray stained glass pane named " "
- format gui slot 4 of player with gray stained glass pane named " "
- format gui slot 5 of player with gray stained glass pane named " "
- format gui slot 6 of player with gray stained glass pane named " "
- format gui slot 7 of player with gray stained glass pane named " "
- format gui slot 8 of player with gray stained glass pane named " "
- format gui slot 9 of player with gray stained glass pane named " "
- format gui slot 10 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 11 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 12 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 13 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 14 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 15 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 16 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 17 of player with gray stained glass pane named " "
- format gui slot 18 of player with gray stained glass pane named " "
- format gui slot 19 of player with gray stained glass pane named " "
- format gui slot 20 of player with gray stained glass pane named " "
- format gui slot 21 of player with gray stained glass pane named " "
- format gui slot 22 of player with barrier named "&c&lGO BACK TO MAIN MENU" to close:
- make player say "/shop"
- format gui slot 23 of player with gray stained glass pane named " "
- format gui slot 24 of player with gray stained glass pane named " "
- format gui slot 25 of player with gray stained glass pane named " "
- format gui slot 26 of player with gray stained glass pane named " "
- format gui slot 27 of player with gray stained glass pane named " "
- command /shopcat2:
- trigger:
- open virtual chest inventory with size 3 named "%{cat2name}%" to player
- format gui slot 0 of player with gray stained glass pane named " "
- format gui slot 1 of player with gray stained glass pane named " "
- format gui slot 2 of player with gray stained glass pane named " "
- format gui slot 3 of player with gray stained glass pane named " "
- format gui slot 4 of player with gray stained glass pane named " "
- format gui slot 5 of player with gray stained glass pane named " "
- format gui slot 6 of player with gray stained glass pane named " "
- format gui slot 7 of player with gray stained glass pane named " "
- format gui slot 8 of player with gray stained glass pane named " "
- format gui slot 9 of player with gray stained glass pane named " "
- format gui slot 10 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 11 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 12 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 13 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 14 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 15 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 16 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 17 of player with gray stained glass pane named " "
- format gui slot 18 of player with gray stained glass pane named " "
- format gui slot 19 of player with gray stained glass pane named " "
- format gui slot 20 of player with gray stained glass pane named " "
- format gui slot 21 of player with gray stained glass pane named " "
- format gui slot 22 of player with barrier named "&c&lGO BACK TO MAIN MENU" to close:
- make player say "/shop"
- format gui slot 23 of player with gray stained glass pane named " "
- format gui slot 24 of player with gray stained glass pane named " "
- format gui slot 25 of player with gray stained glass pane named " "
- format gui slot 26 of player with gray stained glass pane named " "
- format gui slot 27 of player with gray stained glass pane named " "
- command /shopcat3:
- trigger:
- open virtual chest inventory with size 3 named "%{cat3name}%" to player
- format gui slot 0 of player with gray stained glass pane named " "
- format gui slot 1 of player with gray stained glass pane named " "
- format gui slot 2 of player with gray stained glass pane named " "
- format gui slot 3 of player with gray stained glass pane named " "
- format gui slot 4 of player with gray stained glass pane named " "
- format gui slot 5 of player with gray stained glass pane named " "
- format gui slot 6 of player with gray stained glass pane named " "
- format gui slot 7 of player with gray stained glass pane named " "
- format gui slot 8 of player with gray stained glass pane named " "
- format gui slot 9 of player with gray stained glass pane named " "
- format gui slot 10 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 11 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 12 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 13 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 14 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 15 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 16 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 17 of player with gray stained glass pane named " "
- format gui slot 18 of player with gray stained glass pane named " "
- format gui slot 19 of player with gray stained glass pane named " "
- format gui slot 20 of player with gray stained glass pane named " "
- format gui slot 21 of player with gray stained glass pane named " "
- format gui slot 22 of player with barrier named "&c&lGO BACK TO MAIN MENU" to close:
- make player say "/shop"
- format gui slot 23 of player with gray stained glass pane named " "
- format gui slot 24 of player with gray stained glass pane named " "
- format gui slot 25 of player with gray stained glass pane named " "
- format gui slot 26 of player with gray stained glass pane named " "
- format gui slot 27 of player with gray stained glass pane named " "
- command /shopcat4:
- trigger:
- open virtual chest inventory with size 3 named "%{cat4name}%" to player
- format gui slot 0 of player with gray stained glass pane named " "
- format gui slot 1 of player with gray stained glass pane named " "
- format gui slot 2 of player with gray stained glass pane named " "
- format gui slot 3 of player with gray stained glass pane named " "
- format gui slot 4 of player with gray stained glass pane named " "
- format gui slot 5 of player with gray stained glass pane named " "
- format gui slot 6 of player with gray stained glass pane named " "
- format gui slot 7 of player with gray stained glass pane named " "
- format gui slot 8 of player with gray stained glass pane named " "
- format gui slot 9 of player with gray stained glass pane named " "
- format gui slot 10 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 11 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 12 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 13 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 14 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 15 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 16 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 17 of player with gray stained glass pane named " "
- format gui slot 18 of player with gray stained glass pane named " "
- format gui slot 19 of player with gray stained glass pane named " "
- format gui slot 20 of player with gray stained glass pane named " "
- format gui slot 21 of player with gray stained glass pane named " "
- format gui slot 22 of player with barrier named "&c&lGO BACK TO MAIN MENU" to close:
- make player say "/shop"
- format gui slot 23 of player with gray stained glass pane named " "
- format gui slot 24 of player with gray stained glass pane named " "
- format gui slot 25 of player with gray stained glass pane named " "
- format gui slot 26 of player with gray stained glass pane named " "
- format gui slot 27 of player with gray stained glass pane named " "
- command /shopcat5:
- trigger:
- open virtual chest inventory with size 3 named "%{cat5name}%" to player
- format gui slot 0 of player with gray stained glass pane named " "
- format gui slot 1 of player with gray stained glass pane named " "
- format gui slot 2 of player with gray stained glass pane named " "
- format gui slot 3 of player with gray stained glass pane named " "
- format gui slot 4 of player with gray stained glass pane named " "
- format gui slot 5 of player with gray stained glass pane named " "
- format gui slot 6 of player with gray stained glass pane named " "
- format gui slot 7 of player with gray stained glass pane named " "
- format gui slot 8 of player with gray stained glass pane named " "
- format gui slot 9 of player with gray stained glass pane named " "
- format gui slot 10 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 11 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 12 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 13 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 14 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 15 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 16 of player with grass block named "&e&lEXAMPLE &8(&7Please look at the skript file for further help)" with lore "&7Price&8: &e$10" to run:
- if player's balance is greater than or equal to 10:
- remove 10 from player's balance
- give player 5 grass block
- send "&c[SHOP] &7Purchased &cx5 Grass Block&7 from the shop!"
- format gui slot 17 of player with gray stained glass pane named " "
- format gui slot 18 of player with gray stained glass pane named " "
- format gui slot 19 of player with gray stained glass pane named " "
- format gui slot 20 of player with gray stained glass pane named " "
- format gui slot 21 of player with gray stained glass pane named " "
- format gui slot 22 of player with barrier named "&c&lGO BACK TO MAIN MENU" to close:
- make player say "/shop"
- format gui slot 23 of player with gray stained glass pane named " "
- format gui slot 24 of player with gray stained glass pane named " "
- format gui slot 25 of player with gray stained glass pane named " "
- format gui slot 26 of player with gray stained glass pane named " "
- format gui slot 27 of player with gray stained glass pane named " "
- command /shopreload:
- permission: *
- permission message: &cYou can not run this command.
- trigger:
- send "&cPlease make sure your shop skript is named ""shop.sk"" or the skript will not reload."
- console command "/sk reload shop.sk"
- console command "/sk reload shoptest.sk"
- console command "/sk reload mcshop.sk"
- console command "/sk reload testshop.sk"
- console command "/sk reload testingskripts.sk"
- console command "/sk reload shopmh.sk"
- console command "/sk reload mhshop.sk"
- send "&cIf your shop skript was saved under ""shop.sk"" it has been saved & reloaded."
- # ----------------------------------------------------------------------------------------------------------------------------------------------------------------------#
- # Made By ItzNic_ - Copying is stupid, dumb, and if you do copy this. You are a terrible person and deserve to be banned from all of Skript - Have a good day :') #
- # This is not protected by a license, but I'm working on it. #
- # ----------------------------------------------------------------------------------------------------------------------------------------------------------------------#
Add Comment
Please, Sign In to add comment