[SEC]CaveControl v1.0 - Permission controlled building [740]

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, May 1, 2011.

  1. Offline


    CaveControl v1.0 Download (JAR Only)

    This plugin was originally written specifically for my server. After a few requests I decided to release it for others to make use of. Also, with the upcoming changes in the Permissions plugin and removing the basic AntiBuild from it I felt that this plugin would be needed by people.

    Setup for the plugin is extremely simple. Just grab the zip file and drop it into your plugins folder. Extract it and then edit config.properties inside of plugins/CaveControl. The config file has clear, simple instructions inside of it for what each configuration option does. Choose either to use AntiBuild style permissions and make use of the build: true/false setting in Permissions or control each individual element. NOTE: You must select either one or the other. If you choose simplebuild then it will overwrite all of the other config options besides the deny message.

    • Simple AntiBuild style option
    • Detailed permission controlled building
    • Easy to understand configuration file

    The following permission nodes are if you choose to select to set simplebuild to false.

    Permission Nodes (open)

    cavecontrol.build - Player is able to place blocks
    cavecontrol.destroy - Player is able to break blocks
    cavecontrol.use - Player is able to use doors/switches/chests/etc
    cavecontrol.lavabucket - Player can pour lava buckets
    cavecontrol.waterbucket - Player can pour water buckets
    cavecontrol.tntplace - Player can place tnt
    cavecontrol.tntprime - Player can activate tnt
    cavecontrol.ignite - Player can use flint & steel

    • 1.0
      • Initial setup and project release
    DanoMand, Juze and kahlilnc like this.
  2. Offline


  3. Offline


    Heh, cool, the permission nodes are just what I need! What's up with the name CaveControl, though?
  4. Offline


    This plugin was originally for his own server, called "The Yeti Cave", hence CaveControl.

    @TheYeti So you're really going to depreciate Permissions' Antibuild in favor of this?
  5. Offline


    @rcjrrjcr - I had mentioned removal of the antibuild functionality from Permissions awhile back. It is limited and rudimentary at best. This provides better, more modular control.

    @Taemera - The name of my server is as rcjrrjcr said, The Cave. So all of the plugins I write for it are named Cave<Something> such as CaveControl, CaveBasics, CaveAdmin, CavePlay, etc.

    @Juze - Version number is on the first line.
  6. Offline


    I'm getting
    spammed all the time :/
    On 740.
  7. Offline


    Yea, I'm looking into it now. Something got messed up and I think possibly changed. Looks like only on ignite.
  8. Offline


    Sweet Another Great Plugin :D
  9. Offline


  10. Offline


    Which interactions does it support?
  11. Offline


    Working on updating this in the next week for the next Permissions version and to update it to newest build. Also need to work out a few bugs.
  12. Offline


    For some reason this plugin broke on me. Used to work perfectly but now no one can do anything unless they have the '*' permission node. I have re-read the instructions over hundred times, I set the permission nodes, turn simplebuild false, and still the same results.
  13. Offline

    flapstik1 I steal plugins as my own

    I need help with the settings this is what my setting look like
    # Use the permissions build: true system instead of
    # the individual settings
    simplebuild: true
    # Message to send to player if they are denied access to
    # building/using a node. If this is left blank it defaults
    # to informing them simply that they lack permissions.
    deny-msg: &7[&4CaveControl&7] &aYou lack permission to do this!

    # If simplebuild is set to false use the following nodes
    # Requires cavecontrol.build permissions to build anything
    build-restrict: false
    # Requires cavecontrol.destroy to destroy blocks
    destroy-restrict: true
    # Requires cavecontrol.use to interact with anything
    use-restrict: true
    # Requires cavecontrol.lavabucket to use lava buckets
    lavabucket-restrict: true
    # This requires cavecontrol.waterbucket to use water buckets
    waterbucket-restrict: true
    # Requires cavecontrol.tntplace to place tnt
    tntplace-restrict: true
    # Requires cavecontrol.tntprime to prime/explode tnt
    tntprime-restrict: true
    # Requires cavecontrol.ignite to use lighters
    lighter-restrict: true
    Please tell me what i am doing wrong
  14. Offline


    when the simplebuild is false everything works except for destroying blocks which dosnt seem to work, because it wouldnt let anyone on my server destroy blocks i had to set it on simplebuild
  15. Offline


    I can Has Multiworld PL0X :)
  16. Offline


    When I have the simple build on true.
    every wan can stil destroying block. even though it would not be able.

    17:32:17 [SEVERE] Could not pass event PLAYER_INTERACT to CaveControl
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at net.theyeticave.cavecontrol.CaveControlPlayerListener.onPlayerInterac
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:9
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHa
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 14 more
    Ryan Carty likes this.
  17. Offline

    Ryan Carty

    Same as the above
  18. Offline


    Well this plugin was last built for Build 740, not 1337. Which would be the problem....its outdated. :eek:
  19. Offline


    I get this when i use a command:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cavecontrol' in plugin CaveControl v1.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:379)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:766)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:726)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:719)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:94)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:534)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/Messaging
    at net.theyeticave.cavecontrol.CaveControl.onCommand(CaveControl.java:139)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.nijiko.Messaging
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 14 more
  20. Offline


    I get this one time per second:
    2012-02-27 18:07:18 [SEVERE] Could not pass event org.bukkit.event.block.BlockIgniteEvent to CaveControl
    at net.theyeticave.cavecontrol.CaveControlBlockListener.onBlockIgnite(CaveControlBlockListener.java:148)
    at org.bukkit.plugin.java.JavaPluginLoader$39.execute(JavaPluginLoader.java:537)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at net.minecraft.server.BlockStationary.a(BlockStationary.java:56)
    at net.minecraft.server.World.k(World.java:1995)
    at net.minecraft.server.World.doTick(World.java:1745)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:523)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    I don't know what went wrong... please help me...
  21. Offline


    Long time no see TheYeti. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.

Share This Page