[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

    Liger_XT5

    I'd have to agree with @Woutske . I have a couple hidden moderators on my server for a bit of extra security and I don't need all the mod/admin commands being shown all the time.

    Edit:
    Just updated commandbook for CB 709, got this error. Seems like no commands are working at the moment.
    Code:
    2011-04-22 09:40:17 [SEVERE] Could not load 'plugins/CommandBook.jar' in folder 'plugins': name is not defined
    org.bukkit.plugin.InvalidDescriptionException: name is not defined
        at org.bukkit.plugin.PluginDescriptionFile.loadMap(PluginDescriptionFile.java:140)
        at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:30)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:61)
        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)
    
    
     
  3. Offline

    Kainzo

    Massive issues when attempting to customize Commandbook OR rip out commands "such as /tell"

    Also on a basic download of 1.3 on 709

    I see this error:
    12:08:25 [SEVERE] Could not pass event PLAYER_INTERACT to CommandBook
    java.lang.IllegalStateException: Start block missed in BlockIterator
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:169)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:243)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:278)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:86)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:112)
    at com.sk89q.commandbook.CommandBookPlayerListener.onPlayerInteract(CommandBookPlayerListener.java:133)
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:252)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:133)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:717)
    at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  4. Offline

    Chris Lewis

    pardon the ignorance, but trying to figure out the syntax for the duration.... for the weather commands
     
  5. Offline

    sk89q

    Ok, I fixed the problem with the customizer and removed the errant 'the'.

    online-on-join: false


    /weather stormy -1 worldname

    I noticed it as well. It's likely a Minecraft bug.

    Hmm, I just looked at the Bukkit code and I can't see why items would not drop. Is it perhaps because the lightning also destroys the items?

    I can remove this in the next version.


    I will look into this. Looks like a CraftBukkit bug.

    /weather stormy (or on)
    /weather sunny (or off)

    You can set a duration (in seconds) if you want, but not doing so makes the weather duration natural.
     
  6. Offline

    remiinD

    Hey, when i try to type "/weather stormy 80000 FinalCraft" in the Chat, it says : An Error has occured. See Console.

    In my server.log:
    Code:
    2011-04-22 19:59:39 [SEVERE] com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NoSuchMethodError: org.bukkit.World.setStorm(Z)V
    2011-04-22 19:59:39 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:353)
    2011-04-22 19:59:39 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    2011-04-22 19:59:39 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:190)
    2011-04-22 19:59:39 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-04-22 19:59:39 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    2011-04-22 19:59:39 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
    2011-04-22 19:59:39 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
    2011-04-22 19:59:39 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
    2011-04-22 19:59:39 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
    2011-04-22 19:59:39 [SEVERE]     at net.minecraft.server.Packet3Chat.a(SourceFile:36)
    2011-04-22 19:59:39 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-04-22 19:59:39 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
    2011-04-22 19:59:39 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-04-22 19:59:39 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-04-22 19:59:39 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-04-22 19:59:39 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-22 19:59:39 [SEVERE] Caused by: java.lang.NoSuchMethodError: org.bukkit.World.setStorm(Z)V
    2011-04-22 19:59:39 [SEVERE]     at com.sk89q.commandbook.commands.GeneralCommands.weather(GeneralCommands.java:562)
    2011-04-22 19:59:39 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-04-22 19:59:39 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-04-22 19:59:39 [SEVERE]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-04-22 19:59:39 [SEVERE]     at java.lang.reflect.Method.invoke(Unknown Source)
    2011-04-22 19:59:39 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-04-22 19:59:39 [SEVERE]     ... 15 more

    My actuall Minecraft Bukkit Version : Bukkit for Minecraft 1.5_2(Build #689)

    downloaded here: http://ci.bukkit.org/job/dev-CraftBukkit/689/


    please help

    Sorry for bad english,i'm a 15 years old german xD
     
  7. Offline

    Felirami

    2011-04-22 13:06:25 [INFO] 0, 0
    2011-04-22 13:06:32 [SEVERE] com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NoSuchMethodError: org.bukkit.World.setStorm(Z)V
    2011-04-22 13:06:32 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:353)
    2011-04-22 13:06:32 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    2011-04-22 13:06:32 [SEVERE] at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:190)
    2011-04-22 13:06:32 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-04-22 13:06:32 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    2011-04-22 13:06:32 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
    2011-04-22 13:06:32 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
    2011-04-22 13:06:32 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
    2011-04-22 13:06:32 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
    2011-04-22 13:06:32 [SEVERE] at net.minecraft.server.Packet3Chat.a(SourceFile:36)
    2011-04-22 13:06:32 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-04-22 13:06:32 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
    2011-04-22 13:06:32 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-04-22 13:06:32 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-04-22 13:06:32 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-04-22 13:06:32 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-22 13:06:32 [SEVERE] Caused by: java.lang.NoSuchMethodError: org.bukkit.World.setStorm(Z)V
    2011-04-22 13:06:32 [SEVERE] at com.sk89q.commandbook.commands.GeneralCommands.weather(GeneralCommands.java:562)
    2011-04-22 13:06:32 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-04-22 13:06:32 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-04-22 13:06:32 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-04-22 13:06:32 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    2011-04-22 13:06:32 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-04-22 13:06:32 [SEVERE] ... 15 more
    2011-04-22 13:06:59 [SEVERE] com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NoSuchMethodError: org.bukkit.World.setThundering(Z)V
    2011-04-22 13:06:59 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:353)
    2011-04-22 13:06:59 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    2011-04-22 13:06:59 [SEVERE] at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:190)
    2011-04-22 13:06:59 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-04-22 13:06:59 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    2011-04-22 13:06:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
    2011-04-22 13:06:59 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
    2011-04-22 13:06:59 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
    2011-04-22 13:06:59 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
    2011-04-22 13:06:59 [SEVERE] at net.minecraft.server.Packet3Chat.a(SourceFile:36)
    2011-04-22 13:06:59 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-04-22 13:06:59 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
    2011-04-22 13:06:59 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-04-22 13:06:59 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-04-22 13:06:59 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-04-22 13:06:59 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-22 13:06:59 [SEVERE] Caused by: java.lang.NoSuchMethodError: org.bukkit.World.setThundering(Z)V
    2011-04-22 13:06:59 [SEVERE] at com.sk89q.commandbook.commands.GeneralCommands.thunder(GeneralCommands.java:626)
    2011-04-22 13:06:59 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-04-22 13:06:59 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-04-22 13:06:59 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-04-22 13:06:59 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    2011-04-22 13:06:59 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-04-22 13:06:59 [SEVERE] ... 15 more


    Trying /weather stormy -1 world , on bukkit 706 HELP!
     
  8. Offline

    BioRage

    Is it possible to add RPG elements to the Thunder? Cool Down, etc? IE barrage and Thor Hammer.
     
  9. Offline

    hiphopgamer

    what are the weather and thor permissions?
     
  10. Offline

    sk89q

    You need #709.

    Also, you can enter -1 for duration for a "natural" storm.

    Add a ticket on the issue tracker please.

    commandbook.weather
    commandbook.weather.thunder
    commandbook.thor
     
  11. does setting the weather to "stormy" also affect snowstorms, or only rain?
     
  12. Offline

    sagerobot

    Running CB:709 with Permissions and Backup (and commandbook duh)
    Code:
    12:18:15 [SEVERE] Could not load 'plugins\CommandBook.jar' in folder 'plugins':
    
    java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandPermiss
    ionsException
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:132)
            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.C
    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.
    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
    and i get this message please help
     
  13. Offline

    Quenaros

    It is possible that thors lightning destroys the item. I'm not sure. (TNT does destroy dropped items too).
    Thors lightning ignite blocks but there is no firespread. If a Thunder hits a block the fire is spreaded (without worldguard very annoying).
    Ah and as I saw it mentioned somewhere. Wolrdguards fireprotection works fine for me with 709
     
  14. Offline

    Chris Lewis

    Yes, lightning does destroy items (at least some of them).
    Thanks for giving me the syntax on the duration. It would be nice if we could have s/m/h so the command could be like this
    /weather stormy 5m World
    Anyway thanks for the great plugin!
     
  15. Offline

    PureTryOut

    First of all: your plugin is great! It's much better then essentials!
    Second: where can you download craftbukkit #709?
    Third: Maybe you could add a /help command? I have to use a special help plugin now and it isn't working with all plugins.
     
  16. Offline

    Omniscient

  17. Offline

    Delois

    Is there anyway I can just dissable this plugins /ban commands? Had some greifers and had to take it off for that reason. I love this plugin for many other reasons.

    Also, for some reason, they could still use /say when I muted them and demoted them to a rank with no permissions.

    This is just a security risk I dont want to deal with again :/
     
  18. Offline

    Nathan C

    Very nice.

    Even better is that I can make my own custom one, and leave out the bloat! Love it, good work!

    http://sk89q.com/projects/commandbook/customize

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  19. Offline

    Delois

    thanks, did not even notice that for some reason... must be used to the reguar old plugins :3
     
  20. Offline

    ironman

    this awesome man, thor's hammer makes you feel like god
    i can't wait until you get around to fixing ban's
     
  21. Offline

    sk89q

    It turns on both.

    You need WorldEdit.

    Yeah I plan that eventually.
     
  22. Offline

    Gratlofatic

    Thor is fucking AMAZING!!! THANK YOU FOR ADDING IT!!
     
  23. Loving Thors Hammer in the latest update. This plugin is great I refuse to use anything else.
    Sorry if this has been mentioned before, but when I set the weather in one world, it set's it for all worlds.
    Is this a bug or has bukkit not given weather multi-world support yet?
    I'm using the full command /weather sunny -1 worldname but it still changes weather for all of my worlds.
    I could be doing something wrong but though I'd post and ask anyway.
    Thanks.
     
  24. Offline

    anonymous

    any plans on adding things like tpaccept thats in essentials? So it asks users if you can teleport to them?
    also, any plans on adding an ability to TP to an X/Y/Z axis?
     
  25. Offline

    sk89q

    It should be per-world. I will have to look into this (in Bukkit).

    Well, I have so far held off because I want friends list support as well, as I find that to be more elegant, but I will have both a request system and friends.
     
  26. Offline

    anonymous

    Awesome, cant wait!
     
  27. Offline

    kinetic

    I am always getting this error when I try the Weather Related Commands, eg. Thor Hammer, Shock, etc.

    Code:
    02:29:57 [SEVERE] Could not pass event PLAYER_INTERACT to CommandBook
    java.lang.NoSuchMethodError: org.bukkit.World.strikeLightning(Lorg/bukkit/Locati
    on;)Lorg/bukkit/entity/LightningStrike;
            at com.sk89q.commandbook.CommandBookPlayerListener.onPlayerInteract(Comm
    andBookPlayerListener.java:139)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.ja
    va:252)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:162)
            at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:6
    4)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:416)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Running Version 1.5_01 Minecraft. WorldEdit 4.3
     
  28. Offline

    Mentioum

    Customised commandbook seems to be failing to download. Thanks as always - for information not as a complaint.
     
  29. Offline

    eRko16

    Command /weather doesnt work

    2011-04-23 14:29:59 [INFO] eRko16 used command "/weather stormy 10 world"
    2011-04-23 14:29:59 [SEVERE] com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NoSuchMethodError: org.bukkit.World.setStorm(Z)V
    2011-04-23 14:29:59 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:353)
    2011-04-23 14:29:59 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    2011-04-23 14:29:59 [SEVERE] at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:190)
    2011-04-23 14:29:59 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-04-23 14:29:59 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    2011-04-23 14:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
    2011-04-23 14:29:59 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
    2011-04-23 14:29:59 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
    2011-04-23 14:29:59 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
    2011-04-23 14:29:59 [SEVERE] at net.minecraft.server.Packet3Chat.a(SourceFile:36)
    2011-04-23 14:29:59 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-04-23 14:29:59 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
    2011-04-23 14:29:59 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-04-23 14:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-04-23 14:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-04-23 14:29:59 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-23 14:29:59 [SEVERE] Caused by: java.lang.NoSuchMethodError: org.bukkit.World.setStorm(Z)V
    2011-04-23 14:29:59 [SEVERE] at com.sk89q.commandbook.commands.GeneralCommands.weather(GeneralCommands.java:562)
    2011-04-23 14:29:59 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-04-23 14:29:59 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    2011-04-23 14:29:59 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2011-04-23 14:29:59 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:616)
    2011-04-23 14:29:59 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-04-23 14:29:59 [SEVERE] ... 15 more

    Ah /weather now work i updated from CB707 to CB709.

    But /who, /online or /list doesn't work it says Online(32) but show only 7-10 names. Please fix it.

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

    ldonley

    Whenever a default user on my server uses the /i /item or /give command it results in this:
    Code:
    10:20:31 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'i' in plugin CommandBook v1.3
        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:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
        at net.minecraft.server.Packet3Chat.a(SourceFile:36)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at com.sk89q.bukkit.migration.FlatFilePermissionsResolver.hasPermission(FlatFilePermissionsResolver.java:163)
        at com.sk89q.bukkit.migration.FlatFilePermissionsResolver.hasPermission(FlatFilePermissionsResolver.java:158)
        at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:102)
        at com.sk89q.commandbook.CommandBookPlugin.hasPermission(CommandBookPlugin.java:347)
        at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:145)
        at com.sk89q.commandbook.CommandBookPlugin$1.hasPermission(CommandBookPlugin.java:142)
        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:190)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    >
    
    I am using the flat-file permissions and for whatever reason it doesn't seem to be doing anything, I have tried all of the options and it results in the same occurance.

    All that I have in the perms_groups.txt is:
    Code:
    default:commandbook.give
    admins:*
    
    I only want the default users to be able to give themselves items to build stuff.

    and in the perms_users.txt:
    Code:
    ldonley:admins:*
    
    I don't understand why this is happening, if anyone could give me a hand I would be very much appreciative.
     
  31. Offline

    stripepan2

    questions /list, /who.... commands..
    Can I separate permission for each??

    Example:
    Admins : stripepan2
    Moderates : zaku0917, zeruppe
    User : aaaa, test, test2

    Thank you.
     
Thread Status:
Not open for further replies.

Share This Page