Commit Graph

89 Commits

Author SHA1 Message Date
856eedfade Added server "jar" command which sets for use a server jar.
Also when creating a new server, the latest minecraft jar is used by
default (not currently overridable.)
2012-05-31 02:13:22 +01:00
adccec2f24 Fixed as_user_stderr.
Was not passing correct parameters to as_user.
2012-05-31 01:54:00 +01:00
f7603ad052 Removed deprecated variables. 2012-05-31 01:53:16 +01:00
e994e5c496 Added server "save" commands. Closes #7. 2012-05-31 00:49:51 +01:00
072184e9bb Added server "blacklist" command. Closes #1. 2012-05-31 00:42:41 +01:00
c71de05167 Spelling mistake. 2012-05-31 00:42:00 +01:00
752ca056e9 Added server created file settings in conf, and added script defaults for conf values. 2012-05-30 23:51:45 +01:00
74612442b6 Added server "gamemode" command. Closes #3. 2012-05-30 23:07:17 +01:00
bad5238178 Missed one (see last commit.) 2012-05-30 23:06:50 +01:00
ef9c90ab79 Fixed regex tests to not do string comparisons. 2012-05-30 23:06:23 +01:00
4db6d1b5cb Added server "operator" command. Closes #2. 2012-05-30 21:45:56 +01:00
df5b2caed8 Corrected the confirm entry for toggledownfall failure. 2012-05-30 21:26:13 +01:00
35ea082968 Improved jargroup_getlatest to use the most exact file name when downloading.
Older versions of wget have the --trust-server-names flag on by default
(if it exists for them at all).
2012-05-30 21:09:01 +01:00
f05e540609 Fixed the get_latest_file function. 2012-05-30 20:44:42 +01:00
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
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
fff509e91f Added a console command.
Which resumes the created screen session for a server. If the logged in
user executing the command is connected via SSH, then unless that user
is the server user, this command will (currently) fail, do to the way
screen works.
2012-05-30 18:21:47 +01:00
cb9638bd22 Improved the server "say" command to not require quotations for multi-world messages. 2012-05-30 17:02:43 +01:00
ef410be0c5 Added the server "cmd" and "cmdlog" commands. Closes #8. 2012-05-30 16:58:56 +01:00
2540c43e8a Added protection against switching to the server user from non-root users. 2012-05-30 16:33:37 +01:00
ba8a8f14cd Added server "toggledownfall" command. Closes #6. 2012-05-30 16:28:29 +01:00
ad946dbd2f Added output when an invalid server command is entered. 2012-05-30 16:27:55 +01:00
04d53bb302 Added server "time" command. Closes #5. 2012-05-30 15:56:35 +01:00
e490a888ba Removed debug echo statement. 2012-05-30 15:40:09 +01:00
c2a529535b Implemented server "say" command. Closes #4. 2012-05-30 15:36:52 +01:00
797e42349a Added a link to the github wiki, in the readme. 2012-05-29 07:05:10 +01:00
93bc151f75 Fixed a spelling mistake in the command name used. 2012-05-29 07:02:30 +01:00
7a098f58ea Replaced cron job commands using a "*" with the word "all".
This functionality has not been implemented yet, but when it is, "all"
will be the word used now.
2012-05-29 07:01:22 +01:00
790d5d3b5d Added a .gitignore file to ignore .DS_Store files. 2012-05-29 06:57:04 +01:00
8225d35244 Removed the old/original "minecraft" script which "msm" has replaced. 2012-05-29 06:54:41 +01:00
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
bf76cae5f0 Added "whitelist remove" command. 2012-05-29 05:41:15 +01:00
01739cc5d4 Added "whitelist add" command.
Also fixed an error in the last commit.
2012-05-29 05:39:20 +01:00
0eea7b16e0 Added "whitelist list" command. 2012-05-29 05:23:24 +01:00
71babd7dc5 Added "whitelist on" and "whitelist off" server commands. 2012-05-29 05:06:09 +01:00
391f67408f Implemented the "restart" command. 2012-05-29 04:51:03 +01:00
112a63191c Implemented "stop" and "stop now". Stops servers in parallel. 2012-05-29 04:00:00 +01:00
3807552b55 Implemented "server connected" command. 2012-05-24 08:14:09 +01:00
62aea7e759 Implemented "server backup", and re-added the DEFAULT_COMPLETE_BACKUP_FOLLOW_SYMLINKS setting. 2012-05-24 07:41:06 +01:00
2e525d1228 Implemented "server logroll" command. 2012-05-24 07:22:52 +01:00
fc0757f755 Implemented "server worlds backup". 2012-05-24 06:55:04 +01:00
9a9897d383 Implemented "server worlds todisk" command.
Created server_save_off and server_save_on to do this.
2012-05-24 05:26:36 +01:00
a3fbaa8ee7 Implemented "server worlds ram <world>" command.
Everything behind it works also, such as syncing to ram, and back
again, and creating appropriate links to RAM on startup.
2012-05-24 05:12:58 +01:00
5b8835f62a Fixed a loop hang bug in server_worlds_to_disk.
I forgot to increment the loop variable.
2012-05-24 04:40:25 +01:00
062b388ac9 Implemented "server status" command. 2012-05-24 04:33:57 +01:00
eb4a826dfe Implemented "server worlds load". Which maintains symbolic links to world storage worlds.
Also removed some style breaking output which is also a logic path that
can never actually be reached.
2012-05-24 04:31:53 +01:00
28c1dd9b70 Fixed a typo in help text. 2012-05-24 04:24:20 +01:00
975763a198 Implemented "server worlds list" command.
And fixed a bug in server_ensure_links which made it fail.
2012-05-24 04:22:59 +01:00
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
b307be0488 Implemented server restart.
Also added output for the server_worlds_to_ram function to match
server_worlds_to_disk in output.
2012-05-24 03:12:21 +01:00