Marcus Whybrow
51222fbf26
Merge pull request #40 from jives/master
...
Fixed wrong user name variable in server_set_jar()
2012-07-05 05:42:03 -07:00
T. Kerschbaum
cde64e8301
Fixes https://github.com/marcuswhybrow/minecraft-server-manager/issues/39
2012-07-05 09:36:36 +03:00
Keeley Hoek
4602231c45
Fixed hang on command_stop().
2012-07-05 11:58:32 +10:00
Marcus Whybrow
eb1d9a2efa
Bumped version to 0.4.0.
...
Closes #34 .
2012-07-03 20:11:50 +01:00
Marcus Whybrow
d6edd9c677
Added xp command to help text.
2012-07-03 20:07:43 +01:00
Marcus Whybrow
6ed7ae2e20
Added the server xp command.
...
Also fixed command registration to match input against commands with
"<strings>" as an argument.
2012-07-03 20:04:40 +01:00
Marcus Whybrow
f6ad792d47
Fixed matching commands which contain quoted arguments.
2012-07-03 19:21:37 +01:00
Marcus Whybrow
4689fdcb2c
Added the server give command.
2012-07-03 18:18:23 +01:00
Marcus Whybrow
c9ef119692
Bumped version to 0.3.4.
2012-07-03 18:16:47 +01:00
Marcus Whybrow
77d1c08002
Fixed the game mode, cmd and cmdlog commands.
...
They were not passed the correct arguments to function correctly.
2012-07-03 12:18:02 +01:00
Marcus Whybrow
63a129a8fb
Bumped version to 0.3.3.
...
Fixes #33 .
2012-06-28 18:25:21 +01:00
Marcus Whybrow
cc81cc2c1d
Removed log line truncation, as invisible characters can not be assumed.
...
The control characters "^[[m" do not appear at the end of all lines,
and indeed do not appear at all for some servers. Truncation in all
cases is therefor incorrect.
These characters–I suspect–control the colour of terminal text, and in
the observed cases–I think–return it to the colour white. This commit
no longer truncates them.
2012-06-28 18:19:41 +01:00
Marcus Whybrow
e661983e88
Fixed some case errors in function names.
2012-06-28 15:47:41 +01:00
Marcus Whybrow
fcc06ea9d8
Bumped version to 0.3.2.
2012-06-28 12:02:44 +01:00
Marcus Whybrow
3d9303d269
Removes a debug statement. Fixes #32 .
2012-06-28 12:01:03 +01:00
Marcus Whybrow
609b0e73e5
Bumped to version 0.3.1.
2012-06-27 19:01:24 +01:00
Marcus Whybrow
859d415bc9
Stopped requiring DEFAULT_SERVER_CONF in settings.
2012-06-27 18:52:11 +01:00
Marcus Whybrow
aaa4438544
Bumped version to 0.3.0.
...
Closes #22 .
2012-06-27 18:14:58 +01:00
Marcus Whybrow
36f91805be
Individual server settings are now read from "server.properties".
...
They were expected in a "server.conf" file in the server directory.
2012-06-27 18:10:45 +01:00
Marcus Whybrow
ec24a53519
Bumped version to 0.2.16.
2012-06-27 18:08:57 +01:00
Marcus Whybrow
7286dbd334
Insisted that the server should be stopped, when moving worlds into ram.
2012-06-27 17:04:06 +01:00
Marcus Whybrow
100a646a8e
Closes #21 , by capitalising all global variables.
2012-06-27 16:56:37 +01:00
Marcus Whybrow
092dd0f63f
Bumped version to 0.2.15.
2012-06-25 15:56:25 +01:00
Marcus Whybrow
229d0fc67d
Fixes #19 . Centralises removing log new line characters.
2012-06-25 15:47:59 +01:00
Marcus Whybrow
b67e470543
Bumped to version 0.2.14.
2012-06-25 15:23:02 +01:00
Marcus Whybrow
9b8a1dd21d
Fixes #20 . By implementing checks before reading server files.
2012-06-25 15:18:08 +01:00
Marcus Whybrow
996e67b340
Bumped to version 0.2.13.
2012-06-25 14:40:26 +01:00
Marcus Whybrow
d9cdcaff6e
Fixed the restart and operator remove, and time set commands.
2012-06-25 14:35:51 +01:00
Marcus Whybrow
0f8f200328
Bumped version 0.2.12.
2012-06-25 14:03:51 +01:00
Marcus Whybrow
93f255ba63
Fixed server stop command.
2012-06-25 14:01:48 +01:00
Marcus Whybrow
d363281057
Bumped version to 0.2.11.
2012-06-25 13:04:36 +01:00
Marcus Whybrow
3e84582d5d
Replaced more trouble substring lines.
...
Got the last of the negative indexed substrings, which caused problems
on some systems. Replaced with a more robust system.
2012-06-25 13:00:51 +01:00
Marcus Whybrow
472adc586b
Bumped version to 0.2.10 Beta.
2012-06-20 08:30:51 +01:00
Marcus Whybrow
be35182993
Fixes #28 . Corrected spelling mistake preventing usage of the jar group delete command.
2012-06-20 08:27:18 +01:00
Marcus Whybrow
c44c6c7645
Fixed spelling mistake in help text.
2012-06-18 11:12:51 +01:00
Marcus Whybrow
5cde122d1f
Bumped version to 0.2.9.
2012-06-18 10:22:58 +01:00
Marcus Whybrow
a08b439580
Fixed #23 ! Replaced substring with more robust approach.
2012-06-18 10:15:28 +01:00
Marcus Whybrow
57f4af9d29
Bumped to version 0.2.8.
2012-06-18 02:00:42 +01:00
Marcus Whybrow
2429752c68
Improved command registration to deal with erroneous regexes.
2012-06-18 01:53:35 +01:00
Marcus Whybrow
0f2f9b6a7f
Bumped version to 0.2.7
2012-06-17 23:00:06 +01:00
Marcus Whybrow
dc2eb43af5
Merged refactoring into master.
2012-06-17 22:52:35 +01:00
Marcus Whybrow
9722741358
Fixed failure when listing no jar groups.
2012-06-17 22:42:30 +01:00
Marcus Whybrow
1f4afb2368
Updated version command to display the correct version.
2012-06-17 22:26:54 +02:00
Marcus Whybrow
4f51ee8446
Prevented errors when listing no jar groups.
2012-06-12 03:16:41 +01:00
Marcus Whybrow
6ba90f44ed
Prevented automatic download of jar group files when created
2012-06-12 03:15:56 +01:00
Marcus Whybrow
17221b3aa4
Improved jargroup_list loop code to better handle spaces.
2012-06-12 02:14:15 +01:00
Marcus Whybrow
c932bab672
Finished refactoring commands into a registration type system.
2012-06-12 02:02:20 +01:00
Marcus Whybrow
1a5a192f71
WIP commit on refactoring command registration.
...
Removes the repetitive and gigantic case statement, and adds a
register_command function. This function generates a regex for matching
that command and a handler function to call.
The entry point into the script now matches the user input against a
regex and calls the handler function.
2012-06-11 19:25:31 +01:00
Marcus Whybrow
a4fb3800e8
Fixes #17 . Typo preventing server level override of the CONFIRM_SAVE_ALL and CONFIRM_START settings.
2012-06-11 19:18:37 +01:00
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