[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

    blackmist

    I would love to have that SK! Its irritating to see my players spawn all over the place and miss the rules and stuff on the walls.

    Also, previously in Hey0, there was a plugin called ExactSpawn and it did just that, spawning on that exact location. Any possibility of reproducing it in bukkit?

    Thanks! :)
     
  3. Offline

    uncovery

  4. Offline

    DannyLAGZLOL

    maybe you can edit the ping, so maybe if you ccan type
    /ping <serverIP> it will show if the server replies, on?
    that would be coo
     
  5. Offline

    Planitia

    This wasn't working for me... Then I put worldedit into the folder and face palmed...

    Thanks for this plugin.
     
  6. Offline

    Kirbyn

    I have solved the probelm you can't use the Letters öäü They Crash the plugin
     
  7. Offline

    Kainzo

    556 / 1.2

    10:30:13 [INFO] serkharl lost connection: disconnect.quitting
    10:30:15 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'r' in plugin CommandBook v1.2-customized
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(String.java:694)
    at com.sk89q.minecraft.util.commands.CommandContext.<init>(CommandContext.java:36)
    at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:321)
    at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:226)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  8. Offline

    sk89q

    I'll see about that.

    It should work now.

    You could just use something on your computer.

    That's odd. I'll look into it.
    http://redmine.sk89q.com/issues/311

    I'll look into this.
     
  9. Offline

    Kainzo

    Coolio - Sk89q
     
  10. Offline

    Piercing Goblin

    You can find more information on the TooManyItems mod here.

    As quoted from the page stated above

    I just changed the command to
    Code:
    /i {1}:{3} {2}
     
  11. Offline

    Aspernatio

    Sk89q,
    I'd really love to see this feature too. Additionally, it would be awesome if we could also set the spawn point of specific members, so that I can have an area where new players can spawn, who are not permitted to build, and an area where my members can spawn, who actually have build rights. If this feature were added, I could have all of my new players spawn within a town, and once they have been accepted, spawn in a graveyard (as I run a roleplay server). Thanks.
     
  12. Offline

    QWW

    Can't get it to work. Just says the command isn't found.
     
  13. Offline

    IncendiaDrakon

    Does this plugin hook into Help? I'm not getting any entries for you plugin. If it helps, I'm using the most recent versions of both your plugins and Help, but I'm using a custom build of CommandBook. Everything, minus tp commands.
     
  14. Offline

    sk89q

    Noted.

    Any errors in console?

    It doesn't yet.
     
  15. Offline

    QWW

    Surprisingly no.
     
  16. Offline

    Deacal

    Hey man, can't get it to work neither. I haven't editet the config, because I just wanted to try it out. Anyhow -I tried a few commands like /time and such, but when I wrote /rules, it sayed "An enternal error occured while attempting to perform this command". The same with a bunch of other commands.

    I'm using Bukkit Recommended #556, worldedit 4.1, and the current vertion of this. I have a perms_group.txt and a perms_users.txt, where I got admin powers, so basicly *.
     
  17. Offline

    arkaman

    Hi, I need some help. A few months ago I was using Permissions 2.1 but now since Permissions does not work with newer Bukkits I have just been using op.txt But this provides no tweaking. I need to make it so normal users can use the /spawn command. How would I go about doing that? Thanks.
     
  18. Offline

    Jonathan Bloom

    Would it be possible to get /who to show the group colors?
     
    imaxorz likes this.
  19. Offline

    danirunes

    I don't get it, when i try to spawn a mob i need put location. whwat exactly is the location??!?!
     
  20. Offline

    canavaro99

    the plugin works but I can't eat!!
     
  21. Offline

    Yoann

    I got serval errors when i try the following commands:
    motd, msg, who, whereami, rules, whois, etc.
    Ingame i get "An internal error occured while attempting to perform this command"
    Code:
    20:43:35 [SCHWERWIEGEND] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'motd' in plugin CommandBook v1.2
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    	at com.sk89q.bukkit.migration.ConfigurationPermissionsResolver.hasPermission(ConfigurationPermissionsResolver.java:104)
    	at com.sk89q.bukkit.migration.ConfigurationPermissionsResolver.hasPermission(ConfigurationPermissionsResolver.java:99)
    	at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:102)
    	at com.sk89q.commandbook.CommandBookPlugin.hasPermission(CommandBookPlugin.java:381)
    	at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:182)
    	at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:179)
    	at com.sk89q.minecraft.util.commands.CommandsManager.hasPermission(CommandsManager.java:372)
    	at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:302)
    	at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    	at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:226)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	... 12 more
    20:43:41 [SCHWERWIEGEND] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'whois' in plugin CommandBook v1.2
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    	at com.sk89q.bukkit.migration.ConfigurationPermissionsResolver.hasPermission(ConfigurationPermissionsResolver.java:104)
    	at com.sk89q.bukkit.migration.ConfigurationPermissionsResolver.hasPermission(ConfigurationPermissionsResolver.java:99)
    	at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:102)
    	at com.sk89q.commandbook.CommandBookPlugin.hasPermission(CommandBookPlugin.java:381)
    	at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:182)
    	at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:179)
    	at com.sk89q.minecraft.util.commands.CommandsManager.hasPermission(CommandsManager.java:372)
    	at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:302)
    	at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    	at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:226)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	... 12 more
    20:43:42 [WARNUNG] Can't keep up! Did the system time change, or is the server overloaded?
    20:43:43 [SCHWERWIEGEND] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'whereami' in plugin CommandBook v1.2
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    	at com.sk89q.bukkit.migration.ConfigurationPermissionsResolver.hasPermission(ConfigurationPermissionsResolver.java:104)
    	at com.sk89q.bukkit.migration.ConfigurationPermissionsResolver.hasPermission(ConfigurationPermissionsResolver.java:99)
    	at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:102)
    	at com.sk89q.commandbook.CommandBookPlugin.hasPermission(CommandBookPlugin.java:381)
    	at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:182)
    	at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:179)
    	at com.sk89q.minecraft.util.commands.CommandsManager.hasPermission(CommandsManager.java:372)
    	at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:302)
    	at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    	at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:226)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	... 12 more
    20:43:45 [SCHWERWIEGEND] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'rules' in plugin CommandBook v1.2
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    	at com.sk89q.bukkit.migration.ConfigurationPermissionsResolver.hasPermission(ConfigurationPermissionsResolver.java:104)
    	at com.sk89q.bukkit.migration.ConfigurationPermissionsResolver.hasPermission(ConfigurationPermissionsResolver.java:99)
    	at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:102)
    	at com.sk89q.commandbook.CommandBookPlugin.hasPermission(CommandBookPlugin.java:381)
    	at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:182)
    	at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:179)
    	at com.sk89q.minecraft.util.commands.CommandsManager.hasPermission(CommandsManager.java:372)
    	at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:302)
    	at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    	at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:226)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	... 12 more
    20:43:47 [SCHWERWIEGEND] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'msg' in plugin CommandBook v1.2
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    	at com.sk89q.bukkit.migration.ConfigurationPermissionsResolver.hasPermission(ConfigurationPermissionsResolver.java:104)
    	at com.sk89q.bukkit.migration.ConfigurationPermissionsResolver.hasPermission(ConfigurationPermissionsResolver.java:99)
    	at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:102)
    	at com.sk89q.commandbook.CommandBookPlugin.hasPermission(CommandBookPlugin.java:381)
    	at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:182)
    	at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:179)
    	at com.sk89q.minecraft.util.commands.CommandsManager.hasPermission(CommandsManager.java:372)
    	at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:302)
    	at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    	at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:226)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	... 12 more
    
    
    Im using Build #556, Permissions 2.54 and WorldEdit 4.2
     
  22. Offline

    imaxorz

    Any possibility of adding timers/cooldown for teleportation? /spawn and /tp

    Thats the only thing that keeps me from leaving essentials. I don't want players to use teleportation to run away from PvP battles so I have a 5 minute cooldown and the player must stand still for 5 seconds to teleport.

    Thanks you! I use all your plug-ins :)
     
  23. Offline

    sk89q

    Does it also say that CommandBook loaded?

    Did you /reload? If so, you'll have to update to WorldEdit 4.2 because I fixed /reload not reloading permissions (the permissions code is in WorldEdit).

    You'll have to configure one of these options:
    http://wiki.sk89q.com/wiki/WEPIF

    I'll add an option.

    What are you trying?

    wat

    Did you /reload (it should work though)?

    Yeah sure.
     
  24. Offline

    imaxorz

    ^ you are awesome man. I'm looking forward to tomorrow for WG update :)
     
  25. Offline

    Aspernatio

    lmao!
     
  26. For some reason, /clear doesn't work.
    • Using CraftBukkit 556 (Current recommended as of this post)
    • Using Permissions 2.5.4 (Phoenix)
    • I am OP and Admin, and I have added the commandbook.clear to the group (even thou Admins have * )
    • It prints in the chat when i use clear: "Your inventory has been cleared."
    • I still have all my stuff
    • No errors in console or server log
    Anyone have any idea what I could be doing wrong? I have no other plugin that might do the same, the only other plugin i run that manages inventory, is MultiInv (for per-world inventories).

    - UPDATE -

    Ok, so it does clear my inventory, but not my hotbar, which was what i was testing with. Any chance for a config so i could have it clear the hotbar by default, without having to use the -a argument (maybe then -a would just include armor as well)?
     
  27. Offline

    canavaro99

     
  28. Offline

    Swij

    I've been looking for a plugin like this one for days! a customizable general plugin!
    Now i wont have to worry about interfering Tp or spawn commands, MoTD spamming
    or other command bugs! Thank you SOOO much!
     
  29. Offline

    Shady1337

    /tphere doesnt work for me since last update.
    /bring works.
    using latest recommended cb
    latest permissions
    latest wg,we
     
  30. Offline

    klosen

    mhm when i ban some one he can join the server ... why? it is a knowing bug?
     
  31. Offline

    johno323

    I dont have the config.yml file,what should i do
    windows 7
    build 544
     
Thread Status:
Not open for further replies.

Share This Page