Inactive [ADMN/DEV/INFO/FIX] ChunkVisualizer v0.1 - Easily find chunk borders! [1.2.5-R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by Codex Arcanum, Jun 21, 2012.

  1. Offline

    Codex Arcanum

    ChunkVisualizer - v0.1

    [​IMG]
    Have you ever needed to determine exactly where one chunk ends and the other begins? Maybe you run a hardcore factions server and want to protect your land more efficiently. Perhaps you need to determine biome borders. Either way, ChunkVisualizer is a simple solution to your problem. On typing /chunkvisualizer or /cv, a glass border replaces air blocks in a border around your current chunk. Server admins take note, this glass is client-side, can only be seen by the person who just typed the command, and will, in fact, not modify your world in any way. In order to prevent abuse, this client-side glass disappears when the player moves.

    Downloads on Bukkitdev

    Features:
    • Easily displays chunk borders
    • Does not modify your world file
    • Safe to give to your users
    Permissions:
    • chunkvisualizer.view: Gives access to /chunkvisualizer and it's alias /cv.
    Configuration:
    • requiresop: Controls whether or not only server operators can use the command. If false, anyone (even those w/out the permissions node) can use /cv.
    FAQ:
    • Q: But plugin developer, what are these mysterious "chunks" you speak of? A: This.
    Changelog:
    • v0.1 - Initial Release.
    • v0.2 - Derp fixes.
    Todo:
    • None yet. Please post suggestions.
    Known Bugs:
    • Technically possible to stop yourself from falling by spamming the command in midair while falling along a chunk border.
    Credits:
    • The Bukkit Team - For everything.
    • Astrognome - Original plugin request.
     
    Cliffordlittle likes this.
  2. Offline

    md_5

    Nice, useful too. Approved.
     
  3. Offline

    Codex Arcanum

    Nice to have someone say that this is useful. After 2 weeks with no comments I was starting to wonder whether I had made something worthless :) .
     
  4. Offline

    md_5

    Yeah nice comments are always nice :p
     
    tyzoid likes this.
  5. Offline

    Dominic

    Simply amazing. This is extremely useful for Towny servers or what-not. I love how you made it only replace air blocks so people can't use it to "peer" underground to see minerals. I will install this on the server tonight and give it a go!!

    EDIT:
    Hum...I downloaded it off your Bukkit Dev...doesn't seem to work in game. No errors, just spits out /chunkvisualizer or /cv repeatedly when I use /cv or /chunkvisualizer
     
  6. Offline

    ohjays

    Handy if your not using worldedit which has a "//chunk" command possibly not so safe without good perms of course :)
     
  7. Offline

    Codex Arcanum

    Huh. I originally made it replace only air blocks to solve a technical problem I was having, so I'm glad that it solved something else too :). I would love to help you with your problem right now, but I am currently unable to access a computer with java, so I cannot really do anything right now. I'm sorry for the inconvenience, but as soon as I get access to my computer I shall try to figure out what is wrong.

    True, but even with permissions and worldedit you would need to type //chunk, //walls 1, and //undo, unless you also have the CUI (is that even up to date?), and many users can/will not install that.

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

    ohjays

    Oops forgot about that "CUI" im so used to using it myself, anyway must give this a try anyways :)
    Where's the download ?. And re the possible spam bug you mention why not add an adjustable cooldown period between command use
     
  9. Offline

    Codex Arcanum

    Huh. Not sure if it was removed by a mod (seems unlikely) or whether I just managed to fail at posting the link. Check the bukkitdev page. And as far as spamming, I was planning on doing just that.
     
  10. Offline

    LZLOWBATTERY

    yup same thing here...
    I typed /cv when I was both op and had the nessecary permissions and stod still but nope no glass...
    I tried /chunkvisualizer but it says unknown command
     
  11. Offline

    Codex Arcanum

    If you haven't seen this already, allow me to post my previous response.
     
  12. Offline

    LZLOWBATTERY

    Im sorry, I did not read all, whell I hope you fix the problem
    thanks.
     
  13. Offline

    jcan89

    I'm having exactly the same issue...
     
  14. Offline

    VergilPrime

    I patiently await your return T_T super excited about this
     
  15. Offline

    Codex Arcanum

    VergilPrime
    jcan89
    LZLOWBATTERY
    Dominic
    ohjays
    New version (which should solve your problem) is awaiting approval on Bukkitdev. Thank you for your patience and please reply if there are any further problems.
     
  16. Offline

    Cliffordlittle

    i tried to use this, and it didn't work... maybe i was doing something wrong...
     
  17. Offline

    Codex Arcanum

    Are you using v0.1, or v0.2.2? Because if you are using v0.1, then it will not work.
     
  18. Offline

    Stevensaurus

    Wow, neat. Could come in handy.
     
  19. Offline

    victornpb

    very good, I want to suggest/request a feature.

    A parameter on config.yml that enable the possibility to keep the glass wall while you're moving inside the chunk, and dismiss the glass wall when you enter in one of the ends of the chunk. like x and z pos is equal 0 or 15

    If this is implemented, could be another command like "/cv on" that when you move trough another chunk it auto refresh the wall to the current chunk that you're in. and "/cv off" of course to disable.

    and finaly I have a question related to bandwidth, when the wall appears and vanishes only the air blocks are updated to glass blocks and vice versa or the whole chunk are resent?

    because if only the individual blocks are sent, not the whole chunk, would be good if there is a option that only generate glass between your feet and eyes height pos (y) or like 2 blocks high since ground, instead to the very bottom to the very top, would save lots of bytes.
     
  20. Offline

    Codex Arcanum

    Great! I have a reason to do something with this plugin now :).
    Alright. This is a little more complicated than you make it out to be, but it is quite doable.
    Alright. Sounds like a good idea.
    Only the blocks that are changed are resent, not the whole chunk.
    I'm not quite sure I get what you are saying. Are you suggesting adding a config option to only generate glass from the level of your feet upwards? If so, honestly, I could add it if you really want, but it doesn't seem too useful to me. In most cases I don't feel there would be enough air blocks below you to make much of a performance difference.
     
  21. Offline

    victornpb

    Is really nice of your part that you considered and replied my comment.

    I'm sure that the API is not that simple, I just used this terms to help you get my idea.

    Great.

    I'm not sure of this one, maybe you're more appropriate to review if this worth the implementation. I just thought that this would be more light to transmit.

    Something limited to the player head pos
    [​IMG]

    when player is Flying
    [​IMG]

    or even less, limited also to foot pos
    [​IMG]
    but again, I'm not sure if the player position calculation would worth the reduction in bandwidth, or how much it will decrease in size. if the blocks are transmitted individually by the server, this will probably save a lot of bytes, but if the server transmit something just like range of blocks, then I will have a doubt if this would cause any significant amount of difference.
     
  22. Offline

    Codex Arcanum

    Thanks :)
    Huh. You know, thanks to the pictures you provided, it seems I may have to reconsider my position on limiting the glass to a vertical range from the player. I may make it so that the player can set whether the plugin will show all air blocks between the sky and bedrock, or only the ones withing 6 blocks of the players y-coordinate. That would both let the user use the glass all the way to the height limit and bedrock if they need it, and save on server and client performance.
     
  23. Offline

    Codex Arcanum

    Just to let anyone who care know, the next version may be a while, since I am choosing to rewrite the entire plugin. On the plus side, the new version will have major performance increases and many more features.
     

Share This Page