[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

    _infina_

    @ferrybig:
    the error is caused by nothing after the colon, which is where it splits the argument in two.

    Solution:
    Only use ":" when you are adding a data value.
     
  3. Offline

    Lolmewn

    Daym! I'm getting an error:
    Code:
    20:32:00 [SEVERE] Could not load 'plugins\CommandBook.jar' in folder 'plugins':
    java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandException
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:140)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:107)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.CommandException
            at java.net.URLClassLoader$1.run(Unknown Source)
            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
    Using CB1080 (not sure why), and just downloaded a customized pack.
     
  4. Offline

    ACStache

    I've no idea what the error means, but sometimes it throws that if you're lacking the WorldEdit.jar as well. Sorry to ask the dumb question, but do you have that too? >.>
     
  5. Offline

    Lolmewn

    oh wait, my test server doesn't.
    Do you need WE for this plugin?
    It's only a test server xD
     
  6. Offline

    ACStache

    you atleast need the .jar in either the server root or the commandbook folder I believe, if you don't want to load the whole WE plugin on the server
     
  7. Offline

    Lolmewn

    oh right, that fixed it.
    Thanks =D
     
  8. Offline

    ACStache

    np :)
     
  9. Offline

    Slugslug

    can anyone recommend a /warp plugin? I've moved from essentials to commandbook and to be honest I've not found it that good so far.
     
  10. Offline

    Slyvr

    Code:
    [SEVERE] Could not load 'plugins\CommandBook.jar' in folder 'plugins':
    java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandException
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.CommandException
        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
    Why won't command book work anymore? It's the only plugin in my plugins folder and it's not working at all
     
  11. Offline

    ACStache

    Do you have the WorldEdit.jar in your server root folder?


     
  12. Offline

    erickingsr

    This plugin is not compatible with CB 1118. It will crash your server. I have removed every plugin except for CommandBook/World Edit....to isolate the issue.

    Alternatives anyone?
     
  13. Offline

    _infina_

    Wait until it is updated for a recommended 1.8 build.
     
  14. Offline

    kamild1996

    If anyone want to know - this plugin is working with CB #1118 (MC 1.8). :)
     
  15. Offline

    phondeux

    Is there a stable release of CB for 1.8 yet?
     
  16. Offline

    wassilij

    Bukkit 1119:
    Code:
    2011-09-15 19:59:46 [SEVERE] com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NullPointerException
    2011-09-15 19:59:46 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:353)
    2011-09-15 19:59:46 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    2011-09-15 19:59:46 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:245)
    2011-09-15 19:59:46 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    2011-09-15 19:59:46 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    2011-09-15 19:59:46 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:347)
    2011-09-15 19:59:46 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    2011-09-15 19:59:46 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    2011-09-15 19:59:46 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    2011-09-15 19:59:46 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-09-15 19:59:46 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-09-15 19:59:46 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:91)
    2011-09-15 19:59:46 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2011-09-15 19:59:46 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    2011-09-15 19:59:46 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    2011-09-15 19:59:46 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-09-15 19:59:46 [SEVERE] Caused by: java.lang.NullPointerException
    2011-09-15 19:59:46 [SEVERE]     at org.bukkit.craftbukkit.entity.CraftPlayer.sendRawMessage(CraftPlayer.java:106)
    2011-09-15 19:59:46 [SEVERE]     at org.bukkit.craftbukkit.entity.CraftPlayer.sendMessage(CraftPlayer.java:110)
    2011-09-15 19:59:46 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:764)
    2011-09-15 19:59:46 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:239)
    2011-09-15 19:59:46 [SEVERE]     at com.sk89q.commandbook.commands.ModerationCommands.broadcast(ModerationCommands.java:44)
    2011-09-15 19:59:46 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-09-15 19:59:46 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-09-15 19:59:46 [SEVERE]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-09-15 19:59:46 [SEVERE]     at java.lang.reflect.Method.invoke(Unknown Source)
    2011-09-15 19:59:46 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-09-15 19:59:46 [SEVERE]     ... 15 more
    When i tried to make /broadcast
     
  17. Offline

    kamild1996

    No, but there is an option to download a latest (not recommended) version of Bukkit.
    Here.
     
  18. Offline

    phondeux

    I know, sorry, I was just poking fun; I don't think there should be any reasonable expectation of full functionality until a stable release for 1.8 is available. Personally, I downloaded the latest build I could find and found all of the functionality I was looking for.
     
  19. Offline

    Teku13

    Is there a way we can remove the MOTD? Essentials has a MOTD, and I prefer that one. Otherwise great plugin!
     
  20. Offline

    txtsd

    Compile a custom build with no MOTD. Link is in OP.
     
  21. Offline

    Teku13

    I already tried that, it just takes away the command... [zombie]
     
  22. Seeing this issue on 1.8 + Cbook 1.5.3

    Code:
    10:20:31 [INFO] An error has occurred. See console.
    10:20:31 [SEVERE] com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NullPointerException
    10:20:31 [SEVERE]       at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:437)
    10:20:31 [SEVERE]       at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:421)
    10:20:31 [SEVERE]       at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:323)
    10:20:31 [SEVERE]       at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:268)
    10:20:31 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    10:20:31 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    10:20:31 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:347)
    10:20:31 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:343)
    10:20:31 [SEVERE]       at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
    10:20:31 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
    10:20:31 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    10:20:31 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    10:20:31 [SEVERE] Caused by: java.lang.NullPointerException
    10:20:31 [SEVERE]       at org.bukkit.craftbukkit.entity.CraftPlayer.sendRawMessage(CraftPlayer.java:106)
    10:20:31 [SEVERE]       at org.bukkit.craftbukkit.entity.CraftPlayer.sendMessage(CraftPlayer.java:110)
    10:20:31 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:764)
    10:20:31 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:239)
    10:20:31 [SEVERE]       at com.sk89q.commandbook.commands.MessageCommands.say(MessageCommands.java:96)
    10:20:31 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    10:20:31 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    10:20:31 [SEVERE]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    10:20:31 [SEVERE]       at java.lang.reflect.Method.invoke(Method.java:601)
    10:20:31 [SEVERE]       at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:427)
    10:20:31 [SEVERE]       ... 11 more
    
     
  23. Offline

    Tauryuu

    Build number?

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

    You should add support for spawning entities by their ID too. :)
     
  24. Offline

    FireZtreaM

    Just one simple question.
    Is there a way to make /msg messages to show up in console when ppl use that?

    //FireZtreaM
     
  25. It no longer errors now, but this on default dev CB and dev CBook:

    >say hi
    09:22:02 [INFO] <*Console*>: hi
    09:22:02 [INFO] <*Console> hi
     
  26. Update to 1.8.1 :D
    its a awesome plugin
     
  27. Offline

    Teath

    Yup, update to 1.8.1, I want to spawn endermen >.>
     
  28. Offline

    EnisThenis

    Is anyone else having an issue with /setspawn since the update?
    We set it, yet every death the player spawns at the original map chosen one.
     
  29. Offline

    RingOfStorms

    So I am implementing multiple worlds into a server I am an admin on. And 1 world is creative 1 is survival etc. I am using multiverse-core and multiverse-portals to do this. However even if I do not give s person access to a world, they can use a /tp [player] and end up in a world they arn't suppose ot be in. I was wondering if you could add a permission node that would disable teleproting to that player by default. That way I can just put that permission node to all the groups I do not want able to be tp'ed to.

    Multiverse does not disable loading the world for poeple without access so I thought i owuld be fairly simple ofr you to add this feature.

    So simple add a way to prevent teleporting to someone if the permission is on that group. And make it default so that no commands have to be used, if the node is on then they can't be teleported to. I am using permissions 3.x
     
  30. Offline

    idragon2000

    great plugin mate, works with 1137. THANKS a lot for your work.
     
Thread Status:
Not open for further replies.

Share This Page