SignLock - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html) +--- Thread: SignLock (/thread-868.html) |
SignLock - NiLSPACE - 04-30-2013 SignLock is a plugin that allows you to place signs next to blocks that can be opened like doors and chest to disable other players from comming in. this is like Lockette for bukkut Commands:
Config:
Permissions:
Usage:
ToDo:
Github: Here Download: Here RE: SignLock - xoft - 04-30-2013 Out of curiosity, you haven't forgotten to protect the sign block as well, right? Otherwise the protection kinda sucks I haven't read the source yet. RE: SignLock - tonibm19 - 04-30-2013 Yeah I was waiting for a plugin like lokette RE: SignLock - NiLSPACE - 04-30-2013 No i haven't. this plugin is pretty much in Beta stage also i think allot of people would love it if MCServer would support the feature where if you crouch and right click on a chest/etc you don't open the chest but place the block you are holding. RE: SignLock - tonibm19 - 04-30-2013 (04-30-2013, 01:23 AM)STR_Warrior Wrote: No i haven't. this plugin is pretty much in Beta stage also i think allot of people would love it if MCServer would support the feature where if you crouch and right click on a chest/etc you don't open the chest but place the block you are holding.But, if you break the sign, is the chest protected? RE: SignLock - NiLSPACE - 04-30-2013 no but it should be easy to implent. i have to add something like this to the OnPlayerBreakingBlock function if Line1 == "[SL]" or Line1 == "[SignLock]" then if Line2 ~= Player:GetName() then if Line3 ~= Player:GetName() then if Line4 ~= Player:GetName() then return true end end end end RE: SignLock - tonibm19 - 04-30-2013 Ok, when it's added I will use it in my server. RE: SignLock - NiLSPACE - 04-30-2013 (04-30-2013, 01:33 AM)tonibm19 Wrote: Ok, when it's added I will use it in my server. well as i said its in Beta stage. you can get in if you place another sign next to the protected block with [SL] STR_Warrior RE: SignLock - xoft - 04-30-2013 (04-30-2013, 01:23 AM)STR_Warrior Wrote: ... if you crouch and right click on a chest/etc you don't open the chest but place the block you are holding. This should be possible to do with a plugin already - handle the OnPlayerPlacingBlock(), see if the player is crouching and if so, place the equipped block. RE: SignLock - NiLSPACE - 04-30-2013 i tried doing that but it kept saying false with Player:IsCrouched() |