So i was wondering if you could make so some doors locks at night example if you have a shop, then you want it to be locked at night and when its day its automatically unlocks the doors. So you are using a command to each doors that you want to be locked at night.
I could do this. but do you want to maualy use a command for each door to be auto-locked at night? or for custom worlds listen in config?
Most plugin developers in this category will only do it for public, at least, the talented ones. Others only take Commission which isn't allowed here at Bukkit, I'd expect you to get it. Good look making this, lenis0012 /fixed @
1. make a boolean night = false; 2. make a repeating task checking the time, if its more than 0 and less than 12000, night = true; else night = false; 3. makes a onPlayerInteractEvent and cancel it if night is true thats it.
Do you even know what mad means? I was just telling him that this can be done without a plugin, dumbass -.-
i forgot to say you need to make a cheker if its actualy a door and you can also bind the time checker to the event, that would work better
NightLock Description: Prevents players from using their hands to open wooden doors at night or whenever a command is said. Commands: /lockdown Toggles the server not letting anyone open doors! Permissions: nightlock.override Allows the player to ignore the plugin! nightlock.toggle Allows the player to use /lockdown https://www.dropbox.com/s/vje6mmp0wmpfq40/NightLock1.4.2_0.jar