BlockProtection Reloaded
BlockProtection
This is a continuation of the BlockProtection plugin by Kanlaki101. A block protection plugin based off of OwnBlocks by cvenomz. BlockProtection will save any block you place down, to prevent other players from breaking it. Only the player who placed the block, anyone on his friends list, or an admin can break the block.
Developers, have suggestions, or would like to help? I welcome any and all help. Join me in IRC, or PM me!
Dependencies
Vault: Vault is required for BlockProtection to work on your server. Vault is used as an API so that BlockProtection can hook into almost every permissions system.
You can get Vault Link.
WorldEdit is Soft Dependencie. Needed for selected region block protection transfer.
You can get WorldEdit Link.
Features:
Block Protection
Every block your players place will be protected in the database.
Block Exclude List
Prevent certain blocks from being protected.
Admin Bypass
Your admins can bypass BlockProtection and break any player's blocks.
Friends System
Allow your players to build with friends! They can add/remove them as needed.
Where do I begin?
Installation:
- Make sure you have Vault installed.
- Drop BlockProtection.jar into your /plugins folder.
- On first load, config.yml, friendslist.yml, and the Database.db will be created.
- Open config.yml and edit it to your liking, then use the /bpreload command.
Permissions:
- bp.admin (Defaults to op) Allows players bypass BlockProtection, add blocks manually, and get the utility tool
- bp.friend (Defaults to true) Allows access to all of the Friends List features
- bp.reload (Defaults to op) Allows admins to reload all settings from the configuration file
- bp.user (Defaults to true) Allow players to use BlockProtection, and view the owner of blocks
- bp.giveblock (Defaults to op) Allows to give block (by Tool (stick by default))
- bp.transfer (Defaults to op) Allows to transfer blocks from WorldEdit selected region
Commands
- /bp [on/off] Toggle BlockProtection on/off, adding on/off is optional.
- /bpadd [playername] Add a player to your friends list
- /bpadmin Toggle BlockProtection bypass on/off
- /bpclear Clears your entire friends list
- /bplist List all players from your friends list
- /bpreload (Will not reload changes to "save-interval". Restart required!) Reloads settings from config.yml
- /bpremove [playername] Remove a player from friends list
- /bptool Gives the player 1 of the "utility tool"
- /bpgive [playername] All blocks will be given to Name player, by using Tool. To disable write /bpgive.
- /bptransfer [playername] After region selected by World edit. This command will transfer protection of selected blocks to [playername]. When no arguments are given the protection of the selected blocks will be removed. You need bp.transfer or bp.admin to do this.
- /bpimport [world] Import's blocks from WatchBlock MySQL. Check config for MySQL connection settings. If there are many blocks in the database please wait.
Suggestions/Help:
Very important: If you want something added or fixed, reply to questions I will ask!
To submit a ticket for help or a suggestion, click the ticket tab on the top of the page. Create a new ticket, and add the appropriate label.
@EnchantedBishop
At the moment I am very busy with school, it is the last period and I have to get some good marks :/
But when that is done I will try to add the things mentioned in the comments. It should work with later craftbukkit builds, I haven't tested that but it should work.
Will you be updating soon and will you be continuing this plugin?
@ProfDrRoot1
There should be a config option for that yes.
@Puseidr
Yeah, I just thought of that myself :/ I'll look into it.
Hey there,
is there a way to permanently activate the /bp option for users ?
I mean, if the users join that the protection is already set to on ?
@blackwolf12333
but other players cant build on the area because its locked to a non existing player
@Puseidr
That I haven't commented on tickets doesn't mean I haven't seen them.
And you are correct, but I don't believe there will be a player with the name "none" so it doesn't really matter.
@blackwolf12333
i didn't said the plugin doesn't work with 1.5.x.. but you have open tickets without any comments from you.
like: #5 , #6
your changelog said "/bptransfer none" would remove the protection but it transfers the region to the player "none" ...
@Marium0505
Yes
Does this work on 1.5.2? :)
@Niknox
You can, just add the worlds where you not want the plugin to work in the config under disabled-worlds:
Hey there. Firstly, very nice replacement for OwnBlocksX.
Is there a possibility to activate the plugin per world / just for one world?
Nice plugin! There is one thing I'd like changed: could you add a separate permission node for being able to view who's the block's owner? I don't want all my users to be able to see that :) Thanks!
@blackwolf12333
i really need a /bp off/on function to disable bp on entering a sandbox-like area and enabling it when i'm leaving this area. i know that i can toggle it with /bp but this doesn't work that way. when a player does bp disabled and he enter the sandbox /bp would be enabled :(
and the idea from: @DjBuRnOuTQc was cool too, you should really add this
@Puseidr
It should still work with 1.5.* so I see no reason for adding things that might break it.
is this project inactiv? a lot of questions and enhanchment ideas were posted, but without any answer of you guys :(
I hope 1.5 works with the 1.5.1, if it does then you should change the name, it might confuse some people!
/bpremove is broken. Can you please fix?
@lenivets09
i know that i can toggle it but i want to turn it off with a command
i need this for some minigame-plugins.. when you enter the minigame (you enter a worldguard region) the blockprotection should be turned off.. i cant cant use the toggle function for this, because when someone has turned it off and he enter the region with the toggle-command it will be turned on.. do you understand ?
@Puseidr Read Command section.
@ScrimCraft Can you delete some of your billions protected blocks ? Or upgrade your HDD or buy SSD
Can you make the saving faster? It takes a really long time