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 |
|
Marcus Whybrow
|
a25bc683f3
|
Added a cron file to be installed here: /etc/cron.d/msm
|
2012-05-22 15:25:34 +01:00 |
|
Marcus Whybrow
|
12b876a53b
|
Added "jargroup list" option, fixed jar group commands to check for arguments first.
Also fixed the as_user_stderr function, before it didn't return stderr
as was meant, and returned neither stout or sstd err.
|
2012-05-21 21:49:58 +01:00 |
|
Marcus Whybrow
|
fd44c3134f
|
Can now list existing servers.
|
2012-05-21 18:34:12 +01:00 |
|
Marcus Whybrow
|
1ceea5bd59
|
Improved command option names, now featuring "jargroup" and "server".
|
2012-05-21 17:59:04 +01:00 |
|
Marcus Whybrow
|
9ffdd27b88
|
Can now rename servers.
|
2012-05-21 16:13:24 +01:00 |
|
Marcus Whybrow
|
20e786d638
|
Can now delete servers (after confirmation).
|
2012-05-21 15:59:23 +01:00 |
|
Marcus Whybrow
|
bef9ce7916
|
Validation checks for create and server commands.
|
2012-05-21 15:52:31 +01:00 |
|
Marcus Whybrow
|
173895ec28
|
Renamed "jars remote" to "jar group" and a few other renames.
|
2012-05-21 14:48:18 +01:00 |
|
Marcus Whybrow
|
d7d7b31b06
|
Can now delete jar groups.
|
2012-05-21 14:39:59 +01:00 |
|
Marcus Whybrow
|
094bcd45ad
|
Creating a jar group now automatically downloads the jar right away.
|
2012-05-21 14:28:37 +01:00 |
|
Marcus Whybrow
|
32014f6bca
|
Added options to download jars files automatically, and create jar groups.
|
2012-05-21 13:22:28 +01:00 |
|
Marcus Whybrow
|
a4f1909357
|
Sketched out the "jars remote create" option
|
2012-05-20 14:02:40 +01:00 |
|
Marcus Whybrow
|
e36826a070
|
Sketched out the create command.
|
2012-05-20 13:40:46 +01:00 |
|
Marcus Whybrow
|
4e3d0299aa
|
Sourced the config file
|
2012-05-20 12:48:13 +01:00 |
|
Marcus Whybrow
|
25fce611f0
|
Missed a syntax error
|
2012-05-20 12:48:00 +01:00 |
|
Marcus Whybrow
|
abfe9caba7
|
Fixed syntax errors.
|
2012-05-20 12:47:45 +01:00 |
|
Marcus Whybrow
|
e94fc91be6
|
Added a global configuration file
|
2012-05-20 12:42:36 +01:00 |
|
Marcus Whybrow
|
a286a9f088
|
Spelling mistake
|
2012-05-20 11:53:02 +01:00 |
|
Marcus Whybrow
|
32006e8088
|
Added Minecraft Multi server init script, with basic switch statement.
|
2012-05-20 11:52:19 +01:00 |
|
Marcus Whybrow
|
e226e9f116
|
Command help now uses actual command name (no longer hard coded.)
|
2012-05-19 22:55:46 +01:00 |
|
Marcus Whybrow
|
61533fa4ac
|
Fixed ramdisk toggle to now delete world from RAM as intended.
|
2012-05-19 22:49:12 +01:00 |
|
Marcus Whybrow
|
bd7cb622bd
|
Added "stop now" and "restart now" script options, and improved log roll to not restart server.
|
2012-05-19 22:42:52 +01:00 |
|
Marcus Whybrow
|
3704cbf851
|
Prevented log lines which don't start with a date from causing a problem.
|
2012-05-19 22:25:22 +01:00 |
|
Marcus Whybrow
|
244617bfe9
|
There is no need to create a new log file, it has not been deleted.
|
2012-05-19 21:08:34 +01:00 |
|
Marcus Whybrow
|
da7e589f49
|
Initial round of fixes, the script now works.
|
2012-05-19 21:05:07 +01:00 |
|
Marcus Whybrow
|
9b569fc3b4
|
Updated the config file to the correct version.
The previous version was a mistakenly old.
|
2012-05-19 17:55:59 +01:00 |
|
Marcus Whybrow
|
aaaa69dbd6
|
Initial (not tested, and most likely not working) files.
Before this initial commit, I worked on the code in a github gist. The
code in this commit comes from this gist commit:
https://gist.github.com/2725916/ce58be848998aa93572f99e62f2e39e06db9463a
|
2012-05-19 17:50:22 +01:00 |
|