[nodebb-plugin-minecraft-integration] Minecraft Integration!

  • Community Rep

    v0.6.0 Changes

    This plugin now REQUIRES the Bukkit plugin NodeBB-Integration

    The plugin no longer pings or queries Minecraft servers, you need to add the plugin's API key to your NodeBB-Integration config in order for this plugin to work. This means you can no longer add a widget of someone else's server, and you may have trouble configuring this plugin if your server uses an old version of Minecraft. I made this change for my own sanity. Interpreting pings and queries added a lot of complexity to the code. Interacting with a Minecraft plugin is much cleaner and simpler to code, and now I can more easily add new features.

    New Features

    Admin page now has tabs showing all data cached in the database with some buttons for management.
    Configurable avatar borders and chart colors are back.
    Added extra Widget color options.
    Added an Avatar CDN for Mojang (now the default) and The Brony ModPack.
    Added a Steve default avatar if the configured CDN fails.
    Chat widget now sends web messages to the server.
    Redid a lot of the client scripts for better loading times.
    Changed image manipulation library from lwip to jimp.
    Vault Integration: The plugin will now add the Vault prefixes of your player to your forum name.

    Note: Upgrading to 0.6.0, you will lose all of your <v0.6.0 settings.

  • @yariplus I'm a bit lost with the Minecraft scene at the moment. But wasn't Bukkit killed due to DMCA requests?

  • Community Rep

    @Kowlin It's very much alive at the moment.

    From what I can tell, the DMCA thing was a case of license abuse from one of Bukkit's own devs. Do to the viral nature of GPL, the dev was able to make some rather ludicrous claims. And since Repo's would rather not get involved in legal concerns despite the circumstances, they shut it down immediately. The situation seems to have ironed itself out, devs with local access to the code removed the salty dev's commits and development continues.

  • @yariplus Ahh that explains alot, thanks 😉

  • Community Rep

    I have re-published the old package [nodebb-widget-minecraft-essentials]

    Many people have been downloading this despite it being out-dated, probably because of it's invalid nbbpm version.

    I used to redirect it to minecraft-integration, but this was confusing and required extra work that I frequently forgot to do. Instead, I have made it into it's own plugin.

    The new plugin has config for one server and queries every minute for a single server status widget. There is no setup required, and you can use vanilla or legacy servers.

    It's not really worthy of it's own topic, but I'm posting this here so that admins still using the old package understand what happened if widgets disappear.

  • Community Rep

    v0.6.6 Changes

    minor update

    Vault Prefixes now appear on user profiles. I'll be adding them other places too, but this was the most requested.

    It works with vanilla, lavender, and persona. And most themes based on them.

    It's Princess Carpet! Yay!!!

    Additionally, avatars are now served with last-modified headers so that they are cached on the client-side. This should drastically improve loading speeds for larger servers.


    I made a bunch of performance improvements to nodebb-widget-minecraft-essentials too, and added a new feature, a mini server status on the site navbar. It displays the onlines status (optionally showing the server's icon) and online players, which are dynamically updated. I'll likely add this feature to minecraft-integration once I've fleshed it out a it more.

    navbar status

    FYI, If you are using nodebb-plugin-minecraft-integration and want this feature from nodebb-widget-minecraft-essentials right away, you can install both plugins, they do not interfere with each other in any way.

  • Pre- & Suffixes, the most stylish way of letting someone know that you're above the others ;). Regardless it looks quite nice I must say.
    Edit: Taken from my Discord server

  • Hi there,

    I am using Spigot 1.8.8 and the latest version of nodebb and your plugin.
    However, I keep receiving the error that the plugin cannot connect to my forum. Could this be due to me using http://cloudflare.com as a CDN?

  • Community Rep

    @Lettuce possibly, but only if you don't have websockets setup correctly.

    Skype or chat me the output of /nodebb debug

  • Hey, When I use the plugin on the nodebb website, whenever I click the "add server" button nothing appears to happen.

  • Community Rep

    @Garispl Are you using the latest master branch? It's not compatible yet if so. I'll post an update for it asap.

  • Community Rep

    Updated the current release (0.7.0-beta) to support NodeBB 1.0.x. It maintains backwards compatibility, but consider it depreciated.

    Note: The current release is beta, some things will not work, such as charts and voting.


  • @yariplus Thank you, it seems to work perfectly now. Thanks again

  • Having issues with the plugin and Spigot 1.8.8

    28.02 08:54:10 [Server] INFO [NodeBBIntegration] Disabling NodeBBIntegration v0.7.0-beta.3
    28.02 08:54:10 [Server] WARN Exception in thread "EventThread"
    28.02 08:54:10 [Server] WARN java.lang.NoClassDefFoundError: com/github/nkzawa/engineio/client/Socket$20
    28.02 08:54:10 [Server] WARN at com.github.nkzawa.engineio.client.Socket.close(Socket.java:705)
    28.02 08:54:10 [Server] WARN at com.github.nkzawa.socketio.client.Manager.close(Manager.java:470)
    28.02 08:54:10 [Server] WARN at com.github.nkzawa.socketio.client.Manager.destroy(Manager.java:422)
    28.02 08:54:10 [Server] WARN at com.github.nkzawa.socketio.client.Socket.destroy(Socket.java:392)
    28.02 08:54:10 [Server] WARN at com.github.nkzawa.socketio.client.Socket.access$1400(Socket.java:18)
    28.02 08:54:10 [Server] WARN at com.github.nkzawa.socketio.client.Socket$8.run(Socket.java:409)
    28.02 08:54:10 [Server] WARN at com.github.nkzawa.thread.EventThread$2.run(EventThread.java:75)
    28.02 08:54:10 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    28.02 08:54:10 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    28.02 08:54:10 [Server] WARN at java.lang.Thread.run(Unknown Source)
    28.02 08:54:10 [Server] WARN Caused by: java.lang.ClassNotFoundException: com.github.nkzawa.engineio.client.Socket$20
    28.02 08:54:10 [Server] WARN at java.net.URLClassLoader.findClass(Unknown Source)
    28.02 08:54:10 [Server] WARN at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)
    28.02 08:54:10 [Server] WARN at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)
    28.02 08:54:10 [Server] WARN at java.lang.ClassLoader.loadClass(Unknown Source)
    28.02 08:54:10 [Server] WARN at java.lang.ClassLoader.loadClass(Unknown Source)
    28.02 08:54:10 [Server] WARN ... 10 more
    28.02 08:54:10 [Server] INFO [NodeBBIntegration] Enabling NodeBBIntegration v0.7.0-beta.3
    28.02 08:54:10 [Server] INFO [NodeBB-Integration] Hooked into Vault Chat.
    28.02 08:54:10 [Server] INFO [NodeBB-Integration] Hooked into Vault Permissions.
    28.02 08:54:10 [Server] INFO [NodeBB-Integration] Hooked into Vault Economy.
    28.02 08:54:10 [Server] ERROR Error occurred while enabling NodeBBIntegration v0.7.0-beta.3 (Is it up to date?)
    28.02 08:54:10 [Server] INFO java.lang.NoClassDefFoundError: org/kitteh/vanish/staticaccess/VanishNotLoadedException
    28.02 08:54:10 [Server] INFO at com.yaricraft.nodebbintegration.NodeBBIntegration.onEnable(NodeBBIntegration.java:49) ~[?:?]
    28.02 08:54:10 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    28.02 08:54:10 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-db6de12-18fbb24]
    28.02 08:54:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-db6de12-18fbb24]
    28.02 08:54:13 [Multicraft] Skipped 22 lines due to rate limit (30/s)
    28.02 08:54:13 [Server] INFO [NodeBB-Integration] Success! The socket client was created.

    Then typing "/nodebb" and "/nodebb register (text) (text)" does nothing

    and lastly the info from the nodebb log

    : Error getting status for server MCHaven Survival
    Sun, 28 Feb 2016 08:53:52 GMT validator deprecated you tried to validate a undefined but this library (validator.js) validates strings only. Please update your code as this will be an error soon. at src/categories/data.js:45:29
    [Minecraft Widgets] [MCHaven] Error: Query Failed
    28/2 08:54 [6681] - info: Error getting status for server MCHaven Survival
    [Minecraft Widgets] [MCHaven] Error: Query Failed
    [Minecraft Widgets] Too many errors, squelching further logs until a success occurs.
    28/2 08:55 [6681] - info: Error getting status for server MCHaven Survival
    28/2 08:56 [6681] - info: Error getting status for server MCHaven Survival

  • Community Rep

    @ethancedrik Thanks

    I derpped up importing the VanishNoPacket library, working on a fix now, that is what is causing the plugin not to load properly.

    The socket.io error is unrelated and doesn't stop anything from working, but I think if I update it, then it may fix it.

    Also, it looks like you are using Minecraft Widget Essentials on your forum which connects using ServerQuery, you should instead be using Minecraft Integration which connects using the Bukkit plugin and SocketIO.

  • This is my issue about VanishNoPacket.

    Error occurred while enabling NodeBBIntegration v0.7.0-beta.2 (Is it up to date?)
    java.lang.NoClassDefFoundError: org/kitteh/vanish/staticaccess/VanishNotLoadedException
    at com.yaricraft.nodebbintegration.NodeBBIntegration.onEnable(NodeBBIntegration.java:49) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:285) [PlugMan.jar:?]
    at com.rylinaux.plugman.command.LoadCommand.execute(LoadCommand.java:114) [PlugMan.jar:?]
    at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:104) [PlugMan.jar:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:767) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchServerCommand(CraftServer.java:753) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at net.minecraft.server.v1_7_R4.DedicatedServer.aB(DedicatedServer.java:326) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:290) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    Caused by: java.lang.ClassNotFoundException: org.kitteh.vanish.staticaccess.VanishNotLoadedException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[?:1.7.0_95]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_95]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_95]
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_95]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_95]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_95]
    ... 16 more

  • Community Rep

  • Community Rep

  • Hey @yariplus,

    Added an issue on Github regarding the insecurity of having a user type their password in chat. Thank you for your attention in advance. 🙂


  • Community Rep


    Changed registration to a key-based system. Instead of requiring the user enter their password, they can find a Player Key on their profile when logged in. The link is also sent to them when they initially use the /register command on the server. When a key is used, it is reset, or they can reset it at will. Also, they can register multiple players to the same forum user using this method. Furthermore, other forum users can now see a user's linked players via their profile.

Suggested Topics

  • 8
  • 7
  • 5
  • 6
  • 1
| |