[REQ] block protection system (meld of two systems)(for 860 preferably)

Discussion in 'Archived: Plugin Requests' started by bruceweed, Jun 27, 2011.

  1. Offline

    bruceweed

    OK, so there are a few block protection plugins out there, however many have flaws in certain ways. While some aren't too bad, others have really horrific flaws that can cause big problems down the road. Leaving you in a tight spot. So to give someone a good idea on IN MY OPINION the best protection method setup here is what I have to say.

    I've used Ownblocks for awhile. The problem with ownblocks is the saving method. After awhile the database grows and creates server lag when save interval comes around.

    I used bananaprotect and absolutely LOVED the saving system for it. Bad thing is it has no configuration file.

    So, If someone can use the system from ownblocks, which has many perks. The fact that it has a configuration file and bananaprotect doesn't. So also having the option to MANUALLY add blocks to the protection database is really handy as well.

    So let me list what IN MY OPINION would be great for a block protection plugin.

    Ownblocks system of saving blocks.
    Bananaprotects saving system with flatfiles per chunk.
    Ownblocks ability to manually add blocks (with configurable item)
    Ownblocks configuration ability. (bananaprotect has no configuration)
    Bananaprotects ability to add people to build WITH YOU.

    PLUS MULTIWORLD SUPPORT of course.

    The reason I say that it should have a configuration file is the problem with bananaprotect is the fact that it also protects everything a player places. Which causes problems when it comes to doors, chests, and so on. This also presents a problem with trees as well. Leaving the bottom one on the ground creating problems when use plugins like choptree. Ownblocks seems to be great when it comes to adding excluding items, and doesn't protect chests, doors and so on.. This is why I use LWC, which allows users to say who can and can't open doors. Problem with bananaprotect protecting doors is the fact people can't allow others in for shops and so on. Not without adding /ballow to EVERYONE to get in, which also allows them to break the blocks.

    The problem with ownblocks also is the fact that you can't really build with a friend, and there are no commands to allow a person to build with you by adding a permission to them so to speak. However, bananaprotect allows this using /ballow and /bremove to add or remove people to build with.

    I tried working through the source for ownblocks to try and get the flatfile saving system going but, just couldn't manage to do it. It's probably best to let one of the pros handle it.

    I'm sure if someone could create this MANY people would use it as their protection system. I know I damn sure would.

    Anyone?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  2. Offline

    dompie

    When your server grow, this will kill your hard drive and increase memory demands dramatically.
     
  3. Offline

    Wakko

    WorldGuard has per-world item black-listing.
     
  4. Offline

    bruceweed

    Yea as with any block protection I suppose. I'm using bananaprotect again and not happy about it lol. I want to use ownblocks but when it comes down to database saves well.... yeaaa
     
  5. Offline

    phaed

    http://forums.bukkit.org/threads/se...grief-revert-block-w-sqlite-support-953.1034/

    Mainly: http://sacredlabyrinth.net/wiki/index.php/PreciousStones#Unbreakable_blocks
    And: http://sacredlabyrinth.net/wiki/index.php/PreciousStones#Configuration

    It saves in your choice of SQL or MySQL and it handles multimillion block sets without lag as it pulls contents to memory on start, uses indexed tables and, does batch inserts. The in-memory store is three level of hasmaps the first holds hashmaps with the different worlds, which holds hashmaps with the different chunks, which holds hashmaps with the different blocks. So retrieval of say all the pstones from a radius of 3 chunks around the player on a certain worlds is still O(1) time.
     
  6. Offline

    codename_B

    Thanks for the positive feedback on BananaProtect - I'm adding a config file to my (LONG) list of to-do things. It will get done, I promise you that :)
     

Share This Page