Skip to content

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_core and oxmysql installed 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.lua

2. Start order

Add the resource after its dependencies in server.cfg:

cfg
ensure oxmysql
ensure vorp_core
ensure lo_chess

WARNING

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 allow

4. Verification

  1. Restart the resource and connect to the server.
  2. Run /chess and place a board with the integrated gizmo.
  3. Approach it and join the White or Black side from the native prompts.
  4. Restart the resource: the board should be restored from the database.