Minecraft Server Manager ======================== Visit https://github.com/marcuswhybrow/minecraft-server-manager for more information. Maintainers: ------------ * [Marcus Whybrow](https://github.com/marcuswhybrow) Change Log ---------- ### [0.6.3](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.6.2...0.6.3) * Improved the `msm server list` command to show active/inactive and running/stopped statuses. Thanks to [oldman,j's suggestion][uservoice-2987515]. [uservoice-2987515]: http://minecraftservermanager.uservoice.com/forums/166773-general/suggestions/2987515-the-server-list-command- ### [0.6.2](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.6.1...0.6.2) * Fixed issue [#49][#49] where, probably since 0.6.0, `active` files where not being created upon server start. [#49]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/49 ### [0.6.1](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.6.0...0.6.1) * Fixed `test.sh` to use new settings names. ### [0.6.0](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.5.2...0.6.0) * Added new command `msm config` which displays a key value list of all MSM settings in use. Useful for transparency. * Improved `msm config ` to list all MSM settings for a server when arguments are omitted. * Updated bash completion script for new commands. * Refactored the way settings are added globally and for individual servers, making development far simpler. * Changed several setting names in `/etc/msm.conf`: * `DEFAULT_SERVER_USER` is now `DEFAULT_USERNAME` * `DEFAULT_LOG` is now `DEFAULT_LOG_PATH` * `DEFAULT_PROPERTIES` is now `DEFAULT_PROPERTIES_PATH` * `DEFAULT_WHITELIST` is now `DEFAULT_WHITELIST_PATH` * `DEFAULT_BANNED_PLAYERS` is now `DEFAULT_BANNED_PLAYERS_PATH` * `DEFAULT_BANNED_IPS` is now `DEFAULT_BANNED_IPS_PATH` * `DEFAULT_OPS` is now `DEFAULT_OPS_PATH` * `DEFAULT_JAR` is now `DEFAULT_JAR_PATH` * `DEFAULT_STOP_MESSAGE` is now `DEFAULT_MESSAGE_STOP` * `DEFAULT_STOP_ABORT` is now `DEFAULT_MESSAGE_STOP_ABORT` * `DEFAULT_RESTART_MESSAGE` is now `DEFAULT_MESSAGE_RESTART` * `DEFAULT_RESTART_ABORT` is now `DEFAULT_MESSAGE_RESTART_ABORT` * `DEFAULT_WORLD_BACKUP_STARTED` is now `DEFAULT_MESSAGE_WORLD_BACKUP_STARTED` * `DEFAULT_WORLD_BACKUP_FINISHED` is now `DEFAULT_MESSAGE_WORLD_BACKUP_FINISHED` * `DEFAULT_COMPLETE_BACKUP_STARTED` is now `DEFAULT_MESSAGE_COMPLETE_BACKUP_STARTED` * `DEFAULT_COMPLETE_BACKUP_FINISHED` is now `DEFAULT_MESSAGE_COMPLETE_BACKUP_STARTED` * Those same name changes also effect `server.properties` files: * `msm-server-user` is now `msm-username` * `msm-log` is now `msm-log-path` * `msm-properties` is now `msm-properties-path` * `msm-whitelist` is now `msm-whitelist-path` * `msm-banned-players` is now `msm-banned-players-path` * `msm-banned-ips` is now `msm-banned-ips-path` * `msm-ops` is now `msm-ops-path` * `msm-stop-message` is now `msm-message-stop` * `msm-stop-abort` is now `msm-message-stop-abort` * `msm-restart-message` is now `msm-message-restart` * `msm-restart-abort` is now `msm-message-restart-abort` * `msm-world-backup-started` is now `msm-message-world-backup-started` * `msm-world-backup-finished` is now `msm-message-world-backup-finished` * `msm-complete-backup-started` is now `msm-message-complete-backup-started` * `msm-complete-backup-finished` is now `msm-message-complete-backup-finished` * The [config wiki page][server-config] is now updated with all of these new setting names for reference. [server-config]: https://github.com/marcuswhybrow/minecraft-server-manager/wiki/Server-Configuration ### [0.5.2](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.5.1...0.5.2) * Fixed issue [#47][#47] where toggling any world's ram status would alwqays effect the first world, alphabetically, instead. [#47]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/47 ### [0.5.1](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.5.0...0.5.1) * Added help text line for `msm config` command. ### [0.5.0](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.4.3...0.5.0) * Added the `msm config ` command. Thanks to merging pull request [#46][#46] from [@cameroncros][@cameroncros]. * Fixed issue [#44][#44] where bash completion failed to work when accessing server conf information. [#44]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/44 [@cameroncros]: https://github.com/cameroncros [#46]: https://github.com/marcuswhybrow/minecraft-server-manager/pull/46 ### [0.4.3](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.4.2...0.4.3) * Creating a new server now automatically creates a `worldstorage` folder with a `readme.txt` inside. * Quotations may now be used to delimit `server.properties` msm settings. ### [0.4.2](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.4.1...0.4.2) * Fixed the `msm jar ` command, which would state the `` was invalid, when it was not. ### [0.4.1](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.4.0...0.4.1) * Fixed issue [#37][#37] where the `msm stop` command would hang. Thanks to merging pull request [#38][#38] from [@escortkeel][@escortkeel]. * Fixed issue [#39][#39] where server jar symlinks were not created. Thanks to merging pull request [#40][#40] from [@jives][@jives]. [@escortkeel]: https://github.com/escortkeel [#37]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/37 [#38]: https://github.com/marcuswhybrow/minecraft-server-manager/pull/38 [@jives]: https://github.com/jives [#39]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/39 [#40]: https://github.com/marcuswhybrow/minecraft-server-manager/pull/40 ### [0.4.0](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.3.4...0.4.0) * Added the ` give [amount] [data]` command. Closes [#34][#34]. Thanks to [@Vi3GameHkr][@Vi3GameHkr] for the suggestion. * Added the ` xp ` command. * Fixed the `gamemode`, `cmd` and `cmdlog` server commands *again*. They now accept multiple arguments as intented. [@Vi3GameHkr]: https://github.com/Vi3GameHkr [#34]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/34 ### [0.3.4](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.3.3...0.3.4) * Fixed the `gamemode`, `cmd` and `cmdlog` server commands. They were not previously accessable. ### [0.3.3](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.3.2...0.3.3) * Fixed [#33][#33], by not assuming there are three invisible characters at the end of every log line. * Fixed function names which were accidently converted to uppercase. [#32]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/32 ### [0.3.2](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.3.1...0.3.2) * Removes an erroneous debug statement. Fixes [#32][#32] [#32]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/32 ### [0.3.1](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.3.0...0.3.1) * Prevented `DEFAULT_SERVER_CONF` from being a required setting. ### [0.3.0](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.16...0.3.0) * Closes [#22][#22], by merging `server.conf` into `server.properties`. * Removed the `DEFAULT_SERVER_CONF` setting from `/etc/msm.conf`. [#22]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/22 ### [0.2.16](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.15...0.2.16) * Improved the `msm worlds ram ` command to insist the server is stopped. * Refactored global variables to be uppercase. This avoids name clashes. ### [0.2.15](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.14...0.2.15) * Improved the removal of new line characters when reading Minecraft log files. Closes [#19][#19] [#19]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/19 ### [0.2.14](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.13...0.2.14) * Improved checks done before reading server files. Closes [#20][#20]. [#20]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/20 ### [0.2.13](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.12...0.2.13) * Fixed the `msm restart`, `msm operator remove`, `msm time set` and `msm time add` commands. ### [0.2.12](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.11...0.2.12) * Fixed `msm stop` command. Which would fail for server's not first in the list. ### [0.2.11](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.10...0.2.11) * Improved substring approach, which failed on some systems. ### [0.2.10](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.9...0.2.10) * Fixed issue [#28][#28]. Which prevented the `msm jargroup delete` command working. * Fixed a typo in the `msm version` help text. [#28]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/28 ### [0.2.9](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.8...0.2.9) * Fixed issue [#23][#23] which caused commands to fail registration on some systems. [#23]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/23 ### [0.2.8](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.7...0.2.8) * Improved command registration to provided more accurate error messages if a command cannot be registered. * Improved Travis CI to only test the master branch. ### [0.2.7](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.6...0.2.7) * Refactored commands such that they are now registered using a function, rather than one huge swith/case statement. ### [0.2.6](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.5...0.2.6) * Added the "all" keyword which can be used to execute a command for all servers. Closes [#16][#16] * Added [Travis CI integration][travis] for per commit unit testing. * Improved command error messages to give specific command errors. Closes issue [#10][#10]. * Fixed issue [#15][#15] which left a "tail" command process running after certain commands. [#15]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/15 [#16]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/16 [#10]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/10 [travis]: http://travis-ci.org/#!/marcuswhybrow/minecraft-server-manager ### [0.2.5](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.4...0.2.5) * Added `test.sh`, a script which runs `shunit2` unit tests. * Added test coverage for all `msm server` commands, except coverage involving running servers. * Added option to override the configuration file used by the MSM script by specifying its path in the `MSM_CONF` environment variable. * Added Explanatory exit codes for the MSM script (currently 0 and 64-73). * Improved server creation to not require the "minecraft" jar group to be present. * Fixed issue [#14][#14] which prevented world names including spaces. * Fixed a bug listing servers when there were none. * Fixed a bug where server names containing reserved names anywhere where considered invalid. [#11]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/14 ### [0.2.4](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.3...0.2.4) * Fixes issue [#11][#11]. Now running server's cannot be renamed, preventing not being able to stop a server renamed whilst running. [#11]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/11 ### [0.2.3](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.2...0.2.3) * Fixed issues [#12][#12] and [#13][#13] thanks to [@Jonek01][@Jonek01], which prevented the first loaded server from having the correct path, and prevented the same for the first loaded world. [#12]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/12 [#13]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/13 [@Jonek01]: https://github.com/Jonek01 ### [0.2.2](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.1...0.2.2) * Added `msm version` command, to check your installation version. ### [0.2.1](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.2.0...0.2.1) * Added `msm worlds on|off ` command, which activates and deactives worlds. Inactive worlds don't get backed up, cannot be used by the server, but are included in complete server backups. * Added `CHANGELOG.markdown`. * Added error messages preventing script use when a required `msm.conf` settings is not specified. * Removed fallbacks for settigns not specified in `msm.conf`. ### [0.2.0](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.1.3...0.2.0) * Added bash completion. * Altered project layout to feature directories for bash_completion, cron and init files. This is useful for dealing with three files all named `msm`. * Removed `msm worlds toram` as an accessible command. * Fixed a bug preventing `WORLD_STORAGE_PATH` from being overriden by a server. * Fixed error in `msm.conf` ### [0.1.3](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.1.2...0.1.3) * Added error output for the case when creating a symbolic link for a server's world it is found that a file already exists with that name. * Added `msm operator list` command. * Added help output for the `msm jar` command. * Improved world backups to be [WorldEdit snapshot](wiki.sk89q.com/wiki/WorldEdit/Snapshots) compatible. * Altered "complete server backups" to zip the directory instead of the contents. * Removed requiring a server to be running to list whitelisted and blacklisted (banned) players. * Fixed a bug preventing worlds from getting backed up. * Fixed a bug preventing actions performed upon server worlds. * Fixed a bug preventing all server worlds from being moved into or back to disk RAM. * Fixed a bug preventing server logs from being rolled correctly. * Fixed a bug preventing `msm connected` from working. * Fixed a bug preventing `msm jar` from working. ### [0.1.2](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.1.1...0.1.2) * Added in-game messages, and correct pausing and resuming of Minecraft world saving around world backups. * Added "Backup took n seconds." message to world and complete backups. * Fixed a bug listing a server's worlds. * Fixed a bug when stopping all servers in parallel, where a server might not stop at the correct time. ### [0.1.1](https://github.com/marcuswhybrow/minecraft-server-manager/compare/0.1.0...0.1.1) * Fixed a bug preventing world links from being created. * Fixed a bug where a server stopped as the result of a command would not always be made inactive. ### [0.1.0](https://github.com/marcuswhybrow/minecraft-server-manager/compare/aaaa69dbd6c45ff0eb7dd69b756b4103abadfbc4...0.1.0) * Refactored and improved protype code. * Transitioned from managing a single to multiple servers.