Raised This Month: $ Target: $400
 0% 

How can i change the servers name and the server tags ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rosl
Junior Member
Join Date: Jul 2016
Old 07-28-2016 , 16:40   How can i change the servers name and the server tags ?
Reply With Quote #1

Hello,

I have just one question: How can i change the servers name and the server tags.
Edit: I ve already tried to create a server.cfg with the hostname and the tags but the server wont change them.

I hope someone will help me soon.

THX Rosl

Last edited by Rosl; 07-28-2016 at 17:04.
Rosl is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 07-28-2016 , 17:39   Re: How can i change the servers name and the server tags ?
Reply With Quote #2

That's all you have to do, set those values correctly in the server.cfg.
Give us your server.cfg and use the proper code tag or use a pastebin link, and please omit your passwords.
Maxximou5 is offline
Rosl
Junior Member
Join Date: Jul 2016
Old 07-28-2016 , 17:51   Re: How can i change the servers name and the server tags ?
Reply With Quote #3

ok so now here is my simple and minimalistic server.cfg:

hostname "[GER] Knife Server Oberpfalz"
sv_tags "knife,35hp,oberpfalz,eXo,ger,"
sv_password "xxx"
rcon_password "xxx"

host_players_show 2

log on
log "1"

sv_cheats 0
sv_pure 1

writeid
writeip
exec banned_user.cfg
exec banned_ip.cfg

THX Rosl
Rosl is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 07-28-2016 , 18:04   Re: How can i change the servers name and the server tags ?
Reply With Quote #4

The only thing to change would be removing the comma in sv_tags at the end; otherwise, everything looks fine.
Code:
hostname "[GER] Knife Server Oberpfalz"
sv_tags "knife,35hp,oberpfalz,eXo,ger"
sv_password "xxx"
rcon_password "xxx"

host_players_show 2

log on
log "1"

sv_cheats 0
sv_pure 1

writeid
writeip
exec banned_user.cfg
exec banned_ip.cfg
What are the tags and hostname that the server says? Use rcon or sm_rcon and give us the output.
P.s. use [ code] content here [ /code] without the spaces in after the [ to format it like above, it's easier to read.
Maxximou5 is offline
Rosl
Junior Member
Join Date: Jul 2016
Old 07-28-2016 , 18:16   Re: How can i change the servers name and the server tags ?
Reply With Quote #5

ok, firts thanks for the fast reply, but at the moment i dont understand what you mean with your last sentence and i dont understand where i have to put in the command sm_rcon.

THX Rosl

Edit: In the console it puts out this code "[SM] Usage: sm_rcon <args>"

Edit #2: When i start the server in the server console is standing "couldnīt exec server.cfg"

Last edited by Rosl; 07-28-2016 at 18:27.
Rosl is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 07-28-2016 , 18:36   Re: How can i change the servers name and the server tags ?
Reply With Quote #6

In console you would do:
sm_rcon hostname
The server would reply with:
"hostname" = "THIS IS SOME RANDOM HOSTNAME"

Seeing as your server stated it couldn't execute server.cfg, means that the server.cfg doesn't exist.
Make sure:
1) It is located in the /cfg folder of your game server
2) The file has the proper extension, .cfg and not .cfg.txt or some other random name

You can give us a screenshot so we can make sure.
Maxximou5 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode