Commit Graph

340 Commits

Author SHA1 Message Date
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
894a692e7b Fix #334 2024-02-19 22:22:09 +01:00
9154074a18 Removes a TODO that's already completed 2024-02-17 18:26:26 +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
f657816533 Modify the about command 2023-12-29 12:43:58 +01:00
f37a196dd9 sg debug -> sg 2023-12-28 17:28:59 +01:00
44aadcd225 Implement the debug command 2023-12-28 17:25:13 +01:00
furplag
30cba7051c Update DirectionHelper.java
fix exception occur when invalid yaw ( negative value ) given .
2023-12-28 13:18:04 +09:00
e85f133bc2 Uses depositPlayer for negative economy transactions 2023-08-11 14:42:37 +02:00
3fcae6ca45 Tries to fix a stack trace when Dynmap fails to disable itself 2023-06-27 13:47:35 +02:00
6b6e9d007e Fixes compatibility for pre-1.20 spigot 2023-06-17 14:37:05 +02:00
27fba221d6 Adds per-sign color settings for the new signs 2023-06-07 22:25:41 +02:00
1c06cf2188 Updates depreciated sign API calls 2023-06-07 18:35:22 +02:00
9d48374d28 Possibly fixes #296 2023-05-31 17:13:13 +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
45f3bcc415 Improves logging a bit 2023-04-21 13:41:42 +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
032a4df4d7 Overrides saving 2023-04-19 20:51:35 +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
421e0b17e2 Updates the resource id for the update checker
This change makes the update checker look at https://www.spigotmc.org/resources/stargate.109355/ for updates, instead of the legacy with incorrect version numbering: https://www.spigotmc.org/resources/stargate-old.87978/
2023-04-19 11:06:52 +00:00
a20a1c2f00 Renames the I-flag to the Q-flag 2023-03-25 02:18:28 +01:00
472aeda2f8 Implements BStats statistics 2023-03-25 02:18:05 +01:00
c1720e05a0 Adds a wool gate amongst other things
Adds the wool gate type from legacy
Adds some missing material tag-related code
Updates the URL for update checking
2023-03-25 01:54:43 +01:00
91d855312d Changes the E flag to a V flag for rewrite consistency 2023-03-24 23:52:18 +01:00
10a16000c6 Removes unused frameTypes variable 2023-03-24 23:46:21 +01:00
454bac6f14 Implements support for character tags 2023-03-24 23:44:17 +01:00
ef97da9177 Removes KnarLib.setPlugin call
Some checks failed
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
2022-11-07 22:27:53 +01:00
4fda4c3905 Makes sure to initialize KnarLib properly 2022-11-07 10:01:34 +01:00
2b23e6fc56 Uses KnarLib where possible 2022-11-07 09:57:32 +01:00
b5e2565626 Fixes use of depreciated setWoodType and getWoodType 2022-10-09 10:44:30 +02:00
11d3dc7a92 Increases hitbox of bungee portals using END_PORTAL to fix server change not triggering
Some checks failed
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
2022-06-25 12:11:37 +02:00
1c87d803ff Adds a delayed teleport to really force the player respawn for end_portal Stargate 2022-06-25 11:53:52 +02:00
2076fda4d1 Fixes end portals completely hijacking BungeeCord teleportation 2022-06-25 10:54:19 +02:00