feat(cli): add command helpers and NotAPlayerError

This commit is contained in:
ForestOfLight
2026-05-19 17:28:58 -07:00
Unverified
parent 6fac0d953f
commit aae9fd2f4b
6 changed files with 44 additions and 1 deletions
+5 -1
View File
@@ -105,4 +105,8 @@ construct.option.materialgrabber.description=Pulls structure items from inventor
construct.option.materialgrabber.howto=Interact with inventories using the Material Grabber item to pull structure items from them.
construct.option.materialgrabber.grabbed.zero=§7Grabbed 0 items.
construct.option.materialgrabber.grabbed.one=§aGrabbed 1 item.
construct.option.materialgrabber.grabbed.many=§aGrabbed %s items. ## Insert string: number of items transferred to the player
construct.option.materialgrabber.grabbed.many=§aGrabbed %s items. ## Insert string: number of items transferred to the player
## CLI shared errors
construct.commands.error.instanceNotFound=§cInstance "%1" not found.
construct.commands.error.notAPlayer=§cThis command can only be used by players.