FAQ
Installation
Where do I enter my transaction ID?
Where do I enter my transaction ID?
API.lua. You
download it from the cfx.re Portal and start it.Do I have to import an SQL file?
Do I have to import an SQL file?
road_minigolf/data/. See
Data files.Can I rename the resource?
Can I rename the resource?
road_minigolf. The track kit and the demo map are
streamed from it, and other scripts call its exports by this name.Which frameworks are supported?
Which frameworks are supported?
Do I need OneSync?
Do I need OneSync?
Will an update overwrite my config or my courses?
Will an update overwrite my config or my courses?
config.lua and config.server.lua keep their values: new keys get
their defaults from shared/defaults.lua. Your courses live in data/.
When you update, keep your data/ folder and do not copy the empty one from
the download over it.Track kit and map
The track kit pieces are invisible or players fall through them
The track kit pieces are invisible or players fall through them
stream/ and registered by the
data_file 'DLC_ITYP_REQUEST' 'stream/road_minigolf_kit.ytyp' line in
fxmanifest.lua. Keep both, keep the resource name road_minigolf, and
restart the whole resource (not just refresh) after an update. Clients
need to download the stream files once.The SkyGarden roof clashes with another map
The SkyGarden roof clashes with another map
I deleted the demo course and want it back
I deleted the demo course and want it back
A prop from the catalog is missing in the editor
A prop from the catalog is missing in the editor
stt_prop_*).Admins and the editor
F7 does nothing
F7 does nothing
minigolf.admin, one of the ESX groups or QBCore permissions in
Config.Permission, or that your identifier is listed in
config.server.lua. Also check that no other resource took F7: the key
can be rebound under Settings → Key Bindings → FiveM, and /mgedit always
works.Qbox admins are not recognised
Qbox admins are not recognised
add_ace group.admin minigolf.admin allow in server.cfg (works on every
framework) or make sure your admins are in group.admin / group.god,
which Config.Permission.qbPermissions checks.The editor tool keys 1–6 clash with my inventory or another script
The editor tool keys 1–6 clash with my inventory or another script
Config.Editor.keys. The hint bar always shows the
bound key.Players cannot find my new course
Players cannot find my new course
Config.Editor.publishNewCourses = true.Saving reset my leaderboard
Saving reset my leaderboard
scores-*.json.Courses or scores are not saved
Courses or scores are not saved
road_minigolf/data/. The console prints
which file could not be written. While both copies of a store are
unreadable, saving that store stays disabled on purpose, so nothing good
gets overwritten.Playing
Players cannot start a game
Players cannot start a game
Config.Game.startDistance, 50 m) and be out of their vehicle. Your
OpenHooks.CanPlay hooks may also block dead, cuffed or jailed players.
Unpublished courses can only be played solo by admins.Nearby players are missing in the invite list
Nearby players are missing in the invite list
/mginvite <server id> works without it.A player got the stroke limit although the ball dropped
A player got the stroke limit although the ball dropped
Config.AntiCheat.minRollMs, and the
tee-to-cup distance for a hole-in-one). Very short tap-ins on a laggy
connection can trip this; lower minRollMs if it happens often.Why was no reward paid?
Why was no reward paid?
Config.Economy.rewardCooldownMin), not for rounds faster than
minSecondsPerHole per hole, and the win reward only to a sole winner.The putter meets the ball too early or too late
The putter meets the ball too early or too late
/mgputter while you address a ball in a test, practice or
solo round, then add the printed lines to config.lua. See
Putting stance.The player keeps their weapon in hand
The player keeps their weapon in hand