NB SCRIPTS

NB Chess

NB Chess

This item is free.

Add to Basket

โ™Ÿ Chess โ€” Fully Playable Chess for RedM

A complete, immersive chess experience built for Red Dead Redemption roleplay servers. Challenge a fellow outlaw to a game at the saloon, wager your hard-earned cash, and settle it over the board โ€” all without ever leaving the game world.


๐ŸŽฎ Gameplay Features

  • Full chess engine โ€” every legal move enforced: castling, en passant, pawn promotion, check, checkmate, and stalemate
  • Multiplayer via server relay โ€” both players see moves in real time; colours assigned randomly each game
  • Promotion picker โ€” clean in-game UI to choose Queen, Rook, Bishop, or Knight on pawn promotion
  • Material advantage display โ€” captured pieces and score advantage shown above and below the board
  • Check highlighting โ€” king square turns red when in check
  • Last-move highlight โ€” previous move squares are always marked
  • Legal-move dots โ€” click a piece to see all valid destinations

โš”๏ธ Game Management

  • Draw offers โ€” offer a draw in-game; opponent sees a notification bar at the bottom and can accept or decline without interrupting the game; accepting closes the UI for both players
  • Resign โ€” in-game confirmation modal (no browser popups) before forfeiting
  • Spectator mode โ€” bystanders can watch live games from the same table
  • Idle-timeout auto-forfeit โ€” configurable inactivity timer ends abandoned games automatically
  • Disconnect handling โ€” opponent is awarded the win if a player disconnects mid-game

๐Ÿ’ฐ Betting System

  • Optional cash betting โ€” enable with a single config toggle
  • Configurable min/max bet limits
  • Winnings pulled directly from your framework's wallet (VORP or RSG)

๐Ÿ”ง Technical

  • VORP Core & RSG Core compatible โ€” switch frameworks with one line in config.lua
  • Pure JS chess engine โ€” no external libraries; all move validation runs client-side
  • Western-themed NUI โ€” dark wood tones, gold accents, serif fonts โ€” fits seamlessly into any RDR2 RP server
  • Escrow-safe config โ€” config.lua is excluded from escrow so you can always edit table coords, betting settings, and framework selection
  • Multi-table support โ€” add as many chess tables as you want across your map
  • oxmysql dependency is optional โ€” remove one line and it's gone

๐Ÿ“ฆ Installation

  1. Drop the chess folder into your resources/ directory
  2. Add ensure chess to your server.cfg
  3. Open config.lua and set your framework and table coordinates
  4. Restart โ€” done

โš™๏ธ Config Options

Key

Default

Description

Config.Framework

'VORP'

'VORP' or 'RSG'

Config.EnableBetting

false

Toggle cash betting on/off

Config.MinBet / MaxBet

1 / 500

Bet amount limits

Config.InteractDistance

2.5

Metres before [E] prompt appears

Config.EnableSpectate

true

Allow spectators

Config.IdleTimeout

600

Seconds before auto-forfeit (0 = off)

Config.DrawOfferTimeout

30

Seconds before a draw offer auto-declines


Built with a fully custom chess engine โ€” no third-party chess libraries. Every move, rule, and edge case is handled natively.

Back to category