Commit Graph

664 Commits

Author SHA1 Message Date
Jason M. Wood
7fbbdaf199 Update the server software only when start or update is called. 2013-12-02 22:10:56 -07:00
Jason M. Wood
0b61e9e46f Port the check permission patch from master 2013-12-02 22:07:57 -07:00
Jason M. Wood
0fd382021a whitespace 2013-12-02 21:50:29 -07:00
Jason M. Wood
0957d4c18a whitespace 2013-12-02 21:49:55 -07:00
Jason M. Wood
a5d7451f85 Corect the usage statement for the update command. 2013-12-02 21:47:57 -07:00
Jason M. Wood
14f115ea2b Fix whitespace issue 2013-12-02 21:42:41 -07:00
Jason M. Wood
6620429295 Accept world arguments to the update option 2013-12-02 21:34:39 -07:00
Jason M. Wood
23263020b5 Accept world arguments to the update option 2013-12-02 21:30:26 -07:00
Jason M. Wood
e1f781eef2 Make sure the disabled world directory exists when disabling a world 2013-12-02 20:54:12 -07:00
Jason M. Wood
75ff670376 Completion - The create/new and enable options should not complete enabled worlds 2013-12-02 20:47:41 -07:00
Jason M. Wood
86b63b417a Add a Makefile 2013-12-02 20:39:12 -07:00
Jason M. Wood
d814f936e1 Completion - Grab the list of active worlds from the init.d script 2013-12-02 19:29:18 -07:00
Jason M. Wood
44e75a4301 Add a list command to get a list of active worlds 2013-12-02 19:27:52 -07:00
Jason M. Wood
67014bd1e0 Move the permission check to a subroutine 2013-12-02 19:26:56 -07:00
Jason M. Wood
f71b351393 Readme - Spell check, match wiki. 2013-12-02 14:24:07 -07:00
Jason M. Wood
71a0efef21 Add a note about completion support to the README 2013-12-02 14:17:44 -07:00
Jason M. Wood
a3ae02e2b4 Completion - Use the same whitespace pattern as the init.d script 2013-12-02 14:13:18 -07:00
Jason M. Wood
7459736b1d Merge pull request #32 from sandain/master
Merge changes to completion in master
2013-12-02 13:02:14 -08:00
Jason M. Wood
3e61b08b00 Completion - Remove unnecessary quote-marks and a return statement 2013-12-02 13:56:09 -07:00
Jason M. Wood
9b1a7875a1 completion - Remove extra whitespace 2013-12-02 13:52:18 -07:00
Jason M. Wood
10c41d70bd completion - Declare local variables at the top of the subroutine. 2013-12-02 13:45:41 -07:00
Jason M. Wood
7fe654d196 Merge pull request #31 from sandain/master
Merge the completion script
2013-12-02 12:38:27 -08:00
Jason M. Wood
3ac4986312 Completion - Fix the options 2013-12-02 13:17:03 -07:00
Jason M. Wood
8a6d99aeee Default to the OPTS list only on the first COMP_CWORD 2013-12-02 13:10:18 -07:00
Jason M. Wood
0cf40a409d completion - Fix the location of the init.d script 2013-12-02 12:55:29 -07:00
Jason M. Wood
e118098f97 Move and rename the completion script 2013-12-02 12:53:47 -07:00
Jason M. Wood
8070afaac5 Merge branch 'master' of https://github.com/Shamus03/MinecraftServerControlScript into completion 2013-12-02 12:52:43 -07:00
Jason M. Wood
fa29864142 Merge pull request #30 from sandain/master
Merge master
2013-12-01 12:43:22 -08:00
Jason M. Wood
a65a3147e8 Remove the duplicate enable-query check 2013-12-01 13:13:52 -07:00
Jason M. Wood
1c8b4b15fb Make sure the key/value are lower case when returning server.properties values 2013-12-01 13:12:01 -07:00
Jason M. Wood
7c20be9ae8 Merge pull request #29 from sandain/master
Merge socat changes
2013-12-01 12:06:41 -08:00
Jason M. Wood
f5cc876c78 Merge pull request #28 from sandain/socat
Use socat rather than netcat to avoid dealing with the various incompatible versions of netcat.  Fix issues #25, 26, and #27.
2013-12-01 11:35:58 -08:00
Jason M. Wood
5a3e8f2f61 Only use the Query protocol if it is enabled 2013-12-01 12:29:39 -07:00
Jason M. Wood
71b515df0e Add the socat dependency to the README 2013-12-01 11:53:03 -07:00
Jason M. Wood
043365c3e4 Add socat as a dependency of the script 2013-12-01 10:57:09 -07:00
Jason M. Wood
8bd9479fcc Use socat rather than netcat for Query 2013-12-01 10:52:06 -07:00
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
57f63a16aa Merge pull request #22 from sandain/master
Merge the query fix into the server.properties branch
2013-11-14 15:00:48 -08: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
20fa0ea33a Merge pull request #18 from sandain/master
Merge Shamus03's log format patch
2013-11-09 22:35:47 -08: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
c292495f13 Split the getWorldProperties method into multiple methods 2013-11-06 19:21:37 -07:00
Jason M. Wood
dd48ccb215 Merge pull request #16 from sandain/master
The client location changed in Minecraft 1.6, but the script never got u...
2013-11-03 19:06:49 -08: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
be13cb9609 spelling fix 2013-11-03 19:11:49 -07:00
Jason M. Wood
c50b774c19 Move the default world, port, and IP variables to join the rest of the default world variables 2013-11-03 11:41:14 -07:00
Jason M. Wood
64e86b01c5 Make sure the mscs-server-version works even if it is the only option used. Move the default server version to the top of the file rather than forcing the current version to be default. 2013-11-03 11:30:48 -07:00