Commit Graph

607 Commits

Author SHA1 Message Date
fc954bc210 Update wl, bl, and op commands to not edit files
This commit updates the wl, bl, and op commands to no longer edit
their corresponding server files.  msm still edits config settings
in files, but relies on minecraft server to manage it's own files,
passing the commands to the running server for changes.

Minecraft server moved to json in version 1.7.2 which made
directly editing txt files no longer work.

This change follows the pattern of the other passthrough commands
that if the server isn't running, returns error_exit informing the
user the server is not running.

Fixes issue #404
2020-09-27 17:10:55 -05:00
4022d5a816 Convert default server txt files to json
This commit changes the default server files from txt to json.

The only exception is ops.txt which is still populated with users
from DEFAULT_OPS_LIST on server creation.  Until msm is updated to
correctly populate ops.json on startup, msm relies on minecraft
server's mechanism to convert ops.txt.

Fixes issue #404
2020-09-27 16:33:53 -05:00
5b69c6a63f Merge pull request #394 from tlindsay42/archive-cleanup
Add configurable archive cleanup
2020-09-24 21:07:16 +12:00
da0832178c * [Reference](https://github.com/msmhq/msm/issues/50#issuecomment-7082834) 2020-07-19 10:35:19 -05:00
d8a6e8cbba Merge pull request #352 from cebarks/patch-1
Added new instantiated Systemd unit file
2020-04-11 14:39:23 -04:00
30d6f6fd6c Merge pull request #389 from SirJosh3917/patch-1
add dollar sign for interpolation
2020-03-31 21:14:37 +13:00
5bd2bc2a95 add dollar sign for interpolation
i'm pretty sure this is useful, right?
2019-11-28 21:29:21 -05:00
1b93ba85ce Merge pull request #369 from danaak/master
Allow snapshots to be downloaded
0.9.10
2018-11-04 15:05:39 +13:00
91dd313739 Check if jq is installed and cancel with message on failure 2018-11-01 11:54:56 -07:00
33f99989bf Allow snapshots to download 2018-11-01 10:27:03 -07:00
3d6f46ec66 Bump version to 0.9.9 0.9.9 2018-10-10 22:35:05 +13:00
36aafd4092 Merge pull request #367 from Kadah/patch-1
Enable universe repository on Ubuntu for jq package
2018-10-10 22:33:30 +13:00
0694e5dc74 Enable universe repository on Ubuntu for jq package 2018-10-04 15:22:56 -07:00
e7d649ff4f Bump version to 0.9.8 0.9.8 2018-10-04 23:29:24 +13:00
e790b9de3b Merge pull request #365 from pflueg/fix-download-vanilla-server
Fix download vanilla server
2018-10-04 23:16:43 +13:00
dc290582eb Fix downloading latest file for minecraft jargroup
- Use 'jq' as json interpreter instead of grep regex
- Use latest package format
2018-10-01 19:44:06 +02:00
2f1796bf86 Fix code indentions; Show path to eula.txt when it is not accepted yet 2018-10-01 19:35:31 +02:00
0311691f9b Try releasing a new version to fix version.json issue 0.9.7 2018-07-20 14:45:59 +12:00
b222218d3f Merge pull request #363 from danaak/new-version-manifest
Update to handle the new server urls
0.9.6
2018-06-27 17:11:47 +12:00
3d2224591b Update to handle the new server urls
aws pathing is no longer being updated. This grabs the latest package file and extracts the server jar
2018-06-25 15:22:53 +07:00
59b137e8f5 Update version number to 0.9.5 to support #346
Update version number to 0.9.5 to support pull #346
2017-04-18 14:35:40 -04:00
375d19ed4a Merge pull request #346 from morbeo/patch-1
Quoting a variable to avoid expansion
2017-04-18 11:47:41 -04:00
6fef7d8653 Added new instantiated Systemd unit file
Allows for the individual control of msm servers with SystemD
2017-01-18 15:51:51 -07:00
06207153ac Quoting to avoid expansion
Should address #330 #327 and #319
2016-10-26 22:01:14 +03:00
b932ccb71b Merge pull request #326 from tmad40blue/patch-1
Typo fix
2016-03-27 14:16:13 -05:00
361e3e1382 Typo fix
"Upcoming" on the main page was misspelled as "upcomming". Fixed for you =)
2016-01-18 23:42:15 -05:00
9b3bdded84 Merge pull request #325 from tcyrus/patch-1
Fix Build Failure
2016-01-15 16:29:20 -08:00
fb3e09f4e5 Update .travis.yml
Should fix Build Failure
Updates Package Listings Before Installing `shunit2`
2016-01-15 19:23:29 -05:00
97784b4588 Merge pull request #324 from tcyrus/patch-1
Update README.markdown
2016-01-15 13:48:31 -08:00
f878a6a382 Update README.markdown 2016-01-15 16:28:18 -05:00
6a48129c0e bumped version and update changelog latest 0.9.4 2015-10-07 17:20:38 +11:00
1c5ada24f9 Merge pull request #310 from donkers/master
Versionable Properties
2015-10-07 17:15:17 +11:00
299d2b0b00 Prevent info about unset server version being printed during logroll or config command 2015-09-22 03:07:00 +10:00
556733d192 Fix bug where in some situations $SERVER_PATH was being prepended to $*_PATH variables unnecessarily. 2015-09-12 13:16:59 +10:00
7646dfa403 Missed a ; in the versionable_properties list. Damn it. 2015-09-06 13:03:18 +10:00
911ba13b05 Change case of local versionable_properties to match precedence. 2015-09-06 12:59:13 +10:00
c41ba62dab Defined a list of properties that can be versioned, the regex filter was not strict enough. 2015-09-06 12:37:46 +10:00
d38a328324 Merge branch 'versionable_properties' 2015-08-29 15:20:44 +10:00
66c60976b5 Applied the 'script /dev/null' fix to the screen -r command in the command_server_console() function. 2015-08-29 14:43:09 +10:00
af13191bb2 refactor of server_set_property(), move content of if block into the case statement and check if path is already absolute. 2015-08-28 23:25:28 +10:00
0a637b82b7 Call read_server_conf() when reading set_property lines in versioning files. This allows overrides of version properties in the server.properties. 2015-08-23 11:32:02 +10:00
f4d0c14aab Moved the server.properties checking to it's own function, read_server_conf(). 2015-08-23 11:26:30 +10:00
ef2a6c537c Code re-factoring: Move case statment applying post-changes to values to the server_set_property() function. 2015-08-23 11:18:38 +10:00
7f11ec62d5 Add LOG_PATH to version files. 2015-08-23 10:10:04 +10:00
64e14e5b16 Only return 0 if this is a CONSOLE_ variable. 2015-08-23 10:08:59 +10:00
9b60033c24 Change if conditions so versioning files are read for *_PATH as well as CONSOLE_* variables. 2015-08-23 10:07:31 +10:00
3e9e72e128 Move the if block for making paths absolute into the server_set_property() function. 2015-08-23 10:06:14 +10:00
4f85edb958 Use the server_set_property() function to set property values in all cases. 2015-08-23 10:00:51 +10:00
a0850d7595 Add set_property() function to load properties from versioning files. 2015-08-23 09:56:54 +10:00
ce0ea447a4 bumped version 0.9.3 2015-08-22 11:04:57 -05:00