aboutsummaryrefslogtreecommitdiff
path: root/mcwrapper
Commit message (Collapse)AuthorAge
* Add check if server is running by pidKarel Kočí2016-01-07
| | | | | | | This ensures that it is possible to start new process even when previous execution was terminated without cleaning files. Also prints warning if it detects existing file and no running process about forced process termination.
* Change verbose level for printing auto-shutdown messagesKarel Kočí2015-12-11
|
* Change way to set alternative configuration fileKarel Kočí2015-12-11
| | | | | | | Until now was configuration loaded when script was started. From now on will be loaded after argument parsing. This allows setting other than standard configuration files from command line. It was possible, but only by environment variable.
* Move some variable definitionsKarel Kočí2015-12-11
| | | | | Server specific variables are now defined on one place. Before they were defined on two separated places.
* Add automatic server shutdownKarel Kočí2015-12-11
| | | | | Wrapper can be set to stop server if no player is online for certain time.
* Fix write to status file of starting statusKarel Kočí2015-12-02
| | | | Previously no new line was written and so no output was written to file.
* Fix wrong file name definition for players fileKarel Kočí2015-12-02
|
* Fix wrong variable access and missing player setKarel Kočí2015-11-30
|
* Use atexit for server files cleaningKarel Kočí2015-11-30
|
* Fix config files loadingKarel Kočí2015-11-30
| | | | | Configuration wasn't loaded from some location, because it wasn't expanded from posix '~'.
* Support ~ in directory settingKarel Kočí2015-11-30
|
* Change configuration check to use if instead exceptionsKarel Kočí2015-11-15
|
* Allow configuration identifier overrideKarel Kočí2015-11-14
| | | | | | Before this change, if identifier was set in configuration no other identifier could be used. This way is identifier from configuration used only when no one is provided as argument.
* Remove actions from mcwrapperKarel Kočí2015-11-14
| | | | | | | Actions that would be send to server are useless when as same fast is possible write to file pipe. This way is code more clear and allows more expansions to the future. Also is consistent with planed Man in the middle server.
* Update README.mdKarel Kočí2015-11-07
| | | | | Also server configuration variable folder renamed to more precise directory.
* Add say message and player online trackingKarel Kočí2015-11-07
|
* Remove module support and remove some unused filesKarel Kočí2015-11-07
| | | | Module support would be for this script overkill.
* Implemented module version of mcwrapperKarel Kočí2015-09-03
| | | | | | | | | | | | | | | | | | | | mcwrapper functionality split to modules. This is basic implementation of modules handling. Two module types are recognized. For server and commands for mcwrapper cli interface. This way can be implemented different command and server features simply without modifying main script. Interface between main script and modules is defined using service lists. Service list informs main script what function should be called in module. More detailed description should be written to README.md file. Or even separated file describing module interface. In this commit are implemented five different modules. Players and status are server modules. They are used only if mcwrapper is running instance of Minecraft server. Modules say and list-modules are implementing mcwrapper actions. And last module argmodules is implementing mcwrapper argument. For modules usage also added utils.py. This contains shared usable code that is used even by main mcwrapper script.
* Initial commitKarel Kočí2015-08-10