0R Soccer by 0Resmon is a football system for FiveM. Players join a lobby, get divided into teams and play on a mapped pitch, with a stadium scoreboard, kits, and a leaderboard over the recorded stats.
What’s included
- A lobby with invites: a lobby invite popup and a nearby-player invite, plus jersey numbers per player in the lobby.
- Matches with a configurable duration, team colours and assists; the ball is streamed to the players and the pitch bounds are configurable.
- Goalkeeper handling, a slide tackle, a stand tackle and jockey duels, all in the config.
- Goal detection with a goal notification, a goal celebration and goal markers.
- A football scoreboard and a leaderboard over the match statistics.
- Four resources: the soccer script with its web interface, the field map, the ball props and the football kits for the male and female freemode.
Requirements and setup
- Needs
oxmysqlfor the match data. - Framework: ESX Legacy, QBCore or QBox is detected by the bridge in
modules/shared/bridge.lua;Config.Coresets the default. - Documentation for installation, configuration and exports ships in the
docsfolder of the resource. - Locale files for English, German, Spanish, Polish, Portuguese and Turkish;
Config.Localesets the active one.
Installation
- Copy the four resources into your server’s
resourcesfolder and add them to yourserver.cfgin this order: the kits and the ball props, the field map, then the soccer script. - Start
oxmysqlbefore the script. - Review
config_defaults.luafor the match duration, the pitch bounds, the goal detection, the scoreboard and the keybinds for host and players. - Test a match with a second player before you open the server.