Commit Graph

107 Commits

Author SHA1 Message Date
Shamus03
da71de46c3 Changed formatting of command completion file
Variable names are now capitals, removed curly brackets around
variables, and removed unused local base.
2013-11-15 20:49:01 -06:00
Shamus03
e69e77a870 Added basic command completion
In order to finish up the tab completion, a few commands will need to be
added in order to allow for context-dependent completion.

For example, when the user types `minecraft_server stop [TAB]`, they
should only be provided with worlds that are currently running.  The
same goes with enabling/disabling worlds, etc.
2013-11-14 21:25:01 -06:00
Jason M. Wood
fda2fdf79c Hopefully finish the query fix (aka fix a bug I just introduced) 2013-11-14 14:47:04 -07:00
Jason M. Wood
ea6e95e056 Attempt at fixing the query bug 2013-11-14 14:44:57 -07:00
Jason M. Wood
a977f75a9c Merge pull request #17 from Shamus03/master
Changed to new log format
2013-11-09 22:33:31 -08:00
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
fd74f1a1d6 Merge pull request #14 from sandain/world-admin
Merge the world-admin branch.
2013-10-31 08:36:26 -07: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
fc2911bc5c Merge master 2013-10-30 12:35:42 -06:00
Jason M. Wood
6b41f48312 Make the Usage statement easier to read.
Backported from 7b9c0e6145
2013-10-30 11:53:58 -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
2305183ee8 Update the CraftBukkit url 2013-10-19 20:08:56 -06: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
9413c33a9f Add the create/delete and disable/enable commands to the README 2013-10-19 17:43:05 -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
7cdce20fba Update the documentation for multiple worlds to reflect the removal of the worlds.conf file 2013-10-05 18:53:18 -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