João Pedro Almeida
29e30299c1
chore: update msm version in init
2023-05-01 16:01:02 +01:00
Alexander Savchuk
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
Connor Gibson
a6c8855584
Added newline to end of file if missing
2021-11-24 13:58:33 -08:00
Blaine Motsinger
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
Alexander Savchuk
6c1d8c7c65
Bump version to 0.10.0
2020-12-03 22:43:11 +13:00
Alexander Savchuk
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
Blaine Motsinger
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
Blaine Motsinger
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
Blaine Motsinger
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
M-D-M
d8a6e8cbba
Merge pull request #352 from cebarks/patch-1
...
Added new instantiated Systemd unit file
2020-04-11 14:39:23 -04:00
Danaak
91dd313739
Check if jq is installed and cancel with message on failure
2018-11-01 11:54:56 -07:00
Danaak
33f99989bf
Allow snapshots to download
2018-11-01 10:27:03 -07:00
Alexander Savchuk
3d6f46ec66
Bump version to 0.9.9
2018-10-10 22:35:05 +13:00
Alexander Savchuk
e7d649ff4f
Bump version to 0.9.8
2018-10-04 23:29:24 +13:00
Ben Pflueg
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
Ben Pflueg
2f1796bf86
Fix code indentions; Show path to eula.txt when it is not accepted yet
2018-10-01 19:35:31 +02:00
Alexander Savchuk
0311691f9b
Try releasing a new version to fix version.json issue
2018-07-20 14:45:59 +12:00
Danaak
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
M-D-M
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
Anten Skrabec
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
Vladimir Kirov
06207153ac
Quoting to avoid expansion
...
Should address #330 #327 and #319
2016-10-26 22:01:14 +03:00
Tristan Donkers
6a48129c0e
bumped version and update changelog
2015-10-07 17:20:38 +11:00
Tristan Donkers
299d2b0b00
Prevent info about unset server version being printed during logroll or config command
2015-09-22 03:07:00 +10:00
Tristan Donkers
556733d192
Fix bug where in some situations $SERVER_PATH was being prepended to $*_PATH variables unnecessarily.
2015-09-12 13:16:59 +10:00
Tristan Donkers
7646dfa403
Missed a ; in the versionable_properties list. Damn it.
2015-09-06 13:03:18 +10:00
Tristan Donkers
911ba13b05
Change case of local versionable_properties
to match precedence.
2015-09-06 12:59:13 +10:00
Tristan Donkers
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
Tristan Donkers
d38a328324
Merge branch 'versionable_properties'
2015-08-29 15:20:44 +10:00
Tristan Donkers
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
Tristan Donkers
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
Tristan Donkers
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
Tristan Donkers
f4d0c14aab
Moved the server.properties checking to it's own function, read_server_conf().
2015-08-23 11:26:30 +10:00
Tristan Donkers
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
Tristan Donkers
64e14e5b16
Only return 0 if this is a CONSOLE_ variable.
2015-08-23 10:08:59 +10:00
Tristan Donkers
9b60033c24
Change if conditions so versioning files are read for *_PATH as well as CONSOLE_* variables.
2015-08-23 10:07:31 +10:00
Tristan Donkers
3e9e72e128
Move the if block for making paths absolute into the server_set_property() function.
2015-08-23 10:06:14 +10:00
Tristan Donkers
4f85edb958
Use the server_set_property() function to set property values in all cases.
2015-08-23 10:00:51 +10:00
Tristan Donkers
a0850d7595
Add set_property() function to load properties from versioning files.
2015-08-23 09:56:54 +10:00
Blaine Motsinger
ce0ea447a4
bumped version
2015-08-22 11:04:57 -05:00
Tristan Donkers
73d4782e6e
No longer required now tail has --follow=name --retry
2015-08-15 04:19:26 +10:00
Tristan Donkers
d6c7a08126
Hide errors from tail if server log get rolled during command_server_cmdlog(), server_log_get_line() or server_log_dots_for_lines().
2015-08-15 04:13:55 +10:00
Tristan Donkers
d2467fba9a
Add retry to tail, for cases where server rolls own log.
2015-08-15 02:39:47 +10:00
Tristan Donkers
6386814d46
Fix escaping fail on awk command in log_line_get_time()
2015-08-15 02:37:07 +10:00
Tristan Donkers
621963cf1c
Update awk comand for time_string to support pre and post 1.7 log format
2015-08-15 01:28:28 +10:00
Tristan Donkers
c8c4788091
Moved LOG_REGEX variable to versioning file.
2015-08-14 02:46:28 +10:00
Marcus Whybrow
4f90d9453a
Don't exit if single server is blocked by EULA
2015-07-26 01:22:08 +01:00
Marcus Whybrow
09ac4a93fc
Correct grammar for "an EULA" message
2015-07-25 08:00:17 +01:00
Marcus Whybrow
ffff59c6cb
Remove unnecessary whitespace (thanks Atom)
2015-07-25 07:48:56 +01:00
Marcus Whybrow
0455eb0236
Use error_exit() to report eula error message
2015-07-25 07:47:58 +01:00
Blaine Motsinger
d8e24f28a3
Added check for eula=true, as discussed in Issue #271
2015-07-25 04:31:33 +00:00