Commit Graph

373 Commits

Author SHA1 Message Date
Marcus Whybrow
ffa5c2de54 Updated default username setting name. 2012-07-13 20:16:25 +01:00
Marcus Whybrow
02d415beaa Removed debug statement. 2012-07-13 20:09:32 +01:00
Marcus Whybrow
1b874838cf Refactored setting registration. Allows for default values. Added msm config command.
Settings are now registered using the register_setting and
register_server_setting functions. Settings registered via the first
function can be overridden in /etc/msm.conf, and settings registered
via the second function may also be overridden in server.properties.

Additionally, global variables are now better protected from confusion
with stronger namespacing.

Several settings have changed there names, these can be seen in the
diff for `msm.conf`. The same name changes also take effect in all
`server.properties files.

`msm <server> config` now displays a list of all setting when arguments
are omitted.

`msm config` is a new command which lists all setting values.
2012-07-13 19:56:57 +01:00
Marcus Whybrow
b4f42d01e9 Prevented inactive worlds from being backed up. 2012-07-13 19:45:33 +01:00
Marcus Whybrow
da468788d0 Bumped version to 0.5.2. 2012-07-13 16:54:11 +01:00
Marcus Whybrow
98bb17999d Fixes #47. Can now put any world (not just first) into ram. 2012-07-13 16:51:38 +01:00
Marcus Whybrow
f94c13dcf0 Bumped version to 0.5.1. 2012-07-11 07:44:20 +01:00
Marcus Whybrow
26d34e71ea Added help text for the server config command. 2012-07-11 07:42:45 +01:00
Marcus Whybrow
58abbad116 Bumped version to 0.5.0. Fixes #44. 2012-07-11 07:34:48 +01:00
Marcus Whybrow
110e56ca20 config command always goes ahead, but reminds user to restart if server is running. 2012-07-11 07:27:55 +01:00
Marcus Whybrow
ce1295ec62 Changed to correct server conf variable in bash completion.
Was the old DEFAULT_SERVER_CONF, now the new DEFAULT_PROPERTIES.
2012-07-11 07:26:48 +01:00
Marcus Whybrow
f7f944517b Fixed formatting in bash completion.
From spaces to tabs.
2012-07-11 07:25:58 +01:00
Marcus Whybrow
10c994fc59 Merge remote-tracking branch 'cameroncros/master'
Conflicts:
	init/msm
2012-07-11 07:07:08 +01:00
Cameron
ddbc46927c Changed it so that the server must be shut down by the user before config changes and manually restarted afterwards 2012-07-11 15:33:48 +10:00
Cameron
3f8c3cc277 Added ability to modify the server.properties file as well as appropriate tab completion 2012-07-11 14:18:38 +10:00
Marcus Whybrow
ff9d07ec4d Updated project URL in cron/msm 2012-07-10 02:42:20 +01:00
Marcus Whybrow
99f207813a Bumped version to 0.4.3. 2012-07-10 02:21:48 +01:00
Marcus Whybrow
f120290aae Allows quotations around server.properties settings. 2012-07-10 02:19:17 +01:00
Marcus Whybrow
5802a40d1e worldstorage folder now created by new server command.
Also creates a "readme.txt" file which says "MSM requires all your
worlds be moved into this directory."
2012-07-10 02:18:50 +01:00
Marcus Whybrow
f5c6ade219 Bumped version to 0.4.2. 2012-07-10 01:42:47 +01:00
Marcus Whybrow
6fead1d3d2 Fixed ability to specify jar file name in msm <server> jar
An incorrect level of validation was enforced for the file name which
prevented dots. It now accepts anything found.
2012-07-10 01:41:06 +01:00
Marcus Whybrow
2352321cf0 Comment alterations in msm.conf 2012-07-05 17:52:41 +01:00
Marcus Whybrow
301c49d23c Added changelog, and licence links to the readme. 2012-07-05 17:32:38 +01:00
Marcus Whybrow
ddd33b1181 Fixed link in changelog. 2012-07-05 17:21:58 +01:00
Marcus Whybrow
4dce81f3e8 Bumped version to 0.4.1.
Fixes #37. Fixes #39.
2012-07-05 14:12:55 +01:00
Marcus Whybrow
d4892045d3 Simplified connected players code.
Removed the ability to display a "No players are connected" message, as
support is currently not complete.
2012-07-05 14:05:11 +01:00
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
fbbc85c586 Updated changelog links to point to new semantic version names. 2012-06-28 19:22:57 +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
e88391ab7b Added versioning information to the readme. 2012-06-27 18:23:01 +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