Commit Graph

669 Commits

Author SHA1 Message Date
f77ead15c4 Uses optional legacy method when getting sign lines 2024-06-01 20:13:20 +02:00
2c98103db0 Adds missing return statement. 2024-05-17 20:33:56 +02:00
85928a23a3 Merge branch 'legacy' of https://github.com/stargate-rewritten/Stargate-Bukkit into legacy 2024-05-17 20:30:42 +02:00
97643d8ce0 Adds condition to require exactly one exit point
Note that Legacy didn't have a check because the actual exits were calculated based on the bottom opening blocks in order to center a leaving player. A warning would instead be displayed upon teleportation when a player tried to teleport to a Stargate with no exit.
2024-05-17 20:30:27 +02:00
Pheotis
314995aa14 Merge pull request #337 from stargate-rewritten/legacy-localisation-update
Manual import of crowdin localisations to legacy.
2024-05-13 15:34:43 -04:00
905aec8101 Makes the duplicate dynmap marker creation warning into a debug message 2024-05-13 20:56:54 +02:00
4c024e7536 Updates configuration-related language lists 2024-05-13 19:01:51 +02:00
Pheotis
7a71d5b8c7 Fixed! 2024-05-13 11:30:56 -04:00
Pheotis
c86fa2120a Manually backported rewrite's crowdin. 2024-05-13 11:21:31 -04:00
0bcf65b2f1 Adds geyser and floodgate soft depends 2024-04-28 11:34:45 +02:00
36792d4ddf Removes applyStartupFixes, and adds controlUpdateDelay
Now, all updating of Stargates' control blocks happens through a queue. The amount of ticks between each time the queue is polled from is configurable using controlUpdateDelay
2024-04-23 18:35:41 +02:00
50e7586942 Updates Vault and KnarLib 2024-04-22 15:05:16 +02:00
9db73b7bae Adds an option for disabling startup fixes
Also fixes configuration default values not being used when the option is missing from the configuration file.
2024-04-21 23:10:26 +02:00
6287a5e492 Only fetches name from UUID if necessary
Also fixes some minor warnings
2024-04-21 16:13:57 +02:00
484d4f4cf1 Caches result of getOfflinePlayer in PortalOwner 2024-04-21 15:31:13 +02:00
29bae9d793 Adds more debug output during post load tasks 2024-04-20 19:08:11 +02:00
420e4fc185 Optimizes sign updating 2024-04-20 18:35:31 +02:00
58373f7d0f Adds some conditions to the portals updated during loading 2024-04-20 18:17:41 +02:00
ca52f58129 Fixes a class type problem when spawning a new vehicle 2024-03-19 14:51:55 +01:00
be6e7ec87b Checks the Floodgate API in addition to the Geyser API 2024-03-19 14:28:17 +01:00
Pheotis
5b825b5037 Bump version 2024-03-06 20:44:21 -05:00
209ae91d9b Reverts MockBukkit update, and removes inconsistent JUnit version 2024-03-06 15:24:28 +01:00
dfeeaf6999 Adds proper geyser checking 2024-03-06 14:59:09 +01:00
184cb38cbb Updates MockBukkit, and fixes some test-related issues
Fixes JUnit 5's After being used instead of AfterEach
Fixes a potential NullPointerException when tearing down GateLayoutTest
2024-03-06 14:25:45 +01:00
74708914f3 Expands hit-box for END_GATEWAY for players with Bedrock names (WIP) 2024-03-06 14:02:28 +01:00
c2ab3dd8b2 Fixes the problem with Dynmap disabling Stargate 2024-03-06 13:57:31 +01:00
2746e4f8ee Merge pull request #336 from stargate-rewritten/legacy-improvements
Legacy improvements
2024-02-22 03:49:17 +01:00
c03b3fc6b0 Removes some redundancy in createPortal 2024-02-20 22:48:36 +01:00
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
d975666154 Fix failed tests 2024-01-07 18:36:54 +01:00
95058e86a6 Merge branch 'legacy' of https://github.com/stargate-rewritten/Stargate-Bukkit into legacy 2024-01-07 18:27:54 +01:00
Pheotis
8d6b233a8f Preparing for legacy release. 2024-01-07 12:13:39 -05:00
e20ddb52ef Update about.md 2023-12-29 16:55:41 +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
Thorinwasher
7cfec1190e Merge pull request #304 from furplag/legacy
fix exception occur when invalid yaw ( negative value ) given .
2023-12-28 17:11:26 +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
0dfbcb0b54 Merge branch 'legacy' of https://github.com/stargate-rewritten/Stargate-Bukkit into legacy 2023-06-27 13:47:46 +02:00