Documentation Index
Fetch the complete documentation index at: https://docs.zyrixadmin.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Zyrix Admin API uses a built-in permission system that validates staff member access for every function call. All API functions require a valid staff ID and automatically check permissions based on your server configuration.Staff ID Parameter
Every API function requires astaffId parameter as the first argument:
Permission Levels
Your Zyrix configuration defines different permission levels and what actions each level can perform:Common Permission Types
Different functions require different permission levels:| Function Category | Example Permission |
|---|---|
| Player Management | teleport, heal, freeze |
| Moderation | warn, kick, ban |
| Vehicle Management | spawn_vehicle, delete_vehicle |
| Staff Tools | spectate, noclip, invisible |
| Server Management | screenshot, announce, restart |
Error Responses
When permission checks fail, you’ll receive specific error responses:Best Practices
1. Validate Staff Status
Always ensure the staff member is valid before making API calls:2. Handle Permission Errors Gracefully
Provide meaningful feedback when permissions are insufficient:3. Log Administrative Actions
Consider additional logging for sensitive operations:Configuration
Permission configuration is managed through your Zyrix admin panel or configuration files. Refer to the Permissions Configuration guide for detailed setup instructions.The permission system is designed to be flexible and configurable. You can customize permission levels and requirements through your Zyrix admin configuration.