LeadWires 1.1.3

Allows you to place "wires" that are actually leads on invisible mobs.

  1. saharNooby
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/saharNooby/lead-wires
    [​IMG]

    This plugin allows you to place "wires" using tools, commands or API for the developers. The wires are actually leads on invisible entities (silverfish, since they are the smallest mobs).

    Regular players can also place leads on blocks that are allowed in the config. You may configure the plugin to require a permission from players to place leads or disable this feature completely. Such leads will be broken and dropped as items if blocks they reside in are destroyed.

    The plugin causes almost no lag because all entities are sent using packets, meaning they don't tick, receive damage, move, cause events, etc. This also prevents leads from breaking when they have length more than 10 blocks, since the server doesn't even know they exist.

    ProtocolLib is required for this plugin.

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    Limitations
    • Minecraft client will render the lead as partially or fully (depending on the client version) black, if there is a solid block under one of the wire points. This is not fixable, you should avoid it yourself (there is a workaround -- place a slab under the block, and a torch under the slab, that way slab will be "lit" and lead will not become dark).
    • There is no way to disable a bounding box on a silverfish, so players may be unable to hit blocks or entities directly behind the silverfish. Though the bounding boxes are relatively small. This is not an issue if wires are out of reach for the players.
    • Shaders may render leads incorrectly (half-transparent or black). To fix, you need to use other shaders or ask developers to fix their shader code.
    • Leads can't be colored or made bigger until Mojang decides to change it.
    Commands
    • add-wire <world> <x> <y> <z> <x2> <y2> <z2> [uuid]: Adds a new wire.
    • remove-wire <uuid>: Removes a wire by an UUID.
    • remove-wires-in-block <world> <x> <y> <z>: Removes all wires starting in a block.
    • remove-nearest-wire: Removes a wire nearest to the sender.
    • wire-tool <place|place-thick|remove>: Gives a tool for placing or removing wires.
    • lead-wires-reload: reload the plugin config.
    Tools

    Wire Placer

    Click RMB on a block to set the first point.
    Click RMB again on another block to place a wire between the first point and the second block. The wire will start and end in the exact center of the blocks.
    Click RMB again to continue placing the wire from the last point.
    Click LMB to reset the first point.

    Thick Wire Placer

    Works in the same way as Wire Placer, except it places thicker wires (they are actually three wires that are slightly offset).

    Wire Remover

    Click RMB on a block to remove all wires that start or end in the block.



    Permissions
    • leadwires.add-wire: Allows you to use /add-wire.
    • leadwires.remove-wire: Allows you to use /remove-wire.
    • leadwires.remove-wires-in-block: Allows you to use /remove-wires-in-block.
    • leadwires.remove-nearest-wire: Allows you to use /remove-nearest-wire.
    • leadwires.use-tools: Allows you to use command /wire-tool and tools.
    • leadwires.reload: Allows you to use /lead-wires-reload.
    Config

    config.yml contains configuration for different parts (modules) of the plugin. At this moment, there is only "lead placement" module.

    Settings for lead placement:
    Code (YAML):
    # If false, lead placement will be disabled.
    enabled
    : true
    # Max length of the lead. If exceeded, player will receive a message.
    maxLength
    : 10
    # If true, player can continue placing leads after placing one,
    # new lead will start from second point of the last lead.
    continueFromLastPoint
    : true
    # Permission to place leads. If empty, permission will not be checked.
    # If permission is set and player has no such permission, player will receive a message.
    permission
    : ''
    # All blocks allowing a lead to be placed on them.
    # This list works both for the legacy (1.12-) and flattened (1.13+) versions.
    allowedBlocks
    :
     - 'FENCE'
      ...
    # Messages sent to players.
    messages
    :
      firstPointSet
    : '&aFirst point of the lead set'
      ...
    There is a messages.yml file containing all messages in English.

    API

    The plugin allows you to create and remove wires programmatically, so you or your developers can implement some awesome ideas like electricity, power poles, etc.

    To use this plugin as an API, read the GitHub page for instructions.
    Rizraz, DeZoWaRe, Kagrurnaax and 2 others like this.

Recent Reviews

  1. lostmp
    lostmp
    5/5,
    Version: 1.1.3
    i will give 5 stars but seems not working to me because i set but i can't see the lead 1.16.3 version
  2. DeZoWaRe
    DeZoWaRe
    5/5,
    Version: 1.1.3
    It's rare to find such a good plugin among all this same type of crap)
    .
    1. saharNooby
  3. hitewaer
    hitewaer
    5/5,
    Version: 1.1.1
    Thanks to the plugin developer for supporting his product.
    I wish the author more than one thousand downloads!
    1. saharNooby
      Author's Response
      Thank you!
  4. CharliesNoob
    CharliesNoob
    5/5,
    Version: 1.1.0
    tested on 1.14.4 it works good,can you do plotsquared support?
    ______________________
    1. saharNooby
      Author's Response
      How exactly? PM me please
  5. Carl0Jonshon
    Carl0Jonshon
    5/5,
    Version: 1.1.0
    Bro top update!
    But add the ability to translate texts such as "The lead has been placed"
    And similar
    1. saharNooby
      Author's Response
      Yoy can change them in config.yml (for regular players) or messages.yml
      (for admins)
  6. Broken_War
    Broken_War
    5/5,
    Version: 1.0.1
    simple and fun little plugin for nice details in your mine-craft server. cant wait to see what other things this dev makes
  7. lokka30
    lokka30
    5/5,
    Version: 1.0.1
    Neat plugin, I have no idea why Mojang can't add this in vanilla :)
    Cheers for the development.
    1. saharNooby
  8. Carl0Jonshon
    Carl0Jonshon
    5/5,
    Version: 1.0
    Make it possible to use a leash instead of a stick
    . .
    1. saharNooby
      Author's Response
      So you want to allow non-staff players to use it? Ok, but how they will remove wires?
  9. CharliesNoob
    CharliesNoob
    5/5,
    Version: 1.0
    good idea, but sometimes wires not visible, i hope this be changed
    *bad eng
    _______________
    1. saharNooby
      Author's Response
      Hi, could you write me a PM about it? I need to know spigot version, whether you use ProtocolSupport/ViaVersion and some more info to debug this problem.