Update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user