Inactive [SEC/ADMN] OwnBlocksX v0.2.3 - Protect your blocks (MySQL, iConomy 5) [1000]

Discussion in 'Inactive/Unsupported Plugins' started by cvenomz, Jul 10, 2011.

  1. Offline

    cvenomz

    OwnBlocksX - (OwnBlocks eXtended)
    Version: v0.2.3

    OwnBlocksX is a branch off the original OwnBlocks plugin. OwnBlocksX is intended to add support for many features which may not be suitable for the original plugin. Such features include MySQL support (completed), iConomy 5 support (completed), and group project support (in progress).

    See original plugin thread for more information

    Features:
    • Blocks you place cannot be broken by others
    • Ability to exclude certain blocks from being protected
    • Support for Permissions AND non-Permissions servers
    • Add (pre-placed) blocks to the database manually
    Notable Changes:

    -MySQL is now required
    -If you are migrating from OwnBlocks, you will need to convert your database unless you are starting fresh. Here is a helpful link
    -Permissions nodes are now OwnBlocksX.* (note the X)
    -toggle command is now /obx or /ownblocksx
    -New configuration file name and path
    -If you are upgrading from the test builds (OwnBlocksMySQL) then you need to rename your database table from OwnBlocks to OwnBlocksX.If you are using MySQL, the command is:
    "RENAME TABLE OwnBlocks TO OwnBlocksX"

    Download OwnBlocksX v0.2.3
    Source Code
    OwnBlocks is released under the WTFPL License.

    Other Notes:
    If you are having problems, you may need to have the MySQL JDBC driver installed

    Config File Options:
    Please note that at any time you may move/rename/delete you config file, and restart your server to produce the example/default config file with these options pre-filled along with descriptions. Also remember that lines preceded by a '#' are comments, and are ignored.

    host - enter the MySQL database host. 'localhost' unless you are running the database on a separate server
    databaseName - name of the MySQL database you will use on the MySQL server
    username - the MySQL user with which OwnBlocksX will authenticate with the MySQL database
    password - password for the MySQL user
    exclude - enter comma separated integers of block-ids you wish to exclude from being protected and entered into the database. An example would be to enter the block-id for saplings, so planted trees do not have a single log at the bottom that is protected when a tree is harvested by another player.
    iConomy - enter an integer greater than '0' (zero) to enable. The number entered becomes the 'Basic Rate' at which players are charged to place protected blocks. Players will not be able to place blocks if they have insufficient funds.
    debug - If you are experiencing errors, and want to post them here to resolve them, or just want to spam your server log with information, set debug equal to 'true'
    status-message - Set this to 'disable' to not receive the message "[Username] - OwnBlocks is now activated for you....". Set this to 'simple' to receive a simple "OwnBlocks activated/deactivated" instead. Lastly, set this to 'disable' to disable messages entirely. Now that I think of it, disabling status-messages seems like a really bad idea......but the choice is yours.
    info-id - Enter the integer representing the ID of the material or tool you would like to use as your "information tool" which will display the Owner of a block you right click with specified tool. Default is 269, which is the wooden shovel.
    add-id - Enter the integer representing the ID of the material or tool you would like to use as your "add tool" which will add the block you left click with the tool to the database. Default is 268, which is the wooden sword.
    enabled-on-login - True means that OwnBlocks is automatically activated for every player as soon as they log in. False means that OwnBlocks must be activated manually by each player when they want to start building protected blocks.

    Permissions Nodes:
    You will need to add these nodes to your Permissions configurations if your server uses Permissions:
    'OwnBlocksX.ignoreOwnership' - Allows player to break blocks placed by others. This node is typically given to admins.
    'OwnBlocksX.use' - Allows a player to even use OwnBlocks. If you want everyone to be able to protect blocks with OwnBlocks, and assuming you have a "normal" Permissions configuration, then add this node to your "default" class.
    'OwnBlocksX.info' - Allows a player to use the info-tool to display who owns a protected block.
    'OwnBlocksX.add' - Allows a player to use the add-tool to add blocks to the database for protection.

    Changelog:

    • Version 0.2.3 (8-7-2011)
      • Fixed another permissions bug (OwnBlocksX.ignoreOwnership) [Thanks MineJob!]
    • Version 0.2.2 (8-7-2011)
      • Fixed permissions bug (OwnBlocksX.use) [Thanks Worlther!]
    • Version 0.2.1 (8-3-2011)
      • Fixed bug where enable-on-login did not function
    • Version 0.2 (7-15-2011)
      • Implemented MySQL connection timeout workaround [Thanks ghost15!]
      • Moved tracking of enabled/disabled players to MySQL
    • Version 0.1.1 (7-11-2011)
      • Added message when player tries to break block not owned by them
    • Version 0.1 (7-10-2011)
      • Initial release
      • Added MySQL support
      • Added iConomy 5 support
     
    dark_hunter, Lunthus, Hacr and 3 others like this.
  2. Offline

    AVirusC

     
  3. Offline

    cvenomz

    Oh, lol, by using the asterisks I meant that you were supposed to *insert your info here*. But I guess I could have been more clear about that. Thanks for clearing that up
     
  4. Offline

    brett122798

    I tried using MySQL but failed... regular ownblocks is better! Plus I'd rather type /ob than /obx(cause I'm lazy).
     
  5. Offline

    Worlther

    I get this error while im reloading plugins. It's nothing serious, but i'm dont like SEVERE errors :)
     
  6. Offline

    morizuki

    some players can still destroy my blocks even if i use /obx.. i didn't put any permissions ignore..
     
  7. Offline

    DarkShadowSwE

    i got a question , i dont know anything about the permission and that stuff , my permission file is even empty (permissions.yml) , :confused: , and i only us the op.txt file , but sins my friends cant seem to place block everywhere but i can as op i would like to disable the ignore for OPs so i can make us all OP , how do i do it easily ? , ( remove "OwnBlocksX.ignoreOwnership" from OP )
     
  8. Offline

    CalebEatsPie

    Umm Does it Have To Be Mysql? Or can it be McMyAdmin Or Regular Bukkit/Permissions?
     
  9. Offline

    544nick101

    can you add a command that lets others destroy your blocks that you place so you can build together???
     
  10. Offline

    eamm26

    hey I got a question, if I used the pluggion on a map, and the I don't want to use the plugin anymore, do i have to erase the map and the plugin, or just removing the plugin will deasble its function on the map?

    srry for the bad english btw :oops:
     
  11. Offline

    maxxiev

    hey ,I get a error when i try to use this plugin i get a error
    if you can see on the picture. i dont know how to use MySQL
    (the idea looks very nice )
    srry for my bad english i'm from holland :p
     

    Attached Files:

  12. Offline

    cvenomz

    MySQL is for the database backend
    When you disable the plugin, nothing bad will happen to the world. Disabling the plugin just removes the protection on each block, the map will remain untouched
     
  13. Offline

    eamm26

    thx for answering my questiong, but I actually made a mistake posting it here, I'm using the ownblocks v.10(the old one) and I don't know why but even thoug I already deleted the plugin it looks like is still working on the map and deleting the whole map and starta a new one...is not an option, does the old ownblocks had this bug or am I the only one with this problem?
     
  14. Offline

    King Pyro

    no idea if you still work on this plugin but i have a suggestion for a future feature. What if have a selection tool and be able to protect a cuboid (neglecting air ofc) just a thought because i have big buildings....and its kinda a pain to have to hit each block with a woodensword. Anyway just a suggestions let me know what you think about it
     
  15. Offline

    angelina

    I appear to have a successful install of OwnBlocksX. When I add a block using the add-tool, I get a message stating it was added. If I use the info-tool on the same block, it says "Block Not Owned." Any idea what is causing this and what I can do to correct it?

    Thank you in advance.
     
  16. Offline

    Pijanista

    i cant get work ownblockx, i put perrmision but always get internal error, but ownblock i can get it work ...
     
  17. Offline

    AVirusC

    Our DB is around 35 megs now and its still working great. Hopefully we won't be getting the mean block lag like the flatfile version got around 30megs. Keep up the good work.
     
  18. Offline

    Lunthus

    Okay! I finally upgraded to OBX from regular OB cause I had no clue how to do MySQL. Well if anyone has no freaking clue and is a complete noob like me lol. This video REALLY, REALLY, REALLY helped me! http://www.youtube.com/watch?v=wTbi79B3KZM&feature=related! Enjoy! Also love the plugin! Favorite anti grief plugin :)
     
  19. Offline

    Potetsjokolade

    On my server, OwnblocksX saves dirt too, and i have excluded them: exclude=03,12,18,6
     
  20. Offline

    someguy817

    realy needs the ability to add freinds to build with you like /ob playername
     
  21. Offline

    I_ndex

    I will donate the 20 bucks soon, can you fix that the plugins does upload every 120 secounds or somthing to the db?

    It lags massiv :/
     
  22. Offline

    Bradders

    u need to make i tut on how to set this up now i have no clue what mysql or the other thing is i liked it when it was a localdateabase
     
  23. Offline

    angelina

    Can anybody help me?
     
  24. Offline

    King Pyro

    just reposting my question....
     
  25. Offline

    MineCleric

    Can admin and mod destry block?
     
  26. Offline

    IOn Vash

    Can you try to fix the lag issue? Every time someone places or breaks a block the whole server laggs. And its getting to the point that its making the server unplayable.
     
  27. Offline

    beastseye

    great job this slows down most of the griefers on my server, thnx!
     
  28. Offline

    544nick101

    Could you add like a /obx addfriend <playername> so people can build together :D
     
    pctechjon likes this.
  29. Offline

    MineCleric

    how are the commando ??
     
  30. Offline

    oln

    Have you considered using prepared statements in the plugin? Might make the queries perform faster, which means less lag.
     
  31. Offline

    PyPKjE

    pleas update :rolleyes:
     

Share This Page