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.
@lenivets09
Hi The plugin is RegionForSale
There is a bulldoser section that deletes all blocks after someone fails to pay rent
http://dev.bukkit.org/server-mods/regionforsale/
Would love the support and compat
Thanks
Delete - by name will be added soon. Date same.
Theonlymongi- name of plugin please. Ill try to add delete from DB when plugin deletes block. Or use WE.
Is it possible, to clear secured Blocks for each player ?
For example: /bpdelete NAME - removes all protections for blocks, which was owned by NAME
so if i have banned someone, that his Blocks are free to delete, even by other players.
OR for me as admin, to be able to give all Blocks ive made free. so if i have repaired something, and i forgot to disable my protection, that i can give thise Blocks free
Hi I have a plugin that deletes blocks in a plot after a set time
It seems to remove the blocks, but if somebody has bp on, the protection is still there in the air blocks
Is there any way to auto clear these blocks? My admins are getting tired of placing blocks then removing them to delete the protection
Thanks
@blackwolf12333
ths, u was right. now at Java7.
it works great !
thanks.
Friend list works normal. To be sure tested right now.. All works fine . Please give some more informetion.
Try to add to admin normal player - i tested so. Did you add perms ?
@hyperkungen
I don't know, for some weird reason friendlists don't work all the time. You can try redownloading the plugin, but I have no way to fix it:(
When a user on my server adds a friend to his friend-list they stil can't destroy eachothers blocks, why?
@SkyRanger
Upgrade your java to Java7. That will fix it:)
This Build has still errors.....
http://pastebin.com/XUT9EAiT
@xMinecraft
You can, just add the worlds where you not want the plugin to work in the config under disabled-worlds:
Can you make an option for select worlds that this plugin working?
worlds:
world: on
world2: off
Please.
@DjBuRnOuTQc
Mabe will be added soon. It's imposible to delete old entryes this moment,bocouse plug doesn't know wich block when was placed. So in new Version mb ill add time writing, and mb even Rollback :)
3.0.5 Version reuploaded. Wait some time..
Awesome work guys, I'm switching to your plugin for sure now and you deserve a donation! Should I make it on the donate link or on another paypal? I'll keep supporting you in the future, I really need those kind of block protection!
Oh, btw, I think that the link for the latest version is broken...
EDIT: I see that you're only able to delete by selecting with WorldEdit, can you make it time based too? Something like "/bpdelete 1 month" and it would delete everything that is older than 1 month in the database. Thanks!
@xsolidus
And ? When it's write ? What you made ? I am not psychic..
Typo: " Block owner CHANGET to"
New version added. Support Region delete. So you can delete OLD or any.. regions from DB. By selectiong region with WorldEdit. Just will delete protection = DB will become lighter..
@DjBuRnOuTQc
I guess that should be possible, the problem is that I don't have the latest code:(
lenivets90, can you please make a pull request on my github repo?
Can you make something to clear all old entrys in the database then? It would be awesome to delete people that didn't login for a month.
@DjBuRnOuTQc
If you database is so big, than first: your server must have had thousands of different players who all placed a lot. Second, most of what is in your database than should be rubbish...that isn't our problem:P