Inactive [FUN/MECH] MapClone v0.5 - Clone and Scale/Zoom Any In-game Map [1337, 1.0.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Tux2, May 31, 2011.

  1. Offline

    Tux2

    MapClone - Clone and Scale/Zoom Any In-game Map!
    Version: v0.5
    This plugin allows you to clone any map that you have in your inventory to the one you are holding in your hand as well as allowing you to scale the current map! To clone a map just hold the destination map in your hands and do the command "/mclone [mapNumber]". Poof! You've got your map. To scale a map just hold the map you want to scale in your hands and do: /mzoom [closest|close|normal|far|farthest|1-5] <mapnumber>. To configure it just go into your plugins folder into the folder named "MapClone" and edit settings.ini.
    Please note that to use an economy plugin the Register plugin is required.

    [​IMG]

    [​IMG]
    Cloning Recipe:
    [​IMG]
    You must be holding down shift when you click on the maps, otherwise you will get two maps of the next available number instead of cloning the map you want!!!!

    Features:
    • Clone Any Map!
    • Change the scale of any map!
    • Permissions Support (Both legacy permissions and the new Bukkit SuperPerms)
    • An option for a cloning recipe (bypasses permissions, and all other options when enabled.)
    • Supports any Economy system through the Register plugin!
    • An option to use items upon cloning or scaling maps
    • Adjustable timeouts on scaling a map so that you can get charged once, find the scale you want, and never be able to change the scale again after the timeout (unless you have the special permission which allows you to do so)
    Permission Nodes:
    • mapclone.clone - The ability to clone a map in your inventory
    • mapclone.any - Clone any map, not just ones in your inventory
    • mapclone.free - If iConomy is enabled, this will enable this group to clone maps for free
    • mapscale.scale - Allow someone to scale a map
    • mapscale.any - Allow them to scale any map, even already scaled maps, at any time
    • mapscale.free - If an economy or item system is enabled, this will enable this group to scale maps for free.
    Download MapClone.jar v0.5

    Download MapClone.jar v0.4 (Bukkit versions 1060 and older)

    Known Bugs:
    • When using a resource with a damage value it prints out the name of the item with the damage value of 0 in the chat, instead of using the proper name. Although it does use the correct item. (Any good, simple ideas to fix this would be appreciated)
    Plugin Not working correctly?


    For me to diagnose the issue properly please provide me with the following information:
    Code:
    Description of issue:
    Version of Craftbukkit:
    Version of java:
    OS:
    Other plugins installed:
    Output of console (If there are any error messages):
    MapClone configuration file:
    
    ToDo List:
    • See if there is a way to find out how close the player is to the area where the map was first created and add an option to restrict map cloning of that map outside of that area. (Need hooks added in bukkit)
    Changelog:

    Version 0.5
    • Added ability to scale maps with the /mzoom command
    • Added support for any economy system through Register
    • Added ability to specify the quantity of the items used up when using items for charging for cloning/scaling
    • Added Bukkit SuperPerms support
    Version 0.4
    • Fixed needing 2 maps when the player had mapclone.any permission node.
    • Added resource using when cloning.
    Version 0.3.1
    • Fixed flipped variable for map cloning
    Version 0.3
    • Added iConomy 5.0 support
    • Added map cloning with a recipe
    • Added extra permissions nodes
    Version 0.2
    • Fixed permissions support not working
    Version 0.1
    • Initial release.
     
    Kain888 likes this.
  2. Offline

    Tux2

    @LinkDude80 does the same problem occur with build 935? (I'll be testing it later today)

    @Taemera It doesn't need to know which maps are the cloned versions or the original versions. Each map you create has a unique number assigned to it. When you clone a map you are just making another map with the same map number. To the server and client they are the same map. There is no original/cloned distinction. Hopefully this answers your question.
     
  3. Offline

    Taemera

    Which map does it clone? If I have two map_0 maps, both different, which one will the map clone? Or did I misunderstand how maps work and do all cloned maps change every map with the same number?
     
  4. Offline

    Tux2

    @Taemera All maps with the same number are linked to the same map file. So any updates to that map that anyone does immediately updates everyone else's maps as well.
     
  5. Offline

    Taemera

    Al right, thanks for explaining that!
     
  6. Offline

    LinkDude80

    Just tried it with build 953. Problem still happens. I also tried dis-ableing the recipe and cloning the new map that appeared but got a message that I needed to be holding the destination map, which is strange because as an admin I should have that permission enabled.
     
  7. Offline

    Tux2

    @LinkDude80 You need to be holding the map that you want it to clone to as it won't spawn a map for you, it just changes which map it is. (In the next version I will have a feature to have it spawn a map)
     
  8. Offline

    LinkDude80

    Ah. I misunderstood that part. I checked, it seems that the random new maps are just new maps that are created at the time of cloning. All of the new maps (basically 15-74 in my case) are all maps that were created in the same spot but are still unique maps. Is it creating a new map every time and cloning the old map to it leaving the new map still somewhere in game?

    Also worth noting is that it only happens with the recipe, not the command, however if I try to spawn a map that does not exist (say 80) it will create a new one.
     
  9. Offline

    Yurameki

    Installed fresh, haven't touched the config, just looked at it to see if the recipe was enabled which it says it is, and yet I can't use the recipe to make anything...why? the command works fine.

    CB 1000 and CB 1024 tested
    Java 6
    No error messages
     
  10. Offline

    The Tycooner

    How come it is a must to hold down shift while crafting?
    You can't make a clone without that when using the workbench?
     
  11. Offline

    Tux2

    It's the way Minecraft works. When you hold down the shift key it doesn't modify the Map's number that is on the crafting bench, if you don't hold down the shift key you get two maps of the next available number just like if you were crafting a new map. (That's how you can make copies of Map_0 in vanilla is by holding down the shift key)
     
  12. Offline

    Fr0zenfr0g

    How do i have difrent maps on my server, all of them are the same :(
     
  13. Offline

    Tux2

    Craft them at different locations.
     
  14. Offline

    WolfKingAdam

    Can i sell cloned maps? Becuase on the server i monitor, we want to sell the cloned maps to players, so they have some idea of the world
     
  15. Offline

    Tux2

    Most definitely as long as you have some store plugin that stores damage values of the items placed in it.
     
  16. Offline

    WolfKingAdam

    Sweet, thank you :D
     
  17. Offline

    Kain888

    Any chances to have plugin updated? Really like it. :)
     
  18. Offline

    Tux2

    Yup. iConomy 6 and bukkit perms support is forthcoming very soon. (Trying to integrate the register interface at the moment) Also, what kinds of new features would you like to see in the next version?
     
    Kain888 likes this.
  19. Offline

    Kain888

    Not sure, but will definitely think about it. I mean the plugin has the best features of plugin, really brilliant idea combined with simplicity. :p So it will be hard for me to think about something. ^^
     
  20. Offline

    Derek S

    confirmed working in CB 1240.
     
    Tux2 and Kain888 like this.
  21. Offline

    Tux2

    @Kain888 I just updated the plugin to version 0.5! You can now scale maps with this version as well as integrating some of the newer stuff that has come out. Have fun!
    @halvors I finally got around to adding Register support! Yay!
    Hopefully all of you will enjoy the new features.
     
    Kain888 likes this.
  22. Offline

    Kain888

    Awesome! Thanks. :)
     
  23. Offline

    T4L_Goose

    For some reason people keep getting map zero when they craft a map. Why is that?

    Actually, I just found out why. Dunno if it's the plugin or not, but shift clicking a single crafted map from the workbench makes it map_0. Just FYI.
     
  24. Offline

    Tux2

    That's actually vanilla minecraft. I use that little trick in the crafting recipie, otherwise you would just get 2 maps of the next number.
     
  25. Offline

    Kain888

    Hey is there any way to show scale of map? Let's say I conquered map from enemy and I would like to somehow know if it's say 2 or 3 level of zoom. Maybe with a command? The visual indicator would be awesome but I can imagine it may be hard (and would require spout I guess :p ).

    Just a idea, nothing that needed I guess. ^_^
     
  26. is there any chance for this plug to be updated ?
    I would like to offer a map cloning tool for my users ...

    thx in advance :)
     
  27. Offline

    Tux2

    The current version works fine with the latest bukkit. (1.0.1-R1) Nothing has changed so I didn't need to update it. Please remember that I keep the version numbers up to date on the bukkit dev page a lot more than on this one as everyone is moving over.
     
  28. you've got a point :)
    thx :)
     
  29. Offline

    ThesaurusRex84

    Can't craft a map. Got the permissions right, and I'm an admin, but I still can't copy a map.
     
  30. Offline

    Tux2

    Please file a proper bug report, that doesn't tell me anything because it works fine on my server.
     
  31. Offline

    ThesaurusRex84

    Forgive me for saying so but how do I do that? Nothing shows up on my server log.
     

Share This Page