Commit Graph

42 Commits

Author SHA1 Message Date
Blaine Motsinger
34c20dd869 Updated links for movement of repo, as discussed in #291. Although the links still work without issue, forwarded from the old address, I don't want to make the assumption this will continue into the future. 2015-07-15 16:36:16 +00:00
Marcus Whybrow
36a29a84dc Fix #76. Prevent bash completion from failing on help and update 2012-08-13 02:49:29 +01:00
Marcus Whybrow
58ca70cf0a Add "update" to bash auto completion 2012-08-12 00:41:08 +01:00
Marcus Whybrow
a749f8e866 Fix #69, tab completion quitting session 2012-08-08 01:30:56 +01:00
Marcus Whybrow
8af7d32eec Remove commented code from bash completion 2012-08-08 01:26:18 +01:00
Marcus Whybrow
92c9395423 Fix #64, prevent tab completion crash when server name all is used 2012-08-02 10:31:15 +01:00
Marcus Whybrow
7463ff4149 Added multi-user and offline support to operator add and remove commands. 2012-07-20 07:07:15 +01:00
Marcus Whybrow
3b2d857991 Added offline support for blacklist add and remove commands. 2012-07-20 06:27:29 +01:00
Marcus Whybrow
96087b1bf9 Added multi-user support to whitelist add and remove commands. 2012-07-20 06:13:12 +01:00
Marcus Whybrow
9cb6bf365c Updated cash completion to use lazy property loading. 2012-07-20 04:31:10 +01:00
Marcus Whybrow
5f539d5dbf Improved comments and MSM script layout.
Added introductory comments for MSM and bash completion files.
2012-07-18 04:31:10 +01:00
Marcus Whybrow
2554b67d52 Added /etc/profile.d/msm.sh support. 2012-07-18 04:30:31 +01:00
Marcus Whybrow
b8d2fc3e4a Bash completion now loads settings via MSM script.
The crux of the matter is this: If a setting was omitted in
/etc/msm.conf bash completion would fail requiring it to be there.
However MSM would not complain as it had a default value to use. Bash
completion can now access this same default value.
2012-07-18 04:08:12 +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
f7f944517b Fixed formatting in bash completion.
From spaces to tabs.
2012-07-11 07:25:58 +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
4689fdcb2c Added the server give command. 2012-07-03 18:18:23 +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
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
476a3e7504 Fixed a bug in jargroup bash completion.
Would not complete to existing jar group names.
2012-05-31 10:18:19 +01:00
Marcus Whybrow
a64de96a2d Added bash completion for the server "save" commands. 2012-05-31 10:11:35 +01:00
Marcus Whybrow
ea15ad404e Removed tdf as an initialism for toggle downfall from bash completion. 2012-05-31 10:09:15 +01:00
Marcus Whybrow
352be40a1c Added bash completion for the server "time" commands. 2012-05-31 10:08:38 +01:00
Marcus Whybrow
99466586a5 Added bash completion for server "gamemode" commands. 2012-05-31 10:07:01 +01:00
Marcus Whybrow
1b7c894f45 Refactored loading of server based variables. 2012-05-31 10:05:30 +01:00
Marcus Whybrow
ba70f48b05 Adde cash completion for the server "operator" commands. 2012-05-31 09:25:12 +01:00
Marcus Whybrow
3b3b918a0e Added bash completion for server "blacklist" commands. 2012-05-31 09:21:18 +01:00
Marcus Whybrow
fda1dcebfe Limited file checking auto completion options to one level of completion.
It could carry on completing from the same options indefinitely.
2012-05-31 09:20:48 +01:00
Marcus Whybrow
dd7d75f898 Added bash completion for the server "whitelist" commands. 2012-05-31 09:01:25 +01:00
Marcus Whybrow
572e9f93a2 Removed initialisms from bash tab completion of server commands.
They still exist as command options but will not be auto completed.
They were all only two letters each, and confused the auto complete
list.
2012-05-31 08:43:23 +01:00
Marcus Whybrow
9bc4abb0a7 Added bash completion for the server "jar" command. 2012-05-31 08:40:16 +01:00
Marcus Whybrow
4f354a078b Fixed ls usages to accept paths with spaces. 2012-05-31 08:19:18 +01:00
Marcus Whybrow
04297c726d Added bash completion for the server "worlds" commands. 2012-05-31 07:57:58 +01:00
Marcus Whybrow
9b66a3c655 Added bash completion for server "stop" and "restart" commands. 2012-05-31 07:35:25 +01:00
Marcus Whybrow
2801318546 Added bash completion for "jargroup" commands. 2012-05-31 07:20:23 +01:00
Marcus Whybrow
5dfbdd6900 Added bash completion for "server" commands. 2012-05-31 07:18:08 +01:00
Marcus Whybrow
cd293d7209 Added bash completion for "server", "jargroup" and general server command. 2012-05-31 07:11:34 +01:00
Marcus Whybrow
82ce1a202f Added help to the bash completion options. 2012-05-31 07:06:31 +01:00
Marcus Whybrow
f7a94bc6ef Added bash completion for global stop/restart now options. 2012-05-31 07:04:14 +01:00
Marcus Whybrow
2028c06a05 Added bash completion for fir parameter. 2012-05-31 07:00:55 +01:00