RadBuilder / EmojiChat

A simple, configurable, opensource plugin that adds emojis to your chat!
https://emojichat.radbuilder.net/
MIT License
41 stars 29 forks source link

Placeholder API Broken/needs updating #25

Open LadyHaley opened 3 years ago

LadyHaley commented 3 years ago

What steps will reproduce the issue?

  1. Install the plugin with the latest PAPI

What was supposed to happen?

[Response] Emojis happen

What happened instead?

[Response] No Emojis

What Spigot version are you using?

Full /version output image

What plugins do you have installed?

Full /plugins output Not relevent

Are any errors related to EmojiChat in your console or logs? If so, paste below.

paste
error(s)
here

Any additional information that you would like to provide that may be relevant to the issue?

[Response] Placeholder API pushed an update that means the old api it provided no longer works and must be updated to the new changes

mibby commented 3 years ago

Compatibility was brought back with the latest PlaceholderAPI version / dev builds, but EmojiChat will need to update the API methods used.

[09:15:02] [Server thread/WARN]: [PlaceholderAPI] EmojiChat is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
[09:15:02] [Server thread/INFO]: [EmojiChat] Hooked PlaceholderAPI
[22:32:22] [Server thread/INFO]: [EmojiChat] Enabling EmojiChat v1.8.3*
[22:32:22] [Server thread/INFO]: [DiscordSRV] API listener io.github.radbuilder.emojichat.hooks.DiscordSrvHook subscribed (2 methods)
[22:32:22] [Server thread/INFO]: [EmojiChat] Hooked DiscordSRV
[22:32:22] [Server thread/INFO]: [EmojiChat] Hooked DiscordSRVStaffChat
[22:32:22] [Server thread/WARN]: [PlaceholderAPI] EmojiChat is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
[22:32:22] [Server thread/INFO]: [EmojiChat] Hooked PlaceholderAPI

[22:32:38] [Server thread/INFO]: [EmojiChat] Disabling EmojiChat v1.8.3
[22:32:38] [Server thread/INFO]: [DiscordSRV] API listener io.github.radbuilder.emojichat.hooks.DiscordSrvHook unsubscribed
[22:32:38] [Server thread/WARN]: [PlaceholderAPI] EmojiChat is attempting to unregister placeholders through the PlaceholderAPI class which is no longer supported!
mibby commented 3 years ago

@RadBuilder Please come back to fix this before PAPI 2.11.0 is released and removes the method. :(