Installation - SGTGunner/FiveM-AdministrationPanel GitHub Wiki

Requirements

  • 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)

Website Installation

Manual Installation

  1. Upload the web files to your web server.
  2. Edit your config.php and enter all the appropriate fields.
  3. 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)

FiveM Installation

  1. Drag the staff folder into your resource folder.
  2. Add start staff in your server.cfg
  3. Edit server.lua and replace website with your website in the format provided.
  4. Ensure you have RCON setup.

Troubleshooting

Website

  • The CSS files aren't loading and it looks like it's from the 90's.
    • Ensure your domainname variable in config.php is correct.
      • Most times people miss the protocol (HTTP/HTTPS) and or a slash at the end.
  • 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.
⚠️ **GitHub.com Fallback** ⚠️