Inactive [TOOL] MeasuringTape v0.9c - Easy measuring [1.2]

Discussion in 'Inactive/Unsupported Plugins' started by DiddiZ, Jan 23, 2011.

  1. Offline

    DiddiZ

    MeasuringTape - Easy measuring
    Version: 0.9c - Works with 1.2

    Description:
    MeasuringTape is a tool, that makes you able to simply figure out a distance, an area or even a track. MT uses a string to mark the positions. I once thought it would be just practically to measure how far my cannon shoot, but by now are there a few other purposes, like metering a base area and so on. The track mode can be used to measure the road between two cities. Roadsigns with the exact remaining distance in m look very nice.
    String attaching is deactivatable to avoid conflicts with other plugins also using a string to mark blocks, e.g. WorldEdit.
    MT can use the Permission Plugin but is not depending on it. If Permissions is deaktivated in config or doesn't run at the server MT will use some default right managemant: Measuring ant "/mt tape" are available for all and "/mt tp" only for ops.

    Features:
    • Easy measuring with different modes:
    • Direct distance, vectors, area, volume, blocks and even track
    • Figure out the level of an area where you have fewest blocks to break/place to flatten it
    Download, Config and Details:

    [​IMG]http://www.diddiz.de/minecraft/measuringtape.php
    [​IMG]https://github.com/DiddiZ/MeasuringTape/downloads

    Changelog:
    • MeasuringTape v0.9b (Nov. 07, 2011)
      Requires CraftBukkit (tested with CB #1337)
      • Fixed breaking blocks in creative mode
    • MeasuringTape v0.9 (Jul. 29, 2011)
      Requires CraftBukkit (tested with CB #1000)
      • Added /mt level
      • Added bukkit permissions
    • MeasuringTape v0.8d (Jun. 02, 2011)
      Requires CraftBukkit and opional Permissions (tested with CB #818 and Permissions 2.x)
      • Cleanup, MT is smaller now :D
    • MeasuringTape v0.8c (Apr. 08, 2011)
      Requires CraftBukkit and opional Permissions (tested with CB #670 and Permissions 2.5.5
      • Fix for recent bukkit changes.
    • MeasuringTape v0.8b (Mar. 30, 2011)
      Requires CraftBukkit and opional Permissions (tested with CB #602 and Permissions 2.5.5, doesn't work below bukkit #600)
      • Fix for recent bukkit changes.
      • Added support for right click in useTargetBlock mode
      • Minor performance improvements
    • MeasuringTape v0.8 (Mar. 07, 2011)
      Requires CraftBukkit and opional Permissions (tested with CB #493 and Permissions 2.5)
      • Added target block
      • Added "useTargetBlock" config
      • Improved auto config creation
      • Minor code cleanup

    [​IMG]
     
    GameFreakDude likes this.
  2. Offline

    RytoEX

    Awesome! Thanks!
     
  3. Offline

    DiddiZ

    Added a fix for the attaching to bedrock issue.
    Created a github repo.
     
  4. Offline

    Bjourk

    When I type "/mt help" I get this:
    Code:
    20:37:03 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'mt' in plugin MeasuringTape v0.8
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
        at de.diddiz.MeasuringTape.MeasuringTape.CheckPermission(MeasuringTape.java:261)
        at de.diddiz.MeasuringTape.MeasuringTape.onCommand(MeasuringTape.java:202)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    When I right click with a string with Measuring Tape enabled I get this:
    Code:
    20:40:49 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to MeasuringTape
    java.lang.NullPointerException
        at de.diddiz.MeasuringTape.MeasuringTape.CheckPermission(MeasuringTape.java:261)
        at de.diddiz.MeasuringTape.MeasuringTape.access$1(MeasuringTape.java:259)
        at de.diddiz.MeasuringTape.MeasuringTape$MeasuringTapeBlockListener.onBlockRightClick(MeasuringTape.java:254)
        at org.bukkit.plugin.java.JavaPluginLoader$20.execute(JavaPluginLoader.java:259)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:493)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    And a similar error when left clicking.

    I have permission through EssentialsGroupManager.
     
  5. Offline

    DiddiZ

    You have to use the fakepermissions (or EssentialsGroupBridge) plugin, which is the bridge between permisions and groupmanager.
     
  6. Offline

    Bjourk

    Yeah, it comes with Essentials. I have it installed.
     
  7. Offline

    DiddiZ

    Ok, I'll have a closer look at GroupManager later this day.

    Tested MT with latest releases of GroupManager and FakePermissions, EssentialsGroupManager and EssentialsGroupBridge, and combinations. All worked.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  8. Offline

    zwarmapapa

    Can you please make a video for this plugin? It would explain more than the description and it will get more servers to use it.
     
  9. Offline

    DiddiZ

    Hm, right. Maybe I'll get some time today or tomorrow.
     
  10. Offline

    blaize9

    Download/website is down
     
  11. Offline

    DiddiZ

  12. Offline

    Bjourk

    Cool idea - doesn't work.
    I measured the distance between 25 blocks and got 103 meters in distance mode.
    I measured 19 blocks and got 91 in block mode.
    Going back to hand-counting blocks...
     
  13. Offline

    DiddiZ

    That's rather unlikely ...
    To achieve such a behavoir, MT somehow must get the wrong blocks.
    Atm, I've no idea why this doesn't work for you.

    Website is working again :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  14. Offline

    DiddiZ

    Released v0.8b

    Updated for CB 561+
    Added support for right click in useTargetBlock mode
     
  15. Offline

    h0us3cat

    new fast host is fast <3
     
  16. Offline

    kush

    can you update this for 670 please
     
  17. Offline

    DiddiZ

    Of course

    Released v0.8c
    Fixed for Craftbukkit #670

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  18. Offline

    Dave Wright

    Would it be possible to change the way it measures, I found it at first a little confusing that clicking on a block right next to the first one I get 1.0m, and I would have expected a 2.0m, or should I be setting it to block count mode ?
     
  19. Offline

    DiddiZ

    "/mt mode blocks" is what you want :D
     
  20. Offline

    kush

    thank you so much for updating so quickly
     
  21. Offline

    lunieboy

    Hey bro can you add a thing in the config to change default tool as this uses the same tool as world guard and i really want to use your plugin
     
  22. Offline

    DiddiZ

    WorldGuard has a config to change to another tool.
    MT will ever use the string (for reasons of sense and rpg), and was using the string before WorldGuard.
     
  23. Offline

    jmcneely

    I've been dying for a plugin like this forever, I hate having to count blocks by hand when building. But I get these odd reading from when I first tested the plugin. starting from one point from south and west of that point it starts in wholes numbers. However, from north to east it doesn't start in whole numbers.
    Why doesn't it always come out to be whole numbers when its on the same level?

    Overall, I really enjoy the plugin and will be keeping it.
     
  24. Offline

    DiddiZ

    Hm, will check that, bot there is also "/mt mode blocks" :D
     
  25. Offline

    jmcneely

    @DiddiZ Yea I just now discovered that, way better thanks!

    This plugin is addictive for people who like math and working with numbers. I now can't stop measuring things, its so fun.
     
  26. Offline

    DiddiZ

    :D
     
  27. Offline

    DiddiZ

    Released MT v0.8d

    Cleanup update, the jar is now 20% smaller and it should perform faster (you won't notice it, since MT doesn't needs much cpu :D)
     
    GameFreakDude likes this.
  28. Offline

    jmcneely

    Thanks for the update!
     
  29. Offline

    andreblue

    any chance you may add a config for the item? Just to make it so that others may change it if they wish?
     
  30. Offline

    DiddiZ

    Nah, the string is the closest to a measuring tape :D
     
  31. Offline

    jmcneely

    Can you please update to support the new superperms?
     

Share This Page