Minecraft Data Packs / Other

BlockLocker Datapack - Lock Anything You Like! (1.13-1.13.2)

  • check_circle Advancements
  • check_circle Functions
  • 6,987 views, 3 today
  • 362 downloads, 0 today
  • 7
  • 8
  • 12
TheDiamondPlayables's Avatar TheDiamondPlayables
Level 82 : Elite Programmer
840
- Have you ever wanted to make any block indestructible?
- Have you ever wanted to safeguard your items in your containers?
Introducing "BlockLocker" Datapack!
- Place an item frame, and add a sign called "Lock Me" and you'll have the option to lock your block!Works on anything!
- Note: If you don't choose then after a set amount of seconds,the datapack will remove the Lock Me sign to remove serverlag.
(Said set amount of seconds can also be customized by admins and/or those who has OP permissions!)
How to set Blocklocker Clearlag Timer:
- Use /scoreboard players set #bl_timer bl_timer <value>
- <value> can be anything and is calculated in seconds!
- If <value> is set to 0 or lower then datapack won't remove Lock Me sign.
Note: Setting value to 0 may lead to performance issues in servers!


Note: <click to see>
- If blocks are 2 or more blocks wide,you have to lock all blocks associated to it.
For example: A door is 2 blocks tall, you have to place the item frame and add the sign called "Lock Me" to the bottom block, then repeat the process to the top block for it to lock completely! (whichever order is fine, just do it one by one)
- Only you can break your locked block, other people cannot break your block by any means!
- You can check for the block's owner by using /trigger commands!
How to do it: <click to see>
- Use /trigger bl_info to see who is the block's owner playerID
(it won't say anything if you're the owner of the block)
- You can also use /trigger listid to see the player name that is linked with the playerID
(I know it's a long process but right now there is no other way to make it easier for you)


- Can be installed in combination with my other datapacks!
- Can be installed in multiplayer!
- You can use /trigger info, then click into the datapack name to know more about the datapack!
(It only shows you what you can do without cheats enabled!)
Installation Notes: <Click to open>

- If you have problems in installing the datapack, try opening the downloaded .zip file, then drag the first thing you see and drop it to the datapacks folder of your world. Works for all my datapacks!
- Use /function #main:remove and follow the instructions to uninstall the datapack completely!
- Use /execute as @e[tag=blocklocked] run function blocklocker:execute/exterminate to delete all blocklockers!
- You can also use /function #main:remove, then delete the old version and install the new version, use /reload afterwards to update the datapack.
- Also, join the Behind The Datapacks Discord Server for more info on the datapack!
<click the blue letters above to join>
CompatibilityMinecraft 1.13
Tags

3 Update Logs

Update #3 : by TheDiamondPlayables 03/04/2019 6:40:40 amMar 4th, 2019

- Bugfix: Incompatibility Issues with the "Griefless" Datapack
LOAD MORE LOGS

Create an account or sign in to comment.

1
06/19/2021 10:45 pm
Level 17 : Journeyman Farmer
RainbowTea
RainbowTea's Avatar
Would you consider updating this to 1.17?
2
07/23/2019 10:57 pm
Level 1 : New Explorer
HydraKiller90
HydraKiller90's Avatar
Missed a chance to name it 'BLocker'
1
05/29/2019 12:12 pm
Level 1 : New Miner
superherczeg
superherczeg's Avatar
So I downloaded it and it says it's downloaded, but when I try to lock something, nothing happens. :(
1
05/31/2019 7:30 pm
Level 82 : Elite Programmer
TheDiamondPlayables
TheDiamondPlayables's Avatar
Check the Installation Notes for more info. Use /trigger info to verify the installation. If it is installed, BlockLocker will be avaliable in the list.
1
05/29/2019 7:41 pm
Level 82 : Elite Programmer
TheDiamondPlayables
TheDiamondPlayables's Avatar
Have you installed it correctly?
1
02/20/2019 5:50 pm
Level 1 : New Miner
GeekMosquito
GeekMosquito's Avatar
everything works except when i lock door or chest my friend can access it too. It also doesnt show the owner of block when either of us type in the command
1
02/28/2019 5:15 am
Level 82 : Elite Programmer
TheDiamondPlayables
TheDiamondPlayables's Avatar
Have you checked the Notes? Doublechests and doors you have to do it to all blocks since blocklock only locks 1 block. So basically a door is 2-block-tall. It has 2 blocks that you need to lock which is the bottom and the top block. Try locking them both then leave. Don't look at the locked items when another player is nearby since they can also access it if you're simply looking at it.
1
02/20/2019 6:40 pm
Level 82 : Elite Programmer
TheDiamondPlayables
TheDiamondPlayables's Avatar
Look away from the chest or any block you're locking. Your friend can't open it at that time.
When you're looking into the chest. it removes the blocklock status so that you can open it - which is why I have a warning stating that "other players can open the chest when you're using it"
1
02/17/2019 3:40 pm
Level 1 : New Miner
megaDestroyer52
megaDestroyer52's Avatar
it doesnt seem to be working. am i doing something wrong? has the datapack been updated recently?
1
02/17/2019 6:52 pm
Level 82 : Elite Programmer
TheDiamondPlayables
TheDiamondPlayables's Avatar
Be sure to open the .zip file and drag the first thing you see to the datapacks folder. Works for all my datapacks
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome