Commit Graph

404 Commits

Author SHA1 Message Date
Marcus Whybrow
8c63597af5 Removed requiring the server be on to list the whitelist or blacklist. 2012-05-31 05:44:08 +01:00
Marcus Whybrow
24b5a9644b Fixed a bug preventing server "connected" from working. 2012-05-31 05:24:52 +01:00
Marcus Whybrow
bd5e15e9e1 Added output to help when a world link cannot be created. 2012-05-31 05:23:02 +01:00
Marcus Whybrow
14f2804fde Corrected some "<" operators to use "-lt" instead.
Seriously, I though I got them all!
2012-05-31 05:06:20 +01:00
Marcus Whybrow
b4db7c961e Altered server backup to zip the server directory itself, and not the contents. 2012-05-31 05:01:58 +01:00
Marcus Whybrow
a2e0b7c087 Wrapped the world name in quotes to be safe. 2012-05-31 05:01:12 +01:00
Marcus Whybrow
b27ced53ab Fixed backups to be WorldEdit snapshot compatible.
I mistakenly thought WorldEdit wanted the zip to directly contain the
world files. In fact the zip should contain the directory itself.
2012-05-31 04:51:42 +01:00
Marcus Whybrow
406db34092 Fixed a bug in the server "logroll" command.
The wrong path–pointing to where previous logs can be found–was written
to the log file when rolled.
2012-05-31 04:38:06 +01:00
Marcus Whybrow
5290040f38 Added some stats to the QuickBackup information in the README. 2012-05-31 04:31:17 +01:00
Marcus Whybrow
8da09a9c73 Improved server "backup" command.
Now ensures worlds are copied to disk, and outputs the time the backup
took.
2012-05-31 04:27:58 +01:00
Marcus Whybrow
0d6280ec57 Fixes server "worlds backup" command.
It was not wrapped in server messages and "save off/on" stuff. Also
added output which shows how long the backup tool.
2012-05-31 04:26:56 +01:00
Marcus Whybrow
4a20e1bf1a Fixing more incorrect "<" signs used for less than comparisons.
Replaced with the "-lt" operator.
2012-05-31 04:23:16 +01:00
Marcus Whybrow
90d32af19d Fixed a bug in the server "stop" command.
Was not setting a server as inactive when stopping.
2012-05-31 03:38:04 +01:00
Marcus Whybrow
785c5730ec Fixed severe bug in server_ensure_links.
Would not cycle through a servers worlds at all, therefor creating no
links when called.
2012-05-31 03:37:29 +01:00
Marcus Whybrow
828f108be1 Fixed two bugs in the interrupt handler.
It would always find the stop and restart counters for a server to be
running, and then always print out the server name of used in the
command, even if it was another server being stopped prematurely.
2012-05-31 02:26:13 +01:00
Marcus Whybrow
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
Marcus Whybrow
adccec2f24 Fixed as_user_stderr.
Was not passing correct parameters to as_user.
2012-05-31 01:54:00 +01:00
Marcus Whybrow
f7603ad052 Removed deprecated variables. 2012-05-31 01:53:16 +01:00
Marcus Whybrow
e994e5c496 Added server "save" commands. Closes #7. 2012-05-31 00:49:51 +01:00
Marcus Whybrow
072184e9bb Added server "blacklist" command. Closes #1. 2012-05-31 00:42:41 +01:00
Marcus Whybrow
c71de05167 Spelling mistake. 2012-05-31 00:42:00 +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
bad5238178 Missed one (see last commit.) 2012-05-30 23:06:50 +01:00
Marcus Whybrow
ef9c90ab79 Fixed regex tests to not do string comparisons. 2012-05-30 23:06:23 +01:00
Marcus Whybrow
4db6d1b5cb Added server "operator" command. Closes #2. 2012-05-30 21:45:56 +01:00
Marcus Whybrow
df5b2caed8 Corrected the confirm entry for toggledownfall failure. 2012-05-30 21:26:13 +01:00
Marcus Whybrow
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
Marcus Whybrow
f05e540609 Fixed the get_latest_file function. 2012-05-30 20:44:42 +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
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
Marcus Whybrow
cb9638bd22 Improved the server "say" command to not require quotations for multi-world messages. 2012-05-30 17:02:43 +01:00
Marcus Whybrow
ef410be0c5 Added the server "cmd" and "cmdlog" commands. Closes #8. 2012-05-30 16:58:56 +01:00
Marcus Whybrow
2540c43e8a Added protection against switching to the server user from non-root users. 2012-05-30 16:33:37 +01:00
Marcus Whybrow
ba8a8f14cd Added server "toggledownfall" command. Closes #6. 2012-05-30 16:28:29 +01:00
Marcus Whybrow
ad946dbd2f Added output when an invalid server command is entered. 2012-05-30 16:27:55 +01:00
Marcus Whybrow
04d53bb302 Added server "time" command. Closes #5. 2012-05-30 15:56:35 +01:00
Marcus Whybrow
e490a888ba Removed debug echo statement. 2012-05-30 15:40:09 +01:00
Marcus Whybrow
c2a529535b Implemented server "say" command. Closes #4. 2012-05-30 15:36:52 +01:00
Marcus Whybrow
797e42349a Added a link to the github wiki, in the readme. 2012-05-29 07:05:10 +01:00
Marcus Whybrow
93bc151f75 Fixed a spelling mistake in the command name used. 2012-05-29 07:02:30 +01:00
Marcus Whybrow
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
Marcus Whybrow
790d5d3b5d Added a .gitignore file to ignore .DS_Store files. 2012-05-29 06:57:04 +01:00
Marcus Whybrow
8225d35244 Removed the old/original "minecraft" script which "msm" has replaced. 2012-05-29 06:54:41 +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
bf76cae5f0 Added "whitelist remove" command. 2012-05-29 05:41:15 +01:00
Marcus Whybrow
01739cc5d4 Added "whitelist add" command.
Also fixed an error in the last commit.
2012-05-29 05:39:20 +01:00
Marcus Whybrow
0eea7b16e0 Added "whitelist list" command. 2012-05-29 05:23:24 +01:00
Marcus Whybrow
71babd7dc5 Added "whitelist on" and "whitelist off" server commands. 2012-05-29 05:06:09 +01:00