Commit Graph

32 Commits

Author SHA1 Message Date
Jason M. Wood
4bb0888d6b Reduce the number of retries before failure. 2013-08-05 23:18:05 -06:00
Jason M. Wood
fb194359bb Increase the delay to shutdown when there are users logged on. 2013-08-05 22:28:55 -06:00
Jason M. Wood
8130b8c6b0 Remove odd characters from the two MOTD regex. 2013-08-05 19:30:13 -06:00
Jason M. Wood
b69857539d Update printf statement to reflect the correct type in the new worldStatus method. 2013-08-05 18:28:01 -06:00
Jason M. Wood
854543d497 Use the Minecraft Query server rather than the log file to track the number of users. 2013-08-05 17:32:23 -06:00
Jason M. Wood
6fbc33d66a Update the minecraft client download link. Nice work finding the links Zanix. 2013-08-04 12:07:48 -06:00
Jason M. Wood
d75f1dd03a Detect the latest Minecraft version and update the server download link. 2013-08-04 11:56:44 -06:00
Jason M. Wood
973a3b23af Use Webmaka's mirror image method. 2013-08-04 11:33:58 -06:00
Jason M. Wood
37e548077d Swap tabs for two spaces. 2013-08-04 10:09:40 -06:00
Joshua
74d73b026f Support for per-world MOTD
Added the ability to use a worldname.motd file in
/home/minecraft/worlds/ when the script calls getMOTD() or tellMOTD()
2013-07-18 22:12:55 -06:00
Joshua
26d86ba1bf Added getWorldPropertiesValue(world, key)
Wrapper for getPropertiesValue which expects a file path to
server.properties so worldname can be used to get a server.properties
value
2013-07-18 21:57:42 -06:00
Joshua
dae2b8fa92 Maybe I should check if my final edits are saved first 2013-07-17 00:13:36 -06:00
Joshua
7377ac6152 Added getPropertiesValue(server.properties, key), returns value of the key
This may need some work since it's valid for a key to exist with no
value. Currently this returns "--" if the key does not exist, and "" if
the key exists and there is no value.
2013-07-17 00:11:37 -06:00
Jason M. Wood
095254f70e Update the download URL for the Minecraft server to work with version 1.6.2
The old link still points to version 1.5.x, and I have not yet found a new link that will work for future versions.
2013-07-13 09:46:42 -06:00
Jason M. Wood
7df5b9449d Drop the requirement for networking on startup/shutdown in the init info, as per WebMaka's script 2013-06-27 10:06:00 -06:00
Jason M. Wood
adeec37631 Decrease the backup duration to 15 days to match Webmaka's version of the script. 2013-06-26 17:20:21 -06:00
Jason M. Wood
b654acfb96 Drop the update old worlds.conf code. 2013-06-26 16:49:34 -06:00
Jason M. Wood
30cfda38b3 Better match comments on WebMaka's version of the script. 2013-06-26 16:48:37 -06:00
Jason M. Wood
19a89b9f9f Make the sync method useful even if the mirror_image option is disabled. 2013-06-26 16:29:52 -06:00
Jason M. Wood
c2fd1338a7 Better match WebMaka's version of the script. 2013-06-26 16:28:52 -06:00
Jason M. Wood
3365d9642d move the delay out of the displayScreen method to match webmaka's script 2013-06-25 23:15:34 -06:00
Jason M. Wood
99e4511c75 better match comments in webmaka's script 2013-06-25 23:06:38 -06:00
Jason M. Wood
098419dedc whitespace 2013-06-25 22:43:34 -06:00
Jason M. Wood
951f896aa1 remove extra whitespace 2013-06-25 22:27:19 -06:00
Jason M. Wood
65b873370b Update some comments to match webmaka's version of the script 2013-06-25 22:18:56 -06:00
Jason M. Wood
a9f9da6d2e Remove whitespace in shebang 2013-06-25 22:04:02 -06:00
Jason M. Wood
32860f0885 Add periods (.) to the end of lines of script output to better match Debian policy 2013-06-25 21:58:29 -06:00
Jason M. Wood
bf62be9506 Add a copyright header to the script 2013-06-24 15:30:46 -06:00
Jason M. Wood
cff9f587df wrap a number of lines at 78 characters 2013-06-24 14:25:27 -06:00
Jason M. Wood
0a6659dd8d cleanup comments 2013-06-24 14:20:10 -06:00
Jason M. Wood
f8766909ea Cleanup the usage statement 2013-06-24 14:11:34 -06:00
Jason M. Wood
1c967a0021 Copy the script over from Sourceforge 2013-06-24 12:26:09 -06:00