[Help] setting server tags

Hey guys so recently just got done my fivem server and I’ve been trying to set my server tags so that ppl can find my server easier but I’m having a bit of a problem ik your supposed to be able to do it in the server cfg which I have done but still nothing works idc if I’m supposed to set the tags up with the colors or not to get them to work but I’m not sure I’m using txadmin through digital ocean on linux if that makes a difference if anyone could help me put the finish touch on my server that would be amazing thanks as always!

Snippet from my server.cfg, i have this directly above where the mods are loaded.

sets tags "fun, onesync, madkiwi"
sets locale "en-CA" 
sets banner_detail "https://madkiwi.ca/img/paserversmixer.png"
sets banner_connecting "https://madkiwi.ca/img/paserversmixer.png"

you CAN set them via script using an execute command,


ExecuteCommand(commandString: string);

but if you do that ensure the script has the abilit to run server commands using

add_ace resource.NAMEOFRESOURCE command allow
add_ace resource.NAMEOFRESOURCE command.quit deny

hope that helps!

1 Like

I’m guessing I also put the command in the cfg as well and thanks bro I’ll give this a try later

the executecommand would only work in a lua script or other such situation, the tags themselves are best done in the server config. i was simply providing an example of how they COULD be done using lua, not just in the server cfg.

usethe server.cfg method, it’s simpler, you really only need to ensure this is in the cfg.
set tags "my, tags, go, here"
glad i could help!

well I did it the server.cfg way and it still didnt work so ill have to try it the other way

so I will have to set up the tags in a lua script with your string command but not sure what else to wright up in the script after that line

So I have tried it both ways with the script and in the cfg and neither way works not sure what to try next cuz I really need help on this

OK, well lets just assume that it’s the server config.
( and if you are trying to set tags using a script as well, STOP. only use 1 method of setting them, or you’ll just confuse yourself )
guaranteed it’s how you’re implementing it.
this is how it should look in the server config

# A comma-separated list of tags for your server.
# For example:
# - sets tags "drifting, cars, racing"
# Or:
# - sets tags "roleplay, military, tanks"
sets tags "default"

^^ if your set tags doesnt look like this, there’s something wrong, if it does…
the tags are not the problem.

Ok I’ll give it a try and let you know thanks again bro

server.cfg

fivem server

idk man Ive tried everything and ive done this kinda thing before and it worked then when I had another project and idk why it dosnt want to work now. sorry about all the bs over a simple tags issue like this

the ONLY thing i could see there that might cause issues is the spaces in tags…
other than that, i can’t imagine why it isnt working… it’s definately odd,
consider removing them one by one seeing if any one of the tags is the problem…