aboutsummaryrefslogtreecommitdiff
path: root/mcwrapper
Commit message (Collapse)AuthorAge
* Fix for player names with spaces and exit errorKarel Kočí2017-01-10
|
* Split status and players to separate classesKarel Kočí2016-10-30
|
* Load mod file every time new message is going to be printedKarel Kočí2016-10-23
|
* Handle missing mod fileKarel Kočí2016-10-23
|
* Add message of the day featureKarel Kočí2016-10-23
|
* Fix execution without commandKarel Kočí2016-03-31
| | | | | When no command is specified, help is printed but execution was continuing. This is now fixed.
* Setting up Python packageKarel Kočí2016-03-31
| | | | | Adding support for installing using pip. This will be default way to install mcwrapper.
* Removing configuration files and moreKarel Kočí2016-03-30
| | | | | | | Such small application doesn't requires configuration files. Originally intended for more expansion, but now those features are developed separately. This is not indented as simple SystemD friendly wrapper simple as possible.
* Add Travis status image and fix .travis.ymlKarel Kočí2016-03-09
| | | | | In travis configuration was missing some programs for testing. Also fix problems reported by style check.
* Cleaner output, input and output thread runs as daemonsKarel Kočí2016-03-07
| | | | | | | | | | Output printing is now more standardized across script and allows defined Minecraft server like output. Input and output thread for server is now implemented more simple as daemons and wrapper exit is handled by waiting for server exit. Example configuration is little bit changed. It adds type information for all options. Vim configuration line added for both files (mcwrapper and example.conf).
* Fix exception when writing to input pipeKarel Kočí2016-01-08
|
* Fix exit hangup when timeout enabledKarel Kočí2016-01-08
|
* Change documentation and add configfile argumentKarel Kočí2016-01-08
| | | | | | | | | | | | Configuration options are from previous commit documented directly in example configuration file. So they don't have to be documented in readme. New argument configfile was added because if user uses default paths for configuration files, it can be sometime unclear what file was used. This prints path to used file. Also as small feature, if no identifier is specified as argument neither in configuration file help text is printed.
* Change conf format and add multiple servers supportKarel Kočí2016-01-08
| | | | | | | | | | | | | This commit changes format of configuration files. It should now contains classes that represents different Minecraft servers. Minecraft server handling functionality implemented across whole mcwrapper script is now in one class MCServer. Instancing this class initializes new server and such server can be started and stopped on demand during mcwrapper execution. This allows execution of multiple Minecraft server under single mcwrapper instance, but this is not supported by command line interface. This feature will be used by new feature, man in the middle, that have to be implemented yes.
* 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