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

    Tuna

    So You want a way to "regenerate" chunks in the world? Like you select a cuboid and have it re-randomly generate the selected area?

    A NumberFormatException is being thrown because TPack is expecting a number and you are giving it "set" please give more information so I can help. What is the exact command you are issuing when this error occurs? Do you have any other mods that modify chat? Please be descriptive.
     
  3. Offline

    liquidfired

    Something is wrong. Sometimes Cuboid is glitched and when I try to break blocks, they regenerate. Please help
    [MERGETIME="1299841629"][/MERGETIME]
    19:02:16 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to TPack
    java.lang.NumberFormatException: For input string: "day"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:449)
    at java.lang.Integer.parseInt(Integer.java:499)
    at com.thelair.tuna.tpack.TpListener.onPlayerCommandPreprocess(TpListener.java:501)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:150)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:641)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:612)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:606)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    19:02:16 [INFO] ?9[PLAYER_COMMAND] liquidfired: /time day
    19:02:48 [INFO] ?9[PLAYER_COMMAND] liquidfired: /spawnmob creeper
    >
     
  4. Offline

    uncovery

    Yes. The same what happens when you delete a chunk file manually.
     
  5. Offline

    Tuna

    Hm it appears that the time command may be interfering with another time mod you are running. Try disabling the other mod for now. I will change the /time command in the next update. As for the block issue, I've had this happen on several of my CraftBukkit servers (Even ones not running TPack!) and a server reboot always fixed it for me.
     
  6. Offline

    Shinobi

    I broke it again...
    2011-03-11 23:06:34 [SEVERE] Could not load plugins\Tpack.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:85)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:195)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:189)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:173)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:362)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:347)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.thelair.tuna.tpack.TPack
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:72)
     
  7. Offline

    MationMac

    Very similar to WorldEdit. :/
     
  8. Offline

    liquidfired

    Tuna, I had to keep reloading my old maps because onces I use Cuboid to build a structure, after sometime, all the blocks, signs, and fences, in that radius with some dirt blocks just keep regenerating. No matter what. I delete Tpack and try and it doesn't work. Can you please tell me whats wrong?
     
  9. Offline

    Tuna

    That happens sometimes too on my normal servers with no mods. A server restart usually fixes it. I don't know what causes it but it happens to me with or without TPack

    Hm what version is your java/craft bukkit server/permissions?

    Then use WorldEdit, this point has been mentioned before.
     
  10. Offline

    MationMac

    @Tuna
    Sorry for sounding mean there.

    I just wonder what this does that world edit does not, as this might have something i could really use. What special dies this have?
     
  11. Offline

    Tuna

  12. Offline

    shadowprimus

    Hi Tuna,

    is there a possibility to include the different types of wool in the items.txt?
    I had no succes so far to write them in there (tried it with with a colon, with a circumflex and with real exponents)
    e.g.: black:35:15; black:35^15...

    shadowprimus
     
  13. Offline

    Tuna

    Hey there! Unfortunately this hasn't been implemented yet. Minecraft treats all wool blocks the same, as in each wool block has the same item id. Their colors are changed by changing a specific value in the wool, so there is no ItemID for colored wool. Working on this for the next update! Also finals are over in 4 days so I can get to work then :D
     
  14. Offline

    loasdfkgk

    im confused plz help
    12:00:36 [INFO] Starting minecraft server version Beta 1.3
    12:00:36 [INFO] Loading properties
    12:00:36 [INFO] Starting Minecraft server on *:25565
    12:00:36 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-539-
    ge42c8f6-b550jnks (MC: 1.3)
    12:00:36 [INFO] Preparing level "world"
    12:00:36 [INFO] Preparing start region
    12:00:37 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:109)
    ... 8 more
    Caused by: java.lang.NullPointerException
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    77)
    ... 13 more
    12:00:37 [INFO] [BlastPick] Permissions not enabled.
    12:00:37 [INFO] [BlastPick] BlastPick 1.0.0 enabled successfully.
    12:00:37 [INFO] Done (0.084s)! For help, type "help" or "?"
    12:01:52 [INFO] 143 recipes
    12:01:52 [INFO] Obsidian123 [/127.0.0.1:49672] logged in with entity id 63
    12:02:24 [INFO] CraftPlayer: Giving Obsidian123 some 269
    12:02:38 [INFO] Obsidian123 issued server command: cuboid
     
  15. Offline

    Tuna

    Well if you read your error you can see this is caused by an issue with your Permissions plugin, not TPack. Verify you have the latest version of permissions, java, and craftbukkit as well as your permissions config file setup correctly and in the proper location.
     
  16. Offline

    loasdfkgk

    Ok so i got it to work but now it is having issues again

    13:44:29 [INFO] Starting minecraft server version Beta 1.3
    13:44:29 [INFO] Loading properties
    13:44:29 [INFO] Starting Minecraft server on *:25565
    13:44:29 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-539-
    ge42c8f6-b550jnks (MC: 1.3)
    13:44:29 [INFO] Preparing level "world"
    13:44:29 [INFO] Preparing start region
    13:44:30 [INFO] [Permissions] version [2.5.3] (Phoenix) was Initialized.
    13:44:30 [INFO] items.txt not found! Verify it is in the root folder
    13:44:30 [INFO] [BlastPick] BlastPick 1.0.0 enabled successfully.
    13:44:30 [INFO] Take yourself wonder by wonder, using /magiccarpet or /mc. Magic
    Carpet version 1.3.4 is enabled!
    13:44:30 [INFO] [OddGive] 0.5.2 enabled
    13:44:30 [INFO] [Permissions] version [2.5.3] (Phoenix) loaded
    13:44:30 [INFO] [OddItem] 0.4.2 enabled
    13:44:30 [INFO] [OddItem] Parsed 0 entries.
    13:44:30 [INFO] PlgEssentials version 4.1 is enabled!
    13:44:30 [INFO] PlgSetspawn version 4.0 is enabled!
    13:44:30 [INFO] PlgWarp version 2.0 is enabled!
    13:44:30 [INFO] SimpleGod version 1.3 is enabled!
    13:44:30 [INFO] TPack version 1.4 is enabled!
    13:44:30 [INFO] Done (0.089s)! For help, type "help" or "?"
    13:44:39 [INFO] 143 recipes
    13:44:39 [INFO] Obsidian123 [/192.168.1.107:49993] logged in with entity id 9
    13:45:34 [INFO] Loaded world: world
    13:45:34 [INFO] Obsidian123 issued server command: cuboid
    >
     
  17. Offline

    Tuna

    Again, please post more information or I will not attempt to help. "items.txt not found! Verify it is in the root folder" so try that. Also I see you are issuing the cuboid command. Please tell me what actually happens. What happens in game when you issue the command? What is the exact commad that is causing the problem? Do other commands work? It is hard to tell what's going wrong if all you do is say "it's having issues"
     
  18. Offline

    loasdfkgk

    ok well i think i got it right but typing my name in op still isnt working after i save it says you do not have permission for this command but then it says type help twice i put items in my server folder and tpack in my plugins with zip added 20:46:47 [INFO] Starting minecraft server version Beta 1.3
    20:46:47 [INFO] Loading properties
    20:46:47 [INFO] Starting Minecraft server on *:25565
    20:46:47 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-539-
    ge42c8f6-b550jnks (MC: 1.3)
    20:46:47 [INFO] Preparing level "world"
    20:46:47 [INFO] Preparing start region
    20:46:48 [INFO] [Permissions] version [2.5.3] (Phoenix) was Initialized.
    20:46:48 [INFO] [BlastPick] BlastPick 1.0.0 enabled successfully.
    20:46:48 [INFO] Take yourself wonder by wonder, using /magiccarpet or /mc. Magic
    Carpet version 1.3.4 is enabled!
    20:46:48 [INFO] [OddGive] 0.5.2 enabled
    20:46:48 [INFO] [Permissions] version [2.5.3] (Phoenix) loaded
    20:46:48 [INFO] [OddItem] 0.4.2 enabled
    20:46:48 [INFO] [OddItem] Parsed 0 entries.
    20:46:48 [INFO] PlgEssentials version 4.1 is enabled!
    20:46:48 [INFO] PlgSetspawn version 4.0 is enabled!
    20:46:48 [INFO] PlgWarp version 2.0 is enabled!
    20:46:48 [INFO] SimpleGod version 1.3 is enabled!
    20:46:48 [INFO] TPack version 1.4 is enabled!
    20:46:48 [INFO] Done (0.106s)! For help, type "help" or "?"
    20:46:50 [INFO] 143 recipes
    20:46:50 [INFO] Obsidian123 [/192.168.1.107:49218] logged in with entity id 12
    20:46:54 [INFO] Loaded world: world
    20:46:54 [INFO] Obsidian123 issued server command: cuboid
    20:46:58 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:656)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:
    64)
    at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.j
    ava:309)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
    at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112
    )
    at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:77)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:370)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    20:47:01 [SEVERE] Could not pass event BLOCK_PLACED to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:656)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:
    43)
    at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.j
    ava:264)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
    at net.minecraft.server.ItemBlock.a(ItemBlock.java:107)
    at net.minecraft.server.ItemStack.a(ItemStack.java:56)
    at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:160
    )
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:495)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    >

    thank you for beaing patient with me im new to server running and i have heard many good things about cuboid :)
     
  19. Offline

    Tuna

    Ok well all of the errors you have posted are being caused by your Permissions plugin:
    "20:47:01 [SEVERE] Could not pass event BLOCK_PLACED to Permissions
    java.lang.NullPointerException"
    So TPack isn't causing any of your problems. All I can suggest is verify you have installed the latest version of Java and have the latest craftbukkit server as well as the latest permissions. Try posting this in the forum for permissions as they can help you more than I can.
     
  20. Offline

    camo0067

    I had this same problem.
    Go into your permissions.yml file and make sure you don't have any "tabs" everything has to be spaced.
    "tabs" are very easy to find with notepad ++ which you can find here
    http://download.cnet.com/Notepad/3000-2352_4-10327521.html
    or
    http://notepad-plus-plus.org/download
    Just make sure there are no tabs anywhere in that file. This should solve all your problems. It did mine.
     
  21. Offline

    Mrchef

    Code:
    17:10:38 [INFO] Starting minecraft server version Beta 1.3
    17:10:38 [INFO] Loading properties
    17:10:38 [INFO] Starting Minecraft server on *:25565
    17:10:38 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-543-
    g06a64ab-b554jnks (MC: 1.3)
    17:10:38 [INFO] Preparing level "world"
    17:10:38 [INFO] Preparing start region
    17:10:39 [INFO] Preparing spawn area: 61%
    17:10:40 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:109)
            ... 8 more
    Caused by: java.lang.NullPointerException
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    77)
            ... 13 more
    17:10:40 [WARNING] Plugin: TPack does not support the onLoad() method
    17:10:40 [INFO] TPack version 1.4not enabled. Permissions not detected
    17:10:40 [INFO] TPack Disabled
    17:10:40 [SEVERE] Plugin attempted to register PLAYER_COMMAND_PREPROCESS while n
    ot enabled loading TPack v1.4 (Is it up to date?)
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register PLA
    YER_COMMAND_PREPROCESS while not enabled
            at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:273)
            at com.thelair.tuna.tpack.TPack.onEnable(TPack.java:103)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    17:10:40 [INFO] Done (0.178s)! For help, type "help" or "?"
    >
    Sadface
    >
     
  22. Offline

    KrazyK9

    it probably has a problem with 44 cuz i think its half steps

    this doesn't work for me :(
    it says "An internal error occured while attempting to perform this command."

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

    Tuna

    Hey Krazy,
    Please give me more information. What command were you issuing? What is the terminal output from the time of the error. Do you have latest CraftBukkit/Java? Verify you have settings.txt in the TPack directory under plugins as well
     
  24. Offline

    KrazyK9

    when i use the /cuboid command it says "An error occured while attempting to perform this command."
    and i think it might have the same prob with other commands with the cuboid but some of the other commands worked.
     
  25. Offline

    Tuna

    Please read the instructions on posting errors

    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.
     
  26. Offline

    SeanMalloy

    I have tried /cuboid on and in terminal i have recieved:

    21:28:21 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cuboid' in plugin TPack v2.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    at com.thelair.tuna.tpack.TPack.onCommand(TPack.java:304)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    >

    sorry, dont know how to put it in the special blue box. Yes i have installed correctly, have the latest bukkit, and the latest java. worked for me for a second before hand then it just died on me. P.S. /cprotect <name> was not working before the error occurred.

    Edit (2 minutes later)
    Recieved this in terminal as i hit a block with my shovel:

    21:32:30 [SEVERE] Could not pass event BLOCK_DAMAGED to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TbListener.onBlockDamage(TbListener.java:113)
    at org.bukkit.plugin.java.JavaPluginLoader$22.execute(JavaPluginLoader.java:269)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:358)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    >
     
  27. Offline

    Tuna

    Hm strange... What OS are you running the server on? Also do you have permissions setup properly? When you first start the server TPack should print out a few status messages. Can you send those as well?
     
  28. Offline

    eRko16

  29. Offline

    Tuna

    Hello,

    This is not a bug, please read the instructions on how to setup TPack. The items.txt file is no longer used. TPack now uses a settings.txt file which goes into the folder labeled TPack under your plugins directory
     
  30. Offline

    eRko16

    ok, thank you and sorry for wasting your time :)
     
  31. Offline

    Ghosly

    Have an issue also...

    Code:
    16:18:43 [INFO] Starting minecraft server version Beta 1.3
    16:18:43 [INFO] Loading properties
    16:18:43 [INFO] Starting Minecraft server on *:25555
    16:18:43 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    16:18:43 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    16:18:43 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    16:18:43 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    16:18:43 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-605-
    g376d7e8-b602jnks (MC: 1.3)
    16:18:43 [INFO] Preparing level "world"
    16:18:43 [INFO] Preparing start region
    16:18:44 [INFO] Invalid config file found and converted to proper name/format.
    16:18:44 [INFO] [Permissions] (Phoenix) was Initialized.
    16:18:44 [SEVERE] Could not load plugins\Tpack.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:102)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:62)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:98)
            ... 8 more
    Caused by: java.lang.VerifyError: class com.thelair.tuna.tpack.TPUser overrides
    final method onPlayerJoin.(Lorg/bukkit/event/player/PlayerEvent;)V
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            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)
            at com.thelair.tuna.tpack.TPack.<init>(TPack.java:53)
            ... 13 more
    16:18:44 [INFO] [Permissions] version [2.5.5] (Phoenix)  loaded
    16:18:44 [INFO] Done (0.093s)! For help, type "help" or "?"
    >
     

Share This Page