Commit Graph

83 Commits

Author SHA1 Message Date
Shamus03
ca2608e0ff Changed to new log format
Server.log moved to logs/latest.log in the most recent version.
2013-11-09 18:09:19 -06:00
Jason M. Wood
5bdd28de9f The client location changed in Minecraft 1.6, but the script never got updated. This fixes overviewer. 2013-11-03 20:02:41 -07:00
Jason M. Wood
17333144f2 Add a default value parameter to the getPropertiesValue method. 2013-11-01 18:05:42 -06:00
Jason M. Wood
8aa2488495 Rename {get|set}WorldPropertiesValue to {get|set}PropertiesValue 2013-11-01 18:02:51 -06:00
Jason M. Wood
cbcbe7861c Cleanup the dead screen when a server is force stopped. 2013-11-01 17:18:29 -06:00
Jason M. Wood
a0d4f76547 Run force-stop even if the script thinks the server is not running. 2013-11-01 17:08:07 -06:00
Jason M. Wood
a0945c30e0 Make sure the PID is greater than 0 when detecting if a world server is running. 2013-11-01 16:58:04 -06:00
Jason M. Wood
ac0a842ae8 Rename the MCVERSION variable to CURRENT_VERSION 2013-11-01 12:12:20 -06:00
Jason M. Wood
5575758280 Spell out the word command in the usage statement. 2013-11-01 11:19:32 -06:00
Jason M. Wood
fafafe160e Cleanup the command line output of the new create/delete and disable/enable functions. 2013-10-30 12:44:27 -06:00
Jason M. Wood
60d69dbc44 Only create the default world if start is called and no world is found. 2013-10-30 11:50:06 -06:00
Jason M. Wood
7b9c0e6145 Make the Usage statement easier to read. 2013-10-20 19:38:03 -06:00
Jason M. Wood
0c9e494c2d Merge pull request #9 from sandain/master
drop the checkOptionalArgument method, it was buggy.
2013-10-19 19:45:28 -07:00
Jason M. Wood
4a504b62d6 drop the checkOptionalArgument method, it was buggy. 2013-10-19 20:38:54 -06:00
Jason M. Wood
e7118d9e8f Merge pull request #8 from sandain/master
Merge master into world-admin
2013-10-19 19:16:33 -07:00
Jason M. Wood
14971e8d03 Update the CraftBukkit download link 2013-10-19 20:07:46 -06:00
Jason M. Wood
5c49673671 Add more info to the create world option note 2013-10-19 17:47:01 -06:00
Jason M. Wood
1075d813b0 Create a default world if no worlds were found. 2013-10-19 17:04:05 -06:00
Jason M. Wood
fddbc57a62 Fix the delete and disable queryStatus calls 2013-10-19 12:58:47 -06:00
Jason M. Wood
edc8670c9c Merge branch 'master' into world-admin 2013-10-19 12:50:50 -06:00
Jason M. Wood
69774ca333 Start the world server with the enable command. 2013-10-19 12:37:00 -06:00
Jason M. Wood
4b05f22855 Fix the queryStatus call so that a 0 is generated on a query error 2013-10-19 12:24:09 -06:00
Jason M. Wood
723a207164 Add a note about the disable/enable command line arguments 2013-10-19 12:01:56 -06:00
Jason M. Wood
72ed2b1463 Fix the world not found logic of the delete and disable methods 2013-10-19 11:59:01 -06:00
Jason M. Wood
4a18448ec9 Add a method to enable a world 2013-10-19 11:57:04 -06:00
Jason M. Wood
93911d6e7c Add a method to disable a world server 2013-10-19 11:47:23 -06:00
Jason M. Wood
4850ce8d54 Announce when a server is being deleted. 2013-10-19 11:39:44 -06:00
Jason M. Wood
9e152baa1d Update the command line options to add the create/delete commands. 2013-10-19 11:21:26 -06:00
Jason M. Wood
ae850eb5b1 Add a method to delete a world. 2013-10-19 11:15:16 -06:00
Jason M. Wood
0a73c81178 Use the setWorldPropertiesValue method 2013-10-19 11:03:59 -06:00
Jason M. Wood
21a2328e2a Add a method to create a new world. 2013-10-19 10:57:29 -06:00
Jason M. Wood
c9c0f2d9d3 Fix commit d569441519 2013-10-17 16:15:42 -06:00
Jason M. Wood
6f2a255687 Change setPropertiesValue to setWorldPropertiesValue to match getWorldPropertiesValue 2013-10-17 16:08:37 -06:00
Jason M. Wood
d569441519 Merge getPropertiesValue and getWorldPropertiesValue 2013-10-17 16:06:35 -06:00
Joshua
b19541c5bf This bad comment was bugging me 2013-10-07 21:04:37 -06:00
Jason M. Wood
2521e595e2 Drop the remaining unused worlds.conf code 2013-10-05 18:48:00 -06:00
Jason M. Wood
2acb8cfa9c Don't create at default server.properties file in start(), assume that one exists. 2013-10-05 18:44:32 -06:00
Jason M. Wood
edb29b40e3 Merge pull request #7 from sandain/worlds.conf
Find the list of worlds by grabbing a directory listing rather than read...
2013-10-05 17:41:16 -07:00
Jason M. Wood
cece0c8f92 Use the getWorldPropertiesValue method to get the server-port 2013-10-05 18:34:31 -06:00
Jason M. Wood
af271450ea Find the list of worlds by grabbing a directory listing rather than reading the worlds.conf file 2013-10-05 18:30:57 -06:00
Jason M. Wood
9a4d981baa escape the $ of the perl default variable so that it doesn't get interpreted by the shell
Fixes the bug noticed by Aragno.
2013-10-05 17:16:39 -06:00
Jason M. Wood
956bda67d5 Merge branch 'master' into query 2013-08-09 22:05:43 -06:00
Jason M. Wood
5749db60b5 Change the apt-get install link for Java to work for either version 6 or 7. 2013-08-09 22:04:24 -06:00
Jason M. Wood
ae0017788e Add comments for the detailed status queries, and change the format of the other query comments. 2013-08-09 21:42:42 -06:00
Jason M. Wood
bb4d216799 Merge branch 'query' of github.com:sandain/MinecraftServerControlScript into query 2013-08-08 10:06:20 -06:00
Jason M. Wood
88e424312b Add detailed status Query support 2013-08-08 10:06:16 -06:00
Jason M. Wood
ef1fb06818 Drop the CR+LF characters from the Query packets, they aren't needed.
These two characters actually break a future patch that provides a more detailed query option.
2013-08-07 19:30:36 -06:00
Jason M. Wood
567dec3534 Remove unused variable. 2013-08-06 09:40:47 -06:00
Jason M. Wood
f4577e6a78 match the pattern in querySendChallengePacket to the other query methods. 2013-08-06 09:35:46 -06:00
Jason M. Wood
f1792d763b s/reboot/restart/ to match the rest of the text. 2013-08-06 08:09:18 -06:00