Hidendra / LWC

Lightweight Protection for Chests, Furnaces, Dispensers, and more for the Minecraft server mod Bukkit
Other
166 stars 123 forks source link

Locking noteblocks #34

Closed ghost closed 13 years ago

ghost commented 13 years ago

New feature!

Being able to lock noteblock, they should still be able to play, but other players cant change the note.

Hidendra commented 13 years ago

Hi,

this is possible in the current 3.00 alpha builds, but the latter is not (in my builds it is, however.) Release candidate builds of 3.00 will be out soon enough (tonight, I hope! Getting everything nice and tidy.)

In 3.00, it will just require modifying a part of core.yml by adding this:

    note_block:
        enabled: true
        ignoreRightClick: true

Which gives you the wanted behaviour (allow playing it, but not changing the note.)

Regards

Moo0 commented 13 years ago

Also should be able to lock the new hatches.

Hidendra commented 13 years ago

I do not plan to add hatches to be protectable by default --- it is doable manually, e.g;

trap_door:
    enabled: true
    ignoreRightClick: true
Moo0 commented 13 years ago

Why not? They are just horizontal doors, basically?

Hidendra commented 13 years ago

LWC is intended to be a security plugin and not a general block protection plugin. Doors and signs were added because of feature creep, and as a result, was already too late to remove them (even though protecting signs/doors is not a bad idea at all! ) Adding it as default will make many admins mad especially if they don't want it and don't even know about it (a -lot- of servers use LWC.)

Even though doors/hatches could indeed be considered a security feature, they give a false sense of security (unless from an RP perspective) as most of the time you can just break around the door XD (unless protected by something ala WorldGuard, which should protect it as well anyway.) I could be wrong, maybe Towny etc doesn't block doors (I'm mostly only experienced with WG + Factions)

LWC still allows you to add or remove any block to be protectable; just because it is not in LWC by default does not mean it won't seem real -- it should always work as long as Bukkit supports canceling hatches from being opened.

Regards

On Jun 8, 2011, at 21:46, Moo0reply@reply.github.com wrote:

Why not? They are just horizontal doors, basically?

Reply to this email directly or view it on GitHub: https://github.com/Hidendra/LWC/issues/34#comment_1331170

Moo0 commented 13 years ago

Worldguard will prevent opening/closing doors in protected regions, if it is configured that way, but that can often be too generic (it's all or nothing, and also applies to levers etc). Being able to "lock" individual doors (using LWC) is very useful. What would make the interaction here even better is if there was an option LWC to only allow you to protect doors (and chests?) in an existing worldguard region (owned by you). This would mean no false security, and would ensure people protected their regions properly. But, even so, I don't see why the existing LWC door protection shouldn't be transferred to the new "horizontal doors" anyway, and I don't see why admins would find that a problem or even a surprise.

Hidendra commented 13 years ago

I talked to a few people and it will most likely come down to LWC only adding trap doors by default to new installs, not existing ones (and to help with custom protections, some sort of command will most likely be added to more easily manage it.)

Regards.