[MECH] GloWool v0.4 - It Makes Wool Glow [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Jacek, Jul 25, 2011.

  1. Offline

    Jacek

    GloWool - It Makes Wool Glow !
    Version: 0.4


    This is now here: http://dev.bukkit.org/server-mods/glowool/


    Description

    This plugin adds a new redstone mechanic to the game, which makes powered wool glow in the dark (but not emit light). The block at each face of any powered wool block that is not solid is given a light level of 15, the effect of this is that the wool block is visibly lit up while it does not light up the area.

    This allows for the creation of cool glow in the dark pixel art and even complicated animations if you have the time to work around all the lighting bugs in the game.


    Download

    http://bukkit.jacekk.co.uk/GloWool/GloWool.jar


    Chat Commands

    /glowool count - Tells you the total number of blocks currently being lit.
    /glowool reset - Resets all lit blocks, they will need to be toggled to be re-lit. This is for use in an emergency if for some reason your server lags if someone tries to light a million blocks for example.
    /glowool relight - Re-lights all blocks that should be lit.
    /glowool show - Shows you which blocks are being lit by changing them to planks for 5 seconds.


    Permissions Nodes

    glowool.* - Gives all permissions.

    glowool.admin.count - Allows the use of the count command.
    glowool.admin.reset - Allows the use of the reset command.
    glowool.admin.relight - Allows the use of the relight command.
    glowool.admin.show - Allows the use of the show command.

    If no permissions plugin is found glowool.admin.* will default to true for ops and false for everyone else.


    Config Options

    relight-freq - How often the blocks are checked to make sure they are lit, this is a number in seconds and defaults to 2.
    block-ids - A list of the blocks ids to be lit if powered, the default is just 35 which is wool.


    Images

    [​IMG]

    [​IMG]

    Note: The dark blocks on the balloon are only there because I was too lazy to work out how to power them.


    Videos





    Planned Changes
    • Permissions node for creating glowing blocks (not sure if this will be possible)
    • Try to work around some of the lighting bugs.
    • Add more efficiency.
    • Configurable blocks.
    • Add different modes:
      • Redstone (powered blocks are lit).
      • Area Selection (clicked on or selected blocks can be linked to a lever, button, etc).
      • Torch Click (clicking on a block with a torch will light it up).
    Know Limitations / Bugs
    • Sometimes when a player places a block near the lit area the light will be reset for their client, the server will reset the light level for other players but the one that placed the block will not see it for a while. Doing somethign that will change the light level of the area (like placing a torch or repeater close enough for the light to overlap) also causes this, an easy work around it to use levers as a power source.
    • Some shapes will not light if not all of the blocks are powered, this seems to be a quirk of the way Minecraft blends the light.
    • The client will not process lighting updates that happen far away, this is visible in the video where the animating "Bukkit" appears to be frozen but when approaching it starts working.
    Changelog

    Version 0.4
    • Blocks removed with WorldEdit will now be removed from the block list (not straight away).
    • Code re-organised a bit.
    • Source code is now included in the .jar file.
    Version 0.3.2
    • Will no longer add light for cancelled events.
    • Forgot what I changed in 0.3.1, it was something small though.
    Version 0.3
    • Added two config options, relight-freq and block-ids.
    Version 0.2
    • Added /glowool relight and /glowool show.
    • Fixed a bug with the way blocks are saved when the server shuts down, meaning blocks will now still be lit after a server re-start.
    Version 0.1.2
    • Fixed a bug that stopped wool being lit after changing the server time with /time
    Version 0.1.1
    • Fixed the two commands and permissions.
    Version 0.1
    • Initial buggy testing version.
     
    niugnip and Woolcity like this.
  2. Offline

    Ace7Fresh

    Can you make plugin wich will add light to all blocks?
     
  3. Offline

    Jacek

    This method does not work any more since the lighting in the game was changed.
     
  4. Offline

    Ace7Fresh

    Only wool can light?
     
  5. Offline

    Jacek

    Nothing can, this is inactive.
     
  6. Offline

    Ace7Fresh

    Wooow! Soo can you make that will make halfblocks light?
     
  7. Offline

    Jacek

    No... The method I used to manually set the light level for a block now causes massive lighting errors that can't be fixed making this no longer possible.
     
  8. Offline

    Ace7Fresh

    Hmmm... Can you make plugIn that will add new block?
     
  9. Offline

    Jacek

    No.
     
  10. Offline

    Ace7Fresh

    Hmmmmm... Can you make plugin that will give you admins tools collection? For example: ban sword, storm stick and other.
     
  11. Offline

    emericask8ur

Share This Page