Commit Graph

919 Commits

Author SHA1 Message Date
Christian Koop
f87632c2e5
fix: Corrects method signature for required getHandlerList in events #27
The method needs to be static or an IllegalPluginAccessException is thrown when trying to use the event
2024-02-26 10:43:33 +01:00
ceze88
fd158996df Fix hologram leaderboards not showing 2024-02-23 17:07:31 +01:00
ceze88
491143ce45 Make sure non island members can't access EpicSpawners GUI 2024-02-12 22:41:28 +01:00
ceze88
994357fe8e Temporary fix for hook system 2024-02-12 22:41:02 +01:00
Christian Koop
3aa85c751e
feat: Adds previous island owner to IslandOwnershipTransferEvent (#14)
Instead of resolving the previous owner and risk a potential web/api request getting triggert,
although the previous owner might never be used, I decided on just providing the UUID we already have.

The plugins can then still find the (Offline)Player themselves when needed.
2024-01-30 11:45:52 +01:00
ceze88
d6819abab2 Update to latest core build 2024-01-25 20:19:07 +01:00
ceze88
53cde6f804 Migrate to dynamic dependency loading 2024-01-13 16:33:16 +01:00
Christian Koop
1a2124fb2f
Revert "Don't handle PortalTeleportEvent when target world is disabled in config"
This reverts commit b2b3b3d976.

That event handler didn't affect players
2023-08-21 19:12:53 +02:00
Christian Koop
b2b3b3d976
Don't handle PortalTeleportEvent when target world is disabled in config
Related to 5711389549
2023-08-21 18:18:22 +02:00
Christian Koop
5711389549
Don't handle PortalEnterEvent when target world is disabled in config
This allows vanilla and third-party plugins to take over properly without the stuck-teleport or
something else to interfer with that.
2023-08-21 16:53:06 +02:00
Christian Koop
c12c82afe2
Fallback gracefully and log missing Economy plugin instead of Exception
Some places I kept the exception because there is no handling or return type in place that allows
for that economy transaction to fail.
So instead of not rewarding the player with the money, an exception is logged instead
2023-08-21 10:58:23 +02:00
Christian Koop
7589bae8b0
Fix Exception when running /is leaderboard 2023-08-18 21:29:07 +02:00
Christian Koop
c9abab64d5
Fixes errors when using hologram related admin commands
e.g. `/island admin sethologram bank`
2023-08-18 10:47:26 +02:00
Christian Koop
64c4affe3f
Fixes error when setting island to non-public while visitors are on it 2023-08-18 10:45:29 +02:00
Christian Koop
25e401826c
Replace FabledSkyBlock placeholders without PlaceholderAPI installed 2023-08-18 10:35:10 +02:00
Christian Koop
2e37efefd4
Correctly replace color codes after replacing PlaceholderAPI placeholder
A user reported that user/group prefixes may containt color codes like `&e` which are not
replaced in the end to be rendered correctly

I believe the responsible plugin should take care of that but apparently there are multiple...
So we just replace them in the end ^^
2023-08-18 09:52:30 +02:00
BaxAndrei
011a9ed640
FIX Generators Nether 2023-08-17 22:49:30 +03:00
Christian Koop
596305bd33
Improve default Materials for biomes.yml 2023-08-16 20:12:24 +02:00
Christian Koop
4df43fccad
Fixes startup issues because of renamed Enum constants
The constants #name() was used when reading various plugin configurations.
After me renaming them in 308d8ca7b9 they stopped
matching in the configurations and broke everything horibly.

This commit introduces a friendly name to keep the new names but still support existing configuration files.
2023-08-16 17:27:05 +02:00
Christian Koop
b29111b96d
Drop support for LeaderHeads plugin
Last update was in 2020 and it is marked as abandoned.

I think users had enough time to find an alternative + I can't find an official maven repository for it,
making clean builds hard
2023-08-16 09:51:16 +02:00
Christian Koop
2da22bd260
Replace Songoda in strings with Craftaro 2023-08-15 21:54:07 +02:00
Christian Koop
c43e4cb799
Updates EpicSpawners Dependency + Implementation to API v1.0.0-SNAPSHOT 2023-08-15 21:36:53 +02:00
Christian Koop
700b293f9c
Updates UltimateStacker Dependency+Implementation to API v1.0.0-SNAPSHOT 2023-08-15 19:02:31 +02:00
Christian Koop
a259589897
Replace deprecated usages of NmsManager with Nms 2023-08-15 18:58:04 +02:00
Christian Koop
2caf39d49e
Move everything from com.songoda to com.craftaro package 2023-08-15 18:57:00 +02:00
Christian Koop
f47354980b
Replace usages of now incompatible CompatibleMaterial with XMaterial 2023-08-15 18:48:40 +02:00
Christian Koop
c44a684ecd
Replace usages of now incompatible CompatibleSound with XSound 2023-07-29 16:21:35 +02:00
Christian Koop
20b0246270
Switch from SongodaCore to CraftaroCore v3.0.0-SNAPSHOT + update imports 2023-07-29 15:06:06 +02:00
Christian Koop
308d8ca7b9
Heavy code style changes and slight refactoring 2023-07-29 14:03:50 +02:00
Christian Koop
6776ee0af6
Modernize and clean up pom.xml and plugin.yml 2023-07-26 21:31:34 +02:00
efekurbann
cd57ce89e9 Fix Coop Saving System (Island.Coop.Unload setting) 2022-10-14 22:21:27 +03:00
Christian Koop
cdc5f2a350
Minor code cleanup: Use import for HologramManager 2022-09-05 23:02:05 +02:00
ceze88
72edb61405 Fix island level scan (Revert changes with chunk loading)
Commit: ff37711087
2022-08-24 16:24:00 +02:00
Christian Koop
a71e55265d
Include Minecraft 1.19 as officially supported version 2022-07-30 21:27:50 +02:00
GKasparov
cc6fd41cf6
Merge pull request #15 from efekurbann/master
Fixed: players can not teleport to offline member's island
2022-07-14 09:06:39 +03:00
Christian Koop
8778140175
Improves cross-version compatibility by using the MethodMapping class 2022-03-18 21:53:31 +01:00
Christian Koop
e5e136b7d3
Updates to Core v2.6.12 (MC1.18.2) + new hologram api implementation 2022-03-18 21:53:31 +01:00
Efe Kurban
76e1f26a06
Update IslandManager.java 2022-03-03 21:46:23 +03:00
Christian Koop
b7dab73f94
Fixes Biome GUI in older Minecraft version
You can see a lot of empty slots in Minecraft 1.8 - The actual fix happened in SongodaCore tho
2021-12-10 19:50:34 +01:00
Christian Koop
cfaa1379bf
Include Minecraft 1.18 as supported version
Still needs some testing but the next release should fully support Minecraft 1.18
2021-12-09 22:17:20 +01:00
Christian Koop
3b3378c555
Minor code cleanup 2021-12-09 21:49:57 +01:00
Christian Koop
42705dc295
Changed hard coded french error message (wtf?) 2021-10-26 20:53:06 +02:00
Christian Koop
26b7e4d234
Generate ScoreBoards in main thread (sync)
PaperMc is more strict about async api usage
2021-10-26 20:43:22 +02:00
Christian Koop
ff37711087
Fix ChunkLoader calculating target chunk coordinates wrong
It always loaded and returned the wrong chunks

Related to SD-8602
2021-10-26 20:43:22 +02:00
Christian Koop
f31d1eab7b
Remove dependency MVdWPlaceholderAPI
* It is not used by FabledSkyBlock
* Its repo is down
2021-10-23 12:50:48 +02:00
Christian Koop
c1ceaf1fdc
Fix NPE on Leaderboard-Menu with players without known skin 2021-10-09 23:42:51 +02:00
Christian Koop
aa1bfd1330
Fix NPE on /is ban [SD-8476] 2021-07-29 20:27:25 +02:00
Christian Koop
72d33a080b
Fix ArrayIndexOutOfBoundsException on /is admin setbiome [SD-8476][SD-8531] 2021-07-29 20:17:35 +02:00
Christian Koop
60b92cfa3a
Fix NPE when plugins access WorldGenerator during startup [SD-8519] 2021-07-29 20:07:33 +02:00
Christian Koop
cc99b9c856
Fix ConcurrentModificationException for async ScoreBoard [SD-8398] 2021-07-29 17:22:29 +02:00