Spigot ChatReaction Addon [1.7-1.14] 1.4

Adds 2nd and 3rd place prizes to Clip's resource ChatReaction!

  1. TrollStar12345 submitted a new resource:

    ChatReaction Addon - Adds 2nd and 3rd place prizes to Clip's resource ChatReaction!

    Read more about this resource...
     
  2. iShadey updated ChatReaction Addon [1.7-1.14] with a new update entry:

    Metrics

    Read the rest of this update entry...
     
  3. This version does not work on 1.14.3. Here is the error:

    Code (Text):
    [20:03:45 ERROR]: Could not pass event AsyncPlayerChatEvent to ReactionAddon v1.3
    java.lang.IllegalStateException: Asynchronous command dispatch!
            at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.14.3.jar:git-Paper-112]
            at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:711) ~[patched_1.14.3.jar:git-Paper-112]
            at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:660) ~[patched_1.14.3.jar:git-Paper-112]
            at co.uk.joshuahagon.plugin.reactaddon.EventsManager.onChat(EventsManager.java:77) ~[?:?]
            at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor51.execute(Unknown Source) ~[?:?]
            at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.14.3.jar:git-Paper-112]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.14.3.jar:git-Paper-112]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.14.3.jar:git-Paper-112]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:536) ~[patched_1.14.3.jar:git-Paper-112]
            at net.minecraft.server.v1_14_R1.PlayerConnection.chat(PlayerConnection.java:1744) ~[patched_1.14.3.jar:git-Paper-112]
            at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1659) ~[patched_1.14.3.jar:git-Paper-112]
            at net.minecraft.server.v1_14_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:41) ~[patched_1.14.3.jar:git-Paper-112]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_212]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_212]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
     
     
    #5 barty, Jun 30, 2019
    Last edited: Jun 30, 2019
  4. How does this plugin choose its rewards for winning? If I was to use this plugin, I would want First place to get the best reward, second place second best reward, and third third best reward.
     
  5. It runs the commands you specify in the config.

    If you view the default config, there's 2 sections: a second place win commands section and a third place win commands section. Every command is run.
     
    • Like Like x 1
  6. Hi, can you remove the update message ? Or option to remove this ? Sorry for my bad english, i'm french.

    I have update on V1.5 and still message " An update is avaible! v1.4 -> v1.5 ...

    And, can you insert the option for choises multiples rewards on second et third place ? Like chatreaction first place ? "" reward_amount: 2""

    @iShadey
     
    #10 BleuBleue, Jan 30, 2020
    Last edited: Feb 11, 2020
  7. @iShadey Would it be possible to add a message after maxTimeAfterWin occurs so you can output that placement has closed and broadcast the scrambled word? That way you can hide the word from first/second/third place win messages. I currently hide it from first and second but if no one places third, no one knows what the word was or that placement has expired.
     
    • Like Like x 1
  8. Please fix or remove metrics. :(


    Code (Text):
    [09:34:20] [Server thread/INFO]: [ReactionAddon] Enabling ReactionAddon v1.4*
    [09:34:20] [Server thread/INFO]: [ReactionAddon]: Failed to connect to metrics service
    [09:34:20] [Server thread/WARN]: java.net.UnknownHostException: metrics.joshuahagon.co.uk
    [09:34:20] [Server thread/WARN]:     at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567)
    [09:34:20] [Server thread/WARN]:     at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:333)
    [09:34:20] [Server thread/WARN]:     at java.base/java.net.Socket.connect(Socket.java:648)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:290)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:177)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1194)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1082)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:163)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1600)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1528)
    [09:34:20] [Server thread/WARN]:     at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
    [09:34:20] [Server thread/WARN]:     at java.base/java.net.URL.openStream(URL.java:1167)
    [09:34:20] [Server thread/WARN]:     at co.uk.joshuahagon.web.Metrics.addMetric(Metrics.java:20)
    [09:34:20] [Server thread/WARN]:     at co.uk.joshuahagon.plugin.reactaddon.Main.onEnable(Main.java:22)
    [09:34:20] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
    [09:34:20] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380)
    [09:34:20] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
    [09:34:20] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugin(CraftServer.java:501)
    [09:34:20] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugins(CraftServer.java:415)
    [09:34:20] [Server thread/WARN]:     at net.minecraft.server.v1_16_R2.MinecraftServer.loadWorld(MinecraftServer.java:469)
    [09:34:20] [Server thread/WARN]:     at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:238)
    [09:34:20] [Server thread/WARN]:     at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:940)
    [09:34:20] [Server thread/WARN]:     at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:178)
    [09:34:20] [Server thread/WARN]:     at java.base/java.lang.Thread.run(Thread.java:832)
    [09:34:20] [Server thread/INFO]: [ReactionAddon] Successfuly loaded version v1.4 by iShadey!
     
     
  9. Abandonned here.