Skip to content

3. Adding Admins

Blue edited this page Dec 9, 2017 · 15 revisions

Adding Admins

You can add Admins to EasyAdmin using 3 ways, 2 of them use the legacy "admin file" method, the other one uses a function that comes with FiveM.

Using ACE

ACE uses your server config file or commands to add / remove admins and set permissions, here is an example:

add_ace group.admin command allow	                 # allow all commands for admins

add_ace group.moderator command allow 			 # allow all commands for moderators
add_ace group.moderator command.ban deny		 # disallow banning tho
add_ace group.moderator command.unban deny		 # also disallow unbanning


add_principal identifier.ip:127.0.0.1 group.moderator	# add a user to the moderator group, any identifier works this way.

these commands can also used while ingame, but may not apply until the client that was added reconnects, setting permissions while the server is running works without any delay.

( Legacy ) Using the admins.txt file

Adding yourself as an administrator here is fairly simple, add your identifier as a new line like this:

steam:aabbccceeeddd
license:examplelicence
ip:127.0.0.1
Clone this wiki locally