King Arthur's Gold

King Arthur's Gold

View Stats:
 This topic has been pinned, so it's probably important
Maz Jan 10, 2016 @ 5:40am
[HOW-TO] host a server
Locate your King Arthur's Gold folder
Right click King Arthur's Gold in your Steam library, click "Properties", select the "Local Files" tab and click "Browse Local Files"
OR
Go to your Steam installation folder -> steamapps -> common -> King Arthur's Gold

Set up your server
Open autoconfig.cfg and change variables. Here is a table of useful ones:
Variable
Comment
sv_name
Sets the name of the server
sv_gamemode
Sets the gamemode of the server (TTH, CTF, TDM, Sandbox)
sv_port
Sets the port of your server (UDP). Default is 50301
sv_password
Sets the password of your server
sv_maxplayers
Sets the max amount of players allowed in your server

Don't forget to port forward port 50301 (or your custom on if you changed it) UDP!

Running your server
Execute dedicatedserver.bat/.sh and press Play to run the server. It takes a minute for it to run, it's ready when it says something along the lines of "SERVER EMPTY - GAME PAUSED".

Connecting to your server
Open up your game and either fill in 127.0.0.1:50301 (replace 50301 with a different port if you changed it) in the "Connect To" tab or join via the server browser. Others should be able to join via the server browser.

Getting admin on your server
Open the Security folder and remove the .example extension from all(!) the files. Open up superadmin.cfg and add your name ending with a semicolon like this:
users = my_kag_username;
Note that this is not your steam nickname or username, but your KAG username. If you don't know what it is, join a server or solo game and look on the scoreboard in the "Username" row.
I don't recommend you to make anyone other than you yourself superadmin. If you wish to add admins open up admin.cfg and add names just like before seperated by a semicolon:
users = my_friend; good_admin; somedude;

Adding a mod to your server
I will not be going over making mods or fixing them, but if you have a working mod you open the Mods folder and paste all the mod's contents in a folder with that mod's name. After that open mods.cfg in your main King Arthur's Gold folder and write the name of the mod (folder) there.
Images for simplification:
My mods folder with the mod "CoolMod" I want to use: http://i.imgur.com/Ke0qEVi.png
My mods.cfg: http://i.imgur.com/6FrR1YL.png

Links

You can download mods on the official forum's resources section: https://forum.thd.vg/resources/
For further assistance ask the on official forum's help section: https://forum.thd.vg/forums/help.81/ (preferably - but here is also allowed obviously)

Cheers
Last edited by Maz; Jan 10, 2016 @ 6:04am
< >
Showing 1-15 of 45 comments
Toothless Head Jan 27, 2016 @ 3:29pm 
i found the folder but when i went to open it, my computer didnt recognize the file so it said. what would you like to run it with. im pretty sure notebook is the one but i need to know what the real one is. thank you
Maz Jan 27, 2016 @ 11:12pm 
Are you talking about autoconfig.cfg? Every text/code editor should work. Notepad, Notepad++, Sublime Text, Wordpad (not Word I think). All of those should work (although I don't recommend the latter)
Last edited by Maz; Jan 28, 2016 @ 4:33am
Toothless Head Jan 28, 2016 @ 12:09am 
yes when i click onautoconfig.cfg its doesnt recognize it
Toothless Head Jan 28, 2016 @ 12:10am 
insert space^
Toothless Head Jan 28, 2016 @ 12:23am 
ok i opend it in note pad ant its full of lots of code. i think its a log of everything i did last time i played. do i just put in the stuff underneath or clear it adn put it in
Maz Jan 28, 2016 @ 4:38am 
Originally posted by Toothless Head:
ok i opend it in note pad ant its full of lots of code. i think its a log of everything i did last time i played. do i just put in the stuff underneath or clear it adn put it in
Hope this clears things up: http://file.mazey.xyz/01-2016/28_13-36-02.gif
I'm opening KAG's Folder, opening autoconfig.cfg in my text editor, edit the server name and gamemode, start the server.
Toothless Head Jan 28, 2016 @ 4:58pm 
thank you
Happyyang Feb 8, 2016 @ 4:09am 
it only i can in other can't what problem is ?
Maz Feb 8, 2016 @ 4:24am 
Originally posted by Shanyangxia山羊:
it only i can in other can't what problem is ?
Incorrect port forwarding most likely.
Happyyang Feb 8, 2016 @ 9:03am 
Originally posted by Mazey:
Originally posted by Shanyangxia山羊:
it only i can in other can't what problem is ?
Incorrect port forwarding most likely.
and what i need to do to fix this?:steamsad:
Maz Feb 8, 2016 @ 9:41am 
port forward
Squigweed Feb 24, 2016 @ 3:05pm 
ok, i did all this up too the connection part, but i didnt go past the admin stuff. my game is apearing for other people browsing in the server browser but when they try to connect it says to check the adress and make sure the server is active. during that time i am IN my server waiting for players. can someone please explain this too me?
Maz Feb 24, 2016 @ 4:10pm 
Originally posted by OceanPuddles:
ok, i did all this up too the connection part, but i didnt go past the admin stuff. my game is apearing for other people browsing in the server browser but when they try to connect it says to check the adress and make sure the server is active. during that time i am IN my server waiting for players. can someone please explain this too me?
Are you sure you didn't change any variables in gamemode.cfg like sv_ip? Maybe it's a port forwarding issue (although I don't think it should show up in the server browser if that's the problem).
What exactly does it log in your server console when someone tries to connect?
Last edited by Maz; Feb 24, 2016 @ 4:10pm
Squigweed Feb 24, 2016 @ 4:50pm 
all i changed was the name to be easier to find. left the rest alone, made sure my windows firewall wasnt blocking anything KAG related, its all open. not quite sure what you mean by port forwarding everyone keeps mentioning. whenever someone finds my server and tries to connect it says CONNECTION FAILED PLEASE CHECK THE ADDRESS AND AMKE SURE THE SERVER IS RUNNING. i assume its running while im IN it, even the command console for the server says ive joined it and it pauses when i leave like normal.
Maz Feb 25, 2016 @ 5:10am 
Originally posted by OceanPuddles:
all i changed was the name to be easier to find. left the rest alone, made sure my windows firewall wasnt blocking anything KAG related, its all open. not quite sure what you mean by port forwarding everyone keeps mentioning. whenever someone finds my server and tries to connect it says CONNECTION FAILED PLEASE CHECK THE ADDRESS AND AMKE SURE THE SERVER IS RUNNING. i assume its running while im IN it, even the command console for the server says ive joined it and it pauses when i leave like normal.
Port forwarding means opening a port on your router, that allows people to connect through it. Google it. Without port forwarding port 50301 no one will be able to connect
< >
Showing 1-15 of 45 comments
Per page: 1530 50