[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

    Boon Pek

    Thank you very much for the support, sk89q :) yes, for req #3 I was referring to the default quantity :p
    Oh yes, celticministrel did steal some ideas :( Then again, you are the dev of WorldEdit, WorldGuard and CraftBook so you can do anything, and that includes making a plugin that stays within the general scope but superceeds Essentials essentially :p
     
  3. Offline

    sk89q

    Now that error sounds like you have an outdated CraftBukkit.
     
  4. Offline

    Blackstorm72

    I'm not sure if it has been stated but now theres a major issue with my server.
    2 players cannot get on now because of using a command mistake such as:
    /i 864 <- instead of doing /i 8 64 (typo)

    It crashes them and their client, with any computer, giving the java.net.SocketException: connection reset
    and they can no longer get on the server even when their player.dat files are deleted.

    happened to two of our players, and they can no longer log in on the server. I'll see if deleting the plugin changes anything...
    [MERGETIME="1299958446"][/MERGETIME]
    may be conflicting plugins... still working on it.
     
  5. Offline

    Apasalic

    Please someone help. :(

    2011-03-12 102622 [INFO] Starting minecraft server version Beta 1.3
    2011-03-12 102622 [INFO] Loading properties
    2011-03-12 102622 [INFO] Starting Minecraft server on 5.95.203.24825565
    2011-03-12 102622 [INFO] This server is running Craftbukkit version git-Bukki
    -0.0.0-447-g84246c4-b428jnks (MC 1.3)
    2011-03-12 102622 [INFO] Preparing level Notches World
    2011-03-12 102622 [INFO] Preparing start region
    2011-03-12 102623 [SEVERE] Could not load pluginsCommandBook.jar in plugins
    null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.
    ava85)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager
    java129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManage
    .java94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java55)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java187)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java174)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java120)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java227)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile366)
    Caused by java.lang.NoClassDefFoundError comsk89qminecraftutilcommandsCo
    mandPermissionsException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.
    ava72)
    ... 8 more
    Caused by java.lang.ClassNotFoundException com.sk89q.minecraft.util.commands.
    ommandPermissionsException
    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
    java30)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more
    2011-03-12 102623 [WARNING] Using the stupidly long constructor com.bukkit.cr
    z.PlayerList.PlayerList(PluginLoader, Server, PluginDescriptionFile, File, File
    ClassLoader) is no longer recommended. Go nag the plugin author of PlayerList
    o remove it! (Nothing is broken, we just like to keep code clean.)
    2011-03-12 102623 [INFO] LoginMessage 0.5_4 enabled
    2011-03-12 102623 [INFO] [MultipleHomes] Settings Loaded!
    2011-03-12 102623 [INFO] [MultipleHomes] MultipleHomes version 0.51 is enable
    !
    2011-03-12 102623 [INFO] PlayerList version 1.1 is enabled!
    2011-03-12 102623 [INFO] Done (1088904190ns)! For help, type help or
     
  6. Offline

    WindTag

    Here's the relevant parts of the message in the command prompt.


    Code:
    16:02:08 [INFO] Starting minecraft server version Beta 1.3
    16:02:08 [WARNING] **** NOT ENOUGH RAM!
    16:02:08 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    16:02:08 [INFO] Loading properties
    16:02:08 [INFO] Starting Minecraft server on *:25565
    16:02:08 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-497-gea319d1-b499jnks (MC: 1.3)
    16:02:08 [INFO] Preparing level "serverworld"
    16:02:08 [INFO] Preparing start region
    16:02:09 [SEVERE] Could not load plugins\CommandBook.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:130)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:95)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandsManager
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:72)
            ... 8 more
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.CommandsManager
            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:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 11 more
    16:02:09 [INFO] [DeathChest] version [1.33b] loaded.
    16:02:09 [INFO] [DeathChest] Enabled permission system: LOCAL
    16:02:09 [INFO] [DeathChest] Loaded expiration time: 0
    16:02:09 [INFO] Elevators version 1.3.1 is enabled!
    16:02:09 [INFO] flyRidgeFly version 1.4 is enabled!
    16:02:09 [INFO] [LimitSpawns] version 1.11 by lonelydime is enabled!
    16:02:09 [INFO] Minecart Mania Admin Controls version 1.0 is enabled!
    16:02:09 [INFO] Minecart Mania Automations version 1.0 is enabled!
    16:02:09 [INFO] Minecart Mania Chest Control version 1.01 is enabled!
    16:02:09 [INFO] Minecart Mania Core version 1.0a is enabled!
    16:02:09 [INFO] Minecart Mania Sign Commands version 1.01 is enabled!
    16:02:09 [INFO] Minecart Mania Station version 1.0a is enabled!
    16:02:10 [INFO] [MYHOME]: 3 homes loaded
    16:02:10 [SEVERE] [MYHOME] Permissions isn't loaded, there are no restrictions.
    16:02:10 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    16:02:10 [INFO] MyHome 1.9.2 enabled
    16:02:10 [INFO] [MYWARP]: 11 warps loaded
    16:02:10 [SEVERE] [MYWARP] Permissions isn't loaded, there are no restrictions.
    16:02:10 [WARNING] [MYWARP] 'Help' isn't detected. No /help support.
    16:02:10 [INFO] MyWarp 1.10.3 enabled
    16:02:10 [SEVERE] PLAYER_COMMAND loading TimeShift v1.4.4 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_COMMAND
            at tazzernator.cjc.timeshift.TimeShift.onEnable(TimeShift.java:99)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:188)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    16:02:10 [INFO] VoxelDoop version 1.5 is enabled!
    16:02:10 [INFO] VoxelSniper version 3.1b is enabled! Snipe away.
    16:02:10 [INFO] Done (0.241s)! For help, type "help" or "?"
    >
    I hope this is what you wanted.
     
  7. Offline

    TheNorthFace

    No longer works. This plugin needs to be updated! Doesn't work with CraftBukkit build 527!
     
  8. Offline

    iSushi

    I got a huge problem :( I've used around 3 hours to figure this one out. And it tracked it back to Bukkit.

    It all started about 10 hours ago, I got a mystical item in my inventory, it was invisible. After checking some more, I figured out it crashed my client when I rolled over it with my mouse. I got scared. I found a work-around on how to move the block a bit around, I take another block, and pick up the invisible block. The name wouldn't show, this way it wouldn't crash before I moved it into a open slot in my inventory, and got forced to see the name of the block. Which I never saw, because it crashed my client. I put the invisible item into a chest (I got this to work after a couple of crashed only!), and wrote a sign above it saying, "Item Of Death" "Do not touch". Then I invited some friends over that had poor computer's that will break down if some software fail at them... I made them look at it. After I got rid of my friend's, I left the item to never be seen again. You can't place the invisible item, destroy it (lava,cactu etc.), and you can't touch it. The only way to get rid of it is to wipe the player file. But who doesn't like to have a item of death?.. There you got it mr. or mrs. trepasser's!
    About an hour later, I spawned some cobblestone half step, by doing /i step:cobble
    I placed the step and about 30 second after suddenly turned into a normal step in my inventory. And I went to look at it, when I touched it, my client crashed once again. I started testing it heavily, and lunched my native vanilla server, and figured out something is wrong with Bukkit. It's not avoidable, so I can't place cobblestone steps. :(

    My Current WorldEdit Version: 4.0-beta8
    My Current CommandBook Version: 1.1
    My Current CraftBukkit Version: 531 (Recommended Build)
    My Current Permissions Version: 2.5.3
    Other Plugins That Might Interact: FenceStack (1.12),CraftBook (3.0-alpha1) and WorldGuard (4.0-alpha1)

    Hope you fix this, there are no error messages in the console, just a simple diconnected by genetric reason (bet I wrote something wrong in that sentence).
     
  9. Offline

    sk89q

    Delete their player.dat or edit it with NBTEdit. I will be fixing this in the next version.

    Make sure you install WorldEdit.

    Make sure you install WorldEdit.

    It should still work. I'll test.

    I will look into it.
     
  10. Offline

    RustyDagger

    Running this fine on CB 531 No issues How ever I would like to know what you use for kicks and bans on your server SK89Q cause well i would of thought they would of been in this plugin :/ my servers lacking them and i would like to know what you recommend you have never steard me wrong in the past All your plugin's are awesome I should get around to donating.
     
  11. Offline

    Kainzo

    Kiwiadmin or MCbans is great for kick / bans
     
  12. Offline

    ThomasJ

    Would it be possible to make /who and any other listing of playernames use DisplayName since Bukkit now have fixed the annoying issues with Displayname? We have a few users with poorly chosen usernames who have had their displaynames set.
     
  13. Offline

    sk89q

    I have never needed to kick or ban anyone on my server. But in the case that we do, a few people have op. I still plan to add kicks/bans though.

    Sure. I'll add a setting.
     
  14. Offline

    RustyDagger

    Lucky you Thx for adding them when you get to it Using kiwiadmin for now Better than nothing.
    Would like to request /s as an alias of /bring Miss it a lot.
     
  15. Offline

    M1nurThr3t

    Please add the kick and ban, i will love you with infinite diamonds!
     
  16. Offline

    sk89q

    They will be added. I have to chew through CraftBook and WorldGuard first though.
     
  17. Offline

    MacG32

    Confirmed working with build #556. [​IMG]
     
  18. Offline

    Malzbier

    Build #556 does work for me not correct:
    Code:
    16:41:21 [SCHWERWIEGEND] Could not load plugins\CommandBook.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandPermissionsException
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:105)
            ... 8 more
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.CommandPermissionsException
            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:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 11 more
     
  19. Offline

    Arcwolf

    I've been noticing that /clear -a does not actually clear all the inventory. It leaves the helmet slot and the inventory position above the 9th player quickbar slot uncleared.

    Commandbucket 1.1 + Bukkit 556
     
  20. Offline

    iSushi

    The bug fixed itself... weird.
     
  21. Offline

    Xemnas33

    Yep that happens to me too on 541 and previous builds.
     
  22. Offline

    Lordarking

    yes I have installed world edit and it load

    now it works ^^
     
  23. Offline

    sk89q

    Version 1.2

    • Added new macros: %online%, %players% (list of players), %cname% (colored player name where applicable), %id% (unadulterated name).
    • Added support for kits with /kit <kit> [target] and /kit to list.
    • Added /kick [target] command.
    • Added a basic flat-file ban system. Commands: /ban, /unban, /isbanned, /bans load, and /bans save.
    • Added /spawnmob [-d] [-i] [-r] <mob> [count] [location].
    • Added /whois to query information about a player.
    • Added /barrage [-s] [target] to send a barrage of arrows from a player.
    • Added /rocket [-s] [-h] [target] to rocket a player.
    • Added /slap [-s] [-h|-v] [-d] [target] to slap a player.
    • Added console support to /whereami and /compass.
    • Added /me and /say. This allows you to properly apply permissions to these commands, in additional to support from the console.
    • Added /tell as an alias of /msg.
    • Added /put and /place to teleport players to a target block.
    • Added #target as a special location code to select the first free spot at the location that you are looking at.
    • Added /debug info for server information.
    • Added /debug clock to test your internal Minecraft server clock speed to see if it's healthy.
    • Added /summon and /s as aliases for /bring.
    • Added op-permissions setting, allowing you to disable giving ops permissions automatically.
    • Fixed minor +/
    • 1 second accuracy bug with /time command (thanks to ochristi!).
    • Fixed the lack of item ID sanitization.
    • Fixed NumberFormatException not properly handled.
    • Fixed player matching routine potentially returning empty lists (resulting in odd behavior).
    • Fixed /item having double flag usage information.
    • Fixed /clear not clearing two slots.
    • Fixed item aliases processing.
    • Improved how colored names were handled.
    • Now name displays will use the player's display name. You can disable this with the new 'use-display-names' configuration setting.

    Download 1.2 or customize it!
     
  24. Offline

    hofec

    Hi sk89q !

    Excellent plugin, thanks !

    --
    One simple question, can u please add a /more (alias /m) cmd ? [​IMG]
    When i'm holding any block/item, this can give me full stack of em [64]

    Permissions support too.
    --
    Many thanks ! [​IMG]
     
  25. Offline

    PatrickFreed

    Does this have automatic Help support? (by tKelly) or do we have to add all the commands?
     
  26. Offline

    QQCucumber

    This looks fantastic sk89q. All I feel it's really missing is /mspawn just like hMod used to have, which controls what a mob spawner spawns.
     
  27. Offline

    uncovery

    I am having a conflict with essentials for the /compass command (and probably others).

    whats the best way to avoid this? my users cannot use the /compass command anymore they got from essentials. I gave them the permission for the commandbook command, too, but it does not work still. any advice?

    permissions:
    - 'essentials.compass'
    - 'commandbook.whereami'

    so I have both of these but now none of them work for the normal users.
     
  28. Offline

    Spiritax

    When use /whois playername
    it's the playername who receive the information, not the one who typed the command.

    The /say command overwrite the /say from console. now script who use /say in console or op who use /say write in white.
     
  29. Offline

    RustyDagger

    Nice update cant wait to upgrade my server now Yay For /s

    also @spiritax Where you from man Cause thats some confusing English you got there.
     
  30. Offline

    Spiritax

    Sry i'm from Belgium, i speak usually French.

    so I'll try to explain better.

    I've my account, spiritax who is admin. I want to get information about a player named playername by example.

    I type /whois playername.

    Then the player named playername receive the report with all his information, and i receive nothing.

    same from console. I think that normally it's the console or the admin who typed the /whois playername command must receive the information, not the playername.

    the other point is that the /say command of the plugin replace the say command from bukkit. so when in console i type "say my little message", in game it write "my little message" but in white and formated like "< #console > my little message".
     
  31. Offline

    zazra

    Could we also get a sort of refresh time on kits, so that for instance we could have like a 30 minute timer before users can request a certain kit again? or is there an option for that already? Cuz i didn't see it it in the config
     
Thread Status:
Not open for further replies.

Share This Page