Spigot Dab Maps[1.10 Offhand updating map] 1.1

Map plugin using PlayerMap

  1. Dablakbandit submitted a new resource:

    Dab Maps - Map plugin using PlayerMap

    Read more about this resource...
     
  2. This is pretty cool. Any idea if this will stress a larger server with many players using it at once?
     
  3. You can set the update time in the config under /PlayerMap/DabMaps/config.yml, I think by default its every 40 ticks but you can increase that if you start lagging. The map is 128 x 128 so 16384 bytes are are sent every time the map updates I think, also if the player does not move it will not resend the map until he does. It does have to go through some complicated math to get the color of the blocks on the map but I've made it as fast I can.

    Edit: 20 ticks*
     
    • Like Like x 1
  4. Thanks for the updates for far!
    One suggestion to save the server resource: could you make the map only updated when the player walks out of the map?
    Also, one thing particularly needed: Could you make a waypoint system?
    Waypoints can be added by command, either per-player or serverwide.

    Thank you in advance, this is a truely fantasic plugin.
     
  5. Doesn't work on Spigot 1.8.3.
    PHP:
    [12:40:53] [Server thread/ERROR]: Error occurred while enabling DabMaps v1.0a (Is it up to date?)
    java.lang.NoClassDefFoundError: me/dablakbandit/playermap/player/NMSUtils
        at me.dablakbandit.dabmaps.renders.DabMapRendererManager.<init>(DabMapRendererManager.java:49) ~[?:?]
        at me.dablakbandit.dabmaps.renders.DabMapRendererManager.<clinit>(DabMapRendererManager.java:19) ~[?:?]
        at me.dablakbandit.dabmaps.DabMaps.onEnable(DabMaps.java:31) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugin(CraftServer.java:356) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at org.bukkit.craftbukkit.v1_8_R2.CraftServer.enablePlugins(CraftServer.java:316) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.MinecraftServer.r(MinecraftServer.java:416) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.MinecraftServer.k(MinecraftServer.java:382) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.MinecraftServer.a(MinecraftServer.java:337) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:257) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:522) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
    Caused by: java.lang.ClassNotFoundException: me.dablakbandit.playermap.player.NMSUtils
        at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[?:1.8.0_25]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.8.0_25]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[?:1.8.0_25]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_25]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_25]
        ... 14 more
    PHP:
    [13:47:35] [Server thread/ERROR]: Error occurred while enabling DabMaps v1.0a (Is it up to date?)
    java.lang.NoClassDefFoundError: me/dablakbandit/playermap/player/NMSUtils
        at me.dablakbandit.dabmaps.renders.DabMapRendererManager.<init>(DabMapRendererManager.java:49) ~[?:?]
        at me.dablakbandit.dabmaps.renders.DabMapRendererManager.<clinit>(DabMapRendererManager.java:19) ~[?:?]
        at me.dablakbandit.dabmaps.DabMaps.onEnable(DabMaps.java:31) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:272) [PlugMan.jar:?]
        at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:225) [PlugMan.jar:?]
        at com.rylinaux.plugman.util.PluginUtil.reload(PluginUtil.java:286) [PlugMan.jar:?]
        at com.rylinaux.plugman.command.ReloadCommand.execute(ReloadCommand.java:122) [PlugMan.jar:?]
        at com.rylinaux.plugman.PlugManCommands.onCommand(PlugManCommands.java:100) [PlugMan.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at org.bukkit.craftbukkit.v1_8_R2.CraftServer.dispatchCommand(CraftServer.java:646) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.PlayerConnection.handleCommand(PlayerConnection.java:1133) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:968) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_25]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_25]
        at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:710) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
    Caused by: java.lang.ClassNotFoundException: me.dablakbandit.playermap.player.NMSUtils
        at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[?:1.8.0_25]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.8.0_25]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[?:1.8.0_25]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.8.3.jar:git-Spigot-31ba079-ad2f806]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_25]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_25]
        ... 27 more
     
  6. My bad I moved a class in the PlayerMap
     
    #11 Dablakbandit, Apr 18, 2015
    Last edited: Apr 18, 2015
  7. Daym thats cool .3
     
  8. better than minimap e.e
     
  9. This sounds awesome! Instant minimaps that everyone can use!
    1 question though, when crafted do maps automatically follow players or is it still possible to craft chunk-aligned maps that you can stitch together using frames? (default 1.8 map handling) Basically what I'm worried about is players not being able ot easily create large area maps because they are no longer aligned to a grid. I've already thought of a partial workaround if they aren't, but it would be tricky and sort of ruin the effectness of the plugin (workaround via permissions).

    Same question in regards to the PlotMeMap plugin which looks even more awesome 8D

    Thanks
     
  10. I dont quite understand sorry, this plugin is just meant to show the surrounding area for players on the map
     
  11. Yep! I understand. My question is how does this effect wall-map making. In vanilla 1.8, maps align automatically to chunks based on a 16x16 chunk-grid (or something like that). Players can use it to create large wall maps with seemless transitions between maps, using item frames. If Dab Maps makes the map change as player walk around, does it have any effect on maps placed in an Item Frame? Do they still align to the default chunk-grid or are they still centered on the player's location?

    My concern is players who use the chunk-aligned maps to create world-maps will have trouble aligning them now. Or, does your plugin cause maps to still align by the chunk-grid, just change which 16x16 chunk area is displayed?

    Thanks for the reply :)
     
  12. I have the same question as Omanoctoa. Does this plugin make every crafted map become a dab map? or is it still possible to make vanilla maps?(which only show one area and dont move)
     
  13. My apologies 'cause I'm totally new to this. I installed dabcore, playermap, and dabmaps. Use zpermissions to set the playermap.map, dabmaps.use, and dapmaps.cave permissions for group default. /map adds a map to the player inventory. When I use it it shows >Maps and if I left click on that the server displays a ton of null reference pointer errors and the map goes blank.

    I tried colors and mazemap plugins and they both seem to work as they should.

    Minecraft 1.9. Everything is current version as far as I can tell. Any ideas of what I've done wrong?

    Thanks! :)