Commit Graph

25 Commits

Author SHA1 Message Date
Matt Sicker
bf7b1c2210 Updated msm.conf for Minecraft 1.3 messages. 2012-08-09 11:10:27 -05:00
Marcus Whybrow
ffa5c2de54 Updated default username setting name. 2012-07-13 20:16:25 +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
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
10c994fc59 Merge remote-tracking branch 'cameroncros/master'
Conflicts:
	init/msm
2012-07-11 07:07:08 +01: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
2352321cf0 Comment alterations in msm.conf 2012-07-05 17:52:41 +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
4689fdcb2c Added the server give command. 2012-07-03 18:18:23 +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
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
234d2cb991 Fixed an error in a conf file setting name. 2012-05-31 09:06:43 +01:00
Marcus Whybrow
752ca056e9 Added server created file settings in conf, and added script defaults for conf values. 2012-05-30 23:51:45 +01:00
Marcus Whybrow
74612442b6 Added server "gamemode" command. Closes #3. 2012-05-30 23:07:17 +01:00
Marcus Whybrow
df5b2caed8 Corrected the confirm entry for toggledownfall failure. 2012-05-30 21:26:13 +01:00
Marcus Whybrow
202fd24867 Fix: Some calls to as_user did not supply a user.
Had to add a global username config setting, for use by non-server
specific commands.
2012-05-30 18:32:17 +01:00
Marcus Whybrow
6a0eedeb35 Set the default ramdisk mount point.
I had left it blank to disable it by default, but this will be the
correct location for most operating systems I think.
2012-05-30 18:24:08 +01:00
Marcus Whybrow
ba8a8f14cd Added server "toggledownfall" command. Closes #6. 2012-05-30 16:28:29 +01:00
Marcus Whybrow
04d53bb302 Added server "time" command. Closes #5. 2012-05-30 15:56:35 +01:00
Marcus Whybrow
e01114721c Added the "kick" server command.
Also removed the commented out print statements in the init function.
2012-05-29 06:52:42 +01:00
Marcus Whybrow
0eea7b16e0 Added "whitelist list" command. 2012-05-29 05:23:24 +01:00
Marcus Whybrow
62aea7e759 Implemented "server backup", and re-added the DEFAULT_COMPLETE_BACKUP_FOLLOW_SYMLINKS setting. 2012-05-24 07:41:06 +01:00
Marcus Whybrow
d44775689a A message is now given to in-game players when a shutdown/restart is aborted by pressing Ctrl+C. 2012-05-24 03:57:30 +01:00
Marcus Whybrow
0b921a09f5 Implemented server start, global config, server config and init function
Sorry for the monster commit, was all necessary to get server start to
work.
2012-05-24 01:09:05 +01:00
Marcus Whybrow
4d06fcceea Renamed msm.config to msm.conf
With that name it will feel more at home when placed in /etc
2012-05-22 15:26:17 +01:00