Commit Graph

28 Commits

Author SHA1 Message Date
Marcus Whybrow
9447124b58 Added support for "all" server name. Fixes #16.
Using "all" executes a command for all servers.
2012-06-07 14:22:27 +01:00
Marcus Whybrow
3078840d8f Added specific helpful error messages for commands. Closes #10. 2012-06-06 03:12:08 +01:00
Marcus Whybrow
93ba2c12f4 Fixed a bug where tail processes would not die. 2012-06-05 23:18:40 +01:00
Marcus Whybrow
a7aee94e63 Upgraded version to 0.2.5 Beta 2012-06-05 22:53:06 +01:00
Marcus Whybrow
e2e8aa5492 Fixed a bug where the wrong error code was returned.
When specifying a server name which did not exist the NAME_NOT_FOUND
error code was suppressed.
2012-06-05 22:39:50 +01:00
Marcus Whybrow
67e73f2b4e Added helper functions which set variables for script tests. 2012-06-05 21:08:23 +01:00
Marcus Whybrow
c79efe0abd Added explanatory exit codes to the script.
These codes are used by `test.sh` to better analyse whether an action
was successful or not.
2012-06-05 19:40:32 +01:00
Marcus Whybrow
4addb6dd9a Improved server creation to not require the "minecraft" jar group to be present. 2012-06-05 19:39:22 +01:00
Marcus Whybrow
5c2965cba7 Changed a directory test to look specifically for a directory. 2012-06-05 01:31:49 +01:00
Marcus Whybrow
e2d37a3c1c Fixed a bug which prevented valid server names containing a reserved world. 2012-06-05 00:50:01 +01:00
Marcus Whybrow
738c2b9e87 Prevented error when no servers have been created. 2012-06-04 21:40:33 +01:00
Marcus Whybrow
5e852c42ec Allowed CONF to be overwritten by environment variable "MSM_CONF". 2012-06-04 21:07:29 +01:00
Marcus Whybrow
edae00b103 Added double quotations around all variables which may contain spaces. Fixes #14.
Thanks to @Jonek01 for spotting this was causing a problem when
starting a server with a world name containing a space.
2012-06-04 17:37:56 +01:00
Marcus Whybrow
bfe7c101f0 Updated version and change log to "0.2.4". 2012-06-03 13:57:55 +01:00
Marcus Whybrow
be283e91f6 Running servers can no longer be renamed. Fixes #11. 2012-06-03 13:55:11 +01:00
Marcus Whybrow
07a185d535 Updated the version to "0.2.3 Beta". 2012-06-03 13:34:32 +01:00
Marcus Whybrow
cd81955628 Fixes #12 thanks to @Jonek01 for spotting the problem. 2012-06-03 13:33:42 +01:00
Marcus Whybrow
09acae397c Fixes #13 thanks to @Jonek01 for spotting the problem. 2012-06-03 13:33:16 +01:00
Marcus Whybrow
ad0a8fb3e3 Added "msm version" command. 2012-06-02 21:02:58 +01:00
Marcus Whybrow
a7978d535c Implemented a server "worlds on|off" command.
Moves a world between the "worldstorage" and "worldstorage_inactive"
directories. Inactive worlds do not get loaded (symlinked) or backed up
etc. but are include in complete server backups.

Bit of a monster commit here, refactored the init code to bring this
change.
2012-06-02 19:11:33 +01:00
Marcus Whybrow
bfe1e07d64 Replaced tabs with space in help output.
It's just easier to read and work with in the source code.
2012-06-01 09:07:18 +01:00
Marcus Whybrow
1af585f19c Put quote marks around config source. 2012-06-01 09:06:24 +01:00
Marcus Whybrow
5c60af367e Removed config fallbacks into the init script.
Must force settings to be set in the conf files to allow correct
centralisation.
2012-06-01 08:56:05 +01:00
Marcus Whybrow
8def5b618b Fixed a mistake in reading a server conf setting name. 2012-05-31 09:52:21 +01:00
Marcus Whybrow
d760dd670d Fixed the whitelist help text. 2012-05-31 08:46:50 +01:00
Marcus Whybrow
223f589f9f Fixed a bug in the server "jar" command.
Prevented specifying a jar file name.
2012-05-31 08:39:43 +01:00
Marcus Whybrow
2113a67691 Removed server "worlds toram" option from the help output.
The command is no longer available.
2012-05-31 07:27:26 +01:00
Marcus Whybrow
d750ca0b7d Moved files to a more explanatory layout. 2012-05-31 06:44:10 +01:00