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

    Thypthon

  3. Offline

    Thypthon

    Yep.
     
  4. Offline

    oli4ei162

    Please update
     
  5. Offline

    sterg

    Update this please or if anyone else knows a similar plugin pm me! :)
     
  6. Offline

    _EasyTiger_

    I really love this plugin! loads ! seriously, but I wish you would update it for more recent cb build!
    Because I can't get it to work ):
    Really nice plugin !

    I think this is good http://dev.bukkit.org/server-mods/ownblocksplus/

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

    Jay98d

    Hey dude, this would be the perfect plugin, however it does not work for my server. The log tells me [SEVERE] Could not load 'plugins\ownblocksX.jar' in folder 'plugins' Then a bunch of errors PLEASE HELP!!! If not can anyone recommend A similar plugin?
     
  8. Offline

    senne97

    iseneet working ay put it in plugins restart server and it dosn't do anyting
     
  9. Offline

    Cronickz

    Can anyone help me please?
    I think it is a problem with the MySQL, anyone please.

    [​IMG]

    I will open a worldwide server and I need this plugin. :(
     
  10. Offline

    minecraftbreda

    must I use MySQL?
     
  11. Offline

    xddxd

    H2 works?
     
  12. Offline

    GerbenTerwee

    Hello, when I start my server, he says


    8:33:59 [SEVERE] Could not load 'plugins / OwnBlocksX.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org / bukkit / event / block / block Listener
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin (JavaPluginLoader.java: 151)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin (SimplePluginManager.java: 305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins (SimplePluginManager.java: 230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins (CraftServer.java: 213)
    at org.bukkit.craftbukkit.CraftServer. <init> (CraftServer.java: 189)
    at net.minecraft.server.ServerConfigurationManager. <init> (ServerConfigurationManager.java: 53)
    at net.minecraft.server.MinecraftServer.init (MinecraftServer.java: 166)
    at net.minecraft.server.MinecraftServer.run (MinecraftServer.java: 432)
    at net.minecraft.server.ThreadServerApplication.run (Source File: 492)
    Caused by: java.lang.NoClassDefFoundError: org / bukkit / event / block / block Listener
    at java.lang.Class.forName0 (Native Method)
    at java.lang.Class.forName (Class.java: 247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin (JavaPluginLoader.java: 140)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.block.BlockListener
    at java.net.URLClassLoader $ 1.run (URLClassLoader.java: 202)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass (URLClassLoader.java: 190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass (PluginClassLoader.java: 41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass (PluginClassLoader.java: 29)
    at java.lang.ClassLoader.loadClass (ClassLoader.java: 306)
    at java.lang.ClassLoader.loadClass (ClassLoader.java: 247)
    ... 11 more


    How do I fix this? A week ago he was still working perfectly!
     
  13. Offline

    app_some

    I like to install the Own-block but console gave me error message.. Please help me....

    Code:
    [SEVERE] Could not load 'plugins\OwnBlocksX.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/block/BlockListener
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
        at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:239)
        at org.bukkit.craftbukkit.v1_5_R3.CraftServer.<init>(CraftServer.java:217)
        at net.minecraft.server.v1_5_R3.PlayerList.<init>(PlayerList.java:55)
        at net.minecraft.server.v1_5_R3.DedicatedPlayerList.<init>(SourceFile:11)
        at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:106)
        at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382)
        at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/block/BlockListener
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173)
        ... 9 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.block.BlockListener
        at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    This is error code....

    Please help me.. Thanks and sorry for my bed English
     

Share This Page