Dynmap-SimpleClans
SimpleClans addon for Dynmap
This is an addon to dynmap for SimpleClan powered servers. It enhances dynmap for use with PvP servers. All players are hidden by default, no one likes to have a bulls-eye on their foreheads at all times. Players are then shown on the map based on rules that are advantageous to the PvP experience.
Features:
Clan homes on map
Your clan homes will be shown on the map along with your clan's name.
PvP Deaths on map
Players who have died by the hand of another player will be shown on the map for 5 minutes (configurable).
Opt-in Visibility
Anyone can now use /map toggle to show themselves on the map whenever they want. Use the command again to hide yourself once again. This will not allow you to hide yourself if you are showing due to any rules.
Killers visible after kill
If enabled, players who have just killed someone will be visible in the map for 5 minutes (configurable) giving the victim a chance to get their revenge.
Player visible after hitting another player
If enabled, players who have just hit someone will be visible in the map for 1 minute (configurable), showing all PvP activity on the map.
To Do
- Show players that are out in the open at night time (not just mobs you have to be afraid of when you go out at night)
- Show players that don't have full health (an added incentive to always carry food)
- Show players with KDR above X (looking for trouble? trouble will find you)
- Show players that have certain enchanted items in their procession (could balance out certain OP items)
- Players will be able to hide themselves by going underground or by sneaking no matter if the other options have them showing
Just saw this error:
http://pastebin.com/a9tsNdG1
@p000ison
Awesome. I have staged it to update next restart. :)
@TnTBass
Ok tested and fixed :P
@TnTBass
Thanks! now I can start working on this :P
2012-07-18 16:06:01 [WARNING] Task of 'Dynmap-SimpleClans' generated an exception
java.lang.NullPointerException
at net.sacredlabyrinth.phaed.dynmap.simpleclans.layers.ClanHomes.updateMarkerSet(ClanHomes.java:153)
at net.sacredlabyrinth.phaed.dynmap.simpleclans.layers.ClanHomes.access$200(ClanHomes.java:16)
at net.sacredlabyrinth.phaed.dynmap.simpleclans.layers.ClanHomes$Update.run(ClanHomes.java:112)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:535)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:461)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-07-18 16:07:03 [INFO] Dynmap-SimpleClans version 1.0
2012-07-18 16:07:03 [INFO] Author: phaed
Actually using: http://dev.bukkit.org/server-mods/dynmap-simpleclans/files/9-1-2-4/ as the file which caused this error. Rolling back to 1.2.3 in the meantime.
Also, please keep the file names consistent between builds for easier use of the update protocol (from bukkit.yml the file name matches the existing one in the plugin directory, it replaces it with the one in the update folder.
@Spezialeinheit
hm thats odd... But I released a new version. Please test it and tell me if it works. I think I have to work a bit with the dynmap api.
I have this with Dynmap 0.50 Build 1202:
And:
Im not sure, I think ill update this :P (Although Dynmap is in my opinion not the best :P)
@DanishDude93
I want this as well....
It works fine for me apart players not being shown.
I wouldn't mind them being hidden, but only in a particular world.
Source Code link does not work either..
Is this getting a update for dynmap 0.39?
● Minecraft: #1.2.5
● CraftBukkit Plus Plus RB #198 (CraftBukkit DEV 2151+)
● Java SE RE 7.3 x64
● 1.2.3
● 2.2.6.3
● 0.39
2012-05-07 05:44:01 [WARNING] Plugin Dynmap-SimpleClans v1.2.3 tried to register permission 'simpleclans.map.toggle' but it's already registered
java.lang.IllegalArgumentException: The permission simpleclans.map.toggle is already defined!
at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:585)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:373)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:349)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:420)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:407)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:224)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:475)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
PLS UPD PLS
@skullonroses
No its broken for any dynmap version over 36.0
This doesnt break per bukkit version, it breaks per dynmap version as it requires dynmap methods not bukkit.
@darkcloud784
Well looks like you looked here, captain Obvious
and its only broken for 1.2.5
@DanishDude93
Don't waste your breath asking questions, no one ever looks at this thread and on top of it the plugin is broken.
Is "default hidden player" configurable? Cant seem to find anything that will show up players
Doesn't work, gives errors when I do /map toggle etc.
Dynmap version 36.1
Edit. Also on Dynmap 36.2
29.03 19:54:58 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) 29.03 19:54:58 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:509) 29.03 19:54:58 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:591) 29.03 19:54:58 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) 29.03 19:54:58 [Server] INFO at net.sacredlabyrinth.phaed.dynmap.simpleclans.layers.Kills$Update.run(Kills.java:129) 29.03 19:54:58 [Server] INFO at net.sacredlabyrinth.phaed.dynmap.simpleclans.layers.Kills.access$200(Kills.java:15) 29.03 19:54:58 [Server] INFO at net.sacredlabyrinth.phaed.dynmap.simpleclans.layers.Kills.updateMarkerSet(Kills.java:204) 29.03 19:54:58 [Server] INFO java.lang.NullPointerException 29.03 19:54:58 [Server] WARNING Task of 'Dynmap-SimpleClans' generated an exception
@colddemon666
He should add a config node to default players visible, I too would like to see this.