Commit Graph

380 Commits

Author SHA1 Message Date
Jason M. Wood
16d9f021fa Merge pull request #80 from sandain/properties
Properties
2015-07-12 19:53:59 -06:00
Jason M. Wood
650a643afd Merge pull request #78 from jjchico/auto_config_migration
Auto config migration
2015-07-12 19:52:28 -06:00
Jason M. Wood
5a2b8a6e78 Merge pull request #79 from sandain/properties
Merge the properties branch
2015-07-12 19:51:31 -06:00
Jorge Juan
0d7a3de905 Add automatic migration to new mscs world config
On startup:

* Check and migrate old-config disabled worlds in worlds-disabled dir to current
  config style.
* Check worlds config and migrate to new per-world config style if necessary.

Notes:

* checkPermission is called first to ensure correct migration so all tasks
  now need root or 'minecraft' user priviledges.
2015-07-10 19:18:23 +02:00
Jorge Juan
628afadbf6 Fix ls/list help 2015-07-10 11:09:49 +02:00
Jorge Juan
c790ae3c8b Update bash completions rules
This is to reflect that some operations can now be applied
to any available world even if not enabled.
2015-07-10 10:25:13 +02:00
Jorge Juan
7dbaa0c1a9 Go back to more robust isWorldEnabled() implementation 2015-07-10 10:02:45 +02:00
Jorge Juan
825f73640b Delete old disabled world code 2015-07-10 09:34:41 +02:00
Jorge Juan
4d4b818239 Adapt detailed listing to new config format
* Added methods getAvailableWorlds() and isWordlAvailable()
  * Make disabled worlds removable
  * Other minor fixing
2015-07-10 08:42:10 +02:00
Jorge Juan
5654b514dc Make 'ls' and 'list' list all available worlds by default
* All available worlds are now listed by default
* The world enable state is included
2015-07-10 08:41:47 +02:00
Jorge Juan
b96771a0f2 Update bash completion to new listing format 2015-07-10 08:40:28 +02:00
Jorge Juan
936ccb3cba More detailed listing or worlds
mscs ls: short list. Includes server port
  mscs list: detailed list. Includes some server.properties fields
2015-07-10 08:39:22 +02:00
Jason M. Wood
c5263bb9b8 Display disabled worlds with the status command 2015-07-09 15:40:45 -06:00
Jason M. Wood
2e58d0223d move mscs options to mscs.properties 2015-07-09 15:39:03 -06:00
Jason M. Wood
80fa28402c Simplify the enable/disable options 2015-07-09 15:35:29 -06:00
Jason M. Wood
b83b1c2432 Merge pull request #74 from jjchico/more_gitignores
Gitignores for ctags
2015-07-07 09:16:09 -06:00
Jorge Juan
1be9592220 Gitignores for ctags 2015-07-06 12:28:34 +02:00
Jason M. Wood
e0ee185be9 Merge pull request #73 from jjchico/contrib
Contrib
2015-07-04 11:39:52 -06:00
Jorge Juan
c02c7254d3 Fix /etc/default/mscs loading
/etc/default/mscs was sourced 'after' default variables were used
making overrides not to work. /etc/default/mscs is now sourced twice,
after LOCATION definition and after other variables definition so all
variables can be overrided. A better fix is let for later.
2015-07-04 18:04:40 +02:00
Jorge Juan
7822c3d014 Fix backup listing
mscs list-backups did not show last backup. Changed parser to use 'date'
2015-07-04 18:02:01 +02:00
Jorge Juan
41edd37866 Ignore *~ editor backup files 2015-07-04 15:41:31 +02:00
Jorge Juan
8e7b17635b Add Makefile 'update' option that installs 'mscs' script only 2015-07-04 15:24:33 +02:00
Jorge Juan
e575948370 Change binary install dir to /usr/local/bin 2015-07-04 15:21:58 +02:00
Jason M. Wood
f816b5046f remove white space. noticed by jjchico 2015-07-02 23:11:19 -06:00
Jason M. Wood
0a26d27d7c move the VERSIONS_DURATION variable to the top 2015-06-05 20:28:50 -06:00
Jason M. Wood
3a1249b586 preserve timestamps on the versions.json file 2015-06-05 20:25:53 -06:00
Jason M. Wood
a8c20ab261 Increase the delay when starting the Query handler 2015-06-05 19:14:18 -06:00
Jason M. Wood
72d28d2148 only restart running worlds on update 2015-06-05 19:13:38 -06:00
Jason M. Wood
27a8612782 kill the lock file 2015-06-05 18:56:05 -06:00
Jason M. Wood
7c04241495 README: Bukkit seems to be dead 2015-06-04 16:05:09 -06:00
Jason M. Wood
4836b95536 Merge branch 'master' of github.com:sandain/MinecraftServerControlScript 2015-05-07 19:27:53 -06:00
Jason M. Wood
b01e403d9e fix mapping with Overviewer 2015-05-07 19:27:41 -06:00
Jason M. Wood
0b36daf7da Use the wide option with ps
Bug found by x_Cydonian_x from minecraftforum.net
2015-04-29 08:44:28 -06:00
Jason M. Wood
fa3d0a2926 fix the completion script 2015-03-25 21:29:50 -06:00
Jason M. Wood
7027d2488f README: add back install notes for SysV style init 2015-03-23 13:10:05 -06:00
Jason M. Wood
35d37908f3 Rename mscs_completion to mscs.completion 2015-03-11 11:13:38 -06:00
Jason M. Wood
a2d9315f2a Rename mscs_completion to mscs.completion 2015-03-10 20:15:21 -06:00
Jason M. Wood
2d77f4968e Rename mscs_completion to mscs.completion 2015-03-10 20:11:24 -06:00
Jason M. Wood
159570ea38 README: note the systemd compatibility 2015-03-03 19:52:32 -07:00
Jason M. Wood
80968e0b3a README: update for rename and systemd install 2015-03-03 19:50:02 -07:00
Jason M. Wood
6aeb377f68 Makefile: Update for SystemD install 2015-03-03 19:38:46 -07:00
Jason M. Wood
c95ae9f04f Add a SystemD service file 2015-03-03 19:37:17 -07:00
Jason M. Wood
5cc04078ed Completion: Rename to mscs 2015-03-03 19:36:20 -07:00
Jason M. Wood
bb16dd5b9c Merge branch 'master' of github.com:sandain/MinecraftServerControlScript 2015-03-03 19:35:10 -07:00
Jason M. Wood
5690765f95 Add usage to completion 2015-03-03 19:34:35 -07:00
Jason M. Wood
287d445a2d Rename minecraft_server to mscs 2015-03-03 19:33:36 -07:00
Jason M. Wood
b8ae1d98d3 Make sure the world directory exists 2015-03-03 19:30:00 -07:00
Jason M. Wood
fca54cca43 Add usage command 2015-03-03 19:27:43 -07:00
Jason M. Wood
5da54b663a Merge branch 'master' of github.com:sandain/MinecraftServerControlScript 2015-02-13 22:50:10 -07:00
Jason M. Wood
ee9c20db18 Update the copyright year
I haven't made any major changes yet, but I'm still maintaining the script and there is a lot of year left for major changes.
2015-02-13 22:45:51 -07:00