Dynmap-HeroChat
Version 0.30
This add-on module for Dynmap provides an adapter for interfacing HeroChat's channels with web chat on Dynmap. This module serves as a replacement for the now-obsolete integration in Dynmap for HeroChat v4.x.
This release requires the following:
- Dynmap v0.70 or later
- Herochat V6.5.1 or later
Older versions of HeroChat (v4.x) are not API compatible with v5.x, and Herochat before v5.5 lack the needed APIs for this module, and will not function correctly.
Settings for Dynmap-HeroChat can be found in its config.yml, which will be created after the plugin is first loaded. The configuration includes:
- 'web-to-channel' -this specifies the name of the HeroChat channel that will receive messages sent from the Dynmap web (default is 'Global')
- 'channel-to-web-list' - this specifies the list of channel names whose messages will be sent to the web interface (default is just 'Global' channel).
- 'webmsgformat' - format string used for layout of web messages that are sent to the 'web-to-channel' channel. Includes substitution macros for the %playername% and %message%, as well as an escape sequence for color formatting (&color;)
Disclosure
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
-
View User Profile
-
Send Message
Posted Dec 8, 2016Hello,
I've got an issue using Spigot 1.11 and the latest version of the plugin:
[12:54:49] [Craft Scheduler Thread - 4/WARN]: [Dynmap-HeroChat] Plugin Dynmap-HeroChat v0.50 generated an exception while executing task 60
java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
at org.dynmap.herochat.MetricsLite.postPlugin(MetricsLite.java:273) ~[?:?]
at org.dynmap.herochat.MetricsLite.access$300(MetricsLite.java:50) ~[?:?]
at org.dynmap.herochat.MetricsLite$1.run(MetricsLite.java:165) ~[?:?]
at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Is it due to spigot's version? Or another thing?
Thanks ! :)
-
View User Profile
-
Send Message
Posted Oct 28, 2013Well I cannot get it to function in my configuration.
Dynmap 1.9 Forge Dynmap-Herochat 0.3 HeroChat 5.6.7
MCPC Plus: mcpc-plus-1.6.4-R0.1-forge935-B109
Really frustrating because I really love this feature.
-
View User Profile
-
Send Message
Posted Oct 11, 2013@zippolino
Thank you.
I tested it myself and it works great :)
-
View User Profile
-
Send Message
Posted Oct 10, 2013@erik1988
Yes it works perfectly (for me). And it is still needed.
My Versions: Dynmap Version 1.9 Dynmap-Herochat Version 0.3 HeroChat Version 5.6.7
It´s awesome =)
-
View User Profile
-
Send Message
Posted Oct 10, 2013So does this still work? or is it even needed?
-
View User Profile
-
Send Message
Posted Aug 31, 2012Found the problem with my web>ingame never getting called! I needed to add: - class: org.dynmap.SimpleWebChatComponent Although the wiki said I need only one of the components (either simple or herochat) it seems that the simple is now needed if you use the external herochat component.
Now everything works fine! *yey*
-
View User Profile
-
Send Message
Posted Aug 19, 2012@Jobsti2
How do dynmap>ingame work for you? Any idea what could be wrong here? I've added debug output to the dynmap-herochat plugin and the function for the incoming chat from dynmap is never called, so obviously there's something wrong in dynmap or my config?!
For your error
I've fixed this myself in this build: EDIT(H31IX): Removed link. Please do not link to off-site jar files.
-
View User Profile
-
Send Message
Posted Aug 15, 2012With Latest herochat:
Dynmap-Chat to Ingame-Channel works
Ingame-Chat to Dynmap doesn't work, the following error occurs:
http://pastebin.com/v5fPKCtM
HC build: http://ci.herocraftonline.com/job/Herochat/167/
CB #2333
-
View User Profile
-
Send Message
Posted Aug 14, 2012Since Herochat was updated today, this plugin didn't work anymore. So I've updated it myself actually, also going through the code for finding the problem with web-to-herochat messages not going through...
It seems that onDynmapWebChatMessage is never called. Did the eventname change, mike?
I'm sending a pull request for sure when I've sorted that one out too, if you don't mind.
-
View User Profile
-
Send Message
Posted Aug 9, 2012So Herochat's not compatible with 1.3....sad
-
View User Profile
-
Send Message
Posted Jul 24, 2012Web to In game not working!
i have my config files below... dynmap wont send anything to in game... before i had herochat installed along with herochat-dynmap it would send dynmap messages in game but not in game to dynmap... now it is reversed. In game to dynmap works but dynmap to ingame wont... plz help!!!! Config Files: http://68.1.73.155:8080/config.txt - Dynmap-Herochat http://68.1.73.155:8080/configHerochat.txt - Herochat http://68.1.73.155:8080/configuration.txt - Dynmap http://68.1.73.155:8080/Global.txt - Global Channel
-
View User Profile
-
Send Message
Posted Jun 3, 2012@Flenix1
I actually have the same problem. All herochat channels get relayed to the map, I only have 3 set to be sent.
http://pastebin.com/Ep494X0v
-
View User Profile
-
Send Message
Posted Apr 18, 2012@Flenix1 But I have this in my config.yml
-
View User Profile
-
Send Message
Posted Apr 12, 2012@Krapinouille
In the settings you can define which channels are going to the web - just don't define the faction channels
-
View User Profile
-
Send Message
Posted Apr 10, 2012My faction chat is report to the dynmap :/
what I need to change ?
thx
-
View User Profile
-
Send Message
Posted Apr 8, 2012@Flenix1
add permission node "dynmap.webchat" as stated in dynmap's wiki.
-
View User Profile
-
Send Message
Posted Mar 30, 2012Talking on the map claims we don't have permission...
74.91.27.186:8123
You can see in-game chat fine though.
-
View User Profile
-
Send Message
Posted Mar 27, 2012@Jobsti2
Try changing the format of the global channel in herochat, as this is where it pulls the [g] from.
-
View User Profile
-
Send Message
Posted Mar 27, 2012Any chance you can make this read permissions to get player prefix and suffix?
-
View User Profile
-
Send Message
Posted Mar 4, 2012heyo,
works great. BUT,
I want to remove the [g] (Channeltag) for the Dynmap-Chat.
For the ingame-player-chat I have no channeltag.
How to remove it?
I think there must be a %channelnick% for the webmsgformat, If
someone want to use it.