[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

    Arton

    Thanks for the 1000 build ! but something is wrong with the permissions for allowed and disallowed items i dont know how to do it or
     
  3. Offline

    ACStache

    I have the same issue as Arton, I can't figure out the Item blacklist/whitelist/override permissions
     
  4. Offline

    briankdk

    can i ban a player for 1 hour ?

    Like "/ban reason t:1h"
     
  5. Offline

    _infina_

    not currently, but I have put it up as an issue on github, so it may happen.
     
  6. Offline

    sk89q

    If anyone would like to help out with CommandBook, please contact me!
     
  7. Offline

    PatrickFreed

    I'm no good at Java but if you ever need a plugin updated to the latest RB I'd help out. (WE and WG are a bit big for me though, lol)
     
  8. Offline

    uzumi

    We just made our server public and got alot of people in and they imidiatly started reporting problems with permissions, apparently they dont get most of the permissions /commandbook ones)

    heres my permission setup

    http://pastebin.com/fDzVTUmz

    please have a good look i would really like my user to have permissions to go to spawn and use /msg etc
     
  9. Offline

    thenetherman

    I get a server error each time I log in (does not seem to affect play much, however):

    2011-08-05 21:45:34 [SEVERE] Could not load 'plugins\CommandBook.jar' in folder 'plugins':
    unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 285
    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: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>(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)

    All else loads fine. I am running a Macintosh iMac with OSX 10.6.8 Leopard on a 2.8 GHz Intel Core i7 quad with 8 GB RAM. I use a rented server with 2 GB RAM and have no problems with the game - just the server warning that is [SEVERE}. Any ideas? I have reloaded the CommandBook.jar several time and still get the same messages.
     
  10. Offline

    ACStache

    any error you get that says it's from 'org.yaml.snakeyaml' means you have a syntax error in your config file. the easiest way to resolve this is back up your current config file, then delete it. let the plugin generate a new one then apply your changes back in manually. your error in particular says you have an unacceptable character (not sure what character it is though) so just watch what you're typing :)

    also, there are online yml parsers you can paste your config into to make sure it's all correct
     
  11. Offline

    datwerd

    is there a way to let non op players use Too Many Items mod with commandbook?
    giving players 'commandbook.give.stacks' seems not to work :(
     
  12. Offline

    Bseagull

    I get this error:

    12:12:41 [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(Class.java:247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java: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.reload(CraftServer.java:378)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:312)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    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)
    ... 14 more




    Exactly like that.
    Running Mac OSX 10.7, CB 1000, CommandBook build 1000. It also did not generate a folder in the plugins directory for me to edit the config file.


    Help?
     
  13. Offline

    Azell

    I dont think /kits permission is right

    can someone check if it's still

    commandbook.kit
    commandbook.kit.kits.(name of kit)

    cause whenever i try it, i still get "you're not permitted", also is there any perm node requirement for /kits rather than those two?
     
  14. Offline

    Zixt

    Is there a way to set a per-world /spawn cool-down and warmup?


    Cheers
     
  15. Offline

    zznelsonzz

    umm how does the thor command work, like how do you make the lightning strike?
     
  16. Offline

    _infina_

    use /thor and swing a pickaxe.
     
  17. Offline

    zznelsonzz

    i do that but nothing happens
     
  18. Offline

    piluke

    If you have an antiweather plugin, it might be interfering.
     
  19. Offline

    klutch2013

    do the /i and /give have the same permissions node or not? because i gave users commandbook.give.* and they can't use /i
     
  20. Offline

    phondeux

    Granting just the /ban permission to a player using craftbukkit 1000 and the latest commandbook is broken. Not even certain if it works for groups.

    I have a dev server to test all of this on so let me know if you need anything configured/tested.
     
  21. Offline

    bigggan

    I have a feature i would request for the command online players, that its like this:

    Online (X/Y)
    World: random, Random2, Random3
    World_Nether: Test, Test2, bigggan
    BuildMap: RandomTest, RandomTest2

    That it shows the world a player is in.
     
  22. Offline

    _infina_

    I may be able to add that in. let me look.
     
  23. Offline

    Moparx

    Hi.
    Is there a way to make the mute command mute all forms of messaging? When I mute a user they cannot talk normally, but they can still use /me, /msg, etc to continue with their tirades.
     
  24. Offline

    thenetherman

     
  25. Offline

    daleisme

    I get this error...

    Code:
    151 recipes
    16 achievements
    15:37:58 [INFO] Starting minecraft server version Beta 1.7.3
    15:37:58 [INFO] Loading properties
    15:37:58 [INFO] Starting Minecraft server on *:25566
    15:37:58 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)
    15:37:58 [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
    15:37:58 [INFO] [PermissionsEx] sql backend registered!
    15:37:58 [INFO] [PermissionsEx] file backend registered!
    15:37:58 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    15:37:58 [INFO] [PermissionsEx] p2compat backend registered!
    15:37:58 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    15:37:58 [INFO] [PermissionsEx] Initializing file backend
    15:37:58 [INFO] Preparing level "world"
    15:37:58 [INFO] Preparing start region for level 0 (Seed: -954123182064551294)
    15:37:59 [INFO] Preparing start region for level 1 (Seed: -954123182064551294)
    15:37:59 [INFO] Preparing spawn area: 40%
    15:38:00 [INFO] Lockette version 1.3.8 is being enabled!  Yay!  (Core version 1.
    0)
    15:38:00 [INFO] Lockette: Detected craftbukkit build [1000] ok.
    15:38:00 [INFO] [PermissionsCompat] Compatibility layer enabled.
    15:38:00 [INFO] Lockette: Linked to Permissions plugin version 2.7.7
    15:38:00 [INFO] Lockette: Ready to protect your containers.
    15:38:00 [INFO] [PermissionsEx] v1.13 enabled
    15:38:00 [INFO] [ChatManager] ChatManager enabled!
    15:38:00 [INFO] [Modifyworld] Modifyworld disabled. Check config.yml!
    15:38:00 [INFO] [Modifyworld] Modifyworld disabled!
    15:38:00 [INFO] Server permissions file permissions.yml is empty, ignoring it
    15:38:00 [INFO] Done (0.157s)! For help, type "help" or "?"
    >
     
  26. Offline

    Pencil

    Ehm lol wtf D:

    loool.jpg
     
  27. Offline

    mrvertigo27

    please list your permissions node in your plugin.yml so we may extract them regularly and stay updated using permissionshelper
     
  28. Offline

    Lying_Cake

    Error on plugin reload! Mac OsX running Bukkit 1032, after replacing PermissionsBukkit with Permissions 3.1.6:

    Code:
    21:41:39 [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(Class.java:247)
        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:128)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:378)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:312)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        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)
        ... 14 more
    
    Please Advise!
     
  29. Offline

    johndoeloldr

    I'm sorry if this has been asked (I've searched for the answer or suggestion), but is there a command for overriding the blacklist?
     
  30. Offline

    Raycrash

    Nvm got it working!
    Thanks great plugin and the customizing is awesome ;)
     
  31. Offline

    Afotai

    I have a question though, how can I make it so that when someone does /who, you get the list with the coloured usernames in the list? I already have admins as red on iChat, and members green.
     
Thread Status:
Not open for further replies.

Share This Page