SignLock
#1
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:
  • none ;D

Config:
  • ShowAdminBreach
  • if this is on everyone on the server gets a message when somebody opens/destroys a block/sign that is not his block

Permissions:
  • SignLock.Bypass
  • For admins to bypass the securety.
    SignLock.Create
  • People who have this permission are allowed to create a SignLock

Usage:
  • Place a sign next to the block you want to protect.
  • do the first line "[SL]" or "[SignLock]"
  • all the other lines are for names who are allowed to come in.

ToDo:
  • Support double chests and doors.

Github: Here
Download: Here
Reply
Thanks given by:
#2
Out of curiosity, you haven't forgotten to protect the sign block as well, right? Otherwise the protection kinda sucks Smile
I haven't read the source yet.
Reply
Thanks given by:
#3
Yeah I was waiting for a plugin like lokette Smile
Reply
Thanks given by:
#4
No i haven't. this plugin is pretty much in Beta stage Wink 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.
Reply
Thanks given by:
#5
(04-30-2013, 01:23 AM)STR_Warrior Wrote: No i haven't. this plugin is pretty much in Beta stage Wink 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?
Reply
Thanks given by:
#6
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
Reply
Thanks given by:
#7
Ok, Smile when it's added I will use it in my server.
Reply
Thanks given by:
#8
(04-30-2013, 01:33 AM)tonibm19 Wrote: Ok, Smile 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
Reply
Thanks given by:
#9
(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.
Reply
Thanks given by:
#10
i tried doing that but it kept saying false with Player:IsCrouched()
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)