LWC Unofficial - Entity locking 1.9.4

An LWC version were you can lock entites!

  1. Me_Goes_RAWR
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Source Code:
    https://github.com/megoesrawr/LWCEntityLocking
    Contributors:
    Hidendra - Main Coder, Me_Goes_RAWR - Added entity locking
    LWC with support for the new 1.8 doors, fence gates, and iron trapdoors. Banners have optional support. If you currently use LWC, please see this wiki page: https://github.com/Hidendra/LWC/wiki/Bukkit-1.8
    Official build: http://www.spigotmc.org/resources/lwc.2150/


    This plugin REPLACES the official LWC.

    If you are on 1.11, make sure to REMOVE the lib folder in your "plugins/LWC" folder.

    Perm for locking Entities: "lwc.lockentity.ENTITYTYPE" (ENTITYTYPE from here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html)

    Main permissions for LWC and EntityLWC - https://github.com/Hidendra/LWC/wiki/Permissions

    EntityLocking permissions: lwc.lockentity.(ENTITY NAME) to lock specific entities or lwc.lockentity.all to lock all entities

    In config, list the entities under the blocks and make sure the name is in ALL CAPS.


    Donation Link: Link
    LWCEco: Link
    Servers using this plugin:

    MSG me if you use this plugin and I will add your server here.
    play.okicraft.com
    mc.fuscraft.net
    archangel.nitrous.it - Website
    mc.finitecore.com - Website
    play.apollocraft.eu - Website

    Craftfania.net
    TopperCraft Website

    play.vivalcraft.com - Website
    mc.CraftTopia.de - Website
    civ.minewg.com - Website
    play.zetacraft.net -
    Website
    play.beardedcraft.net:25765 - New favorite server

    mc.differentcraft.net
    darkcrest.cf.gs - Website
    play.kbcraftgaming.com
    play.qwertycrew.com
    play.Brover.network - Website
    play.miraclerealms.com


    THANKS GUYS FOR 30K TOTAL DOWNLOADS :D

    ONLY ITEMFRAMES AND ARMORSTANDS ARE AUTOLOCKABLE DUE TO LIMITS WITH SPIGOT.

    LWC is the longest-lived single block protection plugin that protects both the block itself and contents of Chests, Furnaces, and Dispensers. It can also protect any other blocks, and by default will also protect Doors (Wooden + Iron), Signs and Trap Doors.
    THIS IS AN UNOFFICIAL BUILD.
    Entity Locking Info:
    - Entity locking is the same as block locking.
    - Players can lock Armor Stands, Item frames, Paintings, Hopper and Chest minecarts, etc.
    - Players cant steal items from Armor Stands or Item frames , unless they have permission to. (Same perm as the one that allows Mods or whoever to open chests, etc.)
    - Projectiles can't break protected entities.
    - Armor stands are still affected by gravity, So put something like Obsidian below it so other players cant move it down.
    - You can unlock Armor Stands, but you need to break it and re-lock it.
    - Lock your favorite squid! (It does work.)
    - Mob locking. (ANY entity can be locked.)
    - Auto locking of item frames and paintings. USE ENTITYTYPE NAME IN ALL CAPS.
    - Locking horses wont prevent people from riding them (So be careful!)


    And yes, I do have permission from Hidendra to release this:

    [​IMG]

Recent Updates

  1. Fixes..
  2. More fixes and more support.
  3. Fixed database converting

Recent Reviews

  1. Sebastiaan2204
    Sebastiaan2204
    4/5,
    Version: 1.9.4
    Nice plugin.
    can you put my server at the server list?
    play.bensplays.nl?
    I love this
  2. MrWouter
    MrWouter
    5/5,
    Version: 1.9.4
    Great resource. For some users, installing this plugin seems to fix an issue with WorldGuard.

    I recommend it on my discord channel for users that have trouble with WorldGuard. Thanks for keeping this plugin up-to-date!
  3. KnaxelBaby
    KnaxelBaby
    2/5,
    Version: 1.9.4
    I really dont understand the reason for the size of this plugin. Is there even a way to lock stuff without commands? This doesn't work well on certain role play servers because of how the command system works and how it messes with simple game physics like needing red stone to open doors. This is a great plugin that in my opinion is very specific to how the creator sees it should be used. I think a plugin like this has great potential to be a locking API rather than an actual plugin being used. Again this is just my opinion and what I would have really like to see been done.
    1. Me_Goes_RAWR
      Author's Response
      This is a remake of an old plugin that lots of people used like 2-3 or more years ago. So if they still want to use the plugin with the newest version then its good for them and useful. Maybe it doesn't work good on RP servers, but its more meant for Survival servers.
  4. ScuroK
    ScuroK
    5/5,
    Version: 1.9.4
    thanks alot for another grat update and for keeping this awesone plugin alive! <3
    1. Me_Goes_RAWR
  5. NiMain
    NiMain
    5/5,
    Version: 1.9.4
    Me_Goes_RAWR i can tell you really not mean to despising me, maybe your time, your job, etc. Sorry about that, but what about the bug? I was sending issues to GitHub, what do you think? is it i was made a mistake, config in a wrong settings, or is it real bug?
    1. Me_Goes_RAWR
      Author's Response
      The auto locking thing not working with other entities is a Bukkit/Spigot limitation. I might work on it more but I don't play MC that much any more so it might take a while.
  6. Zuivel
    Zuivel
    3/5,
    Version: 1.9.3
    Amazing plugin but when i try to remove the autoregister it still auto registers! could you please fix this?
    1. Me_Goes_RAWR
      Author's Response
      Ill look into this if it is still an issue.
  7. ScuroK
    ScuroK
    5/5,
    Version: 1.9.3
    thanks alot for keeping this awesome plugin alive! its awesome and i like it and its awesome indeed
    1. Me_Goes_RAWR
  8. luffy1025
    luffy1025
    5/5,
    Version: 1.9.2
    There seems to be a delay problem in the LWC DB.
    I run a 1.8.8 server, update it to 1.12.1 with the data, and convert the LWC to DB. As a result of testing with the massivelag plugin, the LWC is decreasing in TPS. I would like you to revise this. I will attach my server version, LWC file, and config here.

    Spigot 1.12.1
    LWC : v1.9.2

    database:
    adapter: mysql
    path: plugins/LWC/lwc.db
    host: 192.168.100.104
    database: survival01_lwc
    username: 1234
    password: 1234
    prefix: lwc_
    ping_interval: 300


    [22:47:20] [main/INFO]: [CHAT] __________.[ MassiveLag Spike Monitor ]._____________
    [22:47:20] [main/INFO]: [CHAT] Tick Length: 699 milliseconds
    [22:47:20] [main/INFO]: [CHAT] TPS Reduction: 13.0 (20.0 --> 7.0)
    [22:47:20] [main/INFO]: [CHAT] Stack Tree: (70 samples)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.griefcraft.listeners.LWCBlockListener.onBlockBreak(LWCBlockListener.java:193)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.griefcraft.lwc.LWC.findProtection(LWC.java:1288)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.griefcraft.lwc.LWC.findProtection(LWC.java:1299)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.griefcraft.lwc.LWC.findProtection(LWC.java:1315)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.griefcraft.sql.PhysDB.loadProtection(PhysDB.java:929)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.griefcraft.sql.PhysDB.loadProtection(PhysDB.java:973)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.griefcraft.sql.PhysDB.resolveProtection(PhysDB.java:875)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.griefcraft.sql.PhysDB.resolveProtections(PhysDB.java:852)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1966)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2494)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3900)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3459)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3469)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3008)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:174)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:144)
    [22:47:20] [main/INFO]: [CHAT] 95.71% com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:101)
    [22:47:20] [main/INFO]: [CHAT] 95.71% java.net.SocketInputStream.read(SocketInputStream.java:141)
    [22:47:20] [main/INFO]: [CHAT] 95.71% java.net.SocketInputStream.read(SocketInputStream.java:171)
    [22:47:20] [main/INFO]: [CHAT] 95.71% java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    [22:47:20] [main/INFO]: [CHAT] 95.71% java.net.SocketInputStream.socketRead0(Native Method)
    [22:47:20] [main/INFO]: [CHAT] 4.29% java.lang.Thread.run(Thread.java:748) (children hidden)
    1. Me_Goes_RAWR
      Author's Response
      I think I fixed this in the newest update. Please try it out.
  9. frizzbee30
    frizzbee30
    5/5,
    Version: 1.9.2
    brilliant, nice easy drop in, works a treat. We use the basic functionality so no entity locking, but never a peep out of it, or error. Also plays very nicely with external MySQL storage :)
  10. Julianhoiq9
    Julianhoiq9
    5/5,
    Version: 1.9.2
    LWCEntity is beter en LWC
    Nice gemaakt
    5 Sterren is het wel
    Misschien kunnen jullie meer andere Plugins Beter maken xD