Requirements
- A FiveM server with OneSync enabled (
onesync infinityrecommended). The resource declares a hard/onesyncdependency — it will not start without it. ox_libinstalled and started before this resource.
Steps
-
Drop the
nex_peacetimefolder into yourresources/directory. Any subfolder is fine, e.g.resources/[nex]/nex_peacetime/. -
Add both resources to your
server.cfg, in this order: -
Grant yourself admin access — see Configuration → Admin access. The quickest route is ACE:
-
Restart the server (or
ensure nex_peacetime).
Checking it worked
Run/ptmenu in-game. If you’re an admin, the menu opens. If you’re not, you get a permission notice and the server console prints your identifiers — paste one into Config.Admins in shared/config.lua and restart the resource.
From F8 you can also verify the resource state:
started.
Updating
shared/config.lua and shared/sv_config.lua are listed under escrow_ignore, so your settings and webhooks survive updates.
- Replace the resource files with the new version (keep your edited
shared/config.luaandshared/sv_config.lua). - Restart the resource:
restart nex_peacetime.
The resource checks for updates on start and prints a boxed notice in the server console when a newer version is published. It never downloads anything — updating is always manual.

