• Server Tags in Server Name
    5 replies, posted
Hello, When I see my server in the mutiplayer list or favorites list in Garry's Mod, it shows the server tags in the server name. I have tried forcing the tags using sv_tags "", I have tried my own tags and the ones that won't go away. But still the tags are in my server's name and makes it look unprofessional. Here is my server.cfg: [code] // settings hostname "Hammersley Serious DarkRP | FastDL| WIREsvn | MadCows 3.0 | DurgzMod |" rcon_password "***MY RCON PW***" sv_tags "" sv_region 5 sv_lan 0 sv_logbans 0 sv_logecho 0 sv_logfile 1 sv_log_onefile 0 sv_noclipspeed 5 sv_noclipaccelerate 5 sv_scriptenforcer 1 mp_falldamage 1 ip 202.157.178.115:5100 // loading sv_loadingurl "***MY URL***" // downloading sv_allowdownload "1" sv_allowupload "0" sv_downloadurl "***MY URL***" // features sbox_allownpcs 1 sbox_godmode 0 sbox_plpldamage 0 sbox_playergod 0 sbox_noclip 0 // limits sbox_maxprops 30 sbox_maxragdolls 0 sbox_maxnpcs 0 sbox_maxballoons 0 sbox_maxeffects 0 sbox_maxdynamite 0 sbox_maxlamps 0 sbox_maxthrusters 0 sbox_maxwheels 0 sbox_maxhoverballs 0 sbox_maxvehicles 0 sbox_maxbuttons 5 sbox_maxsents 0 sbox_maxemitters 0 sbox_maxspawners 0 sbox_maxturrets 0 // rates sv_minrate 0 sv_maxrate 20000 decalfrequency 10 sv_maxupdaterate 66 sv_minupdaterate 10 net_maxfilesize 60000 //DarkRP Toggle Commands rp_AdminsSpawnWithCopWeapons "1" rp_adminsents "1" rp_adminsweps "1" rp_advertisements "1" rp_allowedprops "1" rp_allowrpnames "1" rp_allowvehiclenocollide "0" rp_alltalk "0" rp_babygod "0" rp_bannedprops "1" rp_chiefjailpos "0" rp_citpropertytax "0" rp_copscanunfreeze "1" rp_customjobs "1" rp_customspawns "1" rp_deathblack "0" rp_dm_autokick "0" rp_doorwarrants "1" rp_dropmoneyondeath "1" rp_dynamicvoiceradius "0" rp_earthquakes "0" rp_enablebuypistol "1" rp_enablemayorsetsalary "0" rp_enableshipments "1" rp_enforcemodels "1" rp_globaltags "0" rp_ironshoot "1" rp_letters "1" rp_license "0" rp_logging "1" rp_lottery "1" rp_needwantedforarrest "0" rp_noguns "0" rp_norespawn "0" rp_occ "1" rp_physgun "1" rp_pocket "1" rp_propertytax "1" rp_proppaying "0" rp_propspawning "1" rp_removeclassitems "1" rp_restrictallteams "0" rp_restrictbuypistol "1" rp_restrictdrop "1" rp_showcrosshairs "1" rp_showdeaths "1" rp_showjob "0" rp_showname "1" rp_strictsuicide "1" rp_telefromjail "1" rp_teletojail "1" rp_toolgun "1" rp_voiceradius "1" // DarkRP Value Commands rp_ammopistolcost "50" rp_ammoriflecost "60" rp_ammoshotguncost "70" rp_arrestspeed "120" rp_babygodtime "0" rp_deathfee "50" rp_demotetime "60" rp_dm_gracetime "0" rp_dm_maxkills "0" rp_doorcost "28" rp_healthcost "50" rp_jailtimer "400" rp_lotterycommitcost "50" rp_maxcopsalary "75" rp_maxdrugs "4" rp_maxfoods "4" rp_maxletters "5" rp_maxmayorsetsalary "75" rp_maxnormalsalary "45" rp_maxvehicles "2" rp_microwavefoodcost "40" rp_normalsalary "45" rp_npckillpay "10" rp_paydelay "180" rp_pocketitems "6" rp_printamount "250" rp_propcost "0" rp_quakechance_1_in "0" rp_respawntime "2" rp_runspeed "350" rp_searchtime "180" rp_vehiclecost "100" rp_walkspeed "250" rp_wantedtime "160" [/code]
Find "sv_tags" in all Lua files that you have and remove the line, beware that it might break something, so check the other code in the script.
Okay, I can understand that. That is proving to be very difficult, how would I find the one for scriptenforcer and garrysmod110? Surely every server is not going through this problem, I am using FastDL/sv_downloadurl, could that be a problem? Here are the tags that are there: [code] garrysmod110,gm:DarkRP,scriptenforcer [/code] --- EDIT --- I have done some playing around and have found the solution. It appears that the hostname (Server Name) is limited to approximately 63 characters before the server tags are added. It has worked for me, I have shortened my server name to be 63 or less than it there are no troubles. I do not have to search frantically through LUA files.
I've always wondered this - why do you put the hostname as that line of tags instead of "Hammersley Serious DarkRP"? Why not put them in tags or something, where people see them and you keep the hostname clean?
It shows tags in your server's name because you've written them in the server's name (hostname variable).
[QUOTE=nikomo;26988168]It shows tags in your server's name because you've written them in the server's name (hostname variable).[/QUOTE] No that is not correct. The ones that I have written in the hostname are not the ones that are displayed. It is like this Server.cfg [code] hostname "Hammersley Serious DarkRP | FastDL | Wire | Durgz | MadCows 3.0" sv_tags "" [/code] Server tags - auto generated [code] garrysmod110,gm:DarkRP,scriptenforcer [/code] I tested it, when the host name exceeds 63 characters it adds the auto generated tags to the server name, but the hostname in the server.cfg doesn't change. But when you look at it in the garrysmod multiplayer tab the server looks like this: [code] Hammersley Serious DarkRP | FastDL | Wire | Durgz | MadCows 3.0garrysmod110,gm:DarkRP,scriptenforcer [/code]
Sorry, you need to Log In to post a reply to this thread.