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

    lubo

    you should add creep protection too
     
  3. Offline

    Le_Muse

    I'm getting an error when I say a command.
    Command: /cprotect <cuboid name>
    Server Msg: 23:40:18 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cpro
    tect' in plugin TPack v2.3
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    55)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:677)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    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)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at com.thelair.tuna.tpack.TPack.onCommand(TPack.java:896)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    23:40:24 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cpro
    tect' in plugin TPack v2.3
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    55)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:677)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    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)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at com.thelair.tuna.tpack.TPack.onCommand(TPack.java:896)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    In-game effects: n/a
    In-game msg: An internal error occured while attempting to perform this command.
    Any help with this would be greatly appreciated. (and sorry for the badly copy/pasted server message)
     
  4. Offline

    d00ba

    This plugin looks great.Rapidshare not working properly though so I'm unable to download it.
    Is there an alternative link?

    Nevermind, its working now!

    Ok.. I have to say this plugin is really great. Extremely simple and very very useful. Thanks alot!

    Is this supposed to freeze the server and timeout all players for 40 minutes while it creates (ccreate) a fairly large cube?

    Anyway around this?

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

    Tuna

    This is simply caused because you are using the command incorrectly. The proper way is "/cprotect <cuboid name> <true | false>. This is documented in the instructions.

    If you are going to be doing massive cuboids then yes, there is a chance it will bring down the server if you run out of memory. If you set protection to 0 in your settings.txt (this will disable ALL protection features though) it will greatly improve the performance when building with cuboids. If you do not use the protection features then you should give this a try.

    H
    Glad you like it!! :D:D
     
  6. Offline

    Cheezburger55

    Hey man, how do I remove the give command from the entire mod?

    Because it's confilicting with the built in CraftBukkit give command and it's also upsetting my TooManyItems mod, which now generates the message "Syntax Error!" whenever I attempt to spawn a block with the mod.

    Would appreciate a speedy reply as my Private Creative server is crippled without the full functionality of the TooManyItems mod. :'(
     
  7. Offline

    Tuna

    Please read the section on setting up your settings.txt file.

    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:

    • 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
     
    Cheezburger55 likes this.
  8. Offline

    Cheezburger55

    Thanks for such a fast response :D

    However, now that I've set give to 0, when I attempt to spawn a block, within the mod or with / commands, I don't get any sort of system response, no Syntax Errors, nothing... :eek:
     
  9. Offline

    TheNin7a

    When i protect an area, people that are not on the allowed list can place blocks but cannot break them. help?!
     
  10. Offline

    Marcus101RR

    Should I be concerned about the Block Damage error?
     
  11. Offline

    Tuna

    Hm thats odd... can you post your settings.txt and the console output from when you start the server?

    Hm there should be no reason why this is happening. Are there any errors in the console when they place blocks? Verify it is protected with /isprotected <cuboid name> and also the allowed list is case sensitive, so verify they are on the list correctly.

    The only time I see this error is when people reload the server since TPack does not support the reload feature yet. Try restarting the server with the "stop" command and try it again. If it is still happening please post the entire console output from the start of the server to the time of the error :D
     
  12. Offline

    OrangeStapler

    Hey the download link doesnt seem to work for me :(
     
  13. Offline

    d00ba

    Hi there,

    Again, this plugin is great, thanks!

    The only issue I'm having with this, is that I'm unable to delete cuboids owned by others, even with full admin privillages.

    /cdelete all - I can delete all cuboids (works fine)
    /cdelete cuboidB - You need to be owner to do that

    So I'm able to delete all cuboids on the server, but not able to remove one specific cuboid that I do not own?

    Is there anyway around this?

    Regards,

    d00ba
     
  14. Offline

    Tuna

    Yeah this is currently normal. I have added the ability to delete any specific cuboid in my current test version. I am expecting to release this update later this week. Soon anybody with 'tpack.cuboid.deleteall' permission will be able to delete specific cuboids even if they arent the owner. This was simply an oversight on my part that it wasnt added initially.
     
  15. Offline

    Hacr

    Hey!

    I really love this plugin :)

    It had been nice if you could fix the /reload bug soon :D
     
  16. Offline

    Tuna

    Of course! I have a major physics midterm tonight but coding will resume after that.

    Requests for Update:
    Since I will begin updating regularly after tomorrow, I am taking any requests! If there is something you would rather work differently or something new you want implemented post it here if you want me to implement it in the next update!!
     
  17. Offline

    Evo10194

    Im getting a problem with the /clist function, i put in all the permissions in correctly and it still says i dont have permission, any advice?
     
  18. Offline

    Tuna

    Hm what is the exact command you are entering? And are there any errors in the terminal? Also just verify you have permission to:
    • 'tpack.cuboid.listall'
    • 'tpack.cuboid.listowned'
    And are all of the other permissions/commands working for you? If it is still not working then post your permissions yml file and i'll see if anything looks out of place.
     
  19. Offline

    Skaales

    Hey, Fantastic work!

    Love the plugin but would like to make a big suggestion and or request :/

    This plugin would be perfect and complete if it supported iConomy
    • Standard player can buy a protected zone if it has a sign saying "FOR SALE" and the price (inside the protected zone)
    • FOR SALE signs can be made only by the player with an admin permission or a player who owns the zone
    If you could do that i would be extremely greatful as im building a smp town with plots of land for players to build on. But i don't want people greifing other peoples houses.
     
  20. Offline

    Tuna

    OMG this is the coolest idea... I'll look into what this will take to implement. I will add this to the list! :D :D
     
  21. Offline

    d00ba

    @Tuna
    What about a command to disable monster spawns within specified region?

    Regards,
    d00ba
     
  22. Offline

    Skaales

    Great to see you liked my idea! :D

    i thought d00ba also had a great little idea to add aswell. Theres chickens in my houses :p

    Was thinking about my idea and i came up with a few little extra things you could add (when you have time of course :p)

    • For the sellable cuboids to work efficiently you would probably have to allow cuboids inside cuboids. I was playing around with the Tpack and i couldn't make a cuboid inside a cuboid (a lot inside a protected town).
    • The cuboids made inside bigger cuboids would need to cancel out the effects of the bigger cuboid they are inside. I see you already have some sort of code to detect if the cuboid you are trying to create is inside a bigger cuboid.
    • A setting to not allow PVP inside a specific cuboid(s) (making the town a safezone, encoraging people to buy lots inside the town rather than make a house just outside of town for free)
    • And for a real cherry-on-top-of-the-cake feature, LWC plugin support. When a zone is sold, any doors/chests/furnaces ect inside that lot are automatically made private to the person who bought the lot. (These features are the LWC plugin, all u would have to do is somehow link the zone ownership code to the LWC's chest/door/furnace protection code IE if door is in zone owned by 'ninjatuna' xD then LWC private protects that door for 'ninjatuna')

    I wish i knew how to Java script, i could help you out with the coding of it. I know your just human so please don't think i actually expect you to add all these features :p. I could help you out with the logical thinking of how these features would work if you would like me to. I don't know java as i said but im fully interested in it. Message me if u want to any more info on the ideas :D
     
  23. Offline

    Kevin Forte

    Hey man, I just wanted to let you know how much I love this plugin! Keep up the good work.
     
  24. Offline

    d00ba

    Is the cuboid feature supposed to freeze the server for an hour when using ccreate on an area approx 40x40x15 ?
     
  25. Offline

    Plague

    cb 714 - inactive
     
  26. Offline

    d00ba

    @Plague
    This works on cb803
     
  27. Offline

    Tuna

    Bah I forgot to update the number from 714 -> 803. I updated it and submitted the thread for review. It should be back on the main page soon.
     
  28. Offline

    Celeress

    ur saying to update to the latest version to TPack but how do i do that? is there a link to the newest version because the rapidshare download, i tried, abd when i start up my server it says that it needs to be updated. Can you maybe make a full video on how to download this and get it working plz?

    nevermind i fixed my problem on the video on how to install permissions, then i figured out how to get TPack in, really really simple.....
    but i do have a new problem, when i try to use the commands it says i dont have permission but its my server and i'm a op?

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

    Rufus

    Broken in 818, /cuboid on command doesn't work.
    Code:
    17:39:42 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cubo
    id' in plugin TPack v2.3
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    81)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:718)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at com.thelair.tuna.tpack.TPack.checkPermissions(TPack.java:1235)
            at com.thelair.tuna.tpack.TPack.onCommand(TPack.java:320)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
     
  30. Offline

    Skaales

    I was thinking about those ideas i gave you, they are probs quite hard. So maybe just a feature allowing cuboids inside cuboids that have there own settings. like the smaller cuboid inside the bigger cuboid (bigger cuboid has protection) can be set to have protection or not. :/ hard to describe... cause i reckon if u released the source code then some one would make a plugin for your plugin that does any diverted functions like buyable cuboids ect
     
  31. Offline

    Le_Muse

    So I've been getting another error quite often recently.
    --------------------------------------------------------------------------------------------------
    21:57:59 [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$27.execute(JavaPluginLoader.java:426)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    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:459)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    --------------------------------------------------------------------------------------------
    I get this error around 3 times every time someone interacts with a cuboid (which is what I think the situation is, it might be for some other reason). It gets pretty annoying when I'm looking at the console.
    Any help or fix would be greatly appreciated.
     

Share This Page