Dev Servers
Every lifetime license comes with a dev server. It is a separate sandbox server where you can try out your XeroShield configuration before you use it on your live server.
What you get
- Configuration, admins, bans and logs, just like on production
- At most 6 players
Switch between production and dev
Open the menu at the top left of the dashboard, next to the XeroShield logo, and pick Dev Servers. While you are in dev mode, a bar at the top of the screen shows that you are changing your dev server.
Set up the dev server
- Switch to Dev Servers and open your dev server
- Download the resource from the dev server's page
- Install the resource on a separate FiveM server, the same way as in Resource Setup
- Set the player slots in your server.cfg (see below)
- Start the server and check the console for successful authentication
Player slots in your server.cfg:
sv_maxclients 6
Dev servers need the latest XeroShield build. Older builds can't authenticate with a dev server key, so always download the resource again from the panel.
Player limit
- sv_maxclients must be 6 or lower. If it is higher, XeroShield does not start on the dev server and prints a warning in the console.
- Players above the limit are rejected. The 7th player can't join the dev server.
Move configuration between servers
Use the fork buttons on the Configuration page:
- Fork from dev on the production server copies the dev configuration to production
- Fork from production on the dev server copies the production configuration to the dev server
Before you fork, click Show diff to see every setting that will change. Webhooks are only copied if you tick Include webhooks. If the two configurations are the same, there is nothing to fork.
Admins
Admins of your production server don't get access to the dev server automatically. Add them on the dev server's Admins page.
Good to know
- Lifetime only. Timed licenses don't include a dev server. If you expand a server with a lifetime license, its dev server is created right away.
- Shared blacklist. If your production server is blacklisted, the dev server is blacklisted too.
- Deleted together. If the production server is deleted, its dev server is deleted as well.