Miranda NG Official Community Forum
Forum for English speaking Miranda NG users => Feature requests => Topic started by: AnrDaemon on 23 05 2015, 23:18:14
-
The structure of the chat is fairly simple.
You poll "<baseurl>/up/world/world/<timestamp>" for updates and obtain a JSON encoded result.
The interesting parts of it is "timestamp", which you should use to get the next update, and array "updates", the events that have "type" = "chat".
The protocol supports sending messages as well as optional authentification.
https://github.com/webbukkit/dynmap/wiki (there's no updates protocol description, though)
-
Here you go: [dropbox link removed, plugin is officially available] 8)
-
:o Now, I though I was just throwing ideas to the wind. Totally did not expect an answer, thank you! I'll check it in a day or two, when I get to my -NG install.
Is there a source available somewhere, too?
-
AnrDaemon, I wasn't expecting implementing it either, but luckily I've got in mood :D
Sources are now in svn repository (http://trac.miranda-ng.org/changeset/13819/), and it was added to solutions and nighly builds too.
----
EDIT: Plugin is available officially for download from here: 32-bit (http://miranda-ng.org/distr/x32/Plugins/minecraftdynmap.zip) / 64-bit (http://miranda-ng.org/distr/x64/Plugins/minecraftdynmap.zip) or via Plugin Updater.
-
Works on a basic level :) Thank you.
However, sending messages is a bit iffy. The sender name appears as a question mark in chat.
-
AnrDaemon,
I'm showing name what came from server. When I was testing it on one server, I've got my ip address as a name - correctly.
Could you give me your server IP so I can test it?
-
I mean my name when I send messages through plugin :)
It show up at server side borked.
Anyway, it is not any priority, and I'm grateful for this plugin as it is.
I'll install a test server myself and we could get to the more productive debugging later.
-
I mean my name when I send messages through plugin
Your name in Miranda chat window or your name on server?
In Miranda chat window is showed name as it is readed from server (for received and also for send messages).
-
Err, let's put it on the ice for amoment :)