From 7f137436a110be66f9d009142e15f8a1c36fd919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sun, 30 Apr 2023 02:08:50 +0300 Subject: [PATCH] Update --- mirricraft.sk | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/mirricraft.sk b/mirricraft.sk index 02dd1f1..0e08a64 100644 --- a/mirricraft.sk +++ b/mirricraft.sk @@ -18,7 +18,7 @@ on click: make player execute command "/mirricraft gui" cancel the event wait 2 tick - if event-item is compass named "&4Mene": + if event-item is compass named "&2Mene": make player execute command "/mirricraft gui visit" cancel the event wait 2 tick @@ -38,10 +38,12 @@ on click: on pickup: if event-item is ender chest named "&fMirriCraft": delete event-entity - if event-item is compass named "&4Mene": + if event-item is compass named "&2Mene": delete event-entity if event-item is diamond named "&bVIP": delete event-entity + if event-item is diamond named "&5Ylläpito": + delete event-entity if event-item is player's skull named "&6%player%": delete event-entity @@ -114,13 +116,13 @@ command /mirricraft [] [] [] []: if player's world is "lobby": remove all items from player if player have permission "mirricraft.admin": - set slot 0 of player's inventory to 1 of compass named "&4Mene" + set slot 0 of player's inventory to 1 of compass named "&2Mene" set slot 4 of player's inventory to 1 of diamond named "&bVIP" set slot 6 of player's inventory to 1 of diamond axe named "&5Ylläpito" set slot 8 of player's inventory to 1 of player's skull named "&6%player%" stop else: - set slot 0 of player's inventory to 1 of compass named "&4Mene" + set slot 0 of player's inventory to 1 of compass named "&2Mene" set slot 4 of player's inventory to 1 of diamond named "&bVIP" set slot 8 of player's inventory to 1 of player's skull named "&6%player%" stop @@ -142,15 +144,15 @@ command /mirricraft [] [] [] []: format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable if player have permission "mirricraft.admin": - format slot 11 of player with compass named "&4Mene" with lore "-" to close then run [execute player command "/mirricraft gui visit"] - format slot 13 of player with diamond named "&bVIP" with lore "-" to close then run [execute player command "/mirricraft gui vip"] - format slot 15 of player with player's skull named "&6Player" with lore "&o&f%player%" to close then run [execute player command "/mirricraft gui player"] - format slot 17 of player with diamond axe named "&5Ylläpito" with lore "-" to close then run [execute player command "/mirricraft gui admin"] + format slot 10 of player with compass named "&4Mene" with lore "-" to close then run [execute player command "/mirricraft gui visit"] + format slot 12 of player with diamond named "&bVIP" with lore "-" to close then run [execute player command "/mirricraft gui vip"] + format slot 14 of player with player's skull named "&6Player" with lore "&o&f%player%" to close then run [execute player command "/mirricraft gui player"] + format slot 16 of player with diamond axe named "&5Ylläpito" with lore "-" to close then run [execute player command "/mirricraft gui admin"] stop else: - format slot 11 of player with compass named "&4Mene" with lore "-" to close then run [execute player command "/mirricraft gui visit"] - format slot 14 of player with diamond named "&bVIP" with lore "-" to close then run [execute player command "/mirricraft gui vip"] - format slot 17 of player with player's skull named "&6Player" with lore "&o&f%player%" to close then run [execute player command "/mirricraft gui player"] + format slot 10 of player with compass named "&4Mene" with lore "-" to close then run [execute player command "/mirricraft gui visit"] + format slot 13 of player with diamond named "&bVIP" with lore "-" to close then run [execute player command "/mirricraft gui vip"] + format slot 16 of player with player's skull named "&6Player" with lore "&o&f%player%" to close then run [execute player command "/mirricraft gui player"] stop if arg-2 is set: if arg-2 is "visit":