[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

    Rueckera

    Silly question but could i change the Language of the Events like: To Player; An Player. Or sth else?
     
  3. Offline

    Afotai

    I can't get Commandbook to show up a colored /who list at all, and i use mChatsuite. I enabled the setting in the config for Commandbook, but it still shows up as grey names. Anyone else managed to succesfully do this?
     
  4. Offline

    CREEP57

    Sk89q... Can you Maybe Put a god mode in to commandbook? and can u make the commands Lite Blue? (B)
     
  5. Offline

    BlueJayofEvil

    I wasn't even using WorldGuard when I tested this. I've never used the /stoplag function before.
    I just confirmed this by doing some testing:
    1) Run a server with only WorldEdit and CommandBook
    2) Place a stone button or build a redstone circuit (a small one will do)
    3) /time -l noon (or whatever time you choose)
    4) Wait and count how long it takes for the button/redstone circuit to complete (it'll be awhile)
    5) Repeat the above process and omit step 3
     
  6. Offline

    dida55

    When do you expect updating this to 1.1?
     
  7. Offline

    Afotai

    stoplag works in a simular fashion, since redstone is based on a variable, the same variable that controls the day/night cycle, making a locked time would mean locking that variable. Latest versions of commandbook now can do it at a set interval in the configuration file (default 20 i think)
     
  8. Offline

    dida55

    so does this work on 1.1? ^^
     
  9. Offline

    Nirklars

    Greetings community!

    I've been trying to get the gamemode permission node to work without any success on Minecraft 1.0.1 latest stable craftbukkit. None of the following have any effect:
    commandbook.gamemode
    commandbook.gamemode.change
    commandbook.gamemode.change.other
    commandbook.gamemode.check
    commandbook.gamemode.check.other

    I've checked the permissions with YAML online parser and it everything checks. I have PermissionEx and multiverse with portal permissions for several different groups working in permissions.yml without any issues. CommandBook motd works properly so It's been loaded properly.

    I have tried editing wepif.yml exclusively, ignoring PermissionEx permissions.yml as well without success.
    When starting the server I get correct import message:
    "[INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions."

    My goal is to only allow gamemode toggling for certain users in a specific multiverse world.
    Is this permission node broken or am I missing something? permissions.yml link: http://pastebin.com/JPgXYfmT

    Mods/Plugins:
    ChatManager.jar
    CommandBook.jar
    Modifyworld.jar
    MultiInv-12.jar
    Multiverse-Core.jar
    Multiverse-NetherPortals.jar
    Multiverse-Portals.jar
    Permissions.jar
    PermissionsEx.jar
    WorldEdit.jar

    Thank you for your help and thank you for a great minimalistic plugin!
    Best Regards Nick
     
  10. Offline

    travja

    When I put in my permissions file commandbook.spawnmob.* users can't spawn mobs, I find that this happens whenever I put a * in the permission. Any help would be great.
     
  11. Offline

    edwardthefma

    how can i spawn villagers with jobs other than farmer i have a problem that a the villages around my spawn are
    empty villages as my members went on a major killing spree i was hoping i could go in and spawn some villagers and try to repopulate the villages with npcs
     
  12. Offline

    Mara

    Hey, I'm having a little problem, well it's actually a pretty big problem :p CommandBook and actually no other plugins are loading.

    09:36:49 [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:171)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:215)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:155)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:438)
    at org.bukkit.Bukkit.reload(Bukkit.java:188)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
    22)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    82)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    78)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:571)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:548)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    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)
    ... 16 more
    09:36:49 [INFO] Server permissions file permissions.yml is empty, ignoring it
    09:36:49 [INFO] Reload complete.
     
  13. Offline

    erdrickk

    So as OP I can /sethome [homename] and do as many as I want. My regular users can not. What is the permission node that allows this? I don't see it in the permissions list. I want my VIP's to have more than 1 home
     
  14. Offline

    ledhead900

    home seems to not be multiworld working it plays up for our members and sends them to default world not the world it was set on when server restarts.

    CB R1
     
  15. Offline

    0mi4

    Code:
    18:46:15 [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:175)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:188)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:109)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:156)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:52)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.C
    ommandException
            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:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 11 more
    18:46:15 [INFO] [PermissionsEx] Initializing file backend
    
     
  16. Offline

    Grifhell

    Plugin can choose sets different spawns points? (for groups in PEX)
     
  17. Offline

    eRko16

    Where is custom maker ?
     
  18. Offline

    Ticksy

    How to compile me build from source like this? I just do not need all the commands, but I would like to make a couple of changes for themselves.
     
  19. Offline

    XtenD

    If u want to remove some of commands, try open a plugin jar, search for plugin.yml, edit it by notepad.
    "I want to remove a midi command"
    I removed all the red strings, and command disappeared.
     
    Ticksy likes this.
  20. Offline

    Nishi-WHAT

    hey, Ive got a server running both commandbook and mywarp (both updated) but recently, I havent been able to use any mywarp commands cause commandbook has been overriding it! is there any way to disable commandbook warps?
     
  21. Offline

    freerunner

    Really Good Plugin Just To Note You Can Download His Other Plugins Worldguard Here And WorldEdit Here And Forgot About CraftBook Here And CommandHelper Here
     
  22. Offline

    TmInT

    The plugin does not load the component and does not work.
    Tested on version 1.0.1-R1
     
  23. Offline

    EtSSr

    If you aren't op you have no permission for any cmd
     
  24. Offline

    TmInT

    I'm admin, plugin doesn't work
     
  25. Offline

    zipfe

    Take that, sk89q! He's an admin! And he hath spoken. It must be true.

    Tmint, CommandBook is one of the oldest, most popular, basic Plugins out there, written by one of the best coders we have in this community. It sure as hell works. Instead of posting a pointless one-liner saying "doesn't work" I suggest you look for the error on your end or give people here more details about your setup, if you want any help.
     
    Justin The Cynical likes this.
  26. Offline

    fakemailer

    Help! I got this:
    13:57:24 [SCHWERWIEGEND] Could not load 'plugins\CommandBook.jar' in folder 'plugins':
    java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/Injector
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:285)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:200)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:156)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.Injector
    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:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more
     
  27. Offline

    travja

    This plugin is BROKEN with bukkit 1.1, it was working fine yesterday and when I try to start the server today it gives me this error:

    Code:
    2012-01-29 19:28:20 [SEVERE] Error occurred while enabling CommandBook v1.7 (Is it up to date?): special characters are not allowed
    unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<reader>", position 361
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:98)
        at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191)
        at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:63)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
        at org.bukkit.util.config.Configuration.load(Configuration.java:90)
        at org.bukkit.plugin.java.JavaPlugin.getConfiguration(JavaPlugin.java:120)
        at com.sk89q.commandbook.CommandBookPlugin.populateConfiguration(CommandBookPlugin.java:294)
        at com.sk89q.commandbook.CommandBookPlugin.onEnable(CommandBookPlugin.java:144)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    2012-01-29 19:28:20 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-01-29 19:28:20 [INFO] Done (2.684s)! For help, type "help" or "?"
    2012-01-29 19:28:26 [INFO] /192.168.1.106:1334 lost connection
    2012-01-29 19:28:28 [INFO] travja [/192.168.1.106:1337] logged in with entity id 239 at ([Party Survive] -89.53125, 66.0, 69.4375)
    2012-01-29 19:28:54 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'spawn' in plugin CommandBook v1.7
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
        at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
        at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:244)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
    2012-01-29 19:29:01 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'cmdbook' in plugin CommandBook v1.7
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:382)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:573)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:550)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
        at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:244)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 7 more
    2012-01-29 19:29:20 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'home' in plugin CommandBook v1.7
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
        at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
        at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:244)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
    
    HELP desperately need this to be fixed!
     
  28. Offline

    fffizzz

    Id check your config, something in there is causing the error

    special characters are not allowed
    unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<reader>", position 361

    Did you edit the rules or MOTD or something?

     
  29. Offline

    travja

    Tried changing possible symbols and it still doesn't work, and a thing I forgot to mention is it gives this upon stopping the server:
    Code:
    2012-01-29 21:55:51 [SEVERE] Error occurred while disabling CommandBook v1.7 (Is it up to date?): null
    java.lang.NullPointerException
        at com.sk89q.commandbook.CommandBookPlugin.onDisable(CommandBookPlugin.java:232)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:233)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:1083)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:397)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:390)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:186)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:385)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:465)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    
    I find that if I delete the config file it works after that but then I can't change anything in the config or it will give that message. :(

    More progress on the situation, I can take away from the MOTD/Rules and it will work fine, but as soon as I add anything it stops working and gives the two errors above... I don't know what the heck is wrong with it but it is driving me NUTS! :mad:

    EDIT: Also every other command works with commandbook until I edit the MOTD/Rules, Then it gives the error and commandbook doesn't work at all.

    Looks like it was some stupid error with editing with word, I edited it with notepad and it was fine. Really weird

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

    fffizzz

    post your config to pastebin or something, its yml so if you dont have the formatting right, it was get pissed.
     
  31. Offline

    _Zw_

    Could u make it convert from MyHome , and add the /home invite future? would be nice
     
Thread Status:
Not open for further replies.

Share This Page