Watchblock Refired

WatchBlock
Issues? Read the FAQ first : FAQ
WatchBlock is a high performing Block Protection plugin which protects each individual placed Block by saving it to a MySQL Database or to FlatFiles.
Features
- Automatic Block Protection
- Output of who placed the Block
- Commands to allow/remove players
- Threaded Insert and Remove of Blocks (Not Blocking Main Thread)
- Great Performance
- Multiworld support
- Banana Protect import of Flatfiles
- Admin can destroy any Blocks with Permission
- Easy config, Easy Use
- Exlcusion Blocks List
- Toggle Protection off/on if not Needed
- Protect Blocks above your Blocks as well
- FlatFile support
- Admin Tool
- Import from SQL to Flatfiles and the other way around
- Import BlockProtection Database to WatchBlock
- Import OwnBlocksX Database to WatchBlock
- Protection against Piston Movement
- Water/Lava Bucket Protection
- Locale - Messages can be changed to your language (FlatFiles only at the Moment)
- The Fastest Live Block Protection Plugin outthere with MySQL or Flatfiles
- WorldEdit support to easily Transfer owned Blocks or Protect old Blocks before using WatchBlock
- Chest Protection
Requirements
- Vault Plugin
Admin Permission
- watchblock.admin (To Destroy every Block)
Permission Nodes
- watchblock.protect (To start protection of Blocks you need to add this Permission Node to your group!!!!)
- watchblock.transfer (needed to be able to use the /wtransfer command, ADMINS Please dont use this. watchblock.admin is what you need for transfer)
Commands
Please see Commands Page
AdminTool
- Ops and Admins with PermissionNode watchblock.admin are able to use the woodenshovel to see Owner of Blocks
Import from other Plugins
- BlockProtection
- BananaProtect
- OwnBlocksX
- Switch between WatchBlock MySQL and FlatFiles with the built in Importers
Installation & Configuration
Please see Install & Config Page
Performance Suggestions
- Servers with less than 20 Player online can use FlatFiles with very High Performance
- Servers with more than 20 Players should switch to MySQL the Performance gain over Flatfiles is incredible
Bugs
- Please Report Bugs to Ticket Section
Need a Feature ?
- Let me know in the comments!
This project was originally created by slade87, and has been continued with his consent.
I have a fairly large sqlite database from the plugin "BlockProtection Reloaded" (http://dev.bukkit.org/bukkit-plugins/blockprotection-reloaded/)
Unfortunately I've learned that plugin is unable to properly support the size of my server. I'd love to be able to transfer that database into WatchBlock, but I'm not able to make it work. I guess the database format is different than the original BlockProtection database (imports for which you do support)
Is there a way that I can transfer this SQLite database into WatchBlock Refired? Or alternately, is there any chance of you adding support to import it directly via the plugin?
@enigma617
Thanks!
1. i can document my experience - how to secure creative server
2. prism or any other logblock will be nice - i need something that can allow moderators to rollback users work at freebuild maps if someone destroy they works i had some tnt / water / lava issues at begining :(
3. everyone uses factions not for guilds but for claim regions its stupid but its a fact ./f claim but from admin perspective factions is horrible - i had factions dedicated server too but i prefer simpleclans and i use it on another server with preciousstones
4. ok i try this procedure flat -> mysql
5. another question - /wdeleteplayer username - works ? :) i need something to remove griefers blocks on whole map
6. another question - block placing prevention - radius - i have alot of issues that users place blocks above someone build - it will be nice to have something to protect that
@enigma617
I'm glad you like it. =D Slade87 did most of the work though, I'm just continuing it.
For you feature requests. 1. configurable tnt / lava / water block protection.
This is already a feature, but it's broken right now. After I get it working, there's an exclude.yml file to exclude blocks from being protected.
2. coreprotect or any other rollback block plugin support.
Do you mean rolling back protection statuses? I like Prism, and may start with that. I'll have to look at the API and see if I can create custom action types.
3. guilds plugins support SimpleClans
I was actually already thinking of doing something with Factions. I'll work on SimpleClans after factions.
For your questions: 1. i was sure that i'm using mysql :-) but i didnt put mysql.jar file :P and now i see i have everything in flat files - what is the procedure to import flat files to MySQL ? :P
To convert from flatfiles to MySQL, just run '/wb-import flat-to-sql <world>'.
2. i'm using coreprotect and two times i used it on protected blocks... :P what are the consequences ? :) and how can i fix those situations ? by selecing region and give all block to some person ?
Coreprotect and Watchblock Refired are not integrated at all, and as a result, work completely seperate from each other. After selecting an area with WorldEdit, you can run '/wtransfer' (with no arguments) to remove all WatchBlock protections from the area. You can also run '/wtransfer <player>' to transfer all the blocks to a player.
@LeonardoGamer
/wdeleteplayer works fine for me. I use it frequently on my server to delete myself from the database. Please upload your log file (or just the relevent parts) to pastebin, or an equivalent, and post the link here. Thanks.
@minecraft7net
Can you use /wdeleteplayer? When i use it, it shows "An error occured, please check the console" and the protections are not removed
plugin in amazing :-).
feature request :
1. configurable tnt / lava / water block protection.
2. coreprotect or any other rollback block plugin support.
3. guilds plugins support SimpleClans
questions :
1. i was sure that i'm using mysql :-) but i didnt put mysql.jar file :P and now i see i have everything in flat files - what is the procedure to import flat files to MySQL ? :P
2. i'm using coreprotect and two times i used it on protected blocks... :P what are the consequences ? :) and how can i fix those situations ? by selecing region and give all block to some person ?
and i'm using Spigot and its works PERFECT ! :P
@kevsidney95
Those all sound like good ideas. Please submit a ticket, or preferably, one for each feature.
@LeonardoGamer
1, I do not officially support spigot. 2.
3. Please file a ticket.
Please fix the /wdeleteplayer command! It does not remove the players protected blocks, and it gives an error on the console!
CraftBukkit version git-Spigot-1246 (MC: 1.7.2) (Implementing API version 1.7.2-R0.3-SNAPSHOT)
Hey i may have some awesome Features:
1. Let players claim a land by a tool like a wooden axe and if they claim it they need to pay a price for it like 100 blocks 50 dollar?
2. Can you add that if you place a block next to a claimed block you cant? because its only now from above but can it be on all sides?
Thank you (its a awesome plugin i use this plugin on my server :)
@enigma617
You could use this: http://dev.bukkit.org/bukkit-plugins/blockshub/
@Tyzun
I just realize that the exclude-list feature is broken. I'll be fixing it in the next update.
@DjBuRnOuTQc
Is that what everybody uses? I was thinking Dynamic ban, or something that only tracks a few things, not everything that happens. Using CoreProtect could hurt performance.
I apologize if I'm a bit of a performance junkie. I do a lot of assembler. ;D
@enigma617
Hooking into CoreProtect would be awesome or any other tracking plugins/authentification plugins.
I cant understand "set the value to true if you want to exclude. values which are not defined will be protected. values defined and set to false will be excluded". How to use exclude.yml?
@DjBuRnOuTQc
I haven't had anything break, or found any major bugs. Other than better error handling and adding features, there's really very little work to be done. I may add expiring protection, however I would probably hook into another plugin to get the player's last login date. What plugins do you people use for player-last-login-tracking?
Is there any chances of a new update soon?
@ViscousSummer88
Using the command /wtransfer <player>, you can transfer all the blocks within the current worldedit selection to <player>. I've considered adding the "radius protection", where when a block is placed, all blocks within a configurable radius would be protected. In your example, 2 would be the radius. The problem is that it would create a huge increase in processor usage. Not only would it have to protect (2r-1)^3 blocks for each place, but it would have to check each of those blocks for protections.
@ViscousSummer88
I was going to wait until something broke due to an update to release a new build, but I may just go ahead and release one.
If someone worldedits some blocks in, will it lock them? Also, would it be possible to protect one block around the block placed? Like how you cant place ontop, but you can placed directly next to it.
Are you near a new release? :)
@Marium0505
Please submit a ticket. I don't think this would get done soon, if at all, because I'd have to save a history of block ownership, which would be a relatively large task, and it would result in a much larger database. I could implement a slightly simpler, but much more efficient / easier to code solution, where all rolled-back blocks are unprotected, if changed, or something like that. Either way, please submit a ticket.