-
Notifications
You must be signed in to change notification settings - Fork 157
1. Configuring EasyAdmin
Configuration of EasyAdmin is done via convars, these can be set via your server config file or by typing it as a command inside your servers' console ( this method may not always work with EasyAdmin and the settings will reset after the server has been restarted. )
setr ea_LanguageName "en" # set our language to english
setr ea_MenuButton "289" # set our menu button to F2. default: "289"
setr ea_alwaysShowButtons "false" # we don't want to see buttons we can't even access, do we? default: "false"
set ea_moderationNotification "false" # this can be either "false" or a discord webhook address, this will send a discord message if an admin takes actions against a player ( such as banning and kicking )
set ea_custombanlist "false" # read docs for this, dont touch it
set ea_enableCallAdminCommand "true"
set ea_enableReportCommand "true"
The Minimum Amount of Identifiers that have to match before a Player gets "Declined" for being banned.
NEVER PUT THIS BELOW 1
This Convars dictates in which language EasyAdmin is displayed ( this includes but is not limited to GUI, Kick Messages, Reasons, Hud Elements.. ) Current Available options are:
en,de,fr,it,sv,pt
This Dictates which Key opens the EasyAdmin GUI, default is "289" ( F2 ), you can view available controls in the FiveM Wiki
This convar was mainly used for debugging features, it enables all buttons to be viewed, however, this will not allow people that do not have high enough permissions to use any of them, it just shows their options.
This Convar is Documented Here
This Convar enabled a lot of Debugging prints in the Server Logs.
This Convar is your friend, if you cannot open the menu and get no errors, its very likely a permission issue, you can use enableDebugging to view your permissions when you join the server.
Enables custom Banlist systems, see https://github.com/Bluethefurry/EasyAdmin/wiki/7.-Custom-Banlist-Plugins for further documentation
setr ea_screenshoturl "https://wew.wtf/upload.php"
Defines an Image Uploader for the created Screenshots, make sure ea_screenshotfield
is also configured correctly.
Defines the name for the form field to add the file to. See screenshot-basic for further information.
Defines any arguments that should be passed through to screenshot-basic as a JSON String. See screenshot-basic for further information.
Enables "calladmin" command, will print a message via webhook.
Enables "report" command, see below for additional configuration. Will "Report" a Player and kick it after they have been reported x times
Minimum Reports to Ban someone below ea_MinReportPlayers Threshold, if ea_MinReportModifierEnabled, this is the amount always needed for a player to be banned.
Allows "Variable" Minimum Report Count, Will Divide Current Player Count by ea_MinReportModifier.
Minimum Amount of Players for the "Report Modifier" to enable, would not recommend setting below this number.
Amount by which Player Count gets divided to get "minimum reports needed" count, so if 12 Players are on the server and this value is 4, 12/4= 3 Reports
Ban Time in unix time, how long the temporary ban should last after getting reported by x users