Installing EasyAdmin¶
Requirements¶
EasyAdmin requires an up-to-date yarn
resource from cfx-server-data, if your yarn is outdated you will get build errors.
Installation¶
Download the latest source code from here
Extract the EasyAdmin-version folder onto your workspace, rename the folder to EasyAdmin
and upload it to your FiveM Server's resources
folder using FTP, then follow the rest of the Guide.
First, we install the required packages using our preferred package manager, you will need the following packages:
1 |
|
Once these packages are installed, cd
into your server's resources
folder and run the following bash script:
1 2 3 4 5 6 |
|
This script can also be used to update EasyAdmin, however, reading changelogs is always recommended.
Download the latest source code from here
Extract the EasyAdmin-version folder into your resources, then rename the folder to EasyAdmin
.
If you are using txAdmin, then please follow the "Manually (FTP)" or "Manually on Linux (CLI)" Guides.
Open the "Resources" tab in your ZAP-Hosting Dashboard, search for EasyAdmin and click the install button.
Getting Started¶
To get started with EasyAdmin, copypaste this template into your server.cfg
file and restart your server.
1 2 3 4 |
|
All available configuration options can be found here.
To configure a key to open EasyAdmin with, see Keybind.
Adding an Admin¶
You can use this template to fill out your desired Values
1 |
|
You can use any Identifier available in FiveM for this, however, in this example we will describe how to use your Steam ID.
After installing EasyAdmin, start EasyAdmin and join your Server, once you are connected enter ea_printIdentifiers 1
in your Server Console, 1 represents your ingame ID, so make sure you use the correct id, EasyAdmin will then print a list of your identifiers:
we can now fill out the value described above, it will look like this:
1 |
|
To use Steam IDs as an identifier, a Steam WebAPIKey needs to be set up. Follow this guide to create one.
You can also use other identifiers, as EasyAdmin is not specifically limited to SteamIDs, all available identifiers can be used, such as discord
, xbl
or license
, to name a few examples.
Note: This only works for ZAP-Hosting's FiveM Windows or Linux Server see the "Manually" Tab for txAdmin
Enter your Steam ID (64, not Hex) in the Settings Page under Admins, add a new line for each SteamId.
EasyAdmin ships with a Discord Permission implementation by default, to use this, the Discord Bot has to be configured.
Once the bot has been configured, follow this guide to set it up.