9abf60bb31
Reduces some code complexity
2024-02-20 20:48:29 +01:00
cde20e35d5
Uses matcher.find instead of matcher.matches
...
Also removes some code smells
2024-02-20 19:45:41 +01:00
9abf6db27a
Alters the RegEx for replacing the plugin folder path
2024-02-20 19:29:27 +01:00
ee9bc21099
Fixes some code style issues, and attempts to fix test failures
2024-02-20 18:54:04 +01:00
e57aa4097c
Adds a Message enum to avoid string keys
2024-02-20 16:18:38 +01:00
a9e5855194
Improves button and material customization
...
Allows specifying a comma-separated list of materials and tags for a portal's button, open-material, closed-material and border blocks. A random value is used if more than one material is available.0
Uses the supplied button if any, instead of enforcing the specified button material.
Always protects the button against block breaking.
Fixes an incorrect permission result in the previous commit, which caused players stargate access to be inverted.
2024-02-20 15:15:52 +01:00
b4a6ce1a77
Adds nullability annotations among other things
...
Adds nullability annotations for all methods
Fixes some nullability problems and inconsistencies
Gets rid of RelativeBlockVector's inner class
Changes RelativeBlockVector to a record
Simplifies FromTheEndTeleportation's storage, and makes it into a minimal record
Removes the putStringInList method
Gets rid of some primitive list usage
Fixes some incorrect method accessibility
Removes some redundancy in PortalOption
2024-02-20 12:43:01 +01:00
c560063c06
Fixes incorrect formatting and unused imports
2024-02-17 18:22:27 +01:00
a4d4864bdd
Checks markerAPIInitialized during dynmap initialization
2024-01-20 16:11:07 +01:00
3fcae6ca45
Tries to fix a stack trace when Dynmap fails to disable itself
2023-06-27 13:47:35 +02:00
27fba221d6
Adds per-sign color settings for the new signs
2023-06-07 22:25:41 +02:00
0d073a7dad
Fixes #291
2023-05-21 10:58:42 +02:00
53126beba3
Adds author to StargateYamlConfiguration
2023-04-21 16:15:03 +02:00
9a215a7c11
Attempts to make SonarCloud happier
2023-04-21 15:10:20 +02:00
e07adacf73
Reduces the complexity of convertYAMLMappingsToComments
2023-04-21 14:53:23 +02:00
05fadfa558
Removes stack trace printing
2023-04-21 14:03:33 +02:00
fab067c94b
Fixes #287
2023-04-21 13:56:18 +02:00
50015c2912
Adds graceful shutdown for CraftBukkit #286
2023-04-21 12:53:43 +02:00
486149fa01
Improves performance of StargateYamlConfiguration a bit
2023-04-20 18:44:46 +02:00
9d981f2cc6
Fixes a crash caused by StargateYamlConfiguration
2023-04-20 16:02:57 +02:00
aa480faef2
Improves behavior if the config cannot be loaded
2023-04-19 23:13:02 +02:00
24b62ec749
Attempts to properly comment migrated config values
...
Note that for some reason, YamlConfiguration cannot load the output created by StargateYamlConfiguration causing a major crash
2023-04-19 22:17:29 +02:00
c3752db99b
Adds a custom configuration to retain comments
2023-04-19 20:03:23 +02:00
6737a4f789
Adds the missing taxAccounts option
2023-04-19 19:00:02 +02:00
2b23e6fc56
Uses KnarLib where possible
2022-11-07 09:57:32 +01:00
524130c4e0
Avoids some potential NullPointerExceptions related to dynmap integration
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
2022-06-24 03:33:49 +02:00
ce5f3ef52f
Avoids a NullPointerException if dynmap is present, but isn't loaded properly
2022-06-24 03:23:59 +02:00
cae34d395b
Displays bungee markers properly
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
2022-06-18 16:16:36 +02:00
643a48392b
Adds Dynmap integration
...
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
This adds Dynmap integration for displaying Stargates in Dynmap
API version is changed back to 1.18 as 1.19 is still kind of new
Version is now 0.9.4.1
2022-06-18 16:05:05 +02:00
00462799b9
Fixes the default wait for player after teleport delay
2022-02-09 18:28:47 +01:00
28bb6f2109
Improves the generation of the list of available chat colors
2022-02-09 17:19:51 +01:00
6c32de59a8
Makes the delay to prevent client errors configurable
2022-02-08 18:31:26 +01:00
497551d889
Makes the CraftBook remove on eject fix optional
2022-02-08 18:10:02 +01:00
56d59f0d2a
Makes sure to check player passengers from the root entity
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
2022-01-29 00:30:26 +01:00
248caee620
Fixes some minor formatting issues
2022-01-28 23:23:33 +01:00
bddf8c55d5
Adds an option for setting the exit velocity of a teleporting player
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
2022-01-27 05:15:43 +01:00
e86be3e848
Finishes the work required for changing per-sign colors using the /sg config command
2022-01-26 23:27:31 +01:00
366cd3107e
Updates per-sign inverted colors when the main or highlighting color is changed
2022-01-26 20:30:16 +01:00
97670c9367
Adds the possibility to use the inverted default colors for per-sign colors
...
Adds code for getting inverted colors if "inverted" is given as the per-sign color
Fixes exceptions thrown when the per-sign config value is malformed
Changes the default to use inverted colors for crimson, dark_oak, spruce and warped signs
Adds methods to get main and highlighting colors from the portal sign drawer in case the given default colors are invalid and fallback colors are necessary instead
2022-01-26 18:02:53 +01:00
842fd9c452
Fixes a few bugs regarding the new sign color system
...
Fixes missing STRING_LIST in loadConfig switch
Fixes missing color valid check in loadGateConfig
Fixes typing of PER_SIGN_COLORS
2022-01-26 02:06:42 +01:00
2bb0e8670d
Makes a lot of changes necessary for RGB and per-sign color configuration support
2022-01-25 16:46:29 +01:00
cfb4910977
Adds a toggle-able admin alert when any admin joins the server
2021-11-25 14:56:05 +01:00
445638a561
Releases a small hotfix for sign color as version 0.9.2.3
2021-11-25 04:27:36 +01:00
32975ca35d
Rewrites a lot of the config command to only do the minimum necessary steps to load the changes
...
Adds a ConfigTag class for helping to decide the action necessary for updating a given config option
Splits the color setting in PortalSignDrawer as only one color is set at a time when the /config command is used
Updates the configOptions map when a config option is changed
2021-11-24 22:33:45 +01:00
22bb75d4df
Moves some methods from EconomyConfig to EconomyHelper and tries to simplify EconomyConfig
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
2021-11-23 07:20:48 +01:00
10c3914a60
Makes the free gate color configurable
2021-11-15 00:35:28 +01:00
aba70b669e
Adds a method to be able to read config options
2021-11-09 18:21:25 +01:00
d5f4b87e9b
Changes how config values are loaded by using the ConfigOption class
2021-11-09 15:40:10 +01:00
85edaa4657
Adds a new class to represent a data type usable by configs
2021-11-09 15:38:42 +01:00
7c501cefe8
Gives all config options data types to make loading config values work properly
2021-11-09 15:38:10 +01:00