[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. Small bug:

    In 1.5.2, /who shows number of players online, but "who" in console, does no longer do that. Please change back :p
     
  3. Offline

    piluke

    That's what this part of the config is for:

    I don't think you can disable it with that, but try removing it and see what happens.
     
  4. Offline

    br0ad456

    i cant spawn maps or trap doors, is this a problem with commandbook or bukkit?
     
  5. Offline

    Jeyge

    Seems to work for me. Are you sure you aren't using another plugin that has a "who"?
    Make sure you are running the latest version of CommandBook and WorldEdit.
     
  6. Offline

    ACStache

    http://forums.bukkit.org/threads/ge...ommands-item-etc-818.6525/page-32#post-356729
    regarding the first part where he replies to me: Do you get the same message on server start up? it seems like it's a known issue but not something that's high up on the list, if he even intends to 'fix' it. for me it works like it should in the game, I don't normally find myself using commands on the console. but to each their own i suppose :)
     
  7. Well no, when I remove /who support from CB, who does nothing, so.
     
  8. Offline

    Desantos

    After installation of this plug-in at me has ceased to work toomanyitems for the administrator (((the Administrator cannot do to itself a thing, it is necessary to leave and again to come on the server.
    I apologize for the translator.
     
  9. Offline

    holap

    i keep getting this error
    19:56:25 [ALLVARLIG] 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:167)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    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
    any one know what to do?
    i have updated bukkit and worldedit
     
  10. Offline

    br0ad456

    im pretty sure i am, is it working for you?
     
  11. Offline

    holap

    ye i dowloaded all the files today like an hour ago
    and my plugins are
    Herochat
    Worldguard
    Worldedit
    Permissons
    Commandbook
     
  12. Offline

    intelacer

    Is there a way to block people from TPing to myself? I'd like to try to hide in my base when given the chance but would rather than can TP to me at other times...

    if that makes sense
     
  13. Offline

    The PC Tech Guy

    I like how I can customize my package. However, the MOTD still pops up, and I see a "bans" file in the config, none of which I wanted. Is there a problem with the custom builder? I am using Internet Explorer 9.
     
  14. Offline

    thaidavid

    how do you get different color wool?
     
  15. Offline

    Desantos

    After installation of this plug-in at me has ceased to work toomanyitems for the administrator (((the Administrator cannot do to itself a thing, it is necessary to leave and again to come on the server.
    I apologize for the translator.
    [brickblock][brickblock][brickblock][brickblock][brickblock][brickblock][brickblock][brickblock][brickblock][brickblock][brickblock][brickblock]
    Who will answer me it? :mad:
     
  16. Offline

    Xemnas33

    Uh, /item wool:colour or item 35:value and vice versa
     
  17. Offline

    Aspernatio

    I can't seem to get this working. Here's my server on startup:


    148 recipes
    16 achievements
    16:23:13 [INFO] Starting minecraft server version Beta 1.6.6
    16:23:13 [INFO] Loading properties
    16:23:13 [INFO] Starting Minecraft server on *:25565
    16:23:13 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-
    g3fc0460-b818jnks (MC: 1.6.6)
    16:23:13 [INFO] Preparing level "Soliloquy"
    16:23:13 [INFO] Preparing start region for level 0
    16:23:14 [INFO] Preparing start region for level 1
    16:23:14 [INFO] Preparing spawn area: 36%
    16:23: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:167)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    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
    16:23:15 [INFO] [Permissions] (Yeti) was initialized.
    16:23:15 [INFO] [BBROTHER] ------------------------------------
    16:23:15 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of
    BigBrother!
    16:23:15 [INFO] [BBROTHER] Please note that, since this is far from complete, th
    ere will be many bugs.
    16:23:15 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bu
    gs.nexisonline.net/bb
    16:23:15 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for up
    dates and build notifications.
    16:23:15 [INFO] [BBROTHER] ------------------------------------
    16:23:17 [INFO] [BBROTHER] Building `bbdata` table...
    16:23:17 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    16:23:17 [INFO] [BBROTHER] Building `bbworlds` table...
    16:23:17 [INFO] [BBROTHER] Building `bbusers` table...
    16:23:17 [INFO] [BBROTHER] Permissions plugin found but disabled. Enabling 'Perm
    issions' (v3.1.5).
    16:23:17 [INFO] [Permissions] version [3.1.5] (Yeti) loaded
    16:23:17 [INFO] [BBROTHER] Permissions enabled using: Permissions v3.1.5
    16:23:17 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    16:23:17 [INFO] [BBROTHER] BigBrother 1.8-SNAPSHOT (build #490) enabled!
    16:23:17 [INFO] [iChat] Found Permissions (v3.1.5)
    16:23:17 [INFO] iChat (v2.3.1) enabled
    16:23:17 [INFO] Done (0.412s)! For help, type "help" or "?"
    16:23:19 [INFO] [BBROTHER] Removed 0 old records because of age in 0h00m00s.
    >
     
  18. Offline

    Jeyge

    CommandBook has a dependency of WorldEdit. Download that and see if the error goes away.
     
  19. Offline

    Aspernatio

    Jesus, keep forgetting that. Thanks Jeyge!
     
  20. Offline

    daleisme

    How do I add color to Login message?
     
  21. Offline

    CuZnDragon

    I am getting the below error on CB 860 with a custom 1.5.2 with the TP command group removed. An I do have WorldEdit installed.

    EDIT: I get the same error with the full version.

    EDIT2: Tried creating account on your Issue Tracker to enter this but unable to do so for some reason.

    Code:
    18:36:13 [SEVERE] Could not load 'plugins/CommandBook-1.5.2-custom.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(Class.java:247)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:167)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        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(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        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(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        ... 11 more
    
     
  22. Offline

    piluke

  23. Offline

    Desantos

    The problem consists in the following when I in a multiplayer (I Admin) open a window toomanyitems and I press a subject it does not appear. It is necessary перезайти, or approximately to find it in stock and to press on it then it becomes active.
    How to make what at once appeared?

    [fire]
     
  24. Offline

    Yoshi8765

    So I really like this plugin so far.... except for one thing....

    I was trying to make a kit, but I don't know what the item names are, so I just guessed.... Here it is....

    Code:
    [starter=20]
    woodpick
    woodaxe
    woodshovel
    woodsword
    wood,64
    torch,-1
    diamondhelmet
    diamondchestplate
    diamondpants
    diamondboots
    cookedmeat,10
    bed
    
    [Yoshi=20]
    diamondpick
    diamondaxe
    diamondshovel
    diamondsword
    wood,64
    torch,-1
    workbench
    bow
    arrow,-1
    diamondhelmet
    diamondchestplate
    diamondpants
    diamondboots
    cookedmeat,10
    compass
    watch
    bed
    
    [wools=20]
    whitewool=-1
    orangewool=-1
    magentawool=-1
    lightbluewool=-1
    yellowwool=-1
    lightgreenwool=-1
    pinkwool=-1
    graywool=-1
    lightgraywool=-1
    cyanwool=-1
    purplewool=-1
    bluewool=-1
    brownwool=-1
    greenwool=-1
    redwool=-1
    blackwool=-1
    
    So then, when I start the server, I get a bunch of "Commandbook: Unknown kit item 'null' " errors......

    So can you release a list of all the item names or something? It seems different than my common sense. For example, why is a wooden axe not woodenaxe? Instead, it's woodaxe..... Is there somewhere I can get all the name IDs for the items to use in kit.txt?
     
  25. Offline

    Marioc12345

    Oh noooooo!!!! This is my server on startup

    Code:
    148 recipes
    16 achievements
    22:27:49 [INFO] Starting minecraft server version Beta 1.6.6
    22:27:49 [INFO] Loading properties
    22:27:49 [INFO] Starting Minecraft server on *:25565
    22:27:49 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    22:27:49 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    22:27:49 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    22:27:49 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    22:27:49 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-
    g3fc0460-b818jnks (MC: 1.6.6)
    22:27:49 [INFO] Preparing level "world"
    22:27:49 [INFO] Preparing start region for level 0
    22:27:50 [INFO] Preparing spawn area: 69%
    22:27:51 [INFO] Preparing start region for level 1
    22:27:51 [INFO] Preparing spawn area: 48%
    22:27:52 [SEVERE] Could not load 'plugins\CommandBook.jar' in folder 'plugins':
    
    while scanning a simple key
     in "<reader>", line 18, column 1:
        Banning List
        ^
    could not found expected ':'
     in "<reader>", line 23, column 1:
        # Force use of commandbook.items ...
        ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:400)
            at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:231)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    2)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
            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.composeMappingNode(Composer.java
    :228)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:74)
            at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:156)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:174)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    22:27:52 [INFO] LWC     Loading shared objects
    22:27:52 [INFO] Cache   Protection cache: 0/10000
    22:27:52 [INFO] LWC     Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    22:27:52 [INFO] DataSourcePool [MinecartManiaCore] autoCommit[false] transIsolat
    ion[SERIALIZABLE] min[2] max[20]
    22:27:53 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.Plugi
    nClassLoader]
    22:27:53 [INFO] Entities enhanced[0] subclassed[2]
    22:27:53 [INFO] [InstaBreak] Starting! (version 1.7 by R3ality)
    22:27:53 [INFO] [InstaBreak] Permission system not detected, using "ops.txt"
    22:27:53 [INFO] [iWatch] iWatch version 0.6 is enabled!
    22:27:53 [INFO] [iWatch] Settings Loaded!
    22:27:53 [INFO] [iWatch] Error Initialising Blocked Items
    22:27:54 [INFO] LWC     Loaded 125 locale strings (0 overrides)
    22:27:54 [INFO] LWC     Loading SQLite
    22:27:54 [INFO] SQLite  Using: Native
    22:27:54 [INFO] PhysDB  Precached 64 protections.
    22:27:54 [INFO] LWC     At version: v3.05
    22:27:54 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    22:27:54 [INFO] [Minecart Mania] MinecartManiaCore version 1.2.8 is enabled!
    22:27:54 [INFO] [Minecart Mania] MinecartManiaStation version 1.2.5 is enabled!
    22:27:54 [INFO] [MYHOME]: 2 homes loaded
    22:27:54 [WARNING] [MYHOME] A permission plugin isn't loaded.
    22:27:54 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    22:27:54 [INFO] [MYHOME] MyHome 1.9.5 enabled
    22:27:54 [INFO] [RestartNow] v0.1.2 ready to restart!
    22:27:54 [INFO] [RestartNow] Permissions not detected.
    22:27:54 [INFO] WorldEdit 4.6 enabled.
    22:27:54 [INFO] WorldEdit: No known permissions plugin detected. Using configura
    tion file for permissions.
    22:27:54 [INFO] -------[WorldWarp]-------
    22:27:54 [INFO] -------[Enabled]-------
    22:27:54 [INFO] -------[No permissions - Defaulting to OP]-------
    22:27:54 [INFO] Loading:Mine in mode: normal
    22:27:55 [INFO] Preparing spawn area for Mine, 77%
    22:27:56 [INFO] Loading:world in mode: normal
    22:27:56 [INFO] Loading:Jared in mode: normal
    22:27:57 [INFO] Preparing spawn area for Jared, 85%
    22:27:57 [INFO] Loading:Justin in mode: normal
    22:27:58 [INFO] Preparing spawn area for Justin, 85%
    22:27:58 [INFO] -------[/WorldWarp]-------
    22:27:58 [INFO] Done (0.902s)! For help, type "help" or "?"
    
    This happened right after I installed RestartNow
     
  26. Offline

    Tadas159

    The name of the plugin should be CommandBook?
     
  27. Offline

    lama39

    you could use the block- and item-IDs found in the minecraftwiki --> http://www.minecraftwiki.net/wiki/Data_Values#Block_IDs_.28Minecraft_Beta.29
    hope this helps :D

    btw, most of the item-names seem to be correct, but your wool-kit won't work. it should be:
    wool=-1
    wool:red=-1
    wool:brown=-1
    wool:blue=-1
    and so on, correct me if I'm wrong...
     
  28. Offline

    vYN

    /help command would be awesome :D
     
  29. Offline

    Tadas159

    This Please!!!!!!!!!!!!
     
  30. Offline

    piluke

    I too would like the help command. The exact same thing as the rules would be fine for me though I'm not sure about anyone else.
     
  31. Offline

    I_am_not_funny

    hmm... when i use /say ingame i dont get the configurated message, i get my name in white(normally green) and the message afterwards. it works fine when i do it in console and i get no console errors at any stages of this.

    reply with quote...
     
Thread Status:
Not open for further replies.

Share This Page