Spigot HiberniaDiscord » Chat to Discord Integration. 2.1.1b

Simple to use, botless chat to discord integration that is focussed on being lightweight.

  1. Paradaux submitted a new resource:

    HiberniaDiscord » Chat -> Discord Integration - Simple to use, botless discord integration for 1.13 and above.

    Read more about this resource...
     
    • Friendly Friendly x 1
  2. Hey! This is good to use. I would definitely recommend it and hope others would agree with my opinion.
     
  3. Thanks so much! I'm releasing the complete rewrite in an hour or so which has huge performance increases!
     
  4. Paradaux updated HiberniaDiscord » Chat -> Discord Integration with a new update entry:

    HiberniaDiscord 2! (Not quite an electric boogaloo)

    Read the rest of this update entry...
     
  5. Releasing V2.0.1 tomorrow will one small feature update and a bug fix.

    - Join / Leave messages will be supported!

    - Fix automatic updates when reloading PR#8
     
  6. Hey!

    Having a small issue ever since I updated to v2.0, mind telling me if this is an issue on my end or an error in the plugin? It usually happens once every thirty minutes and causes a major lag spike for about 5 seconds. Thanks in advance.

    Code (Text):

    [13:11:47] [HiberniaDiscord-0/ERROR]: [HiberniaHardcore] {n.d.j.w.WebhookClient} There was some error while sending a webhook message
    java.net.SocketTimeoutException: timeout
            at okio.Okio$4.newTimeoutException(Okio.java:232)
            at okio.AsyncTimeout.exit(AsyncTimeout.java:286)
            at okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
            at okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
            at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
            at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:226)
            at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:202)
            at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:101)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
            at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
            at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
            at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
            at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
            at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:264)
            at okhttp3.RealCall.execute(RealCall.java:93)
            at net.dv8tion.jda.webhook.WebhookClient.executePair(WebhookClient.java:431)
            at net.dv8tion.jda.webhook.WebhookClient.drainQueue(WebhookClient.java:412)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketTimeoutException: Read timed out
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.socketRead(Unknown Source)
            at java.net.SocketInputStream.read(Unknown Source)
            at java.net.SocketInputStream.read(Unknown Source)
            at sun.security.ssl.InputRecord.readFully(Unknown Source)
            at sun.security.ssl.InputRecord.read(Unknown Source)
            at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
            at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
            at sun.security.ssl.AppInputStream.read(Unknown Source)
            at okio.Okio$2.read(Okio.java:140)
            at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
            ... 28 more
    [13:11:57] [HiberniaDiscord-0/ERROR]: [HiberniaHardcore] {n.d.j.w.WebhookClient} There was some error while sending a webhook message
    java.net.SocketTimeoutException: Read timed out
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.socketRead(Unknown Source)
            at java.net.SocketInputStream.read(Unknown Source)
            at java.net.SocketInputStream.read(Unknown Source)
            at sun.security.ssl.InputRecord.readFully(Unknown Source)
            at sun.security.ssl.InputRecord.read(Unknown Source)
            at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
            at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
            at sun.security.ssl.AppInputStream.read(Unknown Source)
            at okio.Okio$2.read(Okio.java:140)
            at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
            at okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
            at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
            at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:226)
            at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:202)
            at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:101)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
            at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
            at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
            at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
            at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
            at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:264)
            at okhttp3.RealCall.execute(RealCall.java:93)
            at net.dv8tion.jda.webhook.WebhookClient.executePair(WebhookClient.java:431)
            at net.dv8tion.jda.webhook.WebhookClient.drainQueue(WebhookClient.java:412)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
     
     
    • Useful Useful x 1
  7. Thanks for the error report. Could you please enable debug in the configuration file and send me the leadup to the error next time it happens?
    I've created an issue for this on our github. issues/12
     
  8. Upon further inspection on my end the issue seems to be on Discord's End. Their API has been kind of choppy lately https://status.discordapp.com/incidents/1mn3vpc4g9rj

    I'm going to include a patch in the next update to stop the thread from holding up the server as well catch those errors so they don't fill your console.
     
  9. Paradaux updated HiberniaDiscord » Chat -> Discord Integration with a new update entry:

    ⎯⎯⎯⎯⎯⎯⎯ Version 2.1.0: Events Update. ⎯⎯⎯⎯⎯⎯⎯

    Read the rest of this update entry...
     
  10. i just curious as i only want it i 1 chat the staff chat is the bot able to do that
     
  11. I'm not sure what you're asking ?
    I do have plans to add multiple webhooks for moderation and console output in the next version, if that's what you're asking
    (2.2.0 is planned to be released sometime next week, I aim for weekly updates.)
     
    • Like Like x 1
  12. Does this work on players using the same IP? e.g. a bunch of users on the same network?
     
  13. Yeah, It goes by Username, it doesn't read players IPs at all.
     
  14. Oh, thats cool - apologies, I didn't understand how it worked previously, I've never seen something like this! I'll install it now.
    Far easier to use than DiscordSRV.
    I've got a few suggestions that should improve the plugin:
    • Add event: player-death
    • Ability to link to staff chat, for users with a permssion e.g. "hiberna.staffchat"
    • Link Discord chat to Minecraft
     
  15. I'm planning on adding more events in the next update, don't you worry :) In terms of staff chat, the issue is that there's too many plugins to support for that feature, I've already talked with people on my support discord in regards to that feature.

    2 - way communication would increase the complexity of installation to that of DiscordSRV's level and isn't a planned feature for the foreseeable future.

    Also, you should check out my other plugin HiberniaReports it is also another discord based integration you may like
     
    • Like Like x 1
  16. yeah, I agree. which plugins support minecraft staff chat discord staff chat? I could only find one that was for DiscordSRV.

    Edit: do the events factor in if the player is vanished? hooking into essentials to see if they are vanished?
     
  17. My plugin does not hook into any others besides PlaceholderAPI at this time
     
  18. Alright. I'll turn off the events as a fix
    The plugin is great, thanks for developing this :)
     
  19. No bother ;)