Zcraft UI | In-Game Commands
The first table lists commands documented for the development build. The remaining tables cover administrator commands specified in the project’s update document. Their availability in zcraft-1.1.6-zcraft.18.jar has not been verified.
@s means the player running the command. Replace placeholders such as <player>, <id>, and <kg> with actual values. For commands that act on a held item, put the item in your main hand first.
1. Test gear, character profile, and survival HUD
| Command or example | What it does |
|---|---|
/zcraftgamma kit |
Gives you the inventory test kit for trying item placement, item details, and consumable interactions. |
/zcraftgamma guns |
Gives you the firearms used to test TaCZ integration. Use them to compare weapon icons and stats or test equipment slots and magazine interactions. |
/zcraftgamma trader |
Opens the trader test interface. |
/zcraft faction @s duty |
Sets your faction to Duty so you can check the faction name and badge on your character panel. |
/zcraft rank @s veteran |
Sets your rank to Veteran. The documented syntax is /zcraft rank <player> <rank>. Listed ranks are rookie, experienced, veteran, expert, and master. |
/zcraftgamma stamina 0.05 |
Sets your stamina to the example value 0.05 for testing the stamina bar and movement behavior. |
/zcraftgamma state radiation 0.2 |
Sets your radiation state to 0.2 for testing the radiation indicator. |
/zcraftgamma state psy 0.4 |
Sets your psy state to 0.4 for testing the psy indicator. |
duty is a documented faction example. The available records do not establish the complete list of faction names or the accepted numeric range for each HUD command.
2. Equipment slot rules
These commands are specified for administrators and pack makers. /zcraftitem is one word. A slot command replaces the allowed-slot list while preserving the item’s grid size, icon, and storage settings.
| Command or example | What it does |
|---|---|
/zcraftitem slots <slot...> |
Sets the allowed equipment slots for the held item’s entire registry ID. Accepts one or more slot names separated by spaces. |
/zcraftitem slots primary secondary |
Allows items with that registry ID in either weapon slot. For TaCZ guns sharing tacz:modern_kinetic_gun, this provides a default for those gun models without affecting TaCZ ammo or attachments. |
/zcraftitem slots body |
Allows the held item’s registry ID in the body slot only. |
/zcraftitem slots back |
Allows the held item’s registry ID in the back slot only. |
/zcraftitem slots clear |
Sets an explicitly empty slot list for the registry ID. Under this rule the item cannot be equipped. |
/zcraftitem slots_variant <slot...> |
Sets an override for the specific variant in your hand. For a TaCZ firearm, the variant is identified by its GunId. |
/zcraftitem slots_variant primary |
Restricts the held gun model to the primary slot. Other gun models keep their existing rules. |
/zcraftitem slots_variant clear |
Prevents the held variant from being equipped. It does not restore inheritance from the general rule. |
For example, hold any supported TaCZ gun and enter /zcraftitem slots primary secondary. Then hold the one rifle you want to restrict and enter /zcraftitem slots_variant primary. The general rule allows both slots; the rifle’s own rule allows only the primary slot.
3. Item weight
| Command | What it does |
|---|---|
/zcraft itemweight <kg> |
Sets the weight of one unit of the item in your main hand, in kilograms. Accepts nonnegative decimals. Ordinary items use their registry ID; supported variants such as TaCZ gun models can have distinct weights. |
Example: hold an item and enter /zcraft itemweight 0.25. A stack of four then contributes 1 kg. The document also mentions itemweight_id as an optional extension, but does not confirm it as a registered command.
4. Trader management
A trader ID identifies a particular shop. The examples below use 1. The update specification sets direct trader management and opening commands to permission level 2 by default.
| Command | Example | What it does |
|---|---|---|
/zcraft shop set <id> |
/zcraft shop set 1 |
Creates a trader under a new ID. An existing trader should be edited rather than overwritten. |
/zcraft shop edit <id> |
/zcraft shop edit 1 |
Opens the administrator editor for that trader. |
/zcraft shop open <id> |
/zcraft shop open 1 |
Opens the trader for the player running the command. |
/zcraft shop open <id> <player> |
/zcraft shop open 1 Alex |
Opens the trader for a specified player. This form is intended for administrators, the server console, or an authorized server-side NPC interaction. |
/zcraft shop delete <id> |
/zcraft shop delete 1 |
Disables the trader’s entry point. The specified behavior preserves private storage, stored items, and unlock data. |
5. Trader private-storage rules
These commands control what players may deposit in trader private storage. They apply across traders by default. They do not configure the size of a carried backpack.
| Command | What it does |
|---|---|
/zcraft storage deny |
Blocks the held item’s registry ID from being deposited in trader private storage. |
/zcraft storage allow |
Removes the deposit restriction for the held item’s registry ID. |
/zcraft storage deny_variant |
Blocks only the held variant, such as one specific TaCZ gun model. |
/zcraft storage allow_variant |
Removes the restriction for that specific variant. |
allow removes the corresponding restriction. It does not bypass the separate rule that prevents depositing equipment with items still inside it.
Zcraft Armory compatibility: /zcraftgamma guns is provided by Zcraft UI for integration testing. The available records do not identify a separate command registered by standalone Zcraft Armory. Magazine loading, unloading, and attachment changes are documented as inventory actions.