Added functionality that clears all players with a specified item (#82)

* Update WhoHasCMD.java

Added functionality that clears all players with a specified item

* Added functionality that clears all players with a specified item

* Altered tab completion to include "clear" argument

* Update WhoHasCMD.java

---------

Co-authored-by: Telesphoreo <me@telesphoreo.me>
This commit is contained in:
james
2024-02-04 19:35:11 +00:00
committed by GitHub
parent 6ce4843829
commit 532e82472b
2 changed files with 36 additions and 6 deletions

View File

@ -200,6 +200,9 @@ rankRequired: "<red>Policy requires that you must state your rank in your login
# 0 - The material name
# 1 - The players who have the material in their inventory
playersWithMaterial: "<gray>Players with {0} in their inventory: {1}"
# 0 - The material name
# 1 - The players who have the material in their inventory
playersMaterialCleared: "<gray>{0} has been removed from the following players: {1}"
nobodyHasThatMaterial: "<gray>No one online has that in their inventory."
# 0 - The attempted material name
materialNotFound: "<red>{0} is not a valid item/block name."