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

  • Community Rep

    @Scuzz pull the latest master branch

    sudo npm install git://github.com/yariplus/nodebb-widget-minecraft-essentials.git
    

    I tested it on it on a android and ios, 0.5.0 and 0.6.0


  • @yariplus I noticed it had its on container but that did interfere with my other widgets so i had to put it in its own.

    Thanks for the update!

    Edit- Looks good now!


  • Saying that, I have seen a lot of errors in my log

    { [MongoError: Btree::insert: key too large to index, failing bitbangers.objects.$_key_1_value_-1 1051 { : "MCWES1onlinePlayers", : "{"onlinePlayers":["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","1","1","1","1","1","1","1","0","0","0","0","0","0","1"],"time":["10..." }]
      name: 'MongoError',
      code: 17280,
      err: 'Btree::insert: key too large to index, failing bitbangers.objects.$_key_
    

    Also, When this plugin is enabled I get issues where my other widgets do not load. I have to click on the logo to get a refresh and then the widgets load.

    mismatched anonymous define() module
    

    Is reported in java console.

  • Community Rep

    @Scuzz Thanks for reporting the errors.

    The second one was a problem with the way I was importing chart.js, and should be fixed in the latest commit.

    I think the first one is a string formatting error, I'll try formatting the string better.

  • Admin

    Oh wow. Somehow this went under the radar for me. Nice work :)

  • Community Rep

    @Scuzz Sorry this took so long, I've been a bit busy.

    > { [MongoError: Btree::insert: key too large to index, failing bitbangers.objects.$_key_1_value_-1 1051 { : "MCWES1onlinePlayers", : "{"onlinePlayers":["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","1","1","1","1","1","1","1","0","0","0","0","0","0","1"],"time":["10..." }]
    >   name: 'MongoError',
    >   code: 17280,
    >   err: 'Btree::insert: key too large to index, failing bitbangers.objects.$_key_
    

    The latest npm package 0.2.14 or git master branch should fix this issue. Tested in 0.5.7 with mongo.

    I've added a bunch of new features too, I'll be detailing them soon once I get the rest of the bugs worked out.

  • Community Rep

    v0.3.0 Changes

    New Widgets:

    Top Players Graph - Shows a Pie chart with top players and their total recorded play time.
    Online Players Grid - Displays a player avatar grid, such as the one on the server status widget, but as it's own separate widget.

    Changes:

    Widgets now respect the Widget Title and Widget Container, and will only override them when nothing is specified. Details:

    • The Widget Container Will default to the panel + header container when the Container field is empty.
    • The Widget Title Will default to the Server Name when the Title field is empty.
    • The Server Name will default to "Server X" if none is specified.

    The Widget container is now properly aligned with non-Minecraft Essentials widgets.
    Changing the plugin settings no longer requires a restart or even a reload!
    MOTD now has several options on where and how to display it.
    Now works with 0.5.7 to 0.6.1 using MongoDB. (Should be compatible with any database now, as it uses Settings module for everything and never calls the database directly.)
    No longer attempts to query a server if its ping fails.
    Configurable ping delay. (Recommend one minute.)
    COLORS! You can change colors for most widgets.
    Avatar Borders. Select any type of border with a solid color or gradient.
    Default settings for new installs should be fixed so as not to crash if the server not at localhost.
    Default settings are more intelligent overall, such as not using the default port for queries if a non-default port is selected for pinging.
    Most debug icons were removed. They will be returning in the future, but the current implementation was mostly useless.
    ACP pages are more mobile-friendly.
    Charts and tables now occupy the entire widget container.
    Avatar Size can be adjusted.

    Experimental Stuff:

    Added a widget preview pane.
    Added Avatar CDN selection. (Only cravater currently works 100%)

  • Community Rep

    @pitaj

    v0.3.4 Changes

    New Widget: Dynmap Mini Map

    • Displays a mini Dynmap with configurable start location. (World/MapType/Coordinate)
    • Can be attached to the Status Widget, or used on its own.

    New Feature: Dynmap Modals

    • Can add a links to MiniMap or Status widgets to open Dynmap in a fullscreen-ish modal window.
    • Full chat capabilities for local servers.

    Added option to disable the plugin list.
    Added togglable option groups for the Server Status ACP for better organization.
    Fixed alignment of a lot of widgets.
    Fixed some ajax issues from a recent core update.

  • Community Rep

    v0.4.0 Changes

    This version changes compatibility to 0.7.0 in preparation for upcoming changes.
    Fixed some minor issues with multiple charts on the same page.
    Fixed an issue where avatars would sometimes push other content incorrectly.
    Fixed dropdowns on the status widget sometimes derpping.
    Added styling to the parent widget container in the ACP, might be helpful to some that use a lot of widgets like myself.
    Added a compass icon replacing the text link to toggle the modal dynmap.

    Notes:

    I'm changing to 0.7.0 compatibility preemptively (Nothing currently requires it.) because I'm developing on 0.7.0 and I cannot guarantee I will be able to make time to test for backwards compatibility going forward. If someone ever desperately needs compatibility message me and I will do it.

    I'm working on some major changes including changing the plugin to "nodebb-plugin-minecraft-integration". It will be more intimate with nodebb and feature close coupling of forum data in addition to the widgets. The coupling is optional and will not be on by default. Coupling works alongside a Minecraft-NodeBB server plugin, also by me. (I currently have builds for Bukkit, Bungee, and Sponge servers and plan to support each since the code is very similar.) Forum registration is handled on the Minecraft server itself via player commands. The users' forum name, avatar, and groups will be the same as and actively linked to their Mojang UUID info and can't be changed on the forum except by admins. Minecraft features such as rankings, leaderboards, stat pages, PMs, etc.. are pushed to nodebb through the Minecraft plugin even if coupling is turned off and updated real-time with sockets.

    nodebb-plugin-minecraft-integration is still a ways off but I thought I would let people know what I'm working on since my updates to MCWidgetEssentials have been few recently.

  • Admin

    Wow sounds good. Good job so far looking forward to seeing this expanded plugin


  • I can't seem to get it to show up in the installed plugins window

  • Community Rep

    @Shaun-C I can help you. Did you install from npm/admin page or Git? What version of NodeBB?

  • Swedes

    Cool stuff, check out our Minecraft server :) minecraft.freegame.nu:40071

    Its a swedish server but hey, english works too!

    Will check out this plugin later ;)


  • @yariplus i installed it from npm and I'm running the most recent version of nodebb

  • Community Rep

    @Shaun-C Those should be compatible, can you find the error on your log for me?

  • Community Rep

    v0.5.0 Changes

    This is a complete re-imagining of the plugin. The app is more modular, uses an API, and dynamically updates all widgets. Widgets are updated in real-time when used with [bukkit-plugin-nodebb-integration]

    New Features

    Widgets update dynamically!
    New admin page. Servers are easier to configure, and you can enter an unlimited amount.
    ACP Widgets are colorful and more dynamic.
    Container titles can use the server variables {{motd}} and {{name}}
    An API was added using GET requests or SocketIO connections.
    Minecraft Avatars are stored on the database for quicker retrieval.
    You can use a custom Avatar CDN.
    Overviewer maps are now available, in additional to the default Dynmap.

    Bukkit-Plugin-NodeBB-Integration

    You can use Bukkit-Plugin-NodeBB-Integration to enhance the features of the forum plugin. By default, this plugin will send real-time updates to all forum widgets. If you use SSL and enter an API Key on both plugins, users will be able to use the "/register" command. This will create a new account for the user and/or add their UUID to their forum account. Also, this will link there Player Avatar to their forum profile among other things.

    New Widgets

    (Require [bukkit-plugin-nodebb-integration])

    TPS Graph Widget

    A graph showing the servers' recent Ticks per Second.

    Chat Widget

    Show a mini-shoutbox-like widget that records the in-game chat and allow web messages. (Doesn't send to the server, yet.)

    Notes

    Avatar borders and rainbow charts are not migrated yet. (Soon.)
    You will lose all of your <v0.5.0 data.
    Top Widgets can only show playtime, for now.
    Overviewer maps work fine, but will complain in logs.
    Large maps are coming.


  • This sounds awesome, I've been looking into spinning up a Minecraft server for my forum too!

  • Community Rep

    @teh_g Nice, I hope it goes well!

    Let me know if you like the plugin and if there's any way I can make it better.


  • He, I was just trying this out, and on NodeBB 0.8.1 its impossible to add a server since the pop up to add a new server doesn't pop up.
    Nevermind! I am a potato! And forgot to install the plugin.

  • Community Rep

    @Kowlin Cool.

    Let me know if you run into any issues. I know the current acp is a lot different then the readme shows. I've been meaning to make a new release and I'm about two month behind schedule. 🍌

Suggested Topics

| |