[Release] Tag for Admin V1.0 & V2.0| Over-The-Head

admins
tag

#21

i found the problem
it was because of a thing i deleted


#22

UPDATED V2.0

I decided to make a new version, where it is possible to add super administrators, administrators, moderators, helpers with a tag also, without being just the admin tag. The names are optional is just an example, being more specific I created the possibility of adding tags to other ranks as well.

Download

Ace Premissions Version: tag_Ace.rar (3.4 KB)

SteamID or License Premissions Version: tag_steamid.rar (3.6 KB)

ESX Premissions Version: tag_esx.rar (3.7 KB)

Made for the 3 versions, explained below how to install :sunglasses:

Installing Ace Version Premissions

  1. Drag the resource “tag_Ace” to your server resource folder.

  2. Add this line to your server.cfg file: “start tag_Ace”

  3. Add your Admins rank by steamid or license to you server “server.cfg”:

add_ace group.superadmin tagsuperadmin allow	                 # allow tag for superadmins
add_ace group.admin tagadmin allow	                 # allow tag for admins
add_ace group.moderator tagmod allow	                 # allow all tag for moderators
add_ace group.helper taghelper allow	                 # allow all commands for helpers
add_principal identifier.steam:110000105c4d991 group.superadmin # add the superadmin to the group
add_principal identifier.steam:110000103e83831 group.admin # add the admin to the group
  1. Start your server!

Installing SteamID or License Version Premissions

  1. Drag the resource “tag_steamid” to your server resource folder.

  2. Add this line to your server.cfg file: “start tag_steamid”

  3. Add your Admins by ranks steamid or license to “config.lua”:

superadmins = {
   'steam:110000105c4d991',
   'license:d37422e2e3892d1e811f0bc1049128b482ebf985',
}

admins = {
}

mods = {
}

helpers = {
}
  1. Start your server!

Installing ESX Version Premissions

  1. Drag the resource “tag_steamid” to your server resource folder.

  2. Add this line to your server.cfg file: “start tag_steamid”

  3. Add your Admins steamid or license to “config.lua”:

WARNING: In the ESX version , some ranks / groups may not match those of your server, so be sure to check the “server.lua” file on the lines: 23, 31, 39, 47, 63, 72, 81, 90, 201, 221, 241, 261.
And change to the name corresponding to each rank of your server.

It may look like this:

local grupos = getIdentity(source)
    if grupos.group == 'helper' then

Change the ‘superadmin’, ‘admin’, ‘mod’, ‘helper’ , to your server ranks name!

Detailed Suport:

My Discord

ScreensShots

YO


Thanks to:

@Evolyck for testing.


#23

If I add the hex on this website https://www.rapidtables.com/convert/number/hex-to-decimal.html will the decimal be the license?


#24

Forget what i said you before
Follow is instructions, connect to a server and go to serverip:port/players.json and grab it from there!


#25

I joined the server what button do i press to pull up players.json


#26

Now go to the browser and go to serverip:port/players.json

My server IP and port is 54.38.166.28:30120
So it should be http://54.38.166.28:30120/players.json


#27

Where is the browser


#28

Browser = Search engine
Sorry the bad english


#29

Can I give u a kiss? <3


#30

How do we change the color of every rank like for helper i want yellow but for superadmin i want red


#32

Awesome release man! :slight_smile:


#33

you manage to do it?
Maybe i will release a update where you can change the colour in the config of each rank


#34

yea would be great
20 charffdf


#35

why did I get tagged here?


#36

it doesn’t work more than 10 players


#37

Already finde the fix! Thanks for reporting!
Later i will post the fix !


#38

Hi I love this mod but how can I turn it off for the times I’m not active admin I could not find that out I did /tag and it did not work is that a setting I need to change and if so what is it thx


#39

BUG FIX:

  • The tag works with more then 10 players (works with the full server, 32 players) (All versions fixed)

If you dont want to download the fixed version and if you already made changes in your script, you can fix it yourself:

  1. Find in the client.lua the lines:
if string.sub(l,i,i) == tostring(GetPlayerServerId(id)) then
  1. And change all lines with:
if l == tostring(GetPlayerServerId(id)) then
  • The command /tag to hide the tag works in all versions(All versions fixed) @cv-pro

#40

Whitch one is the fixed one ?


#41

All versions fixed :grinning: