Update
This commit is contained in:
		@@ -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 [<string>] [<string>] [<string>] [<string>]:
 | 
			
		||||
                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 [<string>] [<string>] [<string>] [<string>]:
 | 
			
		||||
                        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":
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user