[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


    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:


    [​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] (CommandBook is open source!)
    dragon8510, Psychoma, Goodi and 26 others like this.
  2. Offline


    I will look into and add those things.
    zazra likes this.
  3. Offline


    You can customize CommandBook and remove things you don't want.
  4. Offline


    Really nice plugin you made. I thank you for that.

    Almost all of the commands work for me.
    But when I try to /setspawn (or setspawn Jezzard via console) it give me this error (I also got something similiar when I tried to use /slap) :

    [INFO] An error has occurred. See console.
    2011-03-19 21:05:17 [SEVERE] com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NoSuchMethodError: org.bukkit.World.setSpawnLocation(III)Z
    2011-03-19 21:05:17 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:353)
    2011-03-19 21:05:17 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    2011-03-19 21:05:17 [SEVERE] at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:226)
    2011-03-19 21:05:17 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    2011-03-19 21:05:17 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
    2011-03-19 21:05:17 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:183)
    2011-03-19 21:05:17 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:381)
    2011-03-19 21:05:17 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:366)
    2011-03-19 21:05:17 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-19 21:05:17 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-19 21:05:17 [SEVERE] Caused by: java.lang.NoSuchMethodError: org.bukkit.World.setSpawnLocation(III)Z
    2011-03-19 21:05:17 [SEVERE] at com.sk89q.commandbook.commands.GeneralCommands.setspawn(GeneralCommands.java:436)
    2011-03-19 21:05:17 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-03-19 21:05:17 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-03-19 21:05:17 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-03-19 21:05:17 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    2011-03-19 21:05:17 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-03-19 21:05:17 [SEVERE] ... 9 more

    How to fix that?

    The plugins I use are: ColorMe, CommandBook, CreeperNerf, HeroicDeath, LWC, MonsterHunt, MyHome, Permissions, Persistence, QuickBelt, Spells, Wand, WorldEdit
  5. Offline


    I love the latest update. Those new commands will give admins some fun. ;)

    I have a slightly unrelated question, which I'm guessing is just a problem with SMP right now.. but.. Is there a reason why we can't spawn Slimes? (As well as Ghasts or mobs riding mobs?)
  6. Offline


    Fantastic, thanks for keeping everything so up-to-date - the new features are great!

    I am curious if admins can define kits. I've looked around on the wiki, but have been unable to find anything regarding this query. Thanks.
  7. Offline


    Looks like you have a very old CraftBukkit version. Try updating.

    Ghasts and slimes can't be spawned due to a bug, one that perhaps is Bukkit's. As for mobs riding mobs, Bukkit doesn't have that feature yet. I'll add it to Bukkit (and consequently CommandBook) when I get a chance.

    Administrators can't define kits in-game yet.
  8. Offline


    I think you're mistaken, both Essentials and SpawnMob have this feature, I've actually used it. I had a giant riding a chicken, it was funny.
  9. Offline


    They likely use ugly hacks on CraftBukkit, something that's dangerous and prone to break. I can, however, do it correctly since I am a Bukkit developer.
  10. Offline

    Assless Chaps

    Would you mind giving an example of what to type for the slap, rocket, and barrage commands?

    I can't seem to figure out how to do it. I type in /barrage -5 assless_chaps and it says Too many arguments. /barrage [-s] [target]
  11. Offline


    Just type /barrage assless_chaps. The -s is for "silent" (not the number 5, the letter s).
  12. Offline


    Mhm, how'd you mean updating? I'm kinda new to the whole server making thing and I got my bukkit version from the ''how to set up a server'' tutorial from the Bukkit wiki a month ago or something. How to get the latest one?
  13. Offline


  14. Offline


    This, this is pure awesomeness.
    I was looking at that bloated Essentials... and I was thinking that the point of bukkit being plugin-based is to actually not include everything in a big package and to be able to choose only what you need.
  15. Offline

    Piercing Goblin

    I'm trying to use the TooManyItems mod with this, with my config as (for TooManyItems)
    give-command:/i {1}:{3} {2}
    {1} is the item ID, {3} is the damage value, and {2} is the quantity. When I pipe this command through the server, it says I was given the blocks, just as normal, but I dont see the blocks in my quick bar until I right click where they should be, then they appear. Is this a CommandBook problem or something else? (Running CB 544)
  16. Offline


  17. Offline


    on 1.2 - it appears that /tphere no longer works - however /bring works just fine.
  18. Offline


    I experienced the same problem as Kainzo.

    Anyway, thanks a lot for this awesome plugin :D
  19. Offline


    How do i add new lines to my Rules. When i add new lines it say unknown Command ingame when i try /rules.
    Here is my actual config
    # Give ops all permissions
    op-permissions: true
    use-display-names: true
    online-on-join: true
    motd: |
        Hallo, `Y%name%`w.
        Es ist `Y%time%`w Uhr und du bist in der Welt '%world%'.
        `Willkommen auf Kirbys Private Reloaded
        `Lest die Regeln unter /rules
    rules: |
        - Be courteous and respect others.
        - Don't use any tools to give you an unfair advantage.
        - Griefen gibt 4 Tage Ban.
        - Entstandene Schäden müssen auf eigene Kosten repariert werden z.B: Creeperlöcher.
        - Bei anderen Dummheiten gibt es eine Verwarnung. Bei 2 Verwarnungen innerhalb 3 Tagen gibt es 4 Tage Ban.
        - Keine Perversen Bauten gibt auch Verwarnung.
        - Bei Problemen und mehr bitte an kirbynator55 oder THEKINGSILAN wenden.
        `2This is the default CommandBook rules text! You can adjust it in config.yml.
    disallowed-items: []
    allowed-items: []
        goldblock: 41
        ice: 79
  20. Offline


    suggestion for the commands :

    /commandbook commandname or /cb commandname
    with configurable aliases, like the command as they are atm.

    This would solve the problem of the command being used by other plugin.
  21. Offline


    could i ask why /item does not work with toomanyitems client side plugin? it works for other plugins that use /give or item

    the toomany items is configured: /item {0}:{2} {1}
    the 2 being damage since im assuming this is how it works
  22. Offline


    Is it intended behavior if I use /pos or /whois on other players, it sends the info to the target player? Feels weird.
  23. Offline


    Hi guys,

    Even though earlier in the thread, sk89q said that /setspawn should make players spawn exactly at that location when /spawn, but my players ended up spawning on the roof.

    Any suggestions? Currently using the latest craftbukkit.
  24. Offline

    Piercing Goblin

    Anyone know why the TooManyItems client mod will not work with this plugin?
  25. Offline


    Couldn't you just use CommandHelper to restore that?
  26. Offline


    I have command helper - but im afraid i dont catch your dirft. /tphere here WAS in 1.1 - i dont see why it was removed in 1.2
  27. Offline


    I am not familiar with TooManyItems, but what items have you tried it with?

    I will look into this. In the meantime, you can modify plugin.yml in the .jar file directly if you want and add tphere as an alias for /bring.

    Do any errors appear in regards to CommandBook when the the server starts?

    That's a known bug to be fixed in the next version.

    It doesn't. I can add this option into CommandBook.
  28. Offline


    I had a similar problems with some warps. Basically theres an option in WorldGuard called player-damage->teleport-on-suffocation you put this to off.
  29. Offline


    But in a post earlier, you said it does. :S
    After searching hard, I found it on post no. 132.

    I'm confused. So, is /setspawn setting the exact spawn?
  30. Offline


    I'm almost certain that it isnt exact but acts as the old spawn did.
  31. Offline


    /setspawn sets the spawn location exactly, but when the Minecraft server actually spawns a player, it adds a random offset to the location. If I am to fix this, I would override the Minecraft code that actually spawns the player, as that's what makes the spawn inexact. The stored location is always exact, however.
Thread Status:
Not open for further replies.

Share This Page