MinecraftWars / Gringotts

Item based economy plugin for Bukkit
BSD 2-Clause "Simplified" License
37 stars 76 forks source link

Can it blend!? Making the project buildable again while tackling issues. #225

Closed TheFlagCourier closed 3 years ago

TheFlagCourier commented 3 years ago

The primary goal of this PR was to fix (or at least give a foundation to fix) issues with the Towny integration. However, I sort of let it get away from me and ended up tackling more than that...

Note: I do not personally use Gringotts, so these changes have not been tested in a production environment. However, I do believe it to be in a better state than the master branch currently is.

Dependency Updates

Fixes

Deprecation & Removals

Documentation

bundabrg commented 3 years ago

Thanks. I'll have a look tomorrow.

jastice commented 3 years ago

Thanks for this! I'll let @nikosgram review and merge if he's still around ;)

Remove zno.de repository and deployment scheme - Would run into HTTP 502 errors.

Probably because only I have the deployment keys. But if Jitpack works fine for this, no need to keep it around. I remember I had manually deployed some dependencies to repo.zno.de, maybe we can find an alternative for this as well?

TheFlagCourier commented 3 years ago

Thanks for this! I'll let @nikosgram review and merge if he's still around ;)

Remove zno.de repository and deployment scheme - Would run into HTTP 502 errors.

Probably because only I have the deployment keys. But if Jitpack works fine for this, no need to keep it around. I remember I had manually deployed some dependencies to repo.zno.de, maybe we can find an alternative for this as well?

I'm in no rush, so sounds good. Again, I don't personally use Gringotts, so if anyone sees something out of the ordinary, let me know.

Yeah, makes sense if the repository is locked away. If there is a need to manually deploy, then maybe using the GitHub Package Registry would be a good static replacement? Jitpack can be finicky to work with, especially with a lack of recent release tags and as dependencies decay over time.

jastice commented 3 years ago

GitHub Package Registry sounds like a good idea. It wasn't around way back when.

bundabrg commented 3 years ago

Looks good so far but I'll just need to test on my server properly. Will get back soon.

bundabrg commented 3 years ago

Github package registry requires an account to read from so I tend to avoid it. I'm happy to provide deployment keys to my registry at https://repo.worldguard.com.au/ if you like @jastice otherwise jitpack isn't too bad generally.

jastice commented 3 years ago

shall we just merge this?

TheFlagCourier commented 3 years ago

@jastice It can be merged for current Towny compatibility. As a heads-up though, there are plans to nuke the Towny EconomyException (https://github.com/TownyAdvanced/Towny/pull/4806)

Edit: After rechecking the TownyHandler class, this exception isn't caught anyways.

jastice commented 3 years ago

Thanks!