Go to file
Christian Koop 2eec844447
fix: A lot of issues introduced after migrating to the new database API
The new database API introduced a lot of breaking changes and changed behaviour sadly.
When migrating this plugin to the new API these were not taken into account properly and
essentially broke the whole database/storage layer of the plugin.

* SQL statements that were valid in SQLite but are not in H2, which is now the default
* H2 jdbc driver not being shaded into the final jar
* catching exceptions, logging a message, and then continuing code execution (in the core)
* introducing race conditions
* ...

These fixes sometimes rely on the non-multi-threaded APIs provided now which will most certaintly
come with a performance hit on larger servers.
But at least it works again... tbh I do not really want to spend too much time fixing this stuff...

A potential issue that still exists in the use of `DataManager#getNextId` in `AnchorManagerImpl`.
Right now it returns a value based on the largest ID currently in the database – Completely circumventing
the whole auto_increment characteristic of the table schema...
This is another changed behaviour that gets introduced opening the possibility for conflicting IDs
*outside* of the database table itself. The ID can be used as a reference in other places
2023-10-24 01:44:00 +02:00
.github GitHub Actions: Additionally upload plugin jar as build artifact 2023-06-24 16:07:23 +02:00
EpicAnchors-API Release v3.0.0-b2-SNAPSHOT 2023-10-23 17:57:47 +02:00
EpicAnchors-Plugin fix: A lot of issues introduced after migrating to the new database API 2023-10-24 01:44:00 +02:00
.editorconfig Updates Dependabot, .editorconfig, .gitignore, FUNDING.yml 2023-05-18 11:30:30 +02:00
.gitignore Change the project structure to allow a dedicated API module to exist 2023-06-21 15:05:48 +02:00
LICENSE Switch LICENSE to CC BY-NC-ND 4.0 2023-03-29 19:31:40 +02:00
README.md Updates contents of README.md 2023-06-24 09:36:41 +00:00
pom.xml Release v3.0.0-b2-SNAPSHOT 2023-10-23 17:57:47 +02:00

README.md

EpicAnchors

Allow your players to keep chunks loaded for a limited amount of time for a cost. Integrates with EpicSpawners to keep your mobs spawning even when youre offline.

Discord Patreon
Latest version bStats Servers

Download (Marketplace)

You can visit our marketplace to download EpicAnchors as well as take a look at many other fantastic plugins which are sure to catch your eye.

Documentation

You can find all the information about EpicAnchors, including dependencies, commands, permissions and incompatible plugins on our wiki.

Feel free to also contribute to the wiki as a way to help others in the community with using the plugin.

Support

If you encounter any issues while using the plugin, feel free to contact us on our Discord server.

Suggestions

For suggestions about features you think should be added to the plugin to increase its functionality, feel free to create a thread over on our Discord server.