Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to turn off appending '@ <City name>' to server name #81

Open
k0dat opened this issue Mar 11, 2023 · 4 comments
Open

Option to turn off appending '@ <City name>' to server name #81

k0dat opened this issue Mar 11, 2023 · 4 comments

Comments

@k0dat
Copy link

k0dat commented Mar 11, 2023

Not really a big deal, but my personal preference is not to have '@ ' automatically appended to the end of the server name. So perhaps '' or similar could be an optional special string that can be inserted into ServerName and your script does a search and replace on it?

Anyway, like I said not a big deal. For now, I've simply commented out the call to add_geoip.

@bviktor
Copy link
Collaborator

bviktor commented Mar 12, 2023

I'm not sure I'm following you. You want to replace the @ separator with something else, or you want to omit the city part altogether? The @ makes sense since it means "at", your server is "at" city x, so that's why it's the @ symbol, for the record.

In any case, the tricky part here is that killinuxfloor itself doesn't have a config file. All the configs are about KF2.

I'm not a fan of the current config structure btw, especially since there's at least 3 different formats involved, csv, ini, conf... I'd much prefer a single JSON or something. But that's not very friendly to edit, so while we're at it, it'd be great to have some graphical tool to edit it. But that can't be ran on the server, so then we'd have to move to some sort of client-server architecture...

All of which I do want to do eventually, but as you can see, it goes a long way :D

@k0dat
Copy link
Author

k0dat commented Mar 13, 2023

Sorry, yes I meant omit the city entirely. I already put country in the server name, so personally don't feel it's necessary to have city as well. Plus geo IP databases aren't 100% accurate. My home IP address comes up as a city in a different state and I've heard of IP addresses being associated with an entirely different countries.

Understood regarding lack of a specific klf config file. The current setup isn't too bad at all with the KF2 config files. I'm finding it a lot more convenient keeping track of changes in the smaller files than previously I was editing the huge KF2 server engine and game INI files.

Anyway, thanks for creating klf! I was previously running my KF2 servers on an old Windows box on my home network until they started getting DDOSed and I shut it them down. I'd been putting off setting them up again 'properly' on a Linux VPS, but was dreading doing as I'm my brief Linux command line experience is from 20 years ago, and all I could recall is simple commands, such as cd, ls.

So I bit the bullet over the weekend and set my servers up again. It's just being able to run the klf install script and having a KF2 server up-and-running without worrying about doing essential things like DDOS protection, replacing old Steam libraries for the workshop, setting up KF2 as a service, etc.

I've written notes on all the steps to get Fedora server running with klf and setting up NGINX as a reverse proxy for webadmin, Certbot, plus a bunch of other bits and pieces. Reviewing those notes, I think they could be turned into a tutorial for Windows users like me that want to get KF2 server up and running on a Linux VPS.

@Tommy-Hill
Copy link

Question K0dat, where did you find the add_geoip section? I would also like to comment it out, but I do not know where it is located in the files.

@k0dat
Copy link
Author

k0dat commented Aug 18, 2023

@Tommy-Hill - It's in the killinuxfloor, which can be found in /home/steam/killinuxfloor/share/

Then find the regen_config function add comment out add_geoip in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants