mirricraft-skript/mirricraft-enderchest.sk
Christer Warén 8332516600 Update
2023-04-26 17:44:54 +03:00

22 lines
664 B
Plaintext

#--------------------------------------------------
#
# MIRRICRAFT
# by Christer Warén / Warén Group
#
#--------------------------------------------------
command /enderchest [<player>]:
description: EnderChest
executable by: players
trigger:
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