Inactive [SEC/ADMN/EDIT] TPack v3.6 - Now with cuboid zone protection and OP Support! [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Tuna, Feb 13, 2011.

  1. Offline

    Tuna

    TPack - Now has cuboid zone protection!
    Version: v3.6

    Now Supports OP or PermissionsBukkit and CraftBukkit 1060!!

    Follow me on Twitter for latest updates!
    http://twitter.com/#!/Tuna_Mods

    TPack (stands for Tuna's Pack) is a multi-tool add-on package. It contains mods for selecting/filling/deleting cuboids, creating and protecting massive cuboid zones, boomstick mode for rapidly clearing blocks, modifying the server time, giving items by name and quantity instead of data values, and clearing player inventory!

    All TPack commands require OP privileges or PermissionsBukkit to be installed and setup properly! Download PermissionsBukkit: http://forums.bukkit.org/threads/ad...-1-official-default-groups-plugin-1000.26785/


    TPack takes a lot of time to maintain and support!!
    Feel free to Donate if you wish! As a starving college student it keeps me alive and coding :p


    Features:

    Cuboid mode up and running! (Now with zone protection!):

    • "/cuboid <on|off>" enables/disables cuboid mode. When player has selection tool equipped can hit block to set points 1 and 2 sequentially. Selection tool is specified in settings.txt file.
    [​IMG]
      • The two points you select (A and G) select the surrounding cubes in a square formation, like in the picture above.
    • "/cfill <block ID | block name>" fills selected cuboid with specified material (item names/item ID's in items.txt)
      • Examples: "/cfill wood" /cfill obsidian" "/cfill 5" "/cfill 18"
      • The material names correspond to the item codes in your items.txt
        • You can add custom names for items! Say you want "bob" to refer to grass blocks. Simple add "bob:02" to the bottom of your settings.txt file. Now whenever you type "/cfill bob" it will use grass! This also adds it to your give command as well so players can use "/give bob" to give grass.
    • "/cfaces <block ID | block name>" fills the selected cuboids walls, creating a room
    • New Wool Features!
    • Version 2.2 adds the ability to fill with colored wool! Simple use "/cfill wool <color | color ID>" or "/cfaces wool <color | color ID>" where the colors and ID's are:
      • 0 - white
      • 1 - orange
      • 2 - magenta
      • 3 - lightblue
      • 4 - yellow
      • 5 - lightgreen
      • 6 - pink
      • 7 - gray
      • 8 - lightgray
      • 9 - cyan
      • 10 - purple
      • 11 - blue
      • 12 - brown
      • 13 - darkgreen
      • 14 - red
      • 15 -black
        • examples "/cfill wool black" "/cfill wool 15" "/cfill 35 15" "/cfaces wool 15" will all fill the selected area with black wool.
    • "/cclear" clears the selected cuboid (fills it with air)
    • New Features! Zone protection and cuboid saving!
    • "/ccreate <cuboid name>" creates and saves a cuboid from the players selected points
    • "/cdelete <cuboid name | all | owned>"
      • If cuboid name is specified deletes the cuboid
      • If all is specified deletes all cuboid zones
        • requires permission to 'tpack.cuboid.deleteall'
      • If owned is specified deletes all cuboids the player owns. (None of these commands effect the blocks in the zone)
    • "/csave" forces a save of all cuboid zones. This happens automatically every time the server shuts down.
    • "/clist" displays a list of all cuboid zones
    • "/clistowned" displays a list of all cuboid zones that the player owns
    • "/cselect <cuboid name>" selects cuboid with the specified name
    • "/cselect x1 y1 z1 x2 y2 z2" will select the cuboid with <x1,y1,z1> being point A and <x2,y2,z2> being point G in the picture above.
      • X and Z values are the horizontal values while Y is vertical up and down.
    • "/cprotect <cuboid name> <true | false>" protects the selected cuboid, preventing blocks from being destroyed, set on fire, or placed within the cuboid. Protection must be set to 1 in settings.txt. Must be the owner of the cuboid to change this value.
    • "/isprotected <cuboid name>" displays the protection state of the specified cuboid.
    • "/addallowed <cuboid name> <player name>" grants player the ability to modify blocks within a protected cuboid.
    • "/removeallowed <cuboid name> <player name>" removes players ability to modify blocks within a protected cuboid.
    • "/getallowed <cuboid name>" Displays list of users allowed to modify the specified cuboid.
    • "/cowner <cuboid name>" Displays the owner of the specified cuboid.
    • "/listcuboid" lists the coordinates of the two points of the cuboid in <x,y,z> format
    • "/ctime <dawn | sunrise | morning | day | midday | noon | afternoon | evening | sunset | dusk | night | midnight>" changes world time to specified time.
    • "/boomstick <on | off>" enables/disables boomstick mode. When player has wood stick equipped can destroy blocks very rapidly. Great tool for clearing blocks. Call "/boomstick" for status.
    • "/cgive <block ID | Block Name> <quantity> <optional: player name>" where name is the name of the material in "settings.txt" or the item ID and quantity is the number you want. If quantity is not specified it defaults to 1. If player name is specified will give the specified item and quantity to the player specified (requires permission!)
    • "/clearinv" empties the player's entire inventory.
    • settings.txt file must be placed in "plugins/TPack". Names of the items in the file can be replaced with whatever you wish as long as the number matches the item found on the Minecraft Wiki Data values page (http://www.minecraftwiki.net/wiki/Data_values)
    Installation:
    • Put "TPack.jar" in the plugins directory under your root directory
    • "settings.txt" must be in "plugins/TPack"
    Permissions Setup:
    • Be sure to add the required lines to your permissions config.yml file. The permissions are:
      • 'tpack.boomstick' - for boomstick
        • /boomstick
      • 'tpack.cuboid' - for enabling/disabling cuboid and other cuboid commands
        • /cuboid , /getallowed, /listcuboid, /isprotected, /cowner
      • 'tpack.cuboid.fill'
        • /cfill, /cfaces
      • 'tpack.cuboid.clear'
        • /cclear
      • 'tpack.cuboid.create'
        • /ccreate
      • 'tpack.cuboid.delete'
        • /cdelete
      • 'tpack.cuboid.deleteall' - This gives permission to delete ALL CUBOIDS.
        • /cdelete all
      • 'tpack.cuboid.listall'
        • /clist
      • 'tpack.cuboid.listowned'
        • /clistowned
      • 'tpack.cuboid.select'
        • /cselect
      • 'tpack.cuboid.addallowed'
        • /addallowed
      • 'tpack.cuboid.removeallowed'
        • /removeallowed
      • 'tpack.cuboid.protection'
        • /cprotect
      • 'tpack.cuboid.save'
        • /csave
      • 'tpack.time'
        • /ctime
      • 'tpack.items.give'
        • /cgive <item name | item ID> <quantity>
      • 'tpack.items.giveall'
        • /cgive <item name | item ID> <quantity> <player>
      • 'tpack.items.clear'
        • /clearinv
    • Adding 'tpack.*' will give access to all commands
    • Download permissions here:
    • http://forums.bukkit.org/threads/ad...-1-official-default-groups-plugin-1000.26785/
    Settings.txt setup/explaination:

    The newest version of TPack replaces the old items.txt with a new file called settings.txt that allows you to customize TPack to your liking. Here are the fields and their meanings:
    • permission-nofity
      • 0 means the player will not be notified if they don't have permission to use a command (good if you don't like getting spammed with "You don't have permission!"
      • 1 means the player will be notified (default)
    • give
      • 0 means all give commands will be disabled. Useful if you prefer other plugins for give commands and don't want TPack to interfere
      • 1 means all give commands will be enabled
    • time
      • 0 means all time commands will be disabled. Useful if you prefer other plugins for time commands and don't want TPack to interfere
      • 1 means all time commands will be enabled
    • selectiontool
      • value corresponds to the Item ID of the item you want to be your selection tool. Default is Item ID: 269 which is a wooden shovel
    • protection
      • 0 means all protection features will be disabled. If you do not want to use protection features then make sure this is set to 0!! It will greatly improve performance
      • 1 means protection features will be enabled
    • ops
      • 0 means TPack will use PermissionsBukkit for checking permission to use a command. This mode REQUIRES PermissionsBukkit to be installed and configured correctly.
      • 1 means TPack will check if the player is an OP for permission. This way does not require PermissionsBukkit. If a player is OP then they will have access to ALL commands!

    When posting about errors:

    If you encounter an error in TPack, feel free to post it here and I will try to help solve the problem. However when you post, be sure to include the following information or I will ignore your request!
    • What command you issued that caused the error
    • What happens in game when the error occurs (what happens to the blocks, what is displayed on your screen, etc..)
    • Terminal output from the server during the time of the error
    • Verify you have the latest version of Java/CraftBukkit server before posting
    Thanks guys! It is simply too hard to keep up with all the posts if I have to ask everyone these qeustions.



    Download TPack

    Update to the latest version if you haven't already!!

    RapidShare:
    https://rapidshare.com/files/4003847820/Tpack_v3_6.zip
    (Click on slow download on the right to download for free)

    Megaupload:
    http://www.megaupload.com/?d=G4HYI52V

    Attached to this post (all files in zip file).


    Changelog:

    Version 3.6
    • Added support so users can now use MineCrafts internal OP system instead of PermissionsBukkit. See the section on setting up the settings.txt file for more information. If ops is set to 1 in settings.txt a player must be an OP to use any TPack commands. If they are an OP they will have access to ALL commands.
    • Changed /give and /time commands to /cgive and /ctime to avoid conflict
    • Updated settings.txt file to include all new items (pistons, grass, etc...)
    Version 3.5
    • Updated code to work with CraftBukkit 1060
    • Complete overhaul of code structure. Users can now create larger Cuboid zones without crashing the server. (Server will still crash if you do MASSIVE zones, but range has been greatly expanded)
    Version 3.0
    • Updated code to work with CraftBukkit v860. Also added new megaupload and rapidshare mirrors. More features to come.
    Version 2.3

    • Added more options to settings.txt file to disable/enable "give" and "time"
      • If you use other mods for /give and /time commands you can now simply change give or time to 0 in you settings.txt file and it will disable the functionality in TPack.
    • Added the ability to give items to other players
      • "/give stone 5 Tuna" will give player with name Tuna 5 stone. See command description above for more detail. Requires permission to 'tpack.items.giveall'
    Version 2.2
    • Updated "/time" command to use new values instead of old number values
    • Added the ability to fill areas with colored wool using "/cfill" and "/cfaces" see documentation for instructions.
    • Several bug fixes, more optimized code.
    Version 2.1
    • Updated code to support the latest recommended build, #602 [Jenkins].
    • Added several bug fixes in the "/give" and "/cfill" commands.
    Version 2.0
    • Added cuboid zone protection! This handy and easy to use feature allows you to select massive zones and save/protect them! This allows you to setup areas where only certain players can build/break. Great for areas you don't want attacked by griefers.
    • Added new 'settings.txt' file with tons of customization features. You can now specify which tool you want for cuboid selection as well as enable/disable cuboid protection features. Be sure to read the explaination of settings.txt above!
    • Added '/cfaces' to build rooms from cuboid zones.
    • Word of Caution:
      • If you are working on a MASSIVE cuboid zone and you want to use "/cfill /cfaces/ or /cclear" make sure you do it BEFORE protecting the zone. Some times the server becomes unstable if you fill a MASSIVE protected zone.
    Version 1.4
    • Added the ability to select cuboids by coordinates! Great for selecting massive zones. Read documentation for "/cselect"!
    • Added support for item ID numbers in the "/give" command. Players can now use "/give item# quantity" where the item number is the value found on the Minecraft Wiki Data values page (http://www.minecraftwiki.net/wiki/Data_values)
    • Updated items.txt file to contain all current items (as of v1.3)
    • Updated to support permissions 2.4 (Permissions is REQUIRED for TPack to work currently).
    Version 1.3
    • Fixed critical bug introduced in v1.2 (due to my fast&loose coding :p ) in which all the system variables for cuboid and boomstick were shared with every player. If one player set coordinates in cuboid then all players had them selected, and if one player enabled cuboid/boomstick then all players had it enabled. This only applied to people setup in your permissions file to use the commands. The behavior has been fixed in this version
    Version 1.2
    • Added full support for permissions v2.0. Don't forget to add the permission entries to config.yml! See Installation Instructions above.
    Version 1.1
    • Added full Cuboid functionality, player can now select/delete/fill large cuboids
    • Added better documentation for /time command
    Version 1.0
    • First release, description and download location are above. Please post bugs/questions/comments in the replies and I will be happy to oblige :)
     

    Attached Files:

    stickman1998 and Steve Cole like this.
  2. Offline

    strawknight

    dude the link doesn't work
     
  3. Offline

    VeXeD

    Hey, I am having some trouble with /cprotect. /ccreate works but then when I try to protect says Internal Error. Everything else works great and I love the plugin, I couldn't live with out it honestly but I would like protect to work. I am running on craftbukkit 714 and I'm running on the most recent verion of your plugin.
     
  4. Offline

    White Sheep

    dont forgot true
    /cprotect (cuboidname) true
     
  5. Offline

    solo82

    hi,

    i have a prob with cuboids.
    I can create a cuboid and make it protected. When I use "/addallowed (cubename) (playername)", the player is notified as a allowed player with command /getallowed.
    But the player allowed can't modify the area with the message "you are not allowed"

    can anyone tell me where is my mistake ?
     
  6. Offline

    Tuna

    What link? The rapidshare one works fine for me...

    WhiteSheep is correct. Verify you are entering the command in the proper syntax of "/cprotect <cuboid name> <true | false>"

    The names are case sensitive. If your friends name is "Foo" then make sure you do "/addalowed <cuboid name> Foo" If you enter "foo" it will not work.
     
  7. Offline

    TruffleDucks

    I'm using the latest build... and I guess I'll try that later
     
  8. Offline

    DylanP

    Just letting you know I love the cuboid protection stuff, PLEASE do not stop updating this plugin, it is crucial for my server to have it!
     
  9. Offline

    strawknight

     
  10. Offline

    Aerunaur

    Hello everyone, I have a little problem. I also think I have multiple problems with 2 mods, looking at the server log. So, I think what is happening is it is not recognizing cuboid AT ALL. It does not say anything about tpack, and it runs into an error with permissions, apparently having something to do with my friend's admin. I will copy the log message here (this is from the latest restart):

    2011-04-30 11:56:14 [INFO] Starting minecraft server version Beta 1.5_02
    2011-04-30 11:56:14 [INFO] Loading properties
    2011-04-30 11:56:14 [INFO] Starting Minecraft server on 69.197.189.245:25565
    2011-04-30 11:56:14 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    2011-04-30 11:56:14 [INFO] Preparing level "world"
    2011-04-30 11:56:14 [INFO] Preparing start region
    2011-04-30 11:56:15 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:138)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while scanning a simple key
    in "<reader>", line 103, column 5:
    xXPastorPacoxX
    ^
    could not found expected ':'
    in "<reader>", line 104, column 14:
    group: Admins
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
    ... 13 more
    2011-04-30 11:56:15 [INFO] [AdminRage] version 1.5 is enabled!
    2011-04-30 11:56:15 [INFO] [AdminRage] Permission system not enabled. UNRESTRICTED USE!
    2011-04-30 11:56:15 [INFO] CommandBook 1.4.2 enabled.
    2011-04-30 11:56:15 [INFO] CommandBook: 0 banned name(s) loaded.
    2011-04-30 11:56:15 [INFO] CommandBook: 1 kit(s) loaded.
    2011-04-30 11:56:15 [INFO] CommandBook: No known permissions plugin detected. Using configuration file for permissions.
    2011-04-30 11:56:15 [INFO] [HeroChat] HeroChat version 4.10.3 enabled.
    2011-04-30 11:56:15 [INFO] WorldEdit 4.4 enabled.
    2011-04-30 11:56:15 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-04-30 11:56:15 [INFO] Done (0.109s)! For help, type "help" or "?"

    I just figured out what I did with pastorpaco, I didn't put the : after his name XD foolishness on my part. However, there is still a problem with cuboid.

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

    Mrchef

    Do you have your Permissions Jar file in your plugins? It's telling you right there in the log that it can't find the jar file maybe you put it in your permissions folder on accident which is in your plugins folder. Only your .yml should be in the permissions folder.
     
  12. Offline

    Aerunaur

    I put everything in my plugins folder (all the plugins anyway)
     
  13. Offline

    Tuna

    Hm yeah TPack isn't even showing up as loading in your logs. My guess is something is interfering. Try using just TPack + Bukkit on a test server. Even if TPack was crashing/breaking it would dump output to the terminal, so Bukkit isn't seeing TPack at all.

    Haha glad you got it working :D Hm I don't know what could be causing your issue. Try just TPack/Bukkit and see if something is interfering. Also verify everything is up to date (Bukkit and Java!) And try again.
     
  14. Hey, when I click on "Download" part it goes to the bukkit website with an error... Please help?
     
  15. Offline

    Tuna

    Yeah for some reason the bukkit link is broken. You can use the rapidshare link under downloads
     
  16. Offline

    VeXeD

    Thank you very much, it works now :)
     
  17. Offline

    DylanP

    For some reason, when I put Tpack.jar in the plugins folder, /reload in game, and do /cuboid on I get this spammed in my console:
    Code:
    2011-04-28 21:56:48 [SEVERE] Could not pass event BLOCK_DAMAGE to TPack
    java.lang.NullPointerException
    	at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    	at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:358)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    	at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(CraftEventFactory.java:180)
    	at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:87)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:431)
    	at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    	at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    Any idea why?
     
  18. Offline

    Tuna

    Yeah, currently TPack does not support the reload feature. Currently how TPack is it creates special objects for every player when they login. When you reload it clears that list but since the players don't re-login after a reload (they're already there!) it throws NullPointerExceptions because it's trying to use something that isn't there anymore. I am working on adding support for reloading in the next update. (It's an easy fix! just takes time :D )
     
  19. Offline

    Terutso

    When I load it it says its fine but when I try to give my self an item or change the time it gives me this error and I cant do anything. Nor does the shovel or anything work. I have time and give settings off as well as protection. Please help D:


    15:51:02 [SEVERE] Could not pass event BLOCK_DAMAGE to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    ava:358)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(C
    raftEventFactory.java:180)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:8
    7)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    15:52:19 [SEVERE] Could not pass event BLOCK_DAMAGE to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    ava:358)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(C
    raftEventFactory.java:180)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:8
    7)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    15:52:22 [SEVERE] Could not pass event BLOCK_DAMAGE to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    ava:358)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(C
    raftEventFactory.java:180)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:8
    7)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    15:52:24 [SEVERE] Could not pass event BLOCK_DAMAGE to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    ava:358)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(C
    raftEventFactory.java:180)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:8
    7)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    15:52:27 [SEVERE] Could not pass event BLOCK_DAMAGE to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    ava:358)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(C
    raftEventFactory.java:180)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:8
    7)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    15:52:29 [SEVERE] Could not pass event BLOCK_DAMAGE to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    ava:358)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(C
    raftEventFactory.java:180)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:8
    7)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    15:52:29 [SEVERE] Could not pass event BLOCK_DAMAGE to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    ava:358)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(C
    raftEventFactory.java:180)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:8
    7)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    15:52:32 [SEVERE] Could not pass event BLOCK_DAMAGE to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    ava:358)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(C
    raftEventFactory.java:180)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:8
    7)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    15:52:34 [SEVERE] Could not pass event BLOCK_DAMAGE to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    ava:358)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(C
    raftEventFactory.java:180)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:8
    7)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    Yeah I got it to work but with items and time at 0 I still cant use em.

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

    DylanP

    So if I add a new .jar, and /reload the server, TPack will get f*cked up? :( I REALLY want to use this plugin for the cuboid like protection from hMod. PLEASE make it /reload compatible asap, and reply to me!

    Thank you!
     
  21. Offline

    TruffleDucks

    It works for me now. I just had to add 'tpack.*'
    :D
     
  22. Offline

    Tuna

    Yeah I'll let you know when /reload is working. For now simply stop/start the server
    Glad you got it working!

    OK so what commands are you trying? Please give me the exact command that is throwing the error otherwise there is nothing I can do. If time give and protection are all set to 0 then they will be disabled, so you wiill not be able to use those features.

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

    travman11

    Does this work on craftbukkit build 740. I thought maybe u havent updated the title lately and thats why its still a 714
     
  24. Offline

    Jiggster

    Have 2 Problems:
    Is this normal, that i can't get infinite items with -1 as quantity anymore?
    And is it possible to ad a group from the Permissions plugin to the allowed list of a cuboid?

    Hope you'll answer :)
     
  25. Offline

    Tuna

    Hm well I never designed TPack to give infinite items if you specify -1 as a quantity. Did it do this before? I never thought of testing it with negative numbers lol.

    And unfortunately no, you cannot import groups from permissions to the allowed lists. I'll look into this and if it seems possible/reasonable I'll try to implement it (It's an awesome idea!)
     
  26. Offline

    GruntGuy

    Hey Tuna,
    First of all, thanks for the awesome pack. I have a question though...
    Is there any way to restrict what materials users can fill or replace with? For example... I don't want anyone to be able to be able to create huge areas of obsidian, bedrock, TNT, or other potentially dangerous blocks. Can this be done just by removing the above items from settings.txt?
    Thanks in advance. Great work, keep it up!
     
  27. Offline

    Jiggster

    Thx for your reply ^^
    Well. Before Minecraft 1.5 it worked with negative numbers... But i really don't know if it was your plugin. Could also be the Essentials-Plugin. I just asked if there are any informations about it here :)
    Maybe i have to ask in the Essentials-Thread.

    And thx for trying to implement a way to add groups to the allowed list of cuboids :)
    Lookin forward to it.

    So long...
    Jiggster
     
  28. Offline

    Tuna

    Exactly! If you remove the item entry from settings.txt TPack will no longer know that item exists! So if you remove TNT, bedrock, obsidian, etc.. it will effectively disable them in your TPack commands
     
  29. Offline

    Conmiro

    A nice feature would be a /cconvert [item1] [item2]

    for the cuboid. So you select two positions, then type the above filling in the first item with the one you want to change to the second item. Example /cconvert stone wood

    That could allow for quick redesigning :D
     
  30. Offline

    haloaholes

    i Downloaded all the permissions and everything but when i type /cuboid it says i need the permissions, please help!
     
  31. Offline

    Mason

    What i dont see here that i would like to is special options for cuboids. Like a cuboid area where mobs cannot spawn, Or a cuboid area where you can set it to be a heal zone. These were in the original cuboid and it would be awesome if ou could add them. Also something that Hey0 (I think he developed cuboid) Never got to work was the area specific inventories. So that when you go into a cuboid area it gives you a new inventory, And when you leave it saves that inventory and puts your old one back (For creative building areas on a role play server). Thanks, Mason.
     

Share This Page