Convars

A flat reference of every convar agent_api reads.

A flat reference of every convar agent_api reads. For organised explanations see Configuration.

Index

ConvarDefaultNotes
agent_api_token""blank = auto-generate to dist/.agent_token
agent_api_readonlytrueone switch closes every mutator; set false to allow writes / shell
agent_api_rootresources/[agent]primary write+control root
agent_api_allow_write_paths""csv
agent_api_allow_control_paths""csv
agent_api_console_buffer_lines2000size of ring buffer
agent_api_max_file_bytes2097152hard cap on read/write
agent_api_extra_write_extensions""csv, extra extensions for read + write
agent_api_rate_per_minute120per-token-hash bucket
agent_api_test_session_ttl_seconds1800opt-in TTL
agent_api_test_max_subjects4active subject pool size
agent_api_client_blocked_natives""csv, names refused by client_call_native
agent_api_server_blocked_natives""csv, additional to built-in danger list
agent_api_export_blocked_methods""csv, export names refused by call_export
agent_api_shell_allowed_commands(default list)csv. If set, REPLACES the default
agent_api_node_binarynodeused by screenshot_nui to spawn the helper
agent_api_plugin_esx_enabledautoauto / true / false
agent_api_plugin_oxlib_enabledautoauto / true / false
agent_api_plugin_oxmysql_enabledautoauto / true / false
agent_api_plugin_esx_blocked_methods""csv
agent_api_plugin_oxlib_blocked_methods""csv
agent_api_plugin_oxmysql_readonlytrueSELECT-only when true
agent_api_plugin_oxmysql_allow_statementsSELECTcsv, uppercase verbs

Default shell allowlist

npm,npx,pnpm,yarn,bun,vite,git,node,rtk

rtk (Rust Token Killer) ships bundled at bin/rtk.exe and is resolved by absolute path, so it runs even when it is not on the server process PATH. Pass useRtk:true to any run_shell call to wrap the command as rtk <command> <args> for token-compressed output.

Built-in server-native danger list (always refused)

DropPlayer, ExecuteCommand, StopResource, StartResource,
ScheduleResourceTick, PrintStructuredTrace, CancelEvent,
TempBanPlayer, BanPlayer