py-mine / PyMine-Server

A fast and easy to use, moddable, Python based Minecraft server!
GNU General Public License v3.0
173 stars 38 forks source link

Config cleanup #306

Open Sh-wayz opened 3 years ago

Sh-wayz commented 3 years ago

Feature

Reason

BodilessSleeper commented 3 years ago

I'd like to help out but I'm not too familiar with creating servers or Minecraft, and this is what I think how categories should look:

Pls correct me if I'm wrong (which I probably am) I'd also suggest changing the location of configs (and addition of a default .yaml file) to at least be in the same directory as main if not in the same directory as the startserver scripts, so that users don't have to dig for it (this requires a change in config.py though, to go one or two directories up which can be solved using something like this https://stackoverflow.com/questions/4381569/python-os-module-open-file-above-current-directory-with-relative-path)

456dev commented 3 years ago

additonally i think that it should parse arguments for the location etc image like the java equivilant does

Iapetus-11 commented 3 years ago

There's a couple issues with this, the PyYAML package doesn't support having ordered dictionary entries, and the server.yml is already in the parent directory? image