[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

    emoknight

    can u add the /top command at teleport to the hightes block
     
  3. Offline

    Afatsum

    Don't know if this is already asked, but anyone know the metadata value to spawn unbreakable tools? You can make them with InvEdit, i know you could make them with this too ;)
     
  4. Offline

    DeanDip

    It's because the time is locked. Unlock the time, and it will start flowing properly again.

    It would be nice if there was a setting to reset the time to a certain time of day after a certain amount of time has passed (like maybe set it to every 8 minecraft hours) as a way to help keep it day (or night) time while not having the problem of water flow stopping with time.
     
  5. Offline

    eRko16

    Please make command to lock server.

    Example.
    Command: /protect it will lock server that none can join(only Admin with permissions like commandbook.protectignore)
    Command: /unprotect (everyone can join)

    When server is locked and everyone try to join it will type custom message which is in config.yml like

    LockMessage=Server is currently locked
     
  6. Offline

    Drei Gyuu

    Thanks! so that was it. Finally, that makes perfect sense
     
  7. Offline

    ToastedJelly

  8. 18:23: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:134)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    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
     
  9. Offline

    emoknight

  10. Offline

    Pr4w

    @sk89q What do you need me to test ?

    Here's my config, in case that helps.
    Code:
    # Give ops all permissions
    op-permissions: true
    use-display-names: true
    online-on-join: false
    online-list:
        colored-names: true
        grouped-names: false
        show-max-players: false
    verify-name-format: false
    What is the easiest plugin to set display names according to Permissions prefixes ? I assumed that was what iChat did, but obviously not since it is not working in Commandbook.
    I tried CB 766, same problem, still doesn't work.

    If I removed iChat, I then get absolutely no color. Not in chat, and not in /list either.
    I tried other stuff like Prefixer and nChat, none of them worked for me. :/
     
  11. Offline

    Αρρεν

    me too // CB766
     
  12. Offline

    Arjan

    my whole server is f*cking up! first this all worked now commandbook gives me errors i get chunk errors etc etc!!! here is the commandbook error plz help:
    22:28:10 [SEVERE] Could not load 'plugins/CommandBook.jar' in folder 'plugins':
    java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandPermissionsException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:160)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.CommandPermissionsException
    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:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 11 more
    and im also getting chunk errors spamming each second causing extremely lagg betw im using hamachi on a mac osx version 10.6.7 processor: 2.4 ghz intel core 2 duo memory: 2gb 1067 mhz ddr3 here is the error:
    22:28:05 [INFO] Chunk (-246, 52) stored at (-227, 33)
    22:28:05 [INFO] net.minecraft.server.Chunk
    22:28:05 [SEVERE] java.lang.Throwable
    22:28:05 [SEVERE] at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(ChunkProviderServer.java:120)
    22:28:05 [SEVERE] at net.minecraft.server.World.getChunkAt(World.java:215)
    22:28:05 [SEVERE] at net.minecraft.server.World.a(World.java:519)
    22:28:05 [SEVERE] at net.minecraft.server.MetadataChunkBlock.a(SourceFile:84)
    22:28:05 [SEVERE] at net.minecraft.server.World.doLighting(World.java:1354)
    22:28:05 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:197)
    22:28:05 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    22:28:05 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    22:28:05 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    22:28:05 [INFO] Chunk (-246, 52) stored at (-227, 33)
    22:28:05 [SEVERE] java.lang.Throwable
    22:28:05 [SEVERE] at org.bukkit.craftbukkit.util.LongHashtable.get(LongHashtable.java:32)
    22:28:05 [SEVERE] at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(ChunkProviderServer.java:112)
    22:28:05 [SEVERE] at net.minecraft.server.World.getChunkAt(World.java:215)
    22:28:05 [SEVERE] at net.minecraft.server.World.a(World.java:519)
    22:28:05 [SEVERE] at net.minecraft.server.MetadataChunkBlock.a(SourceFile:84)
    22:28:05 [SEVERE] at net.minecraft.server.World.doLighting(World.java:1354)
    22:28:05 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:197)
    22:28:05 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    22:28:05 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    22:28:05 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    22:28:05 [INFO] Chunk (-246, 52) stored at (-227, 33)
    etc etc... plz help!!! all my server users are leaving my server :(
     
  13. Offline

    Nove Lenducten

    It says 1.5.1. what do you mean by "you cant reproduce it?"
     
  14. Offline

    Josh Schaffer

    Permissions for commandbook aren't working. Any help?
     
  15. Offline

    RoadRnr

    I keep getting the following two lines in my console:
    Code:
    Console: Too many arguments.
    Console: /ping
    If I remove the commandbook plugin, I don't get the messages anymore. I'm running CommandBook 1.51, Minecart Mania 1.2, Permissions 2.72, and WorldEdit 4.4. I also use McMyAdmin as my server admin, which updated today along with CraftBukkit 766.

    It doesn't seem to be causing issues, but it does cause my server log to fill up quite quickly as these lines seem to repeat every few minutes or so. Any help would be appreciated. I will note that I just moved from Essentials to CommandBook yesterday.

    Any help/recommendations would be appreciated.
     
  16. Offline

    Napier

  17. Offline

    sk89q

    SO here's the plan: I will be too busy in the next week (or week and a half) to release any updates so you guys will have to hold on your best. However, I will have a short spurt of solid free time for a bit (something I have lacked in the past six months, which explains why CraftBook and WorldGuard are still in some limbo) afterwards, which may be enough for me to finish CraftBook and WorldGuard, and of course fix whatever problems my other plugins have.
     
  18. Offline

    LingYun

    I have a weird problem.
    I am making a fresh plugins installation after bukkit update to 766.
    I've done everything in the next order:
    Installed permissions -> manual reboot.
    Installed world edit -> manual reboot.
    Installed command book 1.5.1 and then... After reboot~ Server reboots in a loop without any errors (@_@) in the log file.
    In the console it writes : [Ping timeout! Restarting Minecraft...]
    It reboots, no errors (really T_T). 5 seconds pass -> [Ping timeout! Restarting Minecraft...] again.

    Previous command book has no such thing.The point is that [generals] plugin had the same issue before. At that time I didn't pay attention to it, and switched on command book.
    Not it happens with command book~ What might be the cause?
     
  19. Offline

    CoMcE

    Hey there...
    Commandbook doesn't play the intro.mid i put to the CommandBook Folder...

    i get the following Error:

    My Bukkit version is #766.

    Regards
     
  20. Offline

    Pr4w

    Hey, has anyone got the /list and /msg to display the DisplayName in color ? If so, could you guide me on how to do it? :)
     
  21. Offline

    DeanDip

    I haven't got it working with iChat yet, but my guess is that it might work if you use § instead of & inside the variable.
     
  22. Offline

    Jeyge

    Do you have WorldEdit installed?
     
  23. Offline

    KremeChoco

    Is there a way to make these commands show, instead of the default ones given?
    :3
     
  24. Offline

    Kene

    Any way to have /say broadcast a server message?...
     
  25. Offline

    fifth

    Just noticed the other day how with the /i command you can use words not only for items but for their data values, like instead of doing /i wool:## you can just do /i wool:red and that works.

    Which is to say that is a totally, totally excellent feature to have.
     
  26. Offline

    walmart

    exactly. mc coordinates are screwed up
     
  27. Offline

    Jadedwolf

    When i Use /remove items or /remove drops I get this error.
    Code:
    2011-05-12 01:30:07 [INFO] WorldEdit: IceMageAK: remove items 999
    2011-05-12 01:30:07 [SEVERE] java.lang.IllegalAccessError: tried to access class com.sk89q.worldedit.bukkit.BukkitWorld$1 from class com.sk89q.worldedit.bukkit.BukkitWorld
    2011-05-12 01:30:07 [SEVERE]     at com.sk89q.worldedit.bukkit.BukkitWorld.removeEntities(BukkitWorld.java:423)
    2011-05-12 01:30:07 [SEVERE]     at com.sk89q.worldedit.commands.UtilityCommands.remove(UtilityCommands.java:371)
    2011-05-12 01:30:07 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-05-12 01:30:07 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-05-12 01:30:07 [SEVERE]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-05-12 01:30:07 [SEVERE]     at java.lang.reflect.Method.invoke(Unknown Source)
    2011-05-12 01:30:07 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-05-12 01:30:07 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:272)
    2011-05-12 01:30:07 [SEVERE]     at com.sk89q.worldedit.WorldEdit.handleCommand(WorldEdit.java:966)
    2011-05-12 01:30:07 [SEVERE]     at com.sk89q.worldedit.bukkit.WorldEditPlayerListener.onPlayerCommandPreprocess(WorldEditPlayerListener.java:94)
    2011-05-12 01:30:07 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:230)
    2011-05-12 01:30:07 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-05-12 01:30:07 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    2011-05-12 01:30:07 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:669)
    2011-05-12 01:30:07 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    2011-05-12 01:30:07 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    2011-05-12 01:30:07 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-05-12 01:30:07 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-05-12 01:30:07 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    2011-05-12 01:30:07 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-12 01:30:07 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-05-12 01:30:07 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-05-12 01:30:07 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394
     
  28. Offline

    WaterFalcon

    what is this?

    [INFO] CommandBook: No intro.mid; not playing intro song.

    Just curious. This happens every time someone logs in
     
  29. Offline

    wizjany

    use /broadcast and change the config file to use whatever text you want eg "[Server] "
    midi support, read the first post

    Update WorldEdit
     
  30. Offline

    MalcolmLC

    I hope im not the only one here that uses WEPIF (the WorldEdit Permissions Interoperability Framework) .. but can you please add prefixes to the flatfile configuration somthing like if you wanted a red admin group prefix with [admin] you would put
    Code:
    admins:&c[admin]:*
    
    or
    
    admins:`r[admin]:*
    I really like your flatfile permissions more than the yaml file for essentials.
    :)
     
  31. Offline

    PatrickFreed

    @sk89q
    I don't know how you deal with all these people posting :p (please don't quit like Drakia)
     
Thread Status:
Not open for further replies.

Share This Page