This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
Dynmap Citizens 1.2
Description
This plugin will show the citizens made with Citizens2 on your dynmap.
See it in action:
Requirements
Citizens
Dynmap
Installation
Download latest file and put it to your 'plugins/' folder.
Then restart your server or load it with PlugMan or with other plugin manager.
2013-09-03 16:40:05 [WARNING] [DynmapCitizens] Task #52 for DynmapCitizens v1.2.1 generated an exception
java.lang.ClassCastException: java.util.HashMap$KeyIterator cannot be cast to net.citizensnpcs.api.npc.NPC
at me.newboy.DynmapCitizens.DynmapCitizens$1.run(DynmapCitizens.java:119)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
[WARNING] [DynmapCitizens] Task #50 for DynmapCitizens v1.2.1 generated an exception java.lang.ClassCastException: java.util.HashMap$KeyIterator cannot be cast to net.citizensnpcs.api.npc.NPC at me.newboy.DynmapCitizens.DynmapCitizens$1.run(DynmapCitizens.java:119) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
as to my last comment, i believe what the issue is, is that it only displays 1 name per citizen type. As in i have about 50-100+ npcs named Knight on my server but it only displays 1 of them etc. Any possible solutions to this?
Thanks, that version works!
But can you also look at the following:
In the config.yml i changed the marker-icon setting to marker-icon: npc
I also added the npc marker icon to dynmap, but dynmap is only showing the offlineuser icon.
ohh yah 1 thing i noticed is that not all my npcs are being displayed, is that because some are under-neath blocks/roofs? or is it because they have similar/the same names?
@Farbmond @gumgumpuntnl
Hi,
we have the same error.
I would create a ticket, but there is no ticket button above. ;)
The same here:
2013-09-03 16:40:05 [WARNING] [DynmapCitizens] Task #52 for DynmapCitizens v1.2.1 generated an exception java.lang.ClassCastException: java.util.HashMap$KeyIterator cannot be cast to net.citizensnpcs.api.npc.NPC at me.newboy.DynmapCitizens.DynmapCitizens$1.run(DynmapCitizens.java:119) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
@gumgumpuntnl
Okay, il create a ticket for this, and il look into it for you now :)
Thanks for telling me!
Getting a error on build 25 aug.
[WARNING] [DynmapCitizens] Task #50 for DynmapCitizens v1.2.1 generated an exception java.lang.ClassCastException: java.util.HashMap$KeyIterator cannot be cast to net.citizensnpcs.api.npc.NPC at me.newboy.DynmapCitizens.DynmapCitizens$1.run(DynmapCitizens.java:119) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Being able to change the offline user icon to something else would be great. Currently changing the lane in the config.yml doesn't change anything.
as to my last comment, i believe what the issue is, is that it only displays 1 name per citizen type. As in i have about 50-100+ npcs named Knight on my server but it only displays 1 of them etc. Any possible solutions to this?
@newboyhun
ya still not fixed, my dynmap atm is: http://darkrealms.mc-unite.com:8123/
ip of server: darkrealms.mc-unite.com
when you join/type /spawn and look around there's alot more npcs, also when u type /warp wild etc. those npcs aren't there, only some are.
Thanks, that version works!
But can you also look at the following:
In the config.yml i changed the marker-icon setting to marker-icon: npc
I also added the npc marker icon to dynmap, but dynmap is only showing the offlineuser icon.
@gumgumpuntnl
Sorry i haven't tested it,i thought i fixed it.
Now i fixed it + tested so 100% that it's working =)
Version doesn't seems to solve the moving problem with the npc's. Could you look at it again please.
@N1T3SLAY3R
That was a bug, fixed
@gumgumpuntnl
Yes i will.
Can you please look why the position of the npc's is not updated on dynmap?
Walking npc's position is not updated.
ohh yah 1 thing i noticed is that not all my npcs are being displayed, is that because some are under-neath blocks/roofs? or is it because they have similar/the same names?
@N1T3SLAY3R
Oh yes,i will upload the new version beacuse it is applied with one of my old file.
first error post xD
2013-03-24 03:20:47 [WARNING] [DynmapCitizens] Task #88 for DynmapCitizens v1.0 generated an exception
java.lang.NullPointerException
at me.newboy.DynmapCitizens.DynmapCitizens$1.run(DynmapCitizens.java:57)
at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:512)
at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225)
at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
@newboyhun
idk but i just want to make sure it all applys properly, because i dont know how sentry/denizen over-rides the plugins etc.
@N1T3SLAY3R
What do you mean on 'different'?
Custom icon?
can you make sure this supports denizen and sentry (additions to citizens encase it makes some type of difference etc.? ty and nice job on this xD