piqueserver icon indicating copy to clipboard operation
piqueserver copied to clipboard

Several instances running from the same directory will overwrite each others files

Open NotAFile opened this issue 8 years ago • 3 comments

This is important for the logs and even more important for the bans.txt file.

NotAFile avatar Sep 02 '17 23:09 NotAFile

The solution I've thought of: give each configuration a name e.g. "default" or "aloha-arena-1" and then use that in the filenames. But that's not really pretty either. Especially since the config file names and server names might not match. And extracting it from the file name does not work either, unless you'd like to have a server called "config"

NotAFile avatar Dec 12 '17 05:12 NotAFile

What's stopping users from using separate config directories for each instance? piqueserver -d config1, piqueserver -d config2, etc.

Note: if we move to appdirs, then we will definitely need a system to separate instances.

I also think there was a previous suggestion about allowing to configure paths/names of log/ban/etc. files from the config.toml

samuelallan72 avatar May 18 '19 05:05 samuelallan72

This is possible, but then you need to use symlinks if you want to share things like scripts, game modes and maps between instances. That's why I think, ideally, you'd be able to run multiple servers from one directory.

NotAFile avatar May 18 '19 13:05 NotAFile