Commit Graph

636 Commits

Author SHA1 Message Date
09e28b7118 Merge pull request #445 from Touratica/patch-1
chore: update msm version in init
2023-05-02 10:07:05 +12:00
29e30299c1 chore: update msm version in init 2023-05-01 16:01:02 +01:00
0b8f063b42 Update change log for tags 0.10.1 and 0.11.0 0.11.0 2023-04-29 23:48:36 +12:00
72bf11364e Merge pull request #442 from Touratica/master
Fix non-interactive install, and java, software-properties-common, sudo and wget dependencies
2023-04-29 19:14:29 +12:00
ce826d2d08 Merge pull request #429 from renderorange/switch-testing-to-github-actions
Switch testing to GitHub actions
2023-04-29 19:11:28 +12:00
4e16a77a11 Merge pull request #428 from renderorange/update-to-print-error-if-error-on-startup
Add check for successful server startup
2023-04-29 19:10:36 +12:00
3f5bab876b Merge pull request #431 from Next-Door-Tech/cleanup
Very minor - clean up extraneous whitespace
2023-04-29 19:08:19 +12:00
711b15aa1e Merge pull request #432 from Next-Door-Tech/git-release
Fix the git-release GitHub Action workflow constantly creating errors
0.10.1
2023-04-29 18:31:42 +12:00
52f26a6911 Fix non-interactive install, and java, software-properties-common, sudo and wget dependencies (#1)
* Set dependency installation as non-interactive

Fixes: apt waits for user input when installing dependencies #439

* Add sudo and wget as dependencies

Fixes: Installer assumes system has sudo and wget installed #440

* Add openjdk-17-jre-headless as dependency

The script will install openjdk-17-jre-headless if java isn't installed already. The choice for version 17 was motivated by the fact it is the latest LTS version and also that it is required for running Minecraft 1.18 and above.

Fixes: Make java an MSM installation dependency? #295

* Add software-properties-common as dependency

The Debian script now installs software-properties-common if not installed, so it can use add-apt-repository.

Fixes: Installer assumes software-properties-common is installed on debian system #441

* Fix broken whitespace
2022-07-25 01:34:02 +01:00
471929a658 Remove workflow trigger for any push to master branch 2021-11-24 18:59:10 -08:00
75bd424932 Pin git-release workflow to version 4.x.x
Done to prevent future issues due to major updates to git-release
2021-11-24 18:58:59 -08:00
21677a3de3 Remove env ALLOW_TAG_PREFIX from build.yml
Option was deprecated in git-release v4.0.0. No replacement is needed b/c msm's version tags do not have a static prefix before the version number. (i.e. tag name is "0.9.10", not "version-0.9.10")
2021-11-24 18:58:49 -08:00
439771593b Removed extraneous whitespace 2021-11-24 13:58:33 -08:00
a6c8855584 Added newline to end of file if missing 2021-11-24 13:58:33 -08:00
18f54ecb3c Removed extra whitespace in whitespace-only lines 2021-11-24 13:58:33 -08:00
86544fbfb9 Remove travis build link from README
Additionally remove another donate link.
2021-11-13 20:50:50 -06:00
551e191b6a Add GitHub Action manifest for testing 2021-11-13 20:50:50 -06:00
095d14ce3c Remove travis build manifest 2021-11-13 20:50:43 -06:00
93f3b96d88 Add check for successful server startup
The server_start function always assumes successful startup, which
is confusing if the server didn't actually start.

More work needs to be done to trap and return the error on startup,
but for now, this at least lets the admin know the server didn't
actually start.
2021-11-13 16:48:48 -06:00
3c1e6ebadb Merge pull request #418 from endofcake/master
Add GitHub Action manifest
2021-02-23 07:52:32 +00:00
1eb15e6b6e Add GitHub Action manifest 2021-02-07 19:31:25 +13:00
5c28b6fc5c Merge pull request #416 from msmhq/fix-version
Fix change log entry for version 0.10.0
0.10.0
2021-02-07 18:14:38 +13:00
91e3b933a3 Fix change log entry for version 0.10.0
Previous version of the entry had a typo in the version and
somehow missed the fact that there were a few other releases
in the last few years.

There's not much value in retroactively adding them to the change
log, but we should be more careful in the future.
2021-01-28 00:29:08 +13:00
6c1d8c7c65 Bump version to 0.10.0 2020-12-03 22:43:11 +13:00
1e186a8821 Merge pull request #401 from renderorange/fix-bash-variable-expansion-for-debian-installer
Fix bash variable expansion for Debian installer
2020-12-03 22:21:05 +13:00
7680df5d79 Merge pull request #403 from renderorange/remove-invalid-java-invocation-arguments
Remove invalid java invocation arguments
2020-12-03 22:20:23 +13:00
901f02bb19 Merge pull request #405 from renderorange/convert-server-txt-files-to-json
Convert server txt files to json
2020-10-15 21:02:39 +13:00
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
5126e6623c Remove invalid java invocation arguments
The UseConcMarkSweepGC, CMSIncrementalPacing, and AggressiveOpts
arguments are no longer supported in current versions of Java.
Java fails to start with them present.

Additionally, having less specific default invocation options
allows supporting more versions of Java and makes for less
maintenance into the future as options are deprecated.

Invocation options can be added to individual server configs, or
to the global config, if the user wants to change the defaults.

Fixes issue #402
2020-09-26 23:43:46 -05:00
6f70d7b71f Fix bash variable expansion for Debian installer
Fixes issue #400
2020-09-26 17:02:50 -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