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

    MutativeLlama, please do more than say it isn't working. What happens when you type /cuboid? Post terminal output during the time of the error. Give as much detail as possible or I won't attempt to help.
    --- merged: Feb 28, 2011 2:21 AM ---
    Hm that sounds like a problem with permissions. Verify you have it setup correctly and your user has access to 'tpack.cuboid' or 'tpack.*'
     
  3. Offline

    maxyboy

    permission has stopt so does it need it or not
    --- merged: Feb 28, 2011 6:27 PM ---
    make it that id you dont have permision only op can use it
     
  4. Offline

    Tuna

    Please read before posting:
    "
    All TPack commands require permissions 2.4 to be installed and setup properly! Download Permissions here: http://forums.bukkit.org/threads/admn-dev-permissions-v2-4-phoenix-rebirth-of-the-original-440.5974/
    "


    Permissions is not stopped. It has been continued (graciously) by TheYeti and is currently in v2.4 and you can download it here:
    http://forums.bukkit.org/threads/admn-dev-permissions-v2-4-phoenix-rebirth-of-the-original-440.5974/

    Permissions is fairly simple to setup and is incredibly powerful so I have it required at the moment. I will add the the functionality so you can use TPack without permissions (if you're an OP) in a later update.
     
  5. Offline

    undefinedarray

    ok, i have made my permissions to 2.4, but i see that i am missing item.txt from my server directory, any idea on how i could get that?
     
  6. Offline

    Tuna

    It's included in the zip file with TPack.jar
     
  7. Offline

    Johannes

    I use command helper and it uses '/.' as the 'use last command' command, and so of-course every time I use it I spawn your 'oh snap' shelter. Is there a way that I can disable which plugin maps to which command? I've tried removing the permission with '-tpack.snap' which works, but then it spams 'you don't have permission to use that command' at me every time I try using it.


    --- merged: Mar 1, 2011 6:21 AM ---
    I'm also using unkowncommand, which just spits out a message whenever a user attempts to use a command that doesn't exist. however your tpack commands like /cuboid and /cfill trigger it, while none of the commands from any of my other plugins do, eventhough the tPack commands are working properly. are you somehow not registering them correctly for the unknowncommand plugin to see them?
     
  8. Offline

    Minamus

    ok i know this has been a problem alot on here and i even posted the yml file contents you posted here in mine and it still comes up with....you do not have permission to use that command...here is the file contents


    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'tpack.cuboid'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'tpack.*'
    
    users:
        Minamus:
            group: Admins
            permissions:
        PlayerName:
            group: Default
            permissions:
        TestUser:
            group: Default
            permissions:
    --- merged: Mar 1, 2011 6:42 AM ---
    nevermind...i did get it to work...found out that my mine_craft name jar file wasnt actually changing the name to what i wanted...if you know a fix for that please post a reply. and that goes to anyone. plugin does work perfect so thankyou
     
  9. Offline

    Tuna

    Tpack is not integrated with UnknownCommand so it will not do what you are asking. As for your issue with CommandHelper, it is unfortunate that they are conflicting, however I will most likely not worry about changing commands until a later update. I'm glad everything is working for you though.

    I'm glad you got it working Minamus! :D
     
  10. Offline

    sal campisano

    Hey Tuna,

    Sorry be posting again but I think I got a little further with my problem of none of the commands working. When I type in a command such as /boomstick or /clearinv it no longer does nothing in the command console but now it's giving me an error.

    Here's the code starting from server startup, to me doing /boomstick then /clearinv.

    Code:
    2011-03-01 17:25:07 [INFO] Starting minecraft server version Beta 1.3
    2011-03-01 17:25:07 [INFO] Loading properties
    2011-03-01 17:25:07 [INFO] Starting Minecraft server on 5.170.227.27:25565
    2011-03-01 17:25:07 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-03-01 17:25:07 [WARNING] The server will make no attempt to authenticate us
    ernames. Beware.
    2011-03-01 17:25:07 [WARNING] While this makes the game possible to play without
     internet access, it also opens up the ability for hackers to connect with any u
    sername they choose.
    2011-03-01 17:25:07 [WARNING] To change this, set "online-mode" to "true" in the
     server.settings file.
    2011-03-01 17:25:07 [INFO] This server is running Craftbukkit version git-Bukkit
    -0.0.0-458-g557f3d2-b440jnks (MC: 1.3)
    2011-03-01 17:25:07 [INFO] Preparing level "world"
    2011-03-01 17:25:07 [INFO] Preparing start region
    2011-03-01 17:25:08 [WARNING] Using the stupidly long constructor de.NTcomputer.
    Elevators.Elevators(PluginLoader, Server, PluginDescriptionFile, File, File, Cla
    ssLoader) is no longer recommended. Go nag the plugin author of Elevators to rem
    ove it! (Nothing is broken, we just like to keep code clean.)
    2011-03-01 17:25:08 [INFO] Hint! It's probably someone called 'Cybran (NTcompute
    r)'
    2011-03-01 17:25:08 [INFO] [Permissions] version [2.4] (Phoenix) was Initialized
    .
    2011-03-01 17:25:08 [INFO] Elevators version 1.3 is enabled!
    2011-03-01 17:25:08 [INFO] [Permissions] version [2.4] (Phoenix)  loaded
    2011-03-01 17:25:08 [INFO] TPack version 1.4 is enabled!
    2011-03-01 17:25:08 [INFO] Done (639760382ns)! For help, type "help" or "?"
    2011-03-01 17:25:32 [INFO] 143 recipes
    2011-03-01 17:25:32 [INFO] snagglefox [/5.170.227.27:59405] logged in with entit
    y id 42
    2011-03-01 17:25:40 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to T
    Pack
    while parsing a block mapping
     in "<reader>", line 83, column 5:
            snagglefox:
            ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 97, column 6:
             Derpina:
             ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
            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.composeMappingNode(Composer.java
    :228)
            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:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijiko.permissions.Control.load(Control.java:144)
            at com.nijiko.permissions.Control.loadWorld(Control.java:108)
            at com.nijiko.permissions.Control.permission(Control.java:292)
            at com.nijiko.permissions.Control.has(Control.java:261)
            at com.thelair.tuna.tpack.TpListener.onPlayerCommandPreprocess(TpListene
    r.java:143)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:155)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:630)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:601)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-01 17:25:40 [INFO] snagglefox issued server command: boomstick
    2011-03-01 17:25:40 [INFO] Unknown console command. Type "help" for help.
    2011-03-01 17:26:20 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to T
    Pack
    while parsing a block mapping
     in "<reader>", line 83, column 5:
            snagglefox:
            ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 97, column 6:
             Derpina:
             ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
            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.composeMappingNode(Composer.java
    :228)
            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:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijiko.permissions.Control.load(Control.java:144)
            at com.nijiko.permissions.Control.loadWorld(Control.java:108)
            at com.nijiko.permissions.Control.permission(Control.java:292)
            at com.nijiko.permissions.Control.has(Control.java:261)
            at com.thelair.tuna.tpack.TpListener.onPlayerCommandPreprocess(TpListene
    r.java:496)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:155)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:630)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:601)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-01 17:26:20 [INFO] snagglefox issued server command: time set 8
    2011-03-01 17:26:20 [INFO] snagglefox: Set time to 8
    2011-03-01 17:26:56 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to T
    Pack
    while parsing a block mapping
     in "<reader>", line 83, column 5:
            snagglefox:
            ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 97, column 6:
             Derpina:
             ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
            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.composeMappingNode(Composer.java
    :228)
            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:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijiko.permissions.Control.load(Control.java:144)
            at com.nijiko.permissions.Control.loadWorld(Control.java:108)
            at com.nijiko.permissions.Control.permission(Control.java:292)
            at com.nijiko.permissions.Control.has(Control.java:261)
            at com.thelair.tuna.tpack.TpListener.onPlayerCommandPreprocess(TpListene
    r.java:693)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:155)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:630)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:601)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-01 17:26:56 [INFO] snagglefox issued server command: clearinv
    2011-03-01 17:26:56 [INFO] Unknown console command. Type "help" for help.
    
    Do you see anything that might be wrong this time? I've been trying to get this working for days now and still can't figure it out.

    Edit: Sorry again. I fixed it. It was a problem with my permissions :)
     
  11. Offline

    Tuna

    Hm I can't really see what's going on here from your output. The error is starting here with
    Code:
    2011-03-01 17:26:56 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to T
    Pack
    while parsing a block mapping
     in "<reader>", line 83, column 5:
            snagglefox:
            ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 97, column 6:
             Derpina:
             ^
    
    
    By calling the command_preprocess event (called every time you issue a "/" command) it is for some reason breaking when parsing a "block mapping" which I have no idea what that is referring to unfortunately. I would suggest setting up a fresh craft bukkit server and only install permissions and TPack and see if that works. Then start adding your mods one at a time until we can see what's breaking it. Let me know how it goes with just TPack and Permissions 2.4, I'm very curious lol
     
  12. Offline

    Thanks4trying

    hey can you make it so that clearinventory and give are different permissions
     
  13. Offline

    Tuna

    On the list for the next update! Thanks for your input
     
  14. Offline

    Jackson413

    pardon me for saying this, but don't you think worldedit has cuboid pretty much tied up to the point of surpassing this plugin?
     
  15. Offline

    Tuna


    While WorldEdit does have a lot of features, I'm not making this to "be the best" haha. This is simply a side project I've been working on and have put a good bit of time into. I am planning on adding more features in the future as well, and I wanted to share it with everyone because while it's cuboid functionality might not be up to par with WorldEdit, it is still very powerful. Plus the other mods in TPack (like Boomstick) work wonderfully along side Cuboid
     
  16. Offline

    vari0us

    Hello and thank you for this great plugin!

    I wounder, is there any way to skip writing /cuboid and /boomstick

    I mean to have theese two ON in default mode ?
    :D
    --- merged: Mar 2, 2011 5:14 PM ---
    btw a minor "bug" when you write /boomstick

    The server replies: "Bookstick: ON"
     
  17. Offline

    Tuna

    Hi Various! Glad you like the plugin :D Since Boomstick and Cuboid are very powerful I chose to leave them off by default, and only users with permission can turn them on. Also since they kind of "take over" the stick and wood shovel it would be annoying if they were on at first. If there's enough public outcry then I may change that in the next update.

    As for the bug, does it say "Boomstick: ON" even when you're turning it off? I tested it on my machine after you posted this and it correctly tells me when boom stick is on/off so perhaps it could be another mod interfering? Please post some more info :)

    Thanks for your input :D
     
  18. Offline

    vari0us


    Ok. Well I guess I have to live with that ;)

    I think you misunderstood me the toggle is working but it says "Bookstick and not Boomstick" ;)
     
  19. Offline

    Tuna

    Oh i see :p I have a tendency to miss things like that haha. That's on the list for the next update :D Thanks!
     
  20. Offline

    vari0us

    really minor! ;)
     
  21. Offline

    An3vilChipmunk

    I'm having a problem. Could you look this over and tell me what it is? It's straight from Terminal and it doesn't affect anything but I still want to know what it is. Thanks

    16:30:54 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to TPack
    java.lang.NullPointerException
    at com.thelair.tuna.tpack.TpListener.onPlayerCommandPreprocess(TpListener.java:301)
    at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:145)
    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:611)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:582)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:576)
    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)
     
  22. Offline

    sal campisano

    I got a suggestion for something to add to the plugin :)

    Right now the command to spawn items for yourself in /give name # #. Which is basically the default give command in the server anyway. I suggest something like craftessence has. Where the command is /item (item ID). The command will by default give you a stack of 64 of the item you want. On top of that, instead of throwing the item on the ground in front of you. /Item spawns it directly into your inventory.

    That's it. ^_^
     
  23. Offline

    undefinedarray

    hey tuna, my problem still exists

    craftbukkit version: 458
    java version: 1.6

    i have put the text.txt in the same folder as the craftbukkit.jar

    (problem: whenever i type /cuboid or /cfill grass, it doesnt do it, no messages pops up)
     
  24. Offline

    Tuna

    Hm it's hard to tell what's happening from what you provided. When is this error occuring? What command are you trying when it happens? What happens in-game when this error occurs? (Is anything being displayed on the screen?)


    Hm I honestly have no idea what could be causing your issue. Create a new Bukkit server in its own directory and ONLY add TPack. Test it and let me know what happens, I think maybe another mod may be screwing with something. Also In the next version of TPack I will change from the current Player_PreProcess to the correct (and better!) onCommand function, which may resolve the problem you and An3vil are having.
     
  25. Offline

    undefinedarray

    hey tuna, it worked without the plugins, only plugins i had was permissions and tpack,

    should i list my plugins so you can try and figure it out?
     
  26. Offline

    Tuna

    Please add the mods back one at a time and test running the server. Do this until you see which one is breaking, then we can move from there :D
     
  27. Offline

    undefinedarray

    so it appears that the plugin is, SimpleHome,
     
  28. Offline

    SalScardino

    I really like this, but I already have half of those commands. All I want is Cuboid, is there a way you can maybe send me a file of just cuboid from this package?

    Please respond via email as I don't often come on since I've been very limited on time. Thanks in advance.
    [email protected]
     
  29. Offline

    undefinedarray

    oh, and iConomy is also the problem :confused: im gonna need that plugin, if you want, i can keep two plugin folders, one that just has permissions and tpack, and ill put that somewhere, and use the one with all my plugins, if i need cuboid, ill use the tpack folder, for a minute, then switch the folders
     
  30. Offline

    luckyslayer92

    13:26:54 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-472-
    g53b258e-b456jnks (MC: 1.3)
    13:26:54 [INFO] Preparing level "world"
    13:26:54 [INFO] Preparing start region
    13:26:55 [INFO] [Permissions] version [2.5] (Phoenix) was Initialized.
    13:26:55 [INFO] WorldGuard loaded.
    13:26:55 [INFO] Minecart Mania Core version 1.01a is enabled!
    13:26:55 [INFO] MobRider enabled
    13:26:55 [INFO] MobRider - Permissions Plugin Detected
    13:26:55 [INFO] [Permissions] version [2.5] (Phoenix) loaded
    13:26:55 [INFO] [Prefixer] v1.4 has been enabled.
    13:26:55 [INFO] [SpawnMob] Permissions enabled.
    13:26:55 [INFO] [SpawnMob] Version 1.7 enabled.
    13:26:55 [INFO] TPack version 1.4 is enabled!
    13:26:55 [INFO] Warpz0r version 1.04 is enabled
    13:26:55 [INFO] WorldEdit 4.0-beta7 enabled.
    13:26:55 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
    for permissions.
    13:26:55 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    13:26:55 [INFO] WorldGuard: Single session is enforced.
    13:26:55 [INFO] WorldGuard: TNT ignition is blocked.
    13:26:55 [INFO] WorldGuard: Lighters are PERMITTED.
    13:26:55 [INFO] WorldGuard: Lava fire is blocked.
    13:26:55 [INFO] WorldGuard: All fire spread is disabled.
    13:26:55 [INFO] WorldGuard 4.0-alpha1 enabled.
    13:26:55 [INFO] Done (0.115s)! For help, type "help" or "?"
    13:26:56 [INFO] 143 recipes
    13:26:56 [INFO] luckyslayer92 [/192.168.1.16:51453] logged in with entity id 177

    13:26:56 [INFO] Loaded world: world
    13:27:02 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to TPack
    java.lang.NumberFormatException: For input string: "set"
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at com.thelair.tuna.tpack.TpListener.onPlayerCommandPreprocess(TpListene
    r.java:501)
    at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.ja
    va:145)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava: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)
    13:27:02 [INFO] luckyslayer92 issued server command: time set 10
    13:27:02 [INFO] luckyslayer92: Set time to 10
    >



    using /time set 10 to make it day causes this error and also kills all redstone on the server.
     
  31. Offline

    An3vilChipmunk

     

Share This Page