Installation - SGTGunner/FiveM-AdministrationPanel GitHub Wiki
- MySQL Server
- PHP 7 or Newer
- BCMath Ext
- CURL Ext
- FOPEN URL Enabled
- Steam API Key
- Ability to run Cron Jobs
- Outgoing Ports (30120 / Server Port)
Manual Installation
- Upload the web files to your web server.
- Edit your
config.php
and enter all the appropriate fields. - Setup a Cron job to run
http://yoururl.com/api/cron
every minute. (This adds 1 minute to the playing time if they're online)
- Drag the
staff
folder into your resource folder. - Add
start staff
in your server.cfg - Edit
server.lua
and replacewebsite
with your website in the format provided. - Ensure you have RCON setup.
Website
- The CSS files aren't loading and it looks like it's from the 90's.
- Ensure your
domainname
variable inconfig.php
is correct.- Most times people miss the protocol (HTTP/HTTPS) and or a slash at the end.
- Ensure your
- When I kick/warn/ban people it says to fill out all the fields.
- Ensure your Cron job is running.
- It is returning a 500 error
- Most commonly it is an issue with an outgoing port being blocked so it can't check if your server is online or get any players.json/info.json files.
- When I log in I only see a few tabs on the left.
- You most likely didn't import the SQL file or the permissions for that group are messed up.
- It says 'please fill out all required fields' when trying to warn, kick, or ban.
- This is caused by the database not having the players license pulled. This can be caused by a broken database but most commonly a CRON job that isn't set up correctly.
- When joining it gets stuck on checking player information.
- This is caused by the FiveM resource not getting a response. Commonly it could just be an HTTP error or the web server isn't able to take incoming requests.
- For errors not listed join our Discord for assistance.
FiveM Resource
-
Couldn't load resource staff
- Clear your server cache and restart.
- For errors not listed join our Discord for assistance.