This commit is contained in:
Christer Warén
2023-04-26 17:44:54 +03:00
parent f86cc0d29e
commit 8332516600
15 changed files with 502 additions and 175 deletions

View File

@@ -1,10 +1,20 @@
# --- Clear Inventory ---
command /clearinventory:
description: Clear Inventory
#--------------------------------------------------
#
# MIRRICRAFT
# by Christer Warén / Warén Group
#
#--------------------------------------------------
command /clearinventory [<player>]:
description: Clear Inventory
aliases: /clearinv
executable by: console and players
executable by: players
trigger:
if player has the permission "mirricraft.clearinventory":
remove all items from player
stop
stop
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