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

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

     
  1. Offline

    cvenomz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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

    This post has been edited 7 times. It was last edited by cvenomz Aug 7, 2011.
    dark_hunter, Lunthus, Hacr and 3 others like this.
  2.  
  3. Offline

    vidhu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey cvenomz :D

    I have a really big issue:'(. Don’t worry your plugin work perfectly fine like charm but it does lack a feature
    That feature is to select 3d area (possible using wand tool like in worldedit) and add all the blocks in that
    Selection to a player's protection.

    i think this feature will be extremely helpful
    - in saving time instead of having to add individual blocks
    - in situations when your importing blocks into a new map

    Thanks,
    Vidhu

    This post has been edited 1 time. It was last edited by vidhu Oct 22, 2011.
  4. Offline

    Thomas1907

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you also make it so it wil Automatically add the blocks you place to the database ?
  5. Offline

    Archelaus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please update the title to the newest RB. Then tag me in a post, otherwise this will be moved to inactive
  6. Offline

    madjansen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you add that admin can change the owner of a block to an another user?
  7. Offline

    PyPKjE

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sucks already waiting for a good vaccination update, it is no man in the world which can not resume this good plugins?! :mad:
  8. Offline

    Seemii

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you PLEASE add something like " PP11 writes :/allow PLAYER123"
    - so PLAYER123 is allowed to destroy the blocks of PP11.
    Or is there a Way ?
  9. Offline

    PyPKjE

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If I understood what you had in mind, this method is not suitable for me...
    I wish that everyone can build and protect their buildings a simple way ;)
  10. Offline

    Seemii

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes, and when people want to build TOGETHER ?
    a /allow command would be great.
  11. Offline

    PyPKjE

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ownblockx simply the best and most convenient is currently tied with iconomy +, so stay tuned
  12. Offline

    Snuki

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No rollback function?
  13. Offline

    dopadu14

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    dont working with #1337. someone knows some alternate plugin?

    This post has been edited 1 time. It was last edited by dopadu14 Nov 8, 2011.
  14. Offline

    kropto

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    please update iconomy6
  15. Offline

    Suembeaux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    will this carry over everything from the original plugin? because that honestly worked just fine for me, but i would like to keep my plugins up to date for smoother running server...
  16. Offline

    Suembeaux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    the original own blocks worked just fine for me on #1337
  17. Offline

    OZ4RK

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Errors up the wazoo! Explanation please?
    Code:
    [SEVERE] [OwnBlocksX] Failed to get block.  Probably SQL error
    22:19:22 [SEVERE] java.lang.NullPointerException
    22:19:22 [SEVERE]     at me.cvenomz.OwnBlocks.MysqlDatabase.getBlock(MysqlDatabase.java:97)
    22:19:22 [SEVERE]     at me.cvenomz.OwnBlocks.MysqlBlockListener.onBlockBreak(MysqlBlockListener.java:41)
    22:19:22 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:534)
    22:19:22 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    22:19:22 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    22:19:22 [SEVERE]     at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:201)
    22:19:22 [SEVERE]     at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:98)
    22:19:22 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    22:19:22 [SEVERE]     at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    22:19:22 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    22:19:22 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    22:19:22 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    22:19:22 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    22:19:22 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    22:19:22 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    madjansen likes this.
  18. Offline

    PacmanGamer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Excluding doesnt work? :confused:
  19. Offline

    PacmanGamer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Saplings and Dirt are not exluded from being protectet!
    Although they are registered.
  20. Offline

    p4rp4d30

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    As I can fix the lag on my server?

    mysql is operated and performs over 600 queries in 1 seconds causing the lag.

    How do I fix this?

    Thanks!

    This post has been edited 1 time. It was last edited by p4rp4d30 Dec 6, 2011.
  21. Offline

    Pro457

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please update this plugin and please make MySQL not required!
  22. Offline

    madjansen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Check that your MySQL config is right.

    This post has been edited 1 time. It was last edited by madjansen Dec 31, 2011.
  23. Offline

    XsNiPeRxXz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How do you use it? Or am I missing something?
  24. Offline

    Boxmen666

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Why does'nt it work? I have multiverse on my server and when i placed a block a non-op could destroy it(in one of the new worlds i created)how do i prevent this?
  25. Offline

    Mercury

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This should be marked as inactive now.
    pomerinke likes this.
  26. Offline

    waremanu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you pleace edit / add this ..:
    I have OwnBlocksX but I was wondering if anyone could change a little plug.

    - Entering owned blocks of worldedit.
    1. - / Protect [the player who will protect the selection]
    When will protect, I will that you should be able to put things out .. but air can not be owned. Goes great that everyone has up to do this but the way it is possible I would have permissions. Would like like to get AutoProtect when I use worldedit. :)

    - Does not have to turn off the auto protect. (/ OBX / ownblocksx)

    - Groups in OwnBlocksX
    - / Team team [group name]
    - / Team invite [player] - When a player is invited so for his post-game about it.
    - / Team no [group name] - When a new join a group is sent a message to everyone in the group: [player] joined the group.
    - / Team yes [group name]
    - / Team list - Announced they are members of a group can see this also brings up a list of those who are members of the group.
    - / Team - List of commandos and what commandos do.
    Everyone in the group can invite others to the group. I will not have any permissions on any of this, everyone has permission to the commander. When everyone in a group left, the group is deleted. This Waypoint will I need when someone cooperate with creating projects etc so it is much easier to destroy the blocks to each other.

    This may look like a big task, but may we can donate for the excellent work:) All the 3 changes I wanted to not get through successfully, but the more the better!

    You need not add this in the recommed verson, send me download link if you made it!

    -----
    In post here-.- I can not post on unrecommed plugins questions ..

    This post has been edited 2 times. It was last edited by waremanu Jan 11, 2012.
  27. Offline

    Tcheco

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I just have a question
    I wanna to automatically protects the following blocks:
    Wooden planks, the Stone brick and the Cobblestone
    But i don't know how to configure it :(
    Can anyone help me?
  28. Offline

    Boxmen666

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey,dude,update it to 1597 i cant use it if its not updated,it keeps saying error in the cmd console thingy whenever someone places a block
  29. Offline

    TheDeveloper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have a problem. After I import the flat file it asks me for a world name. I type in my level name (world) and then it crashes with this message:
    Exception in thread "main" java.lang.NullPointerException
    at me.cvenomz.OwnBlocksDatabaseConverter.OBDBConvert.addToDatabase(OBDBConvert.java:167)
    at me.cvenomz.OwnBlocksDatabaseConverter.OBDBConvert.main(OBDBConvert.java:44)
    I need some help...
  30. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugin is outdated. . . Try out PreciousStones
  31. Offline

    killj0y

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ownblocks is running perfectly fine on our 1.1 R1 server just updated today to the latest versions of bukkit.
  32. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I was just stating that this plugin would very lowly have a chance of being updated anytime soon and he was getting an error. . . So I recommended an alternative.

Share This Page