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
Marcus Whybrow
391f67408f
Implemented the "restart" command.
2012-05-29 04:51:03 +01:00
Marcus Whybrow
112a63191c
Implemented "stop" and "stop now". Stops servers in parallel.
2012-05-29 04:00:00 +01:00
Marcus Whybrow
3807552b55
Implemented "server connected" command.
2012-05-24 08:14:09 +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
2e525d1228
Implemented "server logroll" command.
2012-05-24 07:22:52 +01:00
Marcus Whybrow
fc0757f755
Implemented "server worlds backup".
2012-05-24 06:55:04 +01:00
Marcus Whybrow
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
Marcus Whybrow
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
Marcus Whybrow
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
Marcus Whybrow
062b388ac9
Implemented "server status" command.
2012-05-24 04:33:57 +01:00
Marcus Whybrow
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
Marcus Whybrow
28c1dd9b70
Fixed a typo in help text.
2012-05-24 04:24:20 +01:00
Marcus Whybrow
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
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
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
Marcus Whybrow
7a272e8026
Grammar
2012-05-24 02:49:23 +01:00
Marcus Whybrow
d1e86f89ab
Escaped a singular double quote mark used for awk separation.
...
It was messing up code highlighting on github, and we can't have that!
2012-05-24 02:48:05 +01:00
Marcus Whybrow
dabbbe94ab
Implemented active flag. It changes on server start and server stop.
2012-05-24 02:44:10 +01:00
Marcus Whybrow
240002d5f5
Added "server stop" implementation.
2012-05-24 02:29:20 +01:00
Marcus Whybrow
1443c5d189
Removed debug line in server start command.
2012-05-24 01:09:41 +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
4814d07664
Added "all" as a recognised server name.
2012-05-22 17:30:43 +01:00
Marcus Whybrow
ebb13794fc
Added "all" the list of invalid names.
2012-05-22 17:26:20 +01:00
Marcus Whybrow
135ed48ba0
Implemented the "jargroup rename" command.
2012-05-22 17:23:53 +01:00
Marcus Whybrow
2340177ea3
Updated the read me to reflect the Minecraft Server Manager approach.
2012-05-22 16:12:57 +01:00
Marcus Whybrow
af0b4197bd
Updated comments, and help output to reflect wiki.
2012-05-22 15:50:54 +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