Skip to content

Configuration Variables (Convars) โ€‹

This document lists all configuration variables used in jo_libs, grouped by module.

Total convars: 30

Modules โ€‹

Emit โ€‹

ConvarSideTypeDefaultDescription
jo_libs:emit:bpsSharedInteger20000Default bit/s for latent events

Framework-bridge โ€‹

ConvarSideTypeDefaultDescription
jo_libs:frameworkSharedStringfalseForce the framework

Gizmo โ€‹

ConvarSideTypeDefaultDescription
jo_libs:gizmo:allowRotateXClientBooleantrueAllow rotation on X-axis
jo_libs:gizmo:allowRotateYClientBooleantrueAllow rotation on Y-axis
jo_libs:gizmo:allowRotateZClientBooleantrueAllow rotation on Z-axis
jo_libs:gizmo:allowTranslateXClientBooleantrueAllow translation on X-axis
jo_libs:gizmo:allowTranslateYClientBooleantrueAllow translation on Y-axis
jo_libs:gizmo:allowTranslateZClientBooleantrueAllow translation on Z-axis
jo_libs:gizmo:enableCamClientBooleantrueEnable/Disable camera feature
jo_libs:gizmo:keys:cameraSpeedDownClientIntegerINPUT_SELECT_NEXT_WEAPONDecrease camera speed
jo_libs:gizmo:keys:cameraSpeedUpClientIntegerINPUT_SELECT_PREV_WEAPONIncrease camera speed
jo_libs:gizmo:keys:cancelClientIntegerINPUT_GAME_MENU_TAB_RIGHT_SECONDARYCancel operation
jo_libs:gizmo:keys:confirmClientIntegerINPUT_FRONTEND_ACCEPTConfirm placement
jo_libs:gizmo:keys:focusEntityClientIntegerINPUT_SHOP_SPECIALToggle focus on entity
jo_libs:gizmo:keys:moveDownClientIntegerINPUT_FRONTEND_RUPMove down
jo_libs:gizmo:keys:moveUpClientIntegerINPUT_FRONTEND_XMove up
jo_libs:gizmo:keys:moveXClientIntegerINPUT_SCRIPTED_FLY_LRMove left/right
jo_libs:gizmo:keys:moveYClientIntegerINPUT_SCRIPTED_FLY_UDMove forward/backward
jo_libs:gizmo:keys:rotationSnapClientIntegerINPUT_FRONTEND_YRotation snap key
jo_libs:gizmo:keys:snapToGroundClientIntegerINPUT_INTERACT_OPTION1Snap entity to ground
jo_libs:gizmo:keys:switchModeClientIntegerINPUT_RELOADSwitch between translate/rotate modes
jo_libs:gizmo:maxCamDistanceClientInteger80Maximum distance camera can be moved from player
jo_libs:gizmo:maxDistanceClientInteger100Maximum distance entity can be moved from starting position (set to false to disable)
jo_libs:gizmo:maxMovementSpeedClientFloat0.2Maximum movement speed for camera
jo_libs:gizmo:maxYClientInteger40Maximum Y value for camera rotation
jo_libs:gizmo:minMovementSpeedClientFloat0.001Minimum movement speed for camera
jo_libs:gizmo:minYClientInteger-40Minimum Y value for camera rotation
jo_libs:gizmo:movementSpeedClientFloat0.1Default movement speed for camera
jo_libs:gizmo:movementSpeedIncrementClientFloat0.01Increment value when adjusting camera speed
jo_libs:gizmo:rotationSnapClientInteger5Rotation snap value

Debug โ€‹

You can turn on/off the debug prints on all libraries or on a specific module with this convars:

ConvarSideTypeDefaultValuesDescription
<resource>:debug:<module>SharedStringoffon/offEnable/Disable debug prints for one module running in the resource
<resource>:debugSharedStringoffon/offEnable/Disable debug prints for all modules running in the resource
all:debug:<module>SharedStringoffon/offEnable/Disable debug prints for all modules running in all resource

Example Configuration in server.cfg โ€‹

Here's how you can override some of the default settings in your server.cfg file:

cfg
## Gizmo Module Configuration
setr jo_libs:gizmo:enableCam true
setr jo_libs:gizmo:maxDistance 150
setr jo_libs:gizmo:maxCamDistance 100
setr jo_libs:gizmo:movementSpeed 0.15

## Custom key bindings
setr jo_libs:gizmo:keys:confirm "INPUT_FRONTEND_ACCEPT"
setr jo_libs:gizmo:keys:cancel "INPUT_FRONTEND_CANCEL"

## Debug
# Enable the debug of all modules in kd_stable resource
setr kd_stable:debug on 

# Enable the debug of the component module in the kd_clothingstore resource
setr kd_clothingstore:debug:component on 

# Enable the debug of all modules in the framework-bridge resource
setr all:debug:framework-bridge on

Last updated: