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

    RobZ_SD

    This error has probably been reported already but when I use the '/cprotect test'command after successfully creating a cuboid using '/ccreate test'. I can set the two points and do every other command but /cprotect, :(
    Code:
    [SEVERE] null
    
    org.bukkit.command.CommandException: Unhandled exception executing command 'cprotect' in plugin TPack v3.0
    
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    
    at com.thelair.tuna.tpack.TPack.onCommand(TPack.java:942)
    
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    
    ... 12 more
    
    Tuna, if could help I would be really grateful 'cos your plugin is so AWESOME!
    EDIT: Now when I type any cuboid related command it does the same error but replacing the command name with the one I type... had to uninstall :(
     
  3. Offline

    Tuna

    To all those having errors: I'm finishing updating TPack for 1060, once it is uploaded please update and see if the errors persist.
     
    Mrchef likes this.
  4. Offline

    Mrchef

    Awesome I love Tpack's protection options I can't find anything like it.
     
  5. Offline

    Tuna

    TPack v3.5 is Out!!
    Hey all, thanks for bearing with me and being patient while I took my sweet time updating this. There aren't any new features implemented yet, I was mainly concerned in getting this updated for the latest version of bukkit. This new version takes advantage of PermissionsBukkit for simplicity and features a completely re-written core. The server will no longer crash when doing cuboid operations on large zones. It will still crash if you do incredibly MASSIVE zones, but this is simply a limitation on Java's memory stack and there's not much I can do there. So the size of zones you can work on has been greatly increased.

    Thanks to Mrchef especially for helping me out while I was away! It's greatly appreciated. To everyone having errors please try the new version and post any errors you encounter according to the "posting about errors" section in the thread. If you notice any problems and have suggestions for how to improve or features to add let me know! I'll be programming most of today/tomorrow. Happy mining!
     
  6. Offline

    Mrchef

    Hey man just want to say thanks again for updating Tpack. I was wondering if Tpack is compatible with 1000 since it's the same version, it seems to be working fine except for the "You don't have permission to use this command" that seems to always get me. But I hope after understanding the new permissions I'll be able to use it freely again.
     
  7. Offline

    Tuna

    Yeah it should work fine with 1000. Are you using PermissionsBukkit? A helpful guide is available here:
    http://wiki.bukkit.org/Setting_Up_Bukkit_Permissions

    You need to modify the config.yml file under Plugins/PermissionsBukkit. The only difference is when you specify the actual permissions you need to give it a true/false value as well. So instead of "tpack.*" you have to give it "tpack.*: true"
     
  8. Offline

    Mrchef

    Thank you very much sir.

    Edit: Works perfectly I'll let you know if there's any problems.
     
  9. Offline

    XDeadKey

    Commands aren't recognized and I'm being spammed with
    Code:
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    21:11:41 [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$30.execute(JavaPluginLoader.java:448)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(CraftEventFactory.java:186)
            at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:90)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:478)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I'm almost positive my permissions are set up correctly, This is the only plugin that isn't working

    I fixed it actually, the server needs a hard restart. just using /reload doesn't work :p

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

    Tuna

    Please see the section on posting about errors. What commands aren't being recognized? What is showed on the screen when you use a command? Does that error occur every time you hit a block or only sometimes? What version of craftbukkit are you using, what version of java? Please include the terminal output from the start of the server as well.

    Ah yeah, I'm still working on the reload issue :p glad you got it working!

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

    Maniox

    Uhm, permissionsbukkit is 1000, and this is 1060 and it requires permissionsbukkit.

    Anyone got any problems with permissionsbukkit 1000 on a 1060 server?
     
  12. Offline

    Tuna

    1000 and 1060 are essentially the same. I have tested TPack with the latest and previous versions of PermissionsBukkit with no issue. I wouldn't say to use it if I wasn't certain it would work so don't worry :p
     
  13. Offline

    cvxx7q

    i would love to use this for the PROTECTED cuboids but i only use OPs and it says permissions :(

    if you consider OP then i would love to hear about it :D

    the reason i would want this is to protect certian areas,cuboids i can live with, but i wud rather set 4 points in a flat/2D manner and have all blocks above and below protected

    just like this [ http://forums.bukkit.org/threads/15464 ] except this works on chunk-per-chunk basis
     
  14. Offline

    Tuna

    Would you be interested if I put a setting in the settings.txt file, where you can specify if you want to use OP or permissions? The only problem with this is that you would be either able to delegate permissions, or give all permissions to people with OP. So if you decided to not use permissions, OPs would be able to use every command. If this is acceptable to most people I can work on adding this functionality tonight.
     
    cvxx7q likes this.
  15. Offline

    Maxster99

    Hai when i type /cuboid or /time day with the tpack installed it say internal error occurred plz help me :D
     
  16. Offline

    Tuna

    The proper use is '/cuboid <on|off>' typing /cuboid won't do anything. Please post the errors from the terminal so I can help you on this issue. Also which version of CraftBukkit are you running?
     
  17. Offline

    Maxster99

    uum im not sure what version and i tried /cuboid on and it still said An internal error occured when attempting to perform this command. this is the terminal thingy sorry of im not so good at this im kinda little :s
    null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cuboid' in plugin TPack v3.5
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.hasPermission(Ljava/lang/String;)Z
    at com.thelair.tuna.tpack.TPack.checkPermissions(TPack.java:1295)
    at com.thelair.tuna.tpack.TPack.onCommand(TPack.java:340)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  18. Offline

    Tuna

    The error is being thrown here:
    "Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.hasPermission(Ljava/lang/String;)Z"

    This means that TPack is trying to check if the player has permission to execute a command but there is no 'hasPermission' method. This means that you are runnint either an outdated version of CraftBukkit, or you are not using PermissionsBikkit.

    Download the latest version of CraftBukkit and PermissionsBukkit and install them, that should resolve your error.
     
  19. Offline

    Maxster99

    ooooh permissions bukkit i don't think i have that, i have just permissions...

    plz send me a link to permissions bukkit :D

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

    Tuna

    Either search the forum (The nifty search bar at top) Or actually read my thread :p There are 2 different sections where I state that PermissionsBukkit is required and a link is provided.
     
  21. Offline

    XDeadKey

    Another suggestion Tuna, would be making it so I can disable PvP in a certain cuboid. Also make it say you have left a PvP free zone and when you enter it say PvP is enabled. Just a suggestion :)
     
  22. Offline

    Tuna

    Great idea! I don't know how to disable/enable damage and stuff like that so if you know of any addons that have this functionality (turning on/off PVP) that i could check out for reference that'd be awesome. I'll look into it! I'm working on adding support for messages when you enter/leave a cuboid so that would be awesome!
     
  23. Offline

    cvxx7q

    Certainly, i have very few OP's and it works on a simple system if i can trust them with the same power as me or not

    as optionfor OP or PERM im sure no body would mind if it was something static then there wud be issue, but i support this anyone else? :D

    this WAY OFF the mark but uCreate has PVP block, or perhaps as a very ROUGH anti pvp is just make all players in cuboid god/invulnerable, this is bad if ppl want mobs to still be effective though

    anyways here is a few that feature PVP control 9In various ways)
    http://forums.bukkit.org/threads/26487
    http://forums.bukkit.org/threads/21703
    http://forums.bukkit.org/threads/19895
    these are all probably WAY OFF ur target but the principals are there :)

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

    Maniox

    Uhm, how can i make the /give commands work?

    Im just getting syntax errors and if i put give to 0 it doesnt work at all..

    Any help?
     
  25. Offline

    Tuna

    From the post (in setting up settings.txt explaination):
    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
    If you set it to 0 its diasbled so it wont work. Also the syntax for the command (also from the thread):
    '/give <item name | item ID> <quantity> <player>' If no player is specified it will default to yourself.

    Also if you are getting syntax errors what is the command you are using? What error is dumped in the terminal? It's hard to help you if all you say is its broken :p

    Thanks so much! I really appreciate you looking into this for me. I will look into these after work today and try to implement this. The OP feature will be really quick and easy to implement so I will make that a priority. Thanks!
     
    cvxx7q likes this.
  26. Offline

    Maniox

    Could you make your give command different from the default one?

    Toomanyitems wont work with this if its partly the same command, and its made to work on bukkit servers too..
    Cant you make it like /cgive 46 64 guy
    and let the old give command stay?

    Would make it alot easier for many of us :p
    Might want to include options to disable or enable both of them

    I've been using time to find a plugin with such nice cuboid protection and it would be a really shame to have this one let go :(
    Toomanyitems is a must for my server that focuses around building, but i dont want people to get griefed to pieces either
     
  27. Offline

    Tuna

    Yeah I'll work on adding it. Why can't you just set give to 0 in your settings.txt and use TooManyItems? Or does TooManyItems not have all the give features you need? I'll change it to /cgive in the next update (soon). This would eliminate a lot of issues :p
     
  28. Offline

    Maniox

    I have tried to set it to 0, but then nothing happends when i try to use the give command, no syntax or anything..
     
  29. Offline

    cvxx7q

    Thank you for being such a Swift and Flexible Dev :D
     
  30. Offline

    Tuna

    Haha it's called being really really bored :p

    If you set it to 0 it will disable the give commands entirely for TPack and only TPack, so you should be able to set it to 0 and use TooManyItems exclusively if that works for you. Or am I misunderstanding you?
     
  31. Offline

    Maniox

    The default give command does not work if i put the setting to 0 :p
    ergo nor does TMI
     

Share This Page