Installation
lo_chess requires VORP, oxmysql and OneSync. Its chess_boards table is created automatically when the resource starts.
Prerequisites
- A working RedM server with OneSync enabled.
vorp_coreandoxmysqlinstalled and running.
1. Add the resource
Place the lo_chess folder in your server's resources/ directory.
resources/
└── lo_chess/
├── client/
├── server/
├── shared/
├── config.lua
└── fxmanifest.lua2. Start order
Add the resource after its dependencies in server.cfg:
cfg
ensure oxmysql
ensure vorp_core
ensure lo_chessWARNING
Starting lo_chess before vorp_core or oxmysql prevents board persistence and framework integration from working correctly.
3. Optional: authorize the bot command
The /chessbot command is staff-only by default. Grant the configured ACE to the appropriate group:
cfg
add_ace group.admin lo_games.bot allow4. Verification
- Restart the resource and connect to the server.
- Run
/chessand place a board with the integrated gizmo. - Approach it and join the White or Black side from the native prompts.
- Restart the resource: the board should be restored from the database.