marcelo-mason / SimpleClans

Full featured Clan system for Minecraft
http://dev.bukkit.org/server-mods/simpleclans/
50 stars 59 forks source link

Invalid Placeholder Registration #639

Closed Sxtanna closed 4 years ago

Sxtanna commented 4 years ago

In the latest version of PAPI, (2.10.7-DEV), the alternative methods for registering placeholder expansions were removed.

Causing this NSME:

>.... [21:24:04 INFO]: [SimpleClans] PlaceholderAPI found. Registering hook...
>.... [21:24:04 ERROR]: Error occurred while enabling SimpleClans v2.12.2 (Is it up to date?)
java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPI.registerPlaceholderHook(Ljava/lang/String;Lme/clip/placeholderapi/PlaceholderHook;)Z
at net.sacredlabyrinth.phaed.simpleclans.managers.PlaceholdersManager.setupPlaceholderAPI(PlaceholdersManager.java:59) ~[?:?]
at net.sacredlabyrinth.phaed.simpleclans.managers.PlaceholdersManager.<init>(PlaceholdersManager.java:49) ~[?:?]
at net.sacredlabyrinth.phaed.simpleclans.SimpleClans.hookIntoPAPI(SimpleClans.java:147) ~[?:?]

More Information about this change here: https://github.com/PlaceholderAPI/PlaceholderAPI/issues/372#issuecomment-663791480

Sxtanna commented 4 years ago

It's also worth noting, there's no need for the plugin to have placeholders built in as an expansion already exists: https://github.com/Peng1104/PAPI_SimpleClans

RoinujNosde commented 4 years ago

It's also worth noting, there's no need for the plugin to have placeholders built in as an expansion already exists: https://github.com/Peng1104/PAPI_SimpleClans

It's not maintained.

Thanks for reporting!