Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Bill3621/CustomItems/llms.txt
Use this file to discover all available pages before exploring further.
Commands
CustomItems LabAPI includes built-in server commands for managing custom items in-game. These commands are available through the Remote Admin console and game console.customItem
Give a player a specified custom item by ID. Command:customItem (alias: ci)
Permission required: GivingItems
Usage:
Parameters
The ID of the custom item to give. Use the command without arguments to see all registered items and their IDs.
The target player. Can be:
- Player ID (numeric)
- Player UserID
- Player nickname (partial match supported)
*orallto give to all eligible players
Eligibility requirements
Players must meet these conditions to receive custom items:- Must be alive
- Must not be disarmed
- Must have fewer than 8 items in inventory
Examples
Response format
CustomItemCommand.cs:64
CustomItemCommand.cs:79
tppos
Teleport to a specified position (debug command). Command:tppos (alias: tpp)
Permission required: Noclip
Usage:
Parameters
X coordinate in world space
Y coordinate in world space
Z coordinate in world space
This command is primarily for debugging spawn positions. Coordinates can include commas, which will be automatically removed during parsing.
Examples
Implementation
TPPos.cs:36-45
Common patterns
Using commands for testing
Commands are useful during development to test custom items:Permission requirements
Both commands check permissions before execution:CustomItemCommand.cs:25-29
Related concepts
- Learn about spawning items programmatically
- Explore positioning utilities for finding valid spawn locations
- See configuration options for enabling example items