DiscordBot 0.0.1

Conect your minecraft chat into discord.

  1. Pelans
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.15
    • 1.16
    Do you want to read the messages of your server in discord?
    Do you want to send messages to your server in discord?
    Then is your plugin.

    This is the actually config.
    Config:
    bot-token: put-here-your-bot-token # https://discord.com/developers/applications
    chanel-id: put-here-the-channel-id-of-the-discord-you-want-the-bot-talk
    join-the-game: true #Avisa si alguien entra o abandona el servidor.
    discord-chat-to-game: true
    max-discord-characters: 200
    death: true #Avisa si el jugador muere

    To put the plugin working you will need to create a discord bot here:

    https://discord.com/developers/applications

    This is my first public plugin so I will try to do the best, sorry for my language and format of this post, I will do better.

Recent Updates

  1. Trying to solve the link
  2. Link error

Recent Reviews

  1. maks21ap
    maks21ap
    3/5,
    Version: 0.0.1
    Идея интересная. Но бот не работает. Точнее бот работает, но при любом действии при котором он должен отправлять сообщения - выводится ошибка, типа этой: > [17:40:42] [Async Chat Thread - #0/ERROR]: Could not pass event AsyncPlayerChatEvent to DiscordBot v0.0.1
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) [spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) [spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.PlayerConnection.chat(PlayerConnection.java:1710) [spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:1648) [spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1586) [spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.PacketPlayInChat$1.run(PacketPlayInChat.java:41) [spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
    at java.lang.Thread.run(Thread.java:834) [?:?]
    Caused by: java.lang.NullPointerException
    at pelans.discordbot.Discord.EnviarMensajeChat(Discord.java:8) ~[?:?]
    at pelans.discordbot.eventos.EnviarMensaje.onPlayerChat(EnviarMensaje.java:14) ~[?:?]
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
    at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    ... 12 more