BlockLocker icon

BlockLocker -----

Protect chests, doors, etc. using signs. UUID compatible.




  • Add Italian translation by @Fede2782
  • Add Vietnamese translations by @SonThanhVN
  • Update Turkish translations by @Raidware
  • Update Chinese translations by @Halogly
  • Add copper trapdoors to default config by @CatTeaA
  • Add pale oak doors and trapdoors to default config
  • Fixed protectable blocks placed next to a door opening that door on right-click
----------, Dec 7, 2024

  • Add Indonesian translation (by @DustyGanteng in #170 )
  • Performance improvements to hoppers (by @Ghost-chu in #184 )
  • Added copper doors and crafter to the default protection list (only for new configs)
----------, Apr 28, 2024

  • Sign editing now works properly again (was broken on Minecraft 1.20).
  • The plugin will now also read text on the back of standing signs.
  • Minecraft 1.19 and older are no longer supported.
  • Added support for Folia.
----------, Jun 11, 2023

  • You can now edit signs by right-clicking them, even if you don't have a sign editing plugin.
  • Renamed the blocklocker.edit permission node to blocklocker.admin, as the old name was confusing.
  • Minecraft 1.14, 1.15, 1.16 and 1.17 are no longer supported.
  • Fixed an error when SimpleClans is installed, but a player in not in a clan. Thanks @RoinujNosde !
  • Added Czech translation. Thanks @PetyXbron !
  • Fixed an error when a player removed the [Private] header using a sign-editing plugin.
  • Added the bamboo and cherry doors, trapdoors and fence gates to the default config. (Existing users of the plugin will need to add those themselves.)
----------, Apr 1, 2023

  • Fixed a bug with barrels not being openable in Spigot versions after July 10.
  • Fixed a bug where the /blocklocker command would not be able to change the text on the second line of a [Private] sign.
  • You can no longer edit/remove a sign of other people if you have the blocklocker.bypass permission node.
  • Instead, you will need the blocklocker.edit permission node to edit/remove signs of other people. Thanks @Skizzles !
  • Added mangrove doors and trapdoors to the default config, so that they are now protected by default.
  • Improved the German translation. Thanks @Acursen !
  • Added a Japanese translation. Thanks @ikafly144 !
  • Added a Polish translation. Thanks @KebabXL !
----------, Jul 29, 2022

  • Fixed an issue where you could duplicate the sign items.
  • There's still some weirdness when you have a protection block (like a chest) next to a door that's hard to fix, but at least it won't give you free signs anymore.
----------, Feb 12, 2022

  • Fixed being able to remove [Private] using sign editing plugins.
  • Fixed not being able to edit line 2 for players with blocklocker.bypass. (Both for the /bl 2 command and sign editing plugins).
  • You can now place protection signs on the blocks next to a door. Signs on there were already recognized if you somehow got a sign there, you just couldn't add new ones via normal methods.
  • Fixed the file name of Korean translation, so you can now actually use the translation.
  • Fixed an issue where the incorrect hand was passed to the BlockPlaceEvent of auto-placed signs.
  • Added Hungarian translation (thanks @Crankiee !)
----------, Jan 15, 2022

  • Added Korean translation (thanks iLar!)
  • Added Turkish translation (thanks ataturkthemcpro!)
  • Some fixes for compatibility with other plugins
    • The plugin now fires the SignPlaceEvent when it modifies a sign (thanks DevScyu!)
    • The plugin now reports the correct hand in the BlockPlaceEvent when it auto-places a sign
  • The plugin now works fine without access to server internals. This means that it's now compatible with Minecraft 1.18.
  • The plugin no longer uses EnumSets for Materials. (Spigot deprecated that approach.)
----------, Nov 23, 2021

  • Fixed an important bug that could cause people with a changed name to be locked out of their chest.
  • Changed how UUIDs are fetched.
    • The plugin no longer contacts mojang.com to look up the UUID of a player.
    • The plugin now only fetches the UUID of online players.
    • If no player with the name is online, no UUID will be stored on the sign yet.
    • Every time a player interacts with a protection, the plugin will attempt again to look up missing UUIDs in the online player list.
    • All of this means that the plugin will now work correctly with any other account system, like the Bedrock accounts used by the Geyser plugin.
    • However, this means that there is a tiny chance that an UUID doesn't get stored on the sign before a player changes their name.
  • Invalid names are now allowed on signs, so this is the end of "~" appearing on signs. Because of the above changes, the plugin no longer checks whether a name is actually a valid Mojang account.
  • Fixed inconsistent behavior when two doors were placed right next to each other in any other way than a "normal" double door.
----------, Jul 15, 2021

  • New way of storing UUID data on signs.
    • The plugin needs to store the UUIDs of the players on the sign somewhere, and previously that was done using a hover text (which isn't visible on signs).
    • Now it will use a newer Bukkit method (PersitantData).
    • The old format is still read by the plugin, so stored player UUIDs will carry over fine without a new lookup.
    • Old signs are converted whenever someone interacts with a protection
    • Eventually the plugin will stop reading the old format, so please upgrade this plugin so that everything can be converted in time.
  • Added support for SimpleClans - you can now add SimpleClans groups to your chests.
  • Added support for Minecraft 1.17.
    • The plugin uses some internal Minecraft classes, which were shifted around. So an update was necessary.
    • The internal classes are only necessary for reading signs in the old format, so at some point in the future this hacking around with Minecraft sign internals will be gone.
    • Still compatible with Minecraft 1.14 - 1.16.
  • Fixed being able to connect to someone else's container when connectContainers was on in the config file.
----------, Jun 12, 2021

  • Messages that are empty in the translation file no longer produce a blank line sent to the client. This means that all messages can now be disabled.
  • The default message when you click one of your signs is now "Selected a sign. Type "/blocklocker <line number> <name>" to edit this sign. Or alternatively, add these: [Redstone] [Everyone]". Here, [Redstone] and [Everyone] are links that you can click to quickly add that text to the sign.
    • Existing installs won't have the new default message from above, so you need to set that message yourself.
    • Anything else that you write in [square brackets] is also auto-added to the sign when you click it.
  • You will now receive the chest hint ("Add a sign to this chest to protect it") at most every two minutes.
  • Fixed compatibility with newer Towny releases.
----------, Apr 17, 2021

  • Fixed the /blocklocker command not working anymore in recent builds of Spigot and forks, due to a change in how signs are saved.
  • In those builds, the /blocklocker command still changed the appearance of signs, but didn't update the hidden text (containing the UUIDs) anymore, so the command had no effect. The hidden text is now cross-checked with what's displayed on the sign, so all corrupted protection signs will be fixed automatically.
----------, Jan 6, 2021

  • Fixed a change not being included on the 1.9 spigotmc.org release (the commit that provided Brewery compatibility).
  • Updater now uses https instead of http. People using a Java version older than 8u101 will find that the updater no longer works, unless they manually add the Let's Encrypt certificate. Thanks @Jo0001!
----------, Dec 6, 2020

  • Added crimson and warped doors and fence gates to the default config. (You need to add these yourself if you're updating from an older version of BlockLocker.)
  • Added a simple API so that other plugins can add new protectables. Will be used by the Brewery plugin.
  • Fixed signs not autoplacing in cave air. (Thanks @WMGameLive!)
  • Fixed fence gates placed on top of each other opening in a strange way.
  • Fixed non-owners of a single chest/door being allowed to expand that chest/door into a double. (Thanks @stan60250!)
----------, Nov 29, 2020

  • Fixed not being able to reads signs from Minecraft 1.15 and earlier.
See also the changelog for version 1.8.
----------, Jun 28, 2020

  • Added Minecraft 1.16 support. For now, the plugin still works on Minecraft 1.14 and 1.15.
  • Made BlockLocker locale-independent. Hopefully this makes the plugin work on computers with the system language set to Turkish.
  • Added support for Geyser/Floodgate by removing username validation. (Thanks @james090500 !)
  • Switched hopper cache to use Google Guava cache. (Thanks @Ghost-chu !)
  • Added German translation. (Thanks Robert!)
  • Fixed a (harmless) error in the console when using Towny, Guilds, mcMMO or Factions.
  • Added Traditional Chinese translation. (Thanks @ibmibmibm !)
  • Added English tags (Private, Redstone, etc.) to the Simplified Chinese translation, so that those work too. (Thanks @happyvalley-lmx !)
----------, Jun 27, 2020

  • Added Spanish translations (thanks @TheCiROMG !)
  • Added Chinese translations (thanks @2125368097 !)
  • Fixed not being able to override a default translation with multiple values (like ["[Private]", "[PrivĂ©]"]) with a single value (like "[PrivĂ©]").
  • Added PlayerProtectionCreateEvent for use by other plugins.
  • Fixed an error for players with an invalid (null) game mode
  • Added a cache for hopper checks (thanks @Ghost-chu!)
  • Fixed a stack trace being printed if someone opens a protected door with the bottom block missing.
----------, Apr 19, 2020

  • You can no longer auto-place signs in adventure mode
  • Added French translations to the plugin (set languageFile to translations-fr.yml in the config.yml file). Thanks @Kervinou!
  • Added Dutch translations to the plugin (set languageFile to translations-nl.yml in the config.yml file).
  • Protections are now also protected against exploding blocks (like beds). Thanks @Nestu14!
----------, Mar 1, 2020

  • Fixed sticky pistons being able to unlock protections.
  • Increase maximum line length of text on signs to 25 characters - use the /blocklocker command to add these long lines
----------, Dec 14, 2019

  • Removed the automatic updater. Now you will only be notified of new updates, but BlockLocker is no longer able to download them.
  • No longer autoplaces signs if the player right clicks on a chest while in spectator mode.
  • Added support for mcMMO parties. Thanks @jensvh !
  • Added support for guilds from the Guilds plugin.
  • Added support for multiple translations of [Private], [Redstone], [Everyone], [Timer:X] and [More Users] tags. Now you can for example use both the English name and some localized name on your server. Thanks @jensvh !
  • Technical: moved from json-simple to Gson (json-simple is deprecated in Spigot 1.14). Thanks @TheBusyBiscuit !
  • Technical: moved from com.google.common.base.Optional to the newer java.util.Optional. A new API (BlockLockerAPIv2) has been added that uses the new Optional, and the old API is unaffected. This old API will remain as long as com.google.common.base.Optional remains in Spigot. Thanks @TheBusyBiscuit !
----------, Nov 17, 2019

  • Updated to support Minecraft 1.14.4, no longer supports older versions.
  • Added barrels, blast furnaces, smokers and the undyed shulkerbox to the default list of protected blocks. (Colored shulker boxes were already on the list, but I forgot about the undyed one.)
    Note: this only applies to new installations, for existing installations you need to manually edit your configuration file.
----------, Jul 20, 2019

  • Updated to support the new signs of Minecraft 1.14 (oak, birch, spruce, etc.). Because of this, it's no longer compatible with Minecraft 1.13.
  • Fixed not being able to use Minecraft 1.13+ material names in the configuration file.
  • Signs can now be auto-placed on supporting blocks (so the blocks next to a door/trapdoor)
  • When auto-placing a second sign, it will now have [More Users] / [Redstone] on it instead of [More Users] / [Everyone].
----------, May 4, 2019

  • For people who were using LockettePro: BlockLocker can now read chests from LockettePro, so switching from LockettePro to BlockLocker is now possible. However, until a player first clicks on a chest, part of the player's UUID will appear on the sign. Normally, LockettePro uses a protocol hack to hide this UUID, but BlockLocker doesn't do this. Although this looks a bit funny, it is harmless.
  • For people using Towny: added a permission node called blocklocker.wilderness. This node is granted to players by default. However, if you negate this permission node using your permissions plugin, players will no longer be able to protect chests outside of Towny towns.
  • Removed lookup of outdated names. It only worked correctly for names that were in use in 2015 (just before name changing got introduced), so it became less and less useful over the years.
----------, Oct 6, 2018

  • Signs can now be auto-placed under water
  • The plugin now handles double chests placed right next to each other correctly (in Minecraft 1.12, you couldn't place other chests right next to double chests, so this wasn't an issue.)
Compatible with Spigot 1.13 and newer.
----------, Aug 26, 2018

  • Updated to Minecraft 1.13, no longer compatible with Minecraft 1.12.2 or older
  • Replaced all uses of the deprecrated Bukkit API MaterialData with the new BlockData
  • Added a setting called protectableAttachables. If you, for example, add a torch here, then not only the torch will be protected, but also the block it is attached on. The protection sign can be placed on either block.
----------, Jul 23, 2018

  • Now requires Java 8 and Spigot 1.12.2
  • Update checker will now only download from preprogrammed URLs (instead of hosts)
  • Fixed sometimes no message being displayed when access to a chest was denied
----------, Jan 30, 2018

  • Fixed compatibility with Minecraft 1.12
  • Still compatible with Minecraft 1.11.
----------, Jun 8, 2017

  • Fixed the whole stack of signs being consumed when placing a single sign on a container.
----------, Dec 18, 2016

  • Fixed interacting with iron doors in Minecraft 1.11
  • You can now auto-place signs with your off-hand
----------, Dec 11, 2016

This file works on Minecraft 1.11. It also works on Minecraft 1.9 and 1.10 if you have an existing config file, or if you remove the shulker boxes from a newly created config file.
  • Added shulker boxes to the default list of protected containers. If you have an existing configuration file, you'll need to add those blocks manually.
  • You can now place protection signs to the left or the right of a door.
  • Trapdoors can now be opened and closed automatically, just like doors.
  • Added sounds to auto-closing (trap)doors
  • Fixed [Timer: X] (with a space between : and X) not working.
  • Made some block checks done by the plugin a bit faster.
----------, Nov 19, 2016

  • Added option to let protections expire if a player doesn't log in for a certain amount of time
  • Added option to let creepers, endermans, fire, ghasts, pistons, saplings, TNT and/or zombies destroy protections
  • Protections missing the [Private] sign, but still having a [More Users] sign, are now considered unprotected
  • Fixed one half of double chests from Minecraft 1.7 not being protected in some cases
  • Fixed an error (NullPointerException) when a line on a sign is null.
This file should work on Spigot 1.8.0, Spigot 1.10 and all versions in between.
----------, Mar 6, 2016

  • Fixed [Timer:X] tag being case sensitive.
As you can see, a small update. This plugin is quite stable: it doesn't appear to break between Minecraft versions, so it doesn't need many updates. This file should work fine on Spigot 1.8.0 to the most recent build, even Minecraft 1.9.

Unfortunately, the automatic updater is disabled for now. Spigotmc.org seems to block my updater: BlockLocker 1.1.1 downloaded an empty file.
----------, Jun 21, 2015

Note: although this file is a few months old, it works fine on Spigot 1.8.7.
  • Added Minecraft 1.8.3 support (1.8.0 is still supported by this file)
  • Fixed a NoClassDefFoundError found by Airos10 on some 1.8.0 Spigot build
----------, Mar 7, 2015

  • Fixed a stacktrace appearing in the console (ParseException) when a non-existing username appears on a sign without UUIDs.
  • Added initial Towny support: [TownName] and +TownName+ now work.
  • Added a setting connectContainers that allows you to place one sign to protect a whole row/column of containers of the same type.
  • Changed the default settings to no longer color all [Private] and [More Users] tags blue.
  • Reworded the message that an update is installed, so that it no longer sounds like an update is installed every time an admin logs in.
----------, Feb 6, 2015

  • Signs with UUIDs but with outdated names will now update their name automatically when a player interacts with the claim. (Only if the player is online)
  • Signs without UUIDs but with outdated names on them are now converted properly, thanks to Mojang's web API that allows name lookups in the past.
----------, Feb 5, 2015

  • Added an auto-updater. It can be set to automatically install updates, to only notify you or it can be disabled entirely. It will only install updates marked as suitable for automatic installation and marked as compatible with your Minecraft version. An auto-updater ensures that security fixes can be quickly pushed out to all servers.
  • Added support for MassiveCraft Factions: add [FactionName] to a sign to allow everyone in that faction to access the container.
  • Admins can now edit the owner of a protection (right-click sign; edit second line of [Private] sign)
  • Now fires the BlockPlaceEvent for pre-filled signs. Improves compatibility with block loggers and protection plugins.
  • When editing a sign, the selection will now expire after four minutes of clicking the sign instead of after the first edit.
----------, Feb 2, 2015

Resource Information
Author:
----------
Total Downloads: 355,338
First Release: Jan 18, 2015
Last Update: Dec 7, 2024
Category: ---------------
All-Time Rating:
77 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings