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

No files matched your search

+18 -8
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