mirricraft-skript/mirricraft-clearinventory.sk
Christer Warén ebb530e931 Update
2023-04-26 17:58:28 +03:00

21 lines
630 B
Plaintext

#--------------------------------------------------
#
# MIRRICRAFT
# by Christer Warén / Warén Group
#
#--------------------------------------------------
command /clearinventory [<player>]:
description: Clear Inventory
aliases: /clearinv
executable by: players
trigger:
if arg-1 is not set:
if player has permission "mirricraft.clearinventory":
remove all items from player
stop
if arg-1 is set:
if player has permission "mirricraft.admin":
remove all items from arg-1
stop