Commit Graph

341 Commits

Author SHA1 Message Date
Jason M. Wood
7d378295b3 Create a fresh backup before restoring a backup 2014-09-01 15:07:10 -06:00
Jason M. Wood
07ff2c8e7f Modify the permissions of the backup location. 2014-09-01 15:05:36 -06:00
Jason M. Wood
c8fe94c778 Add the list-backups and restore-backup commands to the bash completion script 2014-09-01 13:33:44 -06:00
Jason M. Wood
bf19f36f46 Add the restore-backup command for restoring world backups. 2014-09-01 13:32:27 -06:00
Jason M. Wood
3172795243 Add a the list-backup command for listing the timedate of available backups for a world. 2014-09-01 13:27:46 -06:00
Jason M. Wood
bf0801ab01 Default to true when checking the EULA value 2014-08-27 16:50:18 -06:00
Jason M. Wood
1166006879 Make sure the getValue method returns the default value if the file is missing 2014-08-26 19:22:55 -06:00
Jason M. Wood
b84b0b7783 Make sure the EULA has been accepted prior to starting a world server 2014-08-26 19:20:57 -06:00
Jason M. Wood
81934b94c2 Split setPropertiesValue in two to make it generic
This will allow us to write key/value pairs to other files.
2014-08-26 12:51:11 -06:00
Jason M. Wood
aaa07c5a15 Split getPropertiesValue in two to make it generic
This will allow us to read key/value pairs from other files.
2014-08-26 12:46:20 -06:00
Jason M. Wood
7c9553ef32 Readme: Add a note about the EULA 2014-08-23 17:06:48 -06:00
Jason M. Wood
0e171e0ba8 Merge pull request #53 from Shamus03/master
Fixed error when version name contains a hyphen
2014-08-22 10:41:26 -06:00
Shamus Taylor
241e18ad8c Fixed error when version name contains a hyphen 2014-08-22 11:24:25 -05:00
Jason M. Wood
9d338333c2 Makefile: Run clean before installing 2014-08-06 09:06:21 -06:00
Jason M. Wood
f84b70b194 Create a backup copy of the versions.json file 2014-08-06 08:56:04 -06:00
Jason M. Wood
38098a4293 Revert bf864b40e0 2014-06-23 10:23:55 -06:00
Jason M. Wood
bf864b40e0 Require network services 2014-06-19 20:57:11 -06:00
Jason M. Wood
585ba05b9a Delete older versions.json files using minutes rather than days 2014-06-19 13:28:16 -06:00
Jason M. Wood
80ee6c5f12 detect an empty versions.json file 2014-06-19 13:08:03 -06:00
Jason M. Wood
584edfd754 use printf rather than echo for errors 2014-06-19 13:06:18 -06:00
Jason M. Wood
07e3a98940 fix error reporting 2014-06-19 12:35:46 -06:00
Jason M. Wood
d1f2fc0992 Report an error if the version string is empty 2014-06-18 12:30:54 -06:00
Jason M. Wood
41c5292b4c Avoid zombie process creation in the start command. 2014-05-06 09:11:15 -06:00
Jason M. Wood
08915589ff Merge pull request #51 from gglachant/master
Fix small non-code typos.
2014-05-06 08:48:12 -06:00
Gabriel Glachant
67cade9729 Fix small non-code typos. 2014-05-06 15:53:55 +02:00
Jason M. Wood
483eca7b55 Revert 1b682d7c80
It doesn't fix the problem and introduces a new one.
2014-05-02 00:37:46 -06:00
Jason M. Wood
1b682d7c80 Make sure we found the version information 2014-05-02 00:19:25 -06:00
Jason M. Wood
bbd49fd6be Fix the versions.json download.
Make sure the directory exists.
2014-04-29 09:09:36 -06:00
Jason M. Wood
8a3b884b74 Stop BungeeCord servers.
It would be better to send just the correct command for the server type, but sending both does no harm.
2014-04-17 16:03:03 -06:00
Jason M. Wood
9b8d8736ca Report errors of the versions.json download 2014-04-17 15:58:51 -06:00
Jason M. Wood
0f93a5779d Fix the versions.json duration check 2014-04-15 13:35:39 -06:00
Jason M. Wood
ff96168b30 README: remove notes about the MOTD and lib-notify 2014-04-06 10:17:10 -06:00
Jason M. Wood
48dc389122 More dead code removal: MOTD 2014-04-06 10:09:13 -06:00
Jason M. Wood
454914789f Drop the lib-notify code, it has been rotting for a while 2014-04-06 10:06:58 -06:00
Jason M. Wood
42b6a14b21 Display the version with the status command 2014-04-03 16:20:34 -06:00
Jason M. Wood
fd8f23bb27 Fix the version detection regex for snapshots 2014-04-03 15:19:50 -06:00
Jason M. Wood
2ce38aef21 Fix the current version timeout variable 2014-04-02 21:17:57 -06:00
Jason M. Wood
78a0453483 README: Add the new variable mscs-version-type 2014-04-02 20:38:17 -06:00
Jason M. Wood
bdaa7ff686 Move the current version detection method to its own subroutine 2014-04-02 20:32:42 -06:00
Jason M. Wood
882dfaba7a Add single quotes around the CURRENT_VERSION variable 2014-04-02 19:30:53 -06:00
Jason M. Wood
63507ae5d0 Describe how to import an existing world. 2014-02-10 13:18:23 -07:00
Jason M. Wood
99e067f545 Do completion for the console command. 2014-02-08 12:35:13 -07:00
Jason M. Wood
adabf4441a Repack the query response only if there is a response. 2014-02-06 17:12:06 -07:00
Jason M. Wood
237bac4ecf Add the console command to the README 2014-02-06 15:49:55 -07:00
Jason M. Wood
84a1a5dff6 Add the console command 2014-02-06 15:47:52 -07:00
Jason M. Wood
b35ad96704 Read the server-ip from the server.properties in queryStart 2014-02-06 13:50:57 -07:00
Jason M. Wood
162f59b370 Add part of Lathanael's patch. 2014-02-06 13:37:44 -07:00
Jason M. Wood
dfcdb46ff9 Add an error message to the queryStart method 2014-01-28 10:02:42 -07:00
Jason M. Wood
eac9ace540 Drop useless variables
Part of @Lathanael's Forge patch
2014-01-26 16:36:33 -07:00
Jason M. Wood
7a01d8ae18 Remove extra whitespace at the ends of lines 2014-01-11 14:14:39 -07:00