RX Hopscotch Installation

RX Hopscotch brings the playground game to FiveM. A player draws a court in chalk on the ground, up to six players join, and each takes turns tossing the stone and hopping through on custom animations, with toss, balance, and pickup minigames along the way.

It runs without a framework and stores nothing in a database: game state lives on the server while a game runs, and courts clear themselves when unused.

Requirements

RequirementWhy it is needed
ox_libServer callbacks, asset loading, and a fallback skill check if the chalk minigame page cannot open.
rx_coreRipex’s core library, used here for notifications and player names. It comes in the RX Hopscotch download and must start before it.

No framework is needed, and there is no SQL to import.

1. Place the resource

The download contains two folders, rx_hopscotch and rx_core. Extract both into your server’s resources directory. Keep rx_hopscotch intact: the court props and animations stream from its stream folder.

If your server already runs rx_core for another Ripex resource, keep the newer of the two copies.

2. Add it to server.cfg

Start ox_lib and rx_core first:

server.cfg
ensure ox_lib
ensure rx_core
ensure rx_hopscotch

3. Give admins the right to remove courts

Anyone can remove the court they drew. To let staff remove any court, add the resource’s ACE:

server.cfg
add_ace group.admin rx_hopscotch.admin allow

4. Draw your first court

  1. Stand on flat, open ground and type /hopscotch.
  2. Pick Small, Classic, or Large from the chalk menu.
  3. A see-through preview appears in front of you. Turn it with Q and E or the mouse wheel. It turns green when the ground is right, red with a reason when it is not.
  4. Press Enter to draw it, or Backspace to cancel.
  5. At the start line, type /hopscotch again to open the court’s menu: join, pick a game mode, and start.

A court someone else is standing next to cannot be drawn too close, each player can draw one court at a time, and a court nobody uses for 45 minutes clears itself. See Configuration to change these limits.

Controls

KeyAction
/hopscotchDraw a court; at a court’s start line, open its menu; during a game, leave it
Q / E, mouse wheelTurn the court preview
Enter / BackspaceDraw the court / cancel
Arrows, Enter, EscMove through the chalk menus (the mouse works too)
EThrow the stone, grab the stone
A / DKeep your balance on one leg; in Free Throw, choose the target square
Hold X for a secondLeave the game at any moment

Players can rebind the leave key under Settings > Key Bindings > FiveM. The default key is Config.LeaveKey.

How a turn plays out, the three game modes, and the minigames are explained in Gameplay.