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
| Requirement | Why it is needed |
|---|---|
ox_lib | Server callbacks, asset loading, and a fallback skill check if the chalk minigame page cannot open. |
rx_core | Ripex’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:
ensure ox_lib
ensure rx_core
ensure rx_hopscotch3. 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:
add_ace group.admin rx_hopscotch.admin allow4. Draw your first court
- Stand on flat, open ground and type
/hopscotch. - Pick Small, Classic, or Large from the chalk menu.
- 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.
- Press Enter to draw it, or Backspace to cancel.
- At the start line, type
/hopscotchagain 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
| Key | Action |
|---|---|
/hopscotch | Draw a court; at a court’s start line, open its menu; during a game, leave it |
| Q / E, mouse wheel | Turn the court preview |
| Enter / Backspace | Draw the court / cancel |
| Arrows, Enter, Esc | Move through the chalk menus (the mouse works too) |
| E | Throw the stone, grab the stone |
| A / D | Keep your balance on one leg; in Free Throw, choose the target square |
| Hold X for a second | Leave 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.