Inactive [GEN] DefaultCommands v4.0.0 - The "default" plugin [1.4.5-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by vildaberper, Mar 2, 2011.

  1. Offline

    RESPRiT

    lol, I was just teasing. I didn't know you could do that, though. The plugin looks great, by the way!
     
  2. Offline

    vemund135

    I only have one problem with the plugin: I can't use TooManyItems as admin! help me please!
     
  3. Offline

    vagrantmike

    Code:
    12:12:47 [SEVERE] Could not pass event PLAYER_CHAT to DefaultCommands
    java.util.UnknownFormatConversionException: Conversion = 'i'
            at org.bukkit.event.player.PlayerChatEvent.setFormat(PlayerChatEvent.jav
    a:96)
            at com.vildaberper.DefaultCommands.Listener.DCPlayerListener.onPlayerCha
    t(DCPlayerListener.java:406)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:279)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:681)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    CraftBukkit: #953
    Bukkit: #754

    Plug-ins:
    Permissions 3.1.6
    iConomy 5.0.1
    iChat 2.3.1
     
  4. Offline

    Buz

    What i can do to use my home plugin with default commands? I know you plugin have home and sethome but i want a bit more advance plugin with invites etc
    And i have an error when i have /dccreative enabled and i punch leaves disconects me and it says Internal server error I have the last verssion and craftbukkit 1.7.2 953
     
  5. Offline

    Plancke

    doesn't work for me either
     
  6. Offline

    blarre

    Hey, the command /dccuboid etc. are great! But do we have a command to remove many blocks? I would like to take away mountains to get a flater building area.
     
  7. Offline

    vildaberper

    I guess its iChat, try removing that.
    DefaultCommands adds prefix and that stuff if better_chat is enabled. :)

    Add 'dc.do.*' to their permissions.

    Fixed in the dev build. :)

    Use /dccuboid 0, or /dccuboid air. :)
     
  8. Offline

    babystompa

    This whole dcdo isn't working for me.
    (see post in CommandPermissions)
     
  9. Offline

    neptunez

    Hello. Ive been using this plugin since pre 935 on my bukkit server, but i can't get it to work with 953...
    Code:
    12:58:29 [SCHWERWIEGEND] Error occurred while enabling DefaultCommands v3.5.0 (I
    s it up to date?): while parsing a block mapping; expected <block end>, but foun
    d BlockMappingStart
    while parsing a block mapping
     in "<reader>", line 1, column 1:
        enviroment: NORMAL # NORMAL or N ...
        ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 2, column 3:
          copy: null # Copy another world' ...
          ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:82)
            at com.vildaberper.DefaultCommands.SaveLoad.loadConfig(SaveLoad.java:370
    )
            at com.vildaberper.DefaultCommands.SaveLoad.loadAll(SaveLoad.java:51)
            at com.vildaberper.DefaultCommands.DefaultCommands.onEnable(DefaultComma
    nds.java:124)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:857)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:264)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I've been trying to find the error source, but I can't... Maybe u know what's wrong here? :| I'm using the newest Dev build btw, but also tried with the 3.5.0 above.
     
  10. Offline

    Gabrol

    What do I have to do if I want to use fly from another plugin?
     
  11. Offline

    vildaberper

    Let it regenerate Config.yml, its not valid. :)

    Remove the command from Commands.yml.
     
    neptunez likes this.
  12. Offline

    neptunez

    You are the best. Thanks a lot for the quick reply! :)
     
  13. Offline

    Plancke

    could you add like a permission node so i can see every command used?
    dc.see.[Command]

    maybe
     
  14. Offline

    vildaberper

    There will be config for that, like in the old version. :)
     
  15. Offline

    Fustrate

    First off, amazing plugin!

    Is there a chance of getting a permission setting for using colors in chat and for /name, something like dc.color.*? People on my server don't know about colors yet, but they have /name and it's only a matter of time until they all start changing their names to &0 and stuff like that, or start impersonating the console. I guess it would be as simple as regexing out &[0-9a-f] recursively or something along those lines.

    Thanks either way!

    Edit: Was just thinking, what about this structure:
    dc.color.text
    dc.color.name
    dc.color.all
     
  16. Offline

    phat

    Hi, great plugin, a few things I need to sort out tho;

    1. How do I disable afk-kick completly? We are a bunch of fat lazy people playing and needless to say we don't move that much :). Tried "afk_kick_time: false", "afk_kick_time: 0", "afk_kick_time: 999999" in plugins/DefaultCommands/DefaultCommands.yml but doesn't seem to help.

    2. I am currently using MyWarp plugin (/warp) but DC overrides it and presents it's own warp thingie.
    I would like to disable that part or perhaps migrate over my warps stored in a flatfile. Possible?

    Have a nice day :)

    -phat
     
  17. Offline

    Trocyon

    Hello I have this strange problem, Default Commands doesn't work in recent days, please somebody help...
    This is what the server console says:
     
  18. Offline

    Plancke

    Code:
    11:40:30 [SEVERE] Error occurred while enabling DefaultCommands v3.5.0 (Is it up
     to date?): java.lang.Double cannot be cast to java.lang.Integer
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integ
    er
            at com.vildaberper.DefaultCommands.Class.DCWorld.getInt(DCWorld.java:137
    )
            at com.vildaberper.DefaultCommands.SaveLoad.loadConfig(SaveLoad.java:402
    )
            at com.vildaberper.DefaultCommands.SaveLoad.loadAll(SaveLoad.java:51)
            at com.vildaberper.DefaultCommands.DefaultCommands.onEnable(DefaultComma
    nds.java:123)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:857)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:264)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Same server as yesterday no edits just happend
     
  19. Offline

    vildaberper

    Set afk_kick_time to 99999, and do '/dc load', or edit while the server is off.

    Ill make a converter and add it into the dev build. So a simple in-game command; '/dc convert MyWarp' will convert them. :)

    Edit: Added, download the dev build and type '/dc convert MyWarp'!

    Youve got a chunk error. "/

    Check "auto_heal_interval" in Config.yml, it should be something wrong with it.
     
  20. Offline

    Plancke

    Thanks it worked i also got a problem with the config files resetting sometimes.
    i had a warp for my test area but now i lost it :D i searched for like 50minutes i don't care that it happened but i would like to be able to prevent it
     
  21. Offline

    Chuck67322

    I've been having issues with the /dcgive command. Every time I do it, it says an internal error occurred and it doesn't do anything. Here's the log:
    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'dcgive' in plugin DefaultCommands v3.5.0
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    	at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:144)
    	at com.vildaberper.DefaultCommands.Listener.DCPlayerListener.onPlayerCommandPreprocess(DCPlayerListener.java:346)
    	at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:704)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
    	at com.vildaberper.DefaultCommands.Misc.getPlayers(Misc.java:1059)
    	at com.vildaberper.DefaultCommands.Misc.getPlayers(Misc.java:1119)
    	at com.vildaberper.DefaultCommands.Command.Give.give(Give.java:22)
    	at com.vildaberper.DefaultCommands.DefaultCommands.onCommand(DefaultCommands.java:196)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	... 19 more
    I really wanted it to work because I spent a couple of hours writing up the item aliases and i want to it to be put to work...
     
  22. Offline

    phat

    "afk_kick_time 99999" worked while server was shut down, thanks.

    "/dc convert MyWarp" failed with the error "Failed to convert warps from MyWarp".
    But it clearly does something cause "[INFO] [MYWARP] [MYWARP]: 17 warps loaded" appears in the console every time when I run the command.
    Does it matter if the warps are saved in flatfile or sql? Or how does your script hook into MyWarp?
     
  23. Offline

    JargonTheRed

    When using TMI, I've encountered a bug where the item that I give myself does not appear until I relog. This goes for both editing TMI's config and DC's config. I have not seen any errors in the console itself.

    Here's some info about the server:
    CB: 953
    DC: 3.5.0
    Plugins currently used:
    - BigBrother
    - BigCatch
    - Bukkitcontrib
    - Herochat
    - iConomy
    - ItemDetector
    - Jail
    - MobBounty
    - NoSlimes
    - NoWeather
    - Permissions
    - PlayerEditor
    - PorteCoulissante
    - PumpkinDiver
    - PvPToggle
    - WorldEdit
    - WormholeXTreme
     
  24. Offline

    vildaberper

    There is most likely something wrong with your aliases, look them through and make sure they are valid. :)

    It needs to be a flatfile, I think. Thats what I used when I tested it. But Im not sure though as Im not too familiar with persistance in Java. "/
    It hooks into its getMap() method which return a HashMap<String, Warp>.

    Thats a client-side bug which occures when using TMI. Theres nothing I can do about it.
     
  25. Offline

    Chuck67322

    It doesn't even work with ID #'s
    EDIT: Do I have to put :0 (zero) even after an ID that doesn't have further data values?
     
  26. Offline

    Trocyon

    So what can I do about it? (I'm a newb).
    Note that the same happens on other maps.
     
  27. Offline

    vildaberper

    Yeah, I think so. xD
    Ill take a look at it, it shouldnt work like that.

    Google Minecraft chunk error or something like that.
    I have no experience in recovering worlds with those errors. "/
     
  28. Offline

    Chuck67322

    Well /dcgive isn't working at all actually...
    It used to work pre-1.7
    EDIT: Do you think I would need CraftBukkit 953? I have 935 currently.
     
  29. Offline

    Trocyon

    But the thing is I have no chunk errors, it's about the Default Commands plugin refusing to work. :(
     
  30. Offline

    goodoletom

    Stone wont work everything else is working. I cant add stone or get it when i mine it.
     

Share This Page