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

    inversation

    Thanks for the help Vilda. I think it might be tied to arrows being fired from a dispenser, so that would make sense. Also, I'm getting the userlist oddity as well, so +1 to that. Finally, I'm trying to use another plugin for weather, which uses the /weather alias. I've removed the link in Commands.yml, but DC still seems to be listening to it. Is there somewhere else that it's defined that I need to remove?
     
  2. Offline

    MG127

    you have to check your Strings.yml, there is an space infront of "your stay! If you're new please email me at junkma .."
    that doesnt belong there, or maybe more (above)
    if you dont know what to do , delete it and let dc regenerate it
    if the error is still there, post the file within a [ code ] block
     
  3. Offline

    vildaberper

    I dont understand the problem. "/

    Yeah, just set op_permissions to true and use the nodes in Config.yml. :)

    Thanks, fixing it right now. :)

    It does continue with the rest. ;)

    Im adding support for it in the next update.
    You could just set a random alias for it (like 'dfgdkfgrgdkrdbgdrg'), if you dont want to use it. Currently, you must have every command in the file.
     
  4. Offline

    inversation

    Ahhh I did not realise that! Excellent, I'll do that. Thanks heaps man, as always you're a champion.
     
  5. Offline

    vildaberper

    Ok, seems like I dont need to change anything.
    Example:
    Your Commands,yml looks like this:
    Code:
    dconline:
    - online
    - list
    - players
    - o
    dcweather:
    - weather
    dcignoremob:
    - ignoremob
    But you dont want /weather. Change it to this:
    Code:
    dconline:
    - online
    - list
    - players
    - o
    dcweather:
    dcignoremob:
    - ignoremob
    And youre done. :D
     
  6. Offline

    AntiTW

    Thanks for the fast response, updated CB and no error anymore :)
     
  7. Offline

    Chuck67322

    Still doing it:
    Code:
    08:08:51 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'dc' in plugin DefaultCommands v3.4.1
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
    	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:428)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:413)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: while parsing a block mapping
     in "<reader>", line 1, column 1:
        unknown_command: '&4Unknown comm ...
        ^
    expected <block end>, but found Scalar
     in "<reader>", line 67, column 138:
         ... 2.<br>&2Enjoy your stay! If you're new please email me at junkma ...
                                             ^
    
    	at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.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:122)
    	at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    	at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.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.loadStrings(SaveLoad.java:393)
    	at com.vildaberper.DefaultCommands.SaveLoad.loadAll(SaveLoad.java:60)
    	at com.vildaberper.DefaultCommands.Command.Dc.dc(Dc.java:31)
    	at com.vildaberper.DefaultCommands.DefaultCommands.onCommand(DefaultCommands.java:231)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	... 6 more
     
  8. Offline

    vildaberper

    Try replacing the ' with \' or make it "motd message" instead of 'motd message'. :)
     
  9. Offline

    Chuck67322

    It worked
    Thank you :D
     
  10. Offline

    babystompa

    Still can't get the permissions to work. I keep trying to change true to false in the config.yml but no matter what it switches back to op_permissions: true when i want it to say false.
     
  11. Offline

    vildaberper

    It only does that if Permissions threw any errors on startup or is disabled. Make sure it loads correctly. :)
     
  12. Offline

    babystompa

    Wait i did get an error is there any way to copy and paste the error report on the CMD? The first bit says

    Code:
    Error occurred while enabling Default Commands v.3.4.2 (is it up mapping values are not allowed here
        in "<reader>", line 4, column 30
                op_permissions: falsecreative: false
    I'm guessing I did something wrong when I was changing the config.yml. Also how would you go about just changing individual commands?
     
  13. Offline

    vildaberper

    That makes it easier to solve. xD
    Take a look at the Config.yml, it should be either an invalid or missing linebreak at line 4.
     
  14. Offline

    babystompa

    I've used java stuff before but I'm using notepad so how do I know where line 4 starts x]
    Also thanks for all your help so far :]

    wow i want to shoot my self in the face. I put a space in between this and it worked.

    op_permissions: false<space>creative: false

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  15. Offline

    vildaberper

    Great! :D
     
  16. Offline

    babystompa

    guess it didn't work my friend joined the server and he could spawn in items >.<
    Think this is the worst i've failed at something computer related. Could you just give me step by step example of how you would change op permissions to false?

    EDIT ok so now it says when the server starts up it says "Permission system not detected, defaulting to OP" I took my name off of ops and I was still able to use every part of this plugin.
     
  17. Offline

    vildaberper

    Yeah, thats the default built-in permissions setup.

    Try deleting the file and letting it regenerate, then change it.
     
  18. Offline

    babystompa

    I decided upon taking the easy way out and downloading your CommandPermissions plugin. I got it to work fine when I had myself defined in the users section. But when I misspelled my name (on purpose) none of the commands in the Default worked for me.
    (this is the version I plan on using in my server)
    Code:
    Copy: null # Should it ignore thease permissions and copy another world's?
    Groups:
        Default: # The group's name, can be anything.
            Default: true # Should it be one of the default groups for undefined players?
            Permissions: # Add your commands here.
                - '/list' # Allows the members of the group to use /list.
                - '/name'
                - '/online'
                - '/help'
        Admin:
            Default: false
            Permissions:
                - '*' # This means all commands
        Mod:
            Default: false # Should it be one of the default groups for undefined players?
            Permissions: # Add your commands here.
                - '/list' # Allows the members of the group to use /list.
                - '/name'
                - '/online'
                - '/help'
                - '/tp'
                - '/kill'
                - '/spawnmob'
    Users:
        babystompa: # The user's name.
            Groups: # What groups is the user a member of?
                - 'Default'
                - 'Admin'
            Permissions: # User-specific commands.
                - '/help'
     
  19. Offline

    blarre

    @babystompa I had simular problem when I started to use CommandPermission. You have to write the commands with /dc

    so /tp should be /dcteleport

    Thats how I have it, and it works.
     
  20. Offline

    babystompa

    ok I'll test that.

    Works thanks man :]

    Also a huge thanks to vildaberper for making this plugin and trying so hard to help me :)
     
  21. Offline

    Zawe

    One question, does this mod support everything in PermissionsEx?
    Because the suffix and prefix does not work for me.
     
  22. Offline

    vildaberper

    Not yet, but its not a big deal. Nothing is broke. :)
    Im working on it though.
     
  23. Offline

    AntiTW

    Having some problems since I'm finetuning permissions.. the bc.weather.* doesnt seem to work, dont get any permission when not admin.. for the rest.. best plugin ever, since I can finally think about multi world properly.

    Probably an easy fix like the last one but been busy for 1,5 hour and kind of tired of it ;)

    Regards,
    Anti
     
  24. Offline

    vildaberper

    Its 'dc.weather.*'. :)
    If you just made a typo in the thread, try changing the * to the world's name.
     
  25. Offline

    Otisdiver

    If there were a "Minecraft Plugin Awards" I would vote for this one! I love the plugin! I am Co-Owner of a server with this plugin and I would reecomend it to anyone. All servers should have this plugin; it's great!
     
    vildaberper and inversation like this.
  26. Offline

    sepiroth887

    Hi,

    just started using your plugin and was wondering if it is somehow possible to activate/deactivate mob spawn from within the game rather than editing the Config.yml of each world?

    Cheers
     
  27. Offline

    vildaberper

    Wow, thanks! :D

    Not yet, but I made it so its very easy to implement. Might add it to the dev build today! :D
     
  28. Offline

    inversation

    Hey Vilda, kits are still being all manner of weird. They work fine for a while but eventually the items that spit out 2 stacks decrease to random numbers, and it's actually modifying the kits.yml file too! Examples:

    Before:

    Code:
    aziz:
    - 50:0 64
    - 50:0 64
    tools:
    - 278:0 1
    - 277:0 1
    - 279:0 1
    weapons:
    - 276:0 1
    - 261:0 1
    - 262:0 64
    - 262:0 64
    
    After:
    Code:
    aziz:
    - 50:0 1
    - 50:0 2
    tools:
    - 278:0 1
    - 277:0 1
    - 279:0 1
    weapons:
    - 276:0 1
    - 261:0 1
    - 262:0 24
    - 262:0 8
    
    My server is reset every night without fail, but the kits start acting funny before that happens. Using the current dev version (updated it about 12 hours ago) and it's still happening.
     
  29. Offline

    vildaberper

    Wow, thats extremely wierd.
    Ill take a look at it, but I dont think its possible to fix it since it changes it to random numbers. "/
     
  30. Offline

    inversation

    I know right?? REALLY weird. I've assumed it was something on my end, but I've tried everything to fix it, and it'll stay fixed for a while, then just start coming undone. It's truly bizarre. Don't know if anyone else does anything similar and can verify if this happens to them too, or whether it really is just me :confused:
     

Share This Page