2023-04-26 14:44:54 +00:00
|
|
|
#--------------------------------------------------
|
|
|
|
#
|
|
|
|
# MIRRICRAFT
|
|
|
|
# by Christer Warén / Warén Group
|
|
|
|
#
|
|
|
|
#--------------------------------------------------
|
|
|
|
|
|
|
|
command /clearinventory [<player>]:
|
2023-04-26 14:58:28 +00:00
|
|
|
description: Clear Inventory
|
2020-10-24 03:31:01 +00:00
|
|
|
aliases: /clearinv
|
2023-04-26 14:44:54 +00:00
|
|
|
executable by: players
|
2020-10-24 03:31:01 +00:00
|
|
|
trigger:
|
2023-04-26 14:44:54 +00:00
|
|
|
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
|