novucs / factions-top

An efficient and comprehensive factions ranking system
MIT License
12 stars 26 forks source link

Updated EpicSpawnersHook #100

Closed SirBlobman closed 1 year ago

SirBlobman commented 6 years ago
Phoenix616 commented 6 years ago

Can you please add the repository for the EpicSpawners-API artifact to the pom of the epicspawners module? Otherwise the project will not build as that artifact isn't found in maven central or the spigot repo.

Also if it isn't required anymore you can also just remove the epicspawnersapi module.

SirBlobman commented 6 years ago

@Phoenix616 Will do 👍

SirBlobman commented 6 years ago

Apparently EpicSpawners doesn't have a public repo with EpicSpawners-API so I'll just update the module with the proper classes

Phoenix616 commented 6 years ago

Please don't include the full code of the API, just the classes and methods that are required to make it work and make them throw UnsupportedOperationExceptions like before. That makes it easier to organise this and avoids potential licensing issues with included code.

Also it might be worth adding the original API version that the module is based on to the artifact version, that way we have that information easily accessible in the future.

SirBlobman commented 6 years ago

Should be done now 👍

novucs commented 6 years ago

I've just tested this with the latest EpicSpawners, it seems SpawnerChangeEvent is never called by EpicSpawners.

SirBlobman commented 6 years ago

I tried to keep it as close to the original as possible, and I don't know the alternative so I'll just let you do the rest. Someone just requested an update and I figured I would submit a PR to the original.

novucs commented 6 years ago

Ah no worries! It's just me being overly picky to keep our codebase small. You've done a good job, thanks for your help. :+1:

SirBlobman commented 6 years ago

No problem 😺

MedicOP commented 5 years ago

SpawnerChangeEvent does not seem to be called when breaking a spawner. Not sure if EpicSpawners made it like that intentionally

MedicOP commented 5 years ago

Check my pull request for working version https://github.com/novucs/factions-top/pull/104