[EDIT/FUN] Painter v1.3.1 - Paint your buildings with dye! (iCon 4 & 5, Perm) [1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by SirHedgehog, Apr 14, 2011.

  1. Offline

    SirHedgehog

    Painter: v1.3.1
    Add some colour to your world.


    Latest Download: v1.3.1 (Source)
    Extract the zip into your "plugins" folder and edit the "config.yml" in the "Painter" folder.

    Older Downloads: v1.3.0 (740) v1.2.1 (677) v1.2.0 (677) v1.1.1 (677) v1.1.0 (677), v1.0.0 (677)


    Description:
    After seeing grey wall after grey wall, I decided some colour was needed. Designed to be highly configurable, this plugin gives your users a good amount of control over wool allowing them to:
    • Change the colour of a block of wool by hitting it with a dye.
      • Can configure whether or not dye is consumed when used.
      • Can configure permissions to determine who can do what.
      • Can configure a charge to the player's iConomy or MineConomy account for each change.
    • Do a colour fill on wool blocks in one action.
      • Right click an a wool block with a colour dye and it will also colour adjacent wool blocks of the same colour, repeating until no blocks are left.
      • Can configure the maximum radius of a fill to prevent abuse.
    • Made a mistake? Roll-back the last action.
      • A fill is counted as a single action.
      • Can configure whether or not to refund the player on roll-back.
      • Can configure the number of levels of roll-back that is possible.
    • Transmute blocks of other materials to coloured wool.
      • Can configure a whitelist of blocks that can be transmuted (see Item IDs below for a list of items).
      • Can configure a different charge to the player's iConomy or MineConomy account for each transmute.
    • FUTURE: Draw a line by crouching.
      • Crouch at the first point and dye some wool then move to your second point, crouch again and dye another block the same colour.
      • If there is a valid path between the points, the blocks in between will be filled in with the same colour that you dyed the end points with.
      • Can configure the maximum length of the line.
    If you have any more suggestions, please reply to this thread.



    Permissions Integration:
    If you have Permissions installed, Painter will automatically bind to it. If Permissions is not present, only OPs will be able to use Painter.

    Here are the permissions that you should allow for certain actions:
    • painter.*
      • Grants permission to use all Painter functionality.
    • painter.dye
      • Grants permission to dye wool blocks by left-clicking it with a dye.
    • painter.fill
      • Grants permission to fill areas of wool blocks by right-clicking it with a dye.
      • Requires: painter.dye
    • painter.transmute
      • Grants permission to transmute blocks specified in the config into coloured wool.
    • painter.rollback
      • Grants permission to undo changes by typing: /painter rollback
    You can also just use *



    iConomy 4, iConomy 5 and MineConomy Integration:
    The economy integration will happen automatically when turned on in the configuration. The plugin to bind to can be also be changed in the configuration. If economy integration is not used, actions to dye wool will be considered free.


    Transmutation of Other Blocks to Coloured Wool:
    Painter has the ability to change blocks of any type to coloured wool in the same way that wool is coloured. A completely separate economy charge can also be applied to different block types. Transmutations can be added by selecting the block type (below), deciding on an economy cost and adding it to the appropriate area of the config file. For example, you can add "DIRT: 5" which will allow dirt to be transmutable and it costs $5.

    Show Spoiler

    STONE
    GRASS
    DIRT
    COBBLESTONE
    WOOD
    SAPLING
    BEDROCK
    WATER
    STATIONARY_WATER
    LAVA
    STATIONARY_LAVA
    SAND
    GRAVEL
    GOLD_ORE
    IRON_ORE
    COAL_ORE
    LOG
    LEAVES
    SPONGE
    GLASS
    LAPIS_ORE
    LAPIS_BLOCK
    DISPENSER
    SANDSTONE
    NOTE_BLOCK
    BED_BLOCK
    WOOL
    YELLOW_FLOWER
    RED_ROSE
    BROWN_MUSHROOM
    RED_MUSHROOM
    GOLD_BLOCK
    IRON_BLOCK
    DOUBLE_STEP
    STEP
    BRICK
    TNT
    BOOKSHELF
    MOSSY_COBBLESTONE
    OBSIDIAN
    TORCH
    FIRE
    MOB_SPAWNER
    WOOD_STAIRS
    CHEST
    REDSTONE_WIRE
    DIAMOND_ORE
    DIAMOND_BLOCK
    WORKBENCH
    CROPS
    SOIL
    FURNACE
    BURNING_FURNACE
    SIGN_POST
    WOODEN_DOOR
    LADDER
    RAILS
    COBBLESTONE_STAIRS
    WALL_SIGN
    LEVER
    STONE_PLATE
    IRON_DOOR_BLOCK
    WOOD_PLATE
    REDSTONE_ORE
    GLOWING_REDSTONE_ORE
    REDSTONE_TORCH_OFF
    REDSTONE_TORCH_ON
    STONE_BUTTON
    SNOW
    ICE
    SNOW_BLOCK
    CACTUS
    CLAY
    SUGAR_CANE_BLOCK
    JUKEBOX
    FENCE
    PUMPKIN
    NETHERRACK
    SOUL_SAND
    GLOWSTONE
    PORTAL
    JACK_O_LANTERN
    CAKE_BLOCK
    DIODE_BLOCK_OFF
    DIODE_BLOCK_ON
    LOCKED_CHEST
    IRON_SPADE
    IRON_PICKAXE
    IRON_AXE
    FLINT_AND_STEEL
    APPLE
    BOW
    ARROW
    COAL
    DIAMOND
    IRON_INGOT
    GOLD_INGOT
    IRON_SWORD
    WOOD_SWORD
    WOOD_SPADE
    WOOD_PICKAXE
    WOOD_AXE
    STONE_SWORD
    STONE_SPADE
    STONE_PICKAXE
    STONE_AXE
    DIAMOND_SWORD
    DIAMOND_SPADE
    DIAMOND_PICKAXE
    DIAMOND_AXE
    STICK
    BOWL
    MUSHROOM_SOUP
    GOLD_SWORD
    GOLD_SPADE
    GOLD_PICKAXE
    GOLD_AXE
    STRING
    FEATHER
    SULPHUR
    WOOD_HOE
    STONE_HOE
    IRON_HOE
    DIAMOND_HOE
    GOLD_HOE
    SEEDS
    WHEAT
    BREAD
    LEATHER_HELMET
    LEATHER_CHESTPLATE
    LEATHER_LEGGINGS
    LEATHER_BOOTS
    CHAINMAIL_HELMET
    CHAINMAIL_CHESTPLATE
    CHAINMAIL_LEGGINGS
    CHAINMAIL_BOOTS
    IRON_HELMET
    IRON_CHESTPLATE
    IRON_LEGGINGS
    IRON_BOOTS
    DIAMOND_HELMET
    DIAMOND_CHESTPLATE
    DIAMOND_LEGGINGS
    DIAMOND_BOOTS
    GOLD_HELMET
    GOLD_CHESTPLATE
    GOLD_LEGGINGS
    GOLD_BOOTS
    FLINT
    PORK
    GRILLED_PORK
    PAINTING
    GOLDEN_APPLE
    SIGN
    WOOD_DOOR
    BUCKET
    WATER_BUCKET
    LAVA_BUCKET
    MINECART
    SADDLE
    IRON_DOOR
    REDSTONE
    SNOW_BALL
    BOAT
    LEATHER
    MILK_BUCKET
    CLAY_BRICK
    CLAY_BALL
    SUGAR_CANE
    PAPER
    BOOK
    SLIME_BALL
    STORAGE_MINECART
    POWERED_MINECART
    EGG
    COMPASS
    FISHING_ROD
    WATCH
    GLOWSTONE_DUST
    RAW_FISH
    COOKED_FISH
    INK_SACK
    BONE
    SUGAR
    CAKE
    BED
    DIODE
    COOKIE
    GOLD_RECORD
    GREEN_RECORD


    Changelog:
    • v1.3.1
      • Added iConomy 5 support (also works with iConomy 4).
    • v1.3.0
      • Added the ability to transmute blocks into wool.
    • v1.2.1
      • Renamed to "Painter".
    • v1.2.0
      • Added rollback/undo functionality.
      • Improved the messaging system a bit.
      • Fixed an issue where blocks above the selected block would not be changed when executing a fill.
    • v1.1.1
      • Fixed issue with spamming error messages for players who don't have the painter.dye permission.
    • v1.1.0
      • Added fill support.
    • v1.0.0
      • Initial release.
     
    PlanetOfGames and NanoEntity like this.
  2. Offline

    Sixael

    I like the idea and I would love to see something like: throw an egg against a wall of wool, check certain inventory slot for dye, calculate how big the egg splashes and dye everything in that range.^^
     
  3. Offline

    SirHedgehog

    I'm gonna need to add a feature request list somewhere I think. :) That sounds like a fun bonus! I'll see what I can do when I've done the core features.

    Just uploaded 1.1.0 which adds support for area fills with a single click.

    There's a bug in all current versions where the Flexiwool error will spam for players without the dye permission. A fix will be released shortly.

    The issue should now be fixed.​

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

    SirHedgehog

    Added 1.2.0 with undo/rollback functionality.
     
  5. Offline

    SirHedgehog

    I've renamed the plugin to Painter because although it needs to use wool to work, it will soon be able to "Paint" just about any kind of whitelisted block.
     
  6. Offline

    NanoEntity

    Good Plugin.

    Only if you could change say 64 cobble into any wool color.
     
  7. Offline

    SirHedgehog

    That's coming in the next release :)
     
    PlanetOfGames and NanoEntity like this.
  8. Offline

    NanoEntity

    I hope its soon :p
    I like the direction this plugin is taking
     
  9. Offline

    SirHedgehog

    Working on it right now. Should be released tonight or tomorrow :)
    Having a slight problem with the config.
     
  10. Offline

    PlanetOfGames

    I Love this plugin <3 cant wait untill the new version, Good work man!
     
    SirHedgehog likes this.
  11. Offline

    SirHedgehog

    1.3.0 is released with the ability to transmute! Please let me know if you have any issues :)
     
    PlanetOfGames likes this.
  12. Offline

    NanoEntity

    How do you use the Transmute?

    You didn't give any info how to use it lol.
     
  13. Offline

    SirHedgehog

    You just hit blocks as normal with a dye. If the block is set in the config (like the example "STONE: 1") the block will be changed to wool and dyed and it will charge you $1 to your iConomy or MineConomy account.

    You can add more entries to allow other blocks to be transmuted. The items list is in the "Show Spoiler" section under "Item IDs" in my post. For example, you can add "DIRT: 5" which will allow dirt to be transmutable and it costs $5.

    Also make sure you give your users the painter.transmute permission if they don't have painter.*.

    I have released the source should anyone wish to fork and push bug-fixes or updates.

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

    NanoEntity

    Feature Requests

    About Transmute
    The way it is now its adds 2x more work because you have to build something in cobble(or any block) then recolor it.

    How about say recolor stocks of blocks using dye in inventory or workbench.
    Example you have 64 cobble + INK in inventory, you place ink over cobble and it becomes black wool, same for workbench but instead placing it over you combine them as a new recipes.

    I would like this feature added, which ever is simpler to add inventory or workbench recipe.

    About Dye
    I would like the Dye to be consumed, but to be configured how many are used per block, same concept as a Mining pick, or shovel or any tool, basically a durability per dye.

    Say you want to color 4 blocks, You have 64 dye, I want dye to be consumed every 4 blocks
    Example, you color 4 blocks, 1 dye is consumed out of 64, you color 4 more blocks, 1 dye is consumed out of 63, and so on....

    Anyways nice job, love the plugin :p
     
  15. Offline

    SirHedgehog

    Thanks for the idea but I won't be implementing this because it goes against the idea of the plugin, which is to paint blocks using dye. Doing that is taking it in a different direction. I believe there are already plugins that let you create new recipes so you could use one of those instead.

    I can make the plugin consume more than one dye per operation but to consume less than one dye or to have dye take on a durability will require persistence, which I do not want to add to this plugin, so that it remains light-weight.
     
  16. Offline

    NanoEntity

    works with 684+?
     
  17. Offline

    SirHedgehog

    Just tested it on 709, works fine.
     
  18. Offline

    Brett Diener

    for the transmuting, is it possible to just change the look of on side of the block so that you dont actually change the block itself, just apply a paint to it? Then you would be able to keep it as say a stone wall on the inside and a painted wall on the outside.
     
  19. Offline

    SirHedgehog

    It's not possible, sorry.
     
  20. Offline

    BlockCat

    you can dye sheep's too!
     
  21. Offline

    SirHedgehog

    No but I might add that. :)
     
  22. Offline

    BlockCat

    no wait, you don't get me.
    you already can dye sheeps!!
     
  23. Offline

    SirHedgehog

    Haha ace, nice side-effect I guess :D
     
  24. Offline

    BlockCat

    you are even better than yourself thought ;)
     
    Hesphaestus likes this.
  25. Offline

    MonsieurApple

    Considered inactive.
     
  26. Offline

    SirHedgehog

    Why is this considered inactive? I'm on holiday at the moment so can't update this but I believe it should still work with the latest version (though can't test).

    It supports the latest iConomy, there have been no bug reports and there are plugins in the releases list with much older revision support than this one so there was absolutely no reason to move this.
     
  27. Offline

    MonsieurApple

    It's considered inactive because you are not supporting within the last three RB. This is required in the plugin submission guidelines.

    Once you are sure it works with 818 and have changed your OP and title to reflect that, then it will be moved back into the release category.
     
  28. Offline

    SirHedgehog

    Then why are there pages and pages of plugins with releases older than mine in their title? Either way, it works fine. I have tested it on 818.
     
  29. Offline

    MonsieurApple

    I can only do so many plugins each day. I just go to the last page of release (those with no replies for over a month) and start looking for inactive plugins (just to tidy things up).

    Moved back to releases.
     
  30. Offline

    Dalik

    Does this work with CraftBukkit #953 ? It would be awesome if it did!
     

Share This Page