i found the problem
it was because of a thing i deleted
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
Made for the 3 versions, explained below how to install
Installing Ace Version Premissions
-
Drag the resource “tag_Ace” to your server resource folder.
-
Add this line to your server.cfg file: “start tag_Ace”
-
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
- Start your server!
Installing SteamID or License Version Premissions
-
Drag the resource “tag_steamid” to your server resource folder.
-
Add this line to your server.cfg file: “start tag_steamid”
-
Add your Admins by ranks steamid or license to “config.lua”:
superadmins = {
'steam:110000105c4d991',
'license:d37422e2e3892d1e811f0bc1049128b482ebf985',
}
admins = {
}
mods = {
}
helpers = {
}
- Start your server!
Installing ESX Version Premissions
-
Drag the resource “tag_steamid” to your server resource folder.
-
Add this line to your server.cfg file: “start tag_steamid”
-
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:
ScreensShots
Thanks to:
@Evolyck for testing.
If I add the hex on this website https://www.rapidtables.com/convert/number/hex-to-decimal.html will the decimal be the license?
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!
I joined the server what button do i press to pull up players.json
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
Where is the browser
Browser = Search engine
Sorry the bad english
Can I give u a kiss? <3
How do we change the color of every rank like for helper i want yellow but for superadmin i want red
Awesome release man!
you manage to do it?
Maybe i will release a update where you can change the colour in the config of each rank
yea would be great
20 charffdf
why did I get tagged here?
it doesn’t work more than 10 players
Already finde the fix! Thanks for reporting!
Later i will post the fix !
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
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:
- Find in the client.lua the lines:
if string.sub(l,i,i) == tostring(GetPlayerServerId(id)) then
- 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
Whitch one is the fixed one ?
All versions fixed