mirricraft-skript/mirricraft-enderchest.sk

22 lines
664 B
Plaintext
Raw Normal View History

2023-04-26 14:44:54 +00:00
#--------------------------------------------------
#
# MIRRICRAFT
# by Christer Warén / Warén Group
#
#--------------------------------------------------
command /enderchest [<player>]:
2020-10-24 03:31:01 +00:00
description: EnderChest
executable by: players
trigger:
2023-04-26 14:44:54 +00:00
if arg-1 is not set:
if player has permission "mirricraft.enderchest":
wait 2 tick
open player's ender chest to player
stop
if arg-1 is set:
if player has permission "mirricraft.admin":
wait 2 tick
open arg-1's ender chest to player
stop