[INACTIVE][ADMIN/SEC] OPBlock v0.2 - Make certain blocks indestructible [677]

Discussion in 'Inactive/Unsupported Plugins' started by bob3695, Apr 11, 2011.

  1. Offline

    bob3695

    OPBlock - Make certain blocks indestructible:
    Version: v0.2

    Ops will have the ability to place blocks that can't be destroyed by anyone except other Ops. Tested in Craftbukkit 677. This uses the new persistence system that was added so please make sure you set that up (bukkit.yml) If you need help with that I should be able to provide a little help. The code to this plugin is very basic and easy to figure out if you want to implement it into a different plugin.

    Features:
    Type "/opblock" before you place a block that you don't want destroyed then place it. Type "/opblock" again to turn it off.

    Download: https://bitbucket.org/bob3695/opblock/downloads/OPBlock.jar
    Source: https://bitbucket.org/bob3695/opblock/overview

    Changelog:
    Version 0.2
    • Fixed it so non-ops can no longer break the opblocks (sorry about that!)
    • Added Permissions 2.7 support (optional, defaults to if the player is op if permissions isn't installed). Permission: opblock.use
    Version 0.1b
    • Re-uploaded a file that didn't spam chat (I believe the first release had some debug code in)
    Version 0.1
    • First release
     
    surferbrig231 and godgodgodgo like this.
  2. Offline

    surferbrig231

    Okay bob. i updated my server and when i do /opblock it says opblock turned on and then ill place blocks and deop myself but they will stick break. do i need to get persistence? if so how do i set it up? and also i have the bukkit.yml. what do i have to do with that. anyhelp will be greaatly appreciated!
     
  3. Offline

    bob3695

    you are most likely going to see errors at startup. You need to open bukkit.yml and edit the {dir} {name}.sqlite to an actual filename (eg. database.yml)
     
  4. Offline

    surferbrig231

    I changed the file name and it created a database.db text file in the server directory. the blocks still break?
     
  5. Offline

    bob3695

    are there any errors in the logs?
     
  6. Offline

    surferbrig231

    [INFO] DataSourcePool [OPBlock] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]. thats what is says in the log
     
  7. Offline

    bob3695

    Can you put the db file on a share somewhere and give me the link?
     
  8. Offline

    TheOneHamster

    Got the same problem here. I can place op-blocks, it says "Placed OP block" but my players are still able to break them. Dont know how to edit the bukkit.yml file correclty, could you give us a little help on that?
    Thanks :)
     
  9. Offline

    bob3695

    Just change the {dir}{name} at the bottom of the file to a actual name

    New version up! Permissions support added!
     
  10. Offline

    surferbrig231

    I
     
  11. Offline

    godgodgodgo

    So if ops can no longer break them.... how do they break?
     
  12. Offline

    bob3695

    Mis-type. Was supposed to be non-ops.
     
  13. Offline

    vReactiionz

    AMAZING PLUGIN!
    But there is a MAJOR flaw.
    It works until you /reload a server.
    Then people can break your OP blocks. (Placed after reload)
    PLEASE FIX.
     
  14. Offline

    Wanderer89

    Dammit, this looks like exactly what I needed before I built a giant apartment complex for my players... Is there anything like this that can be applied to a specific block(s) in a specific region/area?
     
  15. Offline

    bob3695

    Not at the moment. I have been working on other things but this is something I might be able to do in a while
     
    Wanderer89 likes this.
  16. Offline

    Pacini Joey

    Hi !

    This plugin doesn't work with my serveur ... :'(

    Can i have a Tuto for this plugin ?

    Thanks

    Joey
     
  17. Offline

    Dankcannabis

    It would be amazing if this worked with cuboid
     
  18. Offline

    yourock129

    THANKS! I've been looking for something like this but it would tell me what i can and cannot make indestructible. Thanks a ton for this! How about permissions? thanks!
     
  19. Offline

    Juze

    @bob3695 : Please test against latest RB.
     
  20. Offline

    NotoriousPyro

    It works fine for me buddy.
     
  21. is there anyway i can give a non-op permission to use this?
     
  22. Offline

    godgodgodgo

    No, it doesn't have permissions support
     
  23. Offline

    Snowy007

    You sure?
    This is in the changelog:
     
  24. Offline

    bob3695

    All you do is give anyone you want to be able to use this the opblock.use permission.
     

Share This Page