[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

    Bombrider

    could you add god please?
     
  3. Offline

    wassilij

    /god and /ungod .. ^^
     
  4. Offline

    Dimochka

    Thank you and please make it so that /shock can accept a location too. So you can hit some exact point with a command.

    That's WorldGuard

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

    Jeyge

    You have an unacceptable character 388 characters into your file. If you have the means of counting characters from the top of the file including linefeeds, then look for something out of the ordinary around character 388. If not, I would delete your config.yml and let it regenerate one.
     
  6. Offline

    OkinKun

    I wonder if we could get a /gtfo command, that'd knock everyone back, like a hard slap, but in the direction away from you, based on where they're standing around u. There's been a few times when Admins could need this. lol

    So basically, say you have like 5 people crowding around you, within 5 blocks or so, and it's getting frustrating bumping them, you can type /gtfo, and all of them will be thrown/pushed/slapped back from you like 20 blocks or so.
    Might also be nice for cinematic effect, to add a fake explosion or lightning into the mix, so your "Push everyone away" Attack actually looks cool.
     
    Fantikerz likes this.
  7. Offline

    sk89q

    So since I haven't been around much in the past 1 or 2 weeks, there are like 50 pages of posts with questions.

    I don't have time to reply to that, so if you still have a question, please ask me on Twitter. It is very convenient for me and you get replies much quicker. If you don't want to use Twitter, then ask again after this message and hope I get around to replying.

    You can also ask on http://forum.sk89q.com as well.

    Please don't PM me. My inbox currently has 44 unread messages.
     
  8. Offline

    Duckdoom5

    it still does this, could you fix it? (it's also with repeaters)
     
  9. Offline

    Brian2one0

    I tried to change the MOTD for my server through craftbukkit I got an error, I can't find out where it is. Maybe someone could help me? http://pastie.org/2223019
     
  10. Offline

    Ben Penhalagan

    Once the time has been frozen, buttons, repeaters and redstone torches seem to "freeze" as well. it only happens after about 5 minutes, but i dont want to have to keep reloading the server for a temporary fix.

    Could you possibly fix this glitch/bug?

    Thanks
     
  11. Offline

    ACStache

    @Ben Penhalagan
    you can use AlwaysDay plugin until it's fixed, it allows all that stuff to keep working
     
  12. Offline

    Lunar Delta

    Is there some kind of special syntax for spawnmob I don't know about? None of the commands or variations listed in the Commandbook Wiki work. (Like the sheep:red, for example).
     
  13. Offline

    Flatliner

    Pretty sure that syntax is fixed in one of the dev builds, I have the same problem in 1.5.2.
     
  14. I have a problem with my plugin that may or may not be related to this plugin (as I've been unable to test right now).

    When I try to mess with the inventory (during a teleport) apparently items given using the /item command won't be picked up (not sure if it's just the last item... or all items).
    ^ that's what a user told me. So I was wondering (as the source is quite big) if anyone can tell me if there is a difference in the way the /kit command gives items with the way /item gives items.
     
  15. Offline

    Neils

    Working with Bukkit 1000 ?
     
  16. Offline

    mahari3

    use item data values instead of names it will have much less error possibilities.
     
  17. Offline

    Lunar Delta

    Certain permissions aren't working. My moderators have commandbook.spawnmob and commandbook.spawnmob.many and it still says they do not have permissions to use the command.
     
  18. Offline

    luthervian

    I have been unable to get this to work with Bukkit 1000 at this time.
     
  19. Offline

    killacalli

    I get this error with bukkit1000

    "17:44:14 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)
    17:44:14 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
    17:44:14 [SEVERE] Could not load 'plugins\CommandBook.jar' in folder 'plugins':

    java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandExcepti
    on
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:168)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:207)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:130)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.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)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.C
    ommandException
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more"
     
  20. Offline

    Krippner

    THANK YOU!
     
  21. Offline

    slaymonok

    hi, i got a problem, i want to use mcbans, but when i use /ban it go to commandbook and not mcbans, this also affect my moderators that have the mcbans permissions but when they use /ban, they get, you dont have the permissions for this command, can i disable commandbooks /ban or shall i downgrade, i hadent any problem whit it before i uppgraded to newest version, please answere.
     
  22. Offline

    ACStache

    you should be able to customize CommandBook to not include the /ban commands. the link to customize it is in the OP
     
  23. Offline

    slaymonok

    what op? the ops.txt or?
     
  24. Offline

    ACStache

    OP as in the original post, sorry :D
    there's a link to 'customize CommandBook' that lets you pick and choose which pieces you actually use in the plugin. it's super handy

    here's the link regardless:
    http://sk89q.com/projects/commandbook/customize
     
  25. Offline

    slaymonok

  26. Offline

    wassilij

    Bukkit 1000

    Code:
    2011-07-19 20:39:27 [SEVERE] com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.IllegalStateException: Start block missed in BlockIterator
    2011-07-19 20:39:27 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:353)
    2011-07-19 20:39:27 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    2011-07-19 20:39:27 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:245)
    2011-07-19 20:39:27 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-07-19 20:39:27 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    2011-07-19 20:39:27 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    2011-07-19 20:39:27 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    2011-07-19 20:39:27 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    2011-07-19 20:39:27 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    2011-07-19 20:39:27 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-07-19 20:39:27 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-07-19 20:39:27 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    2011-07-19 20:39:27 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-07-19 20:39:27 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-19 20:39:27 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-19 20:39:27 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-19 20:39:27 [SEVERE] Caused by: java.lang.IllegalStateException: Start block missed in BlockIterator
    2011-07-19 20:39:27 [SEVERE]     at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:170)
    2011-07-19 20:39:27 [SEVERE]     at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:257)
    2011-07-19 20:39:27 [SEVERE]     at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:292)
    2011-07-19 20:39:27 [SEVERE]     at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:92)
    2011-07-19 20:39:27 [SEVERE]     at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:118)
    2011-07-19 20:39:27 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.matchLocation(CommandBookPlugin.java:835)
    2011-07-19 20:39:27 [SEVERE]     at com.sk89q.commandbook.commands.TeleportCommands.put(TeleportCommands.java:161)
    2011-07-19 20:39:27 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-07-19 20:39:27 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-07-19 20:39:27 [SEVERE]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-07-19 20:39:27 [SEVERE]     at java.lang.reflect.Method.invoke(Unknown Source)
    2011-07-19 20:39:27 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-07-19 20:39:27 [SEVERE]     ... 15 more
    2011-07-19 20:39:29 [INFO] StammiVIP Pichlernator: bei mir kostet dia block 70 
    2011-07-19 20:39:29 [SEVERE] com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.IllegalStateException: Start block missed in BlockIterator
    2011-07-19 20:39:29 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:353)
    2011-07-19 20:39:29 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    2011-07-19 20:39:29 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:245)
    2011-07-19 20:39:29 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-07-19 20:39:29 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    2011-07-19 20:39:29 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    2011-07-19 20:39:29 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    2011-07-19 20:39:29 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    2011-07-19 20:39:29 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    2011-07-19 20:39:29 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-07-19 20:39:29 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-07-19 20:39:29 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    2011-07-19 20:39:29 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-07-19 20:39:29 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-19 20:39:29 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-19 20:39:29 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-19 20:39:29 [SEVERE] Caused by: java.lang.IllegalStateException: Start block missed in BlockIterator
    2011-07-19 20:39:29 [SEVERE]     at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:170)
    2011-07-19 20:39:29 [SEVERE]     at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:257)
    2011-07-19 20:39:29 [SEVERE]     at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:292)
    2011-07-19 20:39:29 [SEVERE]     at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:92)
    2011-07-19 20:39:29 [SEVERE]     at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:118)
    2011-07-19 20:39:29 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.matchLocation(CommandBookPlugin.java:835)
    2011-07-19 20:39:29 [SEVERE]     at com.sk89q.commandbook.commands.TeleportCommands.put(TeleportCommands.java:161)
    2011-07-19 20:39:29 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-07-19 20:39:29 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-07-19 20:39:29 [SEVERE]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-07-19 20:39:29 [SEVERE]     at java.lang.reflect.Method.invoke(Unknown Source)
    2011-07-19 20:39:29 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-07-19 20:39:29 [SEVERE]     ... 15 more
     
  27. Offline

    Deadlystrike

    can somone update this?
     
  28. This is not a bug in the Commandbook mod. This is a matter of how redstone timing works. When you lock the time, you are literally freezing the system clock, which is what the redstone uses for it's timings. That is not something Commandbook can change.
     
  29. Offline

    tr00dudu

    Actually, it would prolly work just fine if you just looped the time over a short period instead of directly stopping it? :p

    edit: so CB dies on me with bukkit build 1k? not updated? :/
     
  30. Offline

    ACStache

    as far as I've used this, it's still working on rb1000 (although I omitted a few items customizing it :))
     
  31. Offline

    Rick Nix

    How do I make the TooManyItems mod work with command book while having damage values?
     
Thread Status:
Not open for further replies.

Share This Page