[GEN/TP/ADMN] CommandBook 1.7 - Essential and useful commands (/item, etc.) [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by sk89q, Feb 28, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    sk89q

    General commands as used on my server since '10. Warping, item giving, time changing, weather changing -- the usual.

    Thor command, one of many (video by Rubenbeebl):


    Note: You can remove any of these commands from CommandBook using the download link below.
    • General:
      • item [-d] <item[:data]> [amount]
      • give [-d] <target> <item[:data]> [amount]
      • more [-a] [-i] <target>
      • online [filter]
      • motd
      • intro (play intro music)
      • midi (play a MIDI file for yourself)
      • rules
      • setspawn [destination]
      • time [world] <time>
      • weather <'stormy'|'sunny'> [duration] [world]
      • thunder <'on'|'off'> [duration] [world]
      • spawnmob [-p] [-d] [-i] [-r] <mob> [count] [location]
      • kit <kit> [target]
    • Teleportation:
      • spawn
      • tp [target] <destination>
      • bring <target>
      • put <target>
      • call <target> (request a teleport)
    • Messaging:
      • broadcast <message>
      • say <message>
      • me <message>
      • msg <target> <message...>
      • reply <message...>
      • mute <target>
      • unmute <target>
    • Player:
      • whereami
      • compass
      • clear [-a] [target]
      • slap [-s] [-h|-v] [-d] [target]
      • rocket [-s] [-h] [target]
      • barrage [-s] [target]
      • shock [-s] [target]
      • thor [target] (get Thor's hammer)
      • unthor [target] (revoke Thor's hammer)
      • whois [target]
    • Utilities:
      • ping
      • debug info
      • debug clock (very accurate server lag benchmark)
    • Bans:
      • kick <target> [reason...]
      • ban [-e] <target> [reason...]
      • unban <target> [reason...]
    Complimentary plugins:

    Download

    [​IMG] CommandBook 1.7
    Requirements: Java 6+, WorldEdit, Bukkit build 753+

    You need WorldEdit: Install WorldEdit. If you don't want WorldEdit, put WorldEdit.jar in the root folder of your server or in the plugins/CommandBook folder.​

    If you find CommandBook useful, [​IMG]

    How to Use

    Check out my server too!
    [​IMG]

    [​IMG] (CommandBook is open source!)
     
    dragon8510, Psychoma, Goodi and 26 others like this.
  2. Offline

    obscurehero

    when will this plugin support SuperPerms?
     
    dunst0 likes this.
  3. Offline

    IncendiaDrakon

    What I did was I opened the .jar with 7zip, copied out the plugin.yml, edited it to my liking, then overwrote the plugin.yml inside the .jar. The plugin now acts like the command doesn't exist.
     
  4. Offline

    MineCleric

    can you update command book plz????
     
    dunst0 likes this.
  5. Offline

    rmb938

    some commands like compass don't work with bukkit permissions
     
  6. Offline

    DerET

    Wiki is down? Oo
     
  7. Offline

    Kc0rb90

    I don't know if this is because of command book or a plugin conflicting, but I have World Edit, Permissionsex and Commandbook all installed correctly. When I try giving myself an Item it does not show up in my inventory, but when I click where It should be the item appears. Any idea how to fix this or why its happening?
     
  8. Offline

    FoopertDaBear

    Alright, So Ive had commandbook in my servers before. The commandbook I first installed in my new server was sometime around bukkit build 900. I recently just updated my bukkit build to 1000. I just replaced my old commandbook.jar with the new Commandbook.jar [1000]. Ive recently been trying the "/warp" commands but none of them seem to be working. Whenever I try to "/setwarp [location]" nothing comes up. Just wondering if this is a bug or something, or if I should also update my config files as well. Anyways, FANTASTIC work on commandbook, without my server would not survive!
     
  9. Offline

    _infina_

    Does the item appear after disconnecting and reconnecting? Sounds like something isn't being passed on to the client properly.

    Seems to be an error with commandbook 1.5.2 and CraftBukkit 1000. Reproducing on a clean server with WE and commandbook only yields "unknown command." Yet it appears to be all there in the source. So it is not an isolated incident.

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

    player9899

    Can you add a feature so that you can change thor- hammer to something else than pickaxe?
     
  11. Offline

    _infina_

    Is there some specific item that you would rather use for Mjölnir?
     
  12. Offline

    Kc0rb90

    Well all we have to do is click the blank box where the item should be placed and it appears. I am positive I configured everything correctly
     
  13. Offline

    d00ba

    Anyone know if it's possible to set item permissions for coloured wool?

    Eg.
    a group with commandbook.items.35:3 is able to spawn blue wool but not any other colour
     
  14. Offline

    _infina_

    no, but you could create a kit with the colored wool in it and give them permission to that kit.
     
    d00ba likes this.
  15. Offline

    d00ba

    Good idea, thanks :)
     
  16. Offline

    TheDarkrai85

    I added it to the plugins folder but it isnt working, what may have happened?
     
  17. Offline

    briankdk

    might be.... but that info is wrong....

    If i download Commandbook, without the GIVE function - then toomany items works fine !

    If i download the complete Commandbook - it fucks up toomany items so that it dosent give you anything.

    Toomanyitems works great with bukkit !

    *****
    Edit.
    I have figured out why it fails.....
    Normaly when Toomanyitems "gives" items, it throws the item in front of the player (just lige the normal /give xxx 1 10 command does !

    BUT commandbook, gives the iten directly to your inventory, and thats what fucks up Toomanyitems (because it does not get to pick up the item)

    I got this far:

    If i could figure out how to edit the JAR file, so that it would put the items in front of me, instead of putting it into my inventory, problem would be solved.

    Here is the info inside the "CommandBook.jar" file there is a file called plugin.yml, in that there is alot of informations.... i guessing that its this piece i have to change somehow (so it throws the items infront of the player instead of adding them directly to the inventory) :

    item:
    aliases: [item, i]
    description: 'Create an item'
    usage: '/<command> [-d] [target] <item[:data]> [amount]'
    give:
    description: 'Give an item'
    usage: '/<command> [-d] <target> <item[:data]> [amount]'
    _parent: item

    I just cant figure out what to change !

    My guess is the [-d] extencion... but what should i change it to ?

    its because commandbook ads the item directly to your inventory..... instead of throwing it in front of you, where you normaly would pick it up and then iw would get added (and update) your inventory.

    So if it was possible to do 1 of 2 things:

    1. throw the item infront of the player

    or

    2. When adding directly to inventory, force a "refresh of inventory" so that inventory gets updated.

    Is it possible ?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  18. Offline

    Sayshal

    Or click on the 'invisible item' and it appears. works for me. [it makes all toomanyitems items appear for me]
     
  19. Offline

    dm_studios

    I use the complete CommandBook (with the exception of tp) and toomanyitems, it works fine and add the items straight to my inventory.

    Only problem I ever had was when I hadn't given myself the correct permission: commandbook.give.other
    as just having commandbook.give didn't work for me.
     
  20. Offline

    briankdk

    for permissions i have '*' that should cover ALL right ? (im admin,,thats why the '*')
     
  21. Offline

    RustyDagger

    guys the problem with 2manyitems may be the format its trying to run the command in. example

    commandbook is /i <Player> <itemname:data> Amount.
    TMI could be trying to do it like /i item:data amount.

    there is a file in the minecraft files for TMI to change the way it runs the command. it would be worth a look to see if it is the same as commandbook's
     
  22. Offline

    briankdk

    I just realised what u replyed....

    well of course it works with "the give command", thats what it was written to do !

    What im talking about is when using Toomanyitems... so why you reply to that...if you dont use Toomanyitems, i really dont understand !

    I came to almost the same conclusion...

    But the problem is that toomany items do GET the items...its added to the inventory, you just cant see or acces it before you rgad one of the items with your mouse (its there...you just cant see it) - the secund you click in one of the squares...ALL items are "reveled" - so to summen up what i thinks is wrong:

    Since the normal give command is placing the items infront of you.... you can see it in your inventory because it gets "refreshed" when you pick up the item.

    Commandbook adds the items STRAIGHT to your inventory, so there is no "refresh" before i grap a item (it dosent matter what item..i just have to click a box)

    Does it make sence ?

    btw:
    did you see my previsous message? :

    --------------------------------------------------------------------------------


    I got this far:​

    If i could figure out how to edit the JAR file, so that it would put the items in front of me, instead of putting it into my inventory, problem would be solved.​

    Here is the info inside the "CommandBook.jar" file there is a file called plugin.yml, in that there is alot of informations.... i guessing that its this piece i have to change somehow (so it throws the items infront of the player instead of adding them directly to the inventory) :​

    item:​
    aliases: [item, i]​
    description: 'Create an item'​
    usage: '/<command> [-d] [target] <item[:data]> [amount]'​
    give:​
    description: 'Give an item'​
    usage: '/<command> [-d] <target> <item[:data]> [amount]'​
    _parent: item​

    I just cant figure out what to change !​

    My guess is the [-d] extencion... but what should i change it to ?​

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

    chelben9

    does this work with permissionsbukkit/supermbridge i always get
    sever could not load commandbook
    or something like that i already deleted it and dont really want to put it back in but tell me if you need to no the exact could not load thing it would really help if you c ould make it for permissionsbukkit thnx
     
  24. Offline

    Buckethead

    so you took essentials and did a copy paste?
     
  25. Offline

    Flatliner

    The GiveTo plugin works around this in the latest version by resending the entire inventory back to the client after you use the give command. It's been working flawlessly for me. Naturally you might not want to install another plugin though.
     
  26. Offline

    RaymanMaik

    I get every time I start up the server this error:
    Code:
    2011-08-03 23:53:31 [SEVERE] Could not load 'plugins/CommandBook.jar' in folder 'plugins':
    unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 288
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:68)
        at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
        at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:117)
        at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:106)
        at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:964)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:237)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:200)
        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.getSingleNode(Composer.java:104)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:82)
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Bukkit Version is #953
    Commandbook Version is 1.5.2
     
  27. Offline

    Bdl2

    Quick suggestion/request: Add a permission node to make certain players or playergroups unbannable? Anyone with the banning node can ban anyone, which means a moderator can ban an admin, for example.
     
  28. Offline

    iarspider

    Looks like bad config.yml
     
  29. Offline

    RaymanMaik

    Is there a default config?
    EDIT: Oh, the other owner edited the config.yml. I thought it is created like this I had. Now it works
    EDIT2: I edited the motd to
    Is there an invalid letter?
     
  30. Offline

    iarspider

    Could be. According to the Internet, unicode character \xFFFD is "used to replace an incoming character whose value is unknown or unrepresentable in Unicode". I'd say - recreate the MOTD from scratch, making sure to use the same encoding as Minecraft does (and, IIRC, that's not Unicode!).
     
  31. Offline

    briankdk

    ill give it a try - thanks :)

    Sorry - excatly same result :-(

    and its this one i tryed:

    http://forums.bukkit.org/threads/ad...-self-permissions-economy-gto-gme-1000.10449/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
Thread Status:
Not open for further replies.

Share This Page