Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #command /eci:
- # permission: sk.admin
- # trigger:
- # set {ecitem} to player's tool
- # if player's tool is air:
- # delete {ecitem}
- on join:
- set player's boots to {ecitem}
- on inventory click:
- clicked slot is 36:
- if name of event-item is "&5エンダーチェスト":
- cancel event
- set player's boots to {ecitem}
- close player's inventory
- open chest with 3 rows named "Enderchest" to player
- loop 27 times:
- set slot (loop-number -1) of player's current inventory to purple glass pane named "&a"
- set slot 0 of player's current inventory to ender chest named "&5エンダー&5チェスト"
- set slot 8 of player's current inventory to empty bucket named "&cゴミ箱"
- set slot 9 of player's current inventory to chest named "&6ストレージ1"
- set slot 10 of player's current inventory to chest named "&6ストレージ2"
- set slot 11 of player's current inventory to chest named "&6ストレージ3"
- set slot 12 of player's current inventory to chest named "&6ストレージ4"
- set slot 13 of player's current inventory to chest named "&6ストレージ5"
- set slot 14 of player's current inventory to chest named "&6ストレージ6"
- set slot 15 of player's current inventory to chest named "&6ストレージ7"
- set slot 16 of player's current inventory to chest named "&6ストレージ8"
- set slot 17 of player's current inventory to chest named "&6ストレージ9"
- on right click on ender chest:
- cancel event
- close player's inventory
- open chest with 3 rows named "Enderchest" to player
- loop 27 times:
- set slot (loop-number -1) of player's current inventory to purple glass pane named "&a"
- set slot 0 of player's current inventory to ender chest named "&5エンダー&5チェスト"
- set slot 8 of player's current inventory to empty bucket named "&cゴミ箱"
- set slot 9 of player's current inventory to chest named "&6ストレージ1"
- set slot 10 of player's current inventory to chest named "&6ストレージ2"
- set slot 11 of player's current inventory to chest named "&6ストレージ3"
- set slot 12 of player's current inventory to chest named "&6ストレージ4"
- set slot 13 of player's current inventory to chest named "&6ストレージ5"
- set slot 14 of player's current inventory to chest named "&6ストレージ6"
- set slot 15 of player's current inventory to chest named "&6ストレージ7"
- set slot 16 of player's current inventory to chest named "&6ストレージ8"
- set slot 17 of player's current inventory to chest named "&6ストレージ9"
- on inventory click:
- if inventory name of player's current inventory is "Enderchest":
- cancel event
- if name of event-item is "&5エンダー&5チェスト":
- close player's inventory
- open the player's ender chest to the player
- if name of event-item is "&cゴミ箱":
- close player's inventory
- open chest with 6 rows named "ゴミ箱(アイテムは補填されません)" to player
- if name of event-item is "&6ストレージ1":
- close player's inventory
- open chest with 6 rows named "Storage1" to player
- set slot 0 of player's current inventory to {storage1%player's uuid%.0}
- loop 53 times:
- set slot loop-number of player's current inventory to {storage1%player's uuid%.%loop-number%}
- if name of event-item is "&6ストレージ2":
- close player's inventory
- open chest with 6 rows named "Storage2" to player
- set slot 0 of player's current inventory to {storage2%player's uuid%.0}
- loop 53 times:
- set slot loop-number of player's current inventory to {storage2%player's uuid%.%loop-number%}
- if name of event-item is "&6ストレージ3":
- close player's inventory
- open chest with 6 rows named "Storage3" to player
- set slot 0 of player's current inventory to {storage3%player's uuid%.0}
- loop 53 times:
- set slot loop-number of player's current inventory to {storage3%player's uuid%.%loop-number%}
- if name of event-item is "&6ストレージ4":
- close player's inventory
- open chest with 6 rows named "Storage4" to player
- set slot 0 of player's current inventory to {storage4%player's uuid%.0}
- loop 53 times:
- set slot loop-number of player's current inventory to {storage4%player's uuid%.%loop-number%}
- if name of event-item is "&6ストレージ5":
- close player's inventory
- open chest with 6 rows named "Storage5" to player
- set slot 0 of player's current inventory to {storage5%player's uuid%.0}
- loop 53 times:
- set slot loop-number of player's current inventory to {storage5%player's uuid%.%loop-number%}
- if name of event-item is "&6ストレージ6":
- close player's inventory
- open chest with 6 rows named "Storage6" to player
- set slot 0 of player's current inventory to {storage6%player's uuid%.0}
- loop 53 times:
- set slot loop-number of player's current inventory to {storage6%player's uuid%.%loop-number%}
- if name of event-item is "&6ストレージ7":
- close player's inventory
- open chest with 6 rows named "Storage7" to player
- set slot 0 of player's current inventory to {storage7%player's uuid%.0}
- loop 53 times:
- set slot loop-number of player's current inventory to {storage7%player's uuid%.%loop-number%}
- if name of event-item is "&6ストレージ8":
- close player's inventory
- open chest with 6 rows named "Storage8" to player
- set slot 0 of player's current inventory to {storage8%player's uuid%.0}
- loop 53 times:
- set slot loop-number of player's current inventory to {storage8%player's uuid%.%loop-number%}
- if name of event-item is "&6ストレージ9":
- close player's inventory
- open chest with 6 rows named "Storage9" to player
- set slot 0 of player's current inventory to {storage9%player's uuid%.0}
- loop 53 times:
- set slot loop-number of player's current inventory to {storage9%player's uuid%.%loop-number%}
- on inventory click:
- wait a tick
- if inventory name of player's current inventory is "Storage1":
- set {storage1%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage1%player's uuid%.%loop-number%} to slot loop-number of current inventory
- if inventory name of player's current inventory is "Storage2":
- set {storage2%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage2%player's uuid%.%loop-number%} to slot loop-number of current inventory
- if inventory name of player's current inventory is "Storage3":
- set {storage3%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage3%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage4":
- set {storage4%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage4%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage5":
- set {storage5%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage5%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage6":
- set {storage6%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage6%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage7":
- set {storage7%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage7%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage8":
- set {storage8%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage8%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage9":
- set {storage9%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage9%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- on inventory close:
- if inventory name of player's current inventory is "Storage1":
- set {storage1%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage1%player's uuid%.%loop-number%} to slot loop-number of current inventory
- if inventory name of player's current inventory is "Storage2":
- set {storage2%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage2%player's uuid%.%loop-number%} to slot loop-number of current inventory
- if inventory name of player's current inventory is "Storage3":
- set {storage3%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage3%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage4":
- set {storage4%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage4%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage5":
- set {storage5%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage5%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage6":
- set {storage6%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage6%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage7":
- set {storage7%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage7%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage8":
- set {storage8%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage8%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
- if inventory name of player's current inventory is "Storage9":
- set {storage9%player's uuid%.0} to slot 0 of current inventory
- loop 53 times:
- set {storage9%player's uuid%.%loop-number%} to slot loop-number of player's current inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement