Block Cycler

Discussion in 'Archived: Plugin Requests' started by G HOMIE, Aug 15, 2014.

?

Would this cause server lag/problems?

  1. Yes

    4 vote(s)
    100.0%
  2. No

    0 vote(s)
    0.0%
  1. Offline

    G HOMIE

    Basically, you select a block or group of blocks you want with world edit or a built in selector.

    Then you type something like /setcycle 1,2,3,4,5 1 (Which would cycle through stone, grass, dirt, cobble, and wood planks every 1 second)

    /setcycle <blocks> <time in seconds or ticks>

    If this is possible, please let me know. I have searched hard for a plugin or way to do this and can't find a way. Please let me know if this will also cause any problems.
     
  2. Offline

    Epicballzy

    Not to be rude or anything, but is there really any point to see blocks cycle through?
     
  3. Offline

    G HOMIE

    One example I though would be: Banned blocks: And it cycles through the blocks rather than having a wall of blocks.

    Not to mention all the aesthetic reasons.
     
  4. Offline

    Epicballzy

    Why not just a command?
     
  5. Offline

    bluekelp

    URL http://bluekelp.com/bukkit-plugins/CycleBlocks-1.0.0.jar

    Enjoy! All blocks cycle at the same time and all blocks are on the same cycle. Anywhere, any world. All blocks on the server behave the same.

    PM me with server details/address - I'd like to check it out and see what you're doing. Can make minor mods if you want to tweak something.

    You can change the speed the blocks cycle in the config.yml only - no command (I got lazy ;)). Default is 5 seconds.

    Commands
    /cycleblock IRON_ORE DIAMOND_BLOCK STONE - no commas, valid names are any Bukkit Material name
    /cycleblock add - adds the block you're looking at to the group of blocks that will cycle the list
    /cycleblock reload - loads from config (if you edit it offline; not necessary b/c any command changes config)

    Permissions
    cycleblock.cycleblock - required to do anything

    oh - server load -

    a few block is ok. once you add too many blocks - or have them spread over too many chunks - or update them too frequently - it might. i didn't test but i'm guessing you can do tens of blocks but don't try like a hundred blocks every second and expect it to be fine. (it'll send a chunk-update to every client within view-distance - not sure if that's a full 64k download or a smaller update - need to check.)

    don't drop the frequency too low - like below a second - without testing.

    you can have a lot of materials in the list - the number of items in the cycle absolutely will not increase load (unless you add like a thousand to the list ;)).

    only put "blocks" in the list. putting something like WOOD_AXE in the list (while a valid Material) will show as AIR. would need to research how to show non-block Materials.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016

Share This Page