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

    kevan

    Might be a problem with my permissions, but i added permissions 3.x and DefaultCommands (Latest One) and the only people who can build are ones with the '*' permissions, even if i add them to another group in permissions and set Build to true, they still can't build, any idea on how maybe Default Commands could have messed something up?

    Edit: Must be on the defaultcommands side of things since I copyed it to desktop, removed it, tested and they could build, copyed the one from desktop back and they couldnt build again.
     
  2. Offline

    vildaberper

    Add 'dc.do', if that doesnt work its Permissions. Nothing is changed when it comes to permissions-handling.
     
  3. Offline

    Xiangliang2

    I've been using your plugin for a while now (version 2.55) and I recently updated to the latest version. We found a problem. Everyone can use all the commands except for /ban, /kick, /op etc. It is definitely this plugin as for the other plugins, non-ops don't have access to the features. I do not have permissions and I have OpPermissions in the config set to true. I have Bukkit build 860.
     
  4. Offline

    vildaberper

    Take a look at the per-world permissions, its in world/Config.yml. :)
     
  5. Offline

    Xiangliang2

    All of my worlds' config files have OpPermissions: True
     
  6. Offline

    MG127

    got some errors on cb 860
    Show Spoiler

    Code:
    2011-06-11 22:55:32 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to DefaultCommands
    java.lang.StackOverflowError
        at java.security.AccessController.doPrivileged(Native Method)
        at java.io.PrintWriter.<init>(PrintWriter.java:78)
        at java.io.PrintWriter.<init>(PrintWriter.java:62)
        at org.bukkit.craftbukkit.util.ShortConsoleLogFormatter.format(ShortConsoleLogFormatter.java:54)
        at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
        at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)
        at java.util.logging.Logger.log(Logger.java:458)
        at java.util.logging.Logger.doLog(Logger.java:480)
        at java.util.logging.Logger.log(Logger.java:569)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:330)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:706)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
        at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:142)
        at com.vildaberper.DefaultCommands.Listener.DCPlayerListener.onPlayerCommandPreprocess(DCPlayerListener.java:241)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:271)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:706)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
        at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:142)
        at com.vildaberper.DefaultCommands.Listener.DCPlayerListener.onPlayerCommandPreprocess(DCPlayerListener.java:241)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:271)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:706)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
        at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:142)
    
    Code:
    2011-06-11 22:55:32 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'dcgod' in plugin DefaultCommands v3.3.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:287)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
        at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:142)
    
     
  7. Offline

    Xiangliang2

    Any ideas? Could it be a conflicting plugin?
     
  8. Offline

    vagrantmike

    motd coming back to DC?
     
  9. Offline

    vildaberper

    I meant the nodes.

    I have no idea whats going on here. "/
    Post your Commands.yml.


    Will be in the next version. :)
    Edit: In the dev build.
     
  10. Offline

    MG127

    ahh, now i know :D
    clever ...
    dcgod:
    - dcgod
    i just wrote this to disable it
    but since /god from worldguard was infunctional caus some opPermissions field missing-error i tried this :D
    i will re-rename them
     
  11. Offline

    vildaberper

    Oh, that will lead to an infinite loop.
    When the player does /dcgod, it makes the player do /dcgod again... xD
     
  12. Offline

    Wolfeman

    hey noob question.... im trying to find a command to select a cuboid and i cant find it :S can you help?
     
  13. Offline

    vildaberper

    You need to select the region with the selection tool, default stick.
     
  14. Offline

    MG127

    - the custum commands from commandHelper still dont work if defaultCommands is active
    - could you make the seperate inventory more like multiInv. not only one main inventory that is connected or not, more like a list which worlds inventories are connected to each other
     
  15. Offline

    Bennie900

    Small problem I'm using the the latest bukkit and this plugin and I can not change the commands, every time I try and change them the server is OFF and I'm editing plugins\DefaultCommands\Commands.yml

    For example:
    I change
    Code:
    dchelp:
    - help
    To
    Code:
    myhelp:
    - help
    But it then changes back to
    Code:
    dchelp:
    - help
    I cant even use "/myhelp" in the server as its an "Unknown command"
     
  16. Offline

    vildaberper

    Turn off unknown_command.

    Yeah, Im currently working on that. :)

    Syntax is like this:
    Code:
    command:
    - alias
    So do it like this:
    Code:
    dchelp:
    myhelp:
    - help
    If you want /help to be an alias of /myhelp.
     
  17. Offline

    TehMushy

    REPOST: I'm going to include more information, as I forgot to add that in my last post.

    I'm not sure if this has been posted before, but when I go 'hidden', other's on server get the message "You do not have permission to this command". When I un-hide myself, it says "TehMushy Has joined the game!".

    Not sure if anyone has had this issue before, but it's annoying when I try watch people and they know someone's gone down, Thanks.

    I'm running build 818. I get no errors in console, this just happens. My plugin list is as follows:
    LogBlock
    MagicCarpet (Out-dated, but it works)
    MessageChanger
    Permissions
    Persistence
    PistonPlugin (Out-dated, but no errors)
    Spyer
    SQLite
    WorldEdit/Guard
    Wand/Spells
    I hope this is enough information on the matter.
     
  18. Offline

    Bennie900

    Ok that didnt work how i expected it, I have an additional Help plugin which is /help so I changed all the "help" lines in Commands.yml now every time I use /help it says "Unknown Command" so I was wondering if there was a way around this.
     
  19. Offline

    vildaberper

    Fixed. :)

    If it sais unknown command even though the other plugin uses /help, its not registered correctly in that plugin.
    Turn off unknown_command if you have to. :)
     
    TehMushy likes this.
  20. Offline

    Devole666

    Please help, I've set my perms to make all groups be able to build and yet they can't, can someone explain why? This is in my globalGroups.yml, so shouldn't it work for all worlds?
    It does have spaces in it btw, i just don't know how to put into blue box :(

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
                - 'dc.do'
                - 'dc.sethome.self'
                - 'dc.home.self'
                - 'dc.portal'
                - 'dc.spawn.self.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - 'dc.god.self'
                - 'dc.weather'
                - 'dc.do'
                - 'dc.jump.*'
                - 'dc.who'
                - '-general.tp'
                - 'dc.give.self'
                - 'dc.give.other'
                - '-worldedit.generation.pumpkins'
                - '-worldedit.generation.forest'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
     
  21. Offline

    kevan

    New problem :) If i set the world to have a seperate inv, and then i tp to it, i take all my items from the other world there, both worlds are set to have seperate invs.
     
  22. Offline

    inversation

    Hey Vilda, I was wondering if I could get confirmation that DefaultCommands 3.3.1(dev) plays nice with the 3.x build of Permissions? Have been holding off on upgrading, but I think it's finally time to do so.

    Also, the motd command doesn't seem to be accepting variables other than <player>. I tried to copypasta the string from dconline but it displays the variables as text, eg <online>/<max> rather than 2/10. Would appreciate any help on it =)

    Finally, any word or timeframe on implementation of kits and moderator commands (such as /kick /ban etc)?

    Cheers =)

    Also also, what is the permissions node for motd? I've tried adding dc.motd and dc.motd.* but neither seem to work for players other than admin (who has *).

    Oh, and any word on being able to force a toggle command to an on or off state yet? :D

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

    Devole666

    Umm, after hours working on it i seem to fix my problem, not sure what i did, but it works.
    New problem tho, when i set the settings in the config folder in "\plugins\DefaultCommands\Worlds\world" the settings don't save, it keeps going back to the default settings. Is it a bug or something? and if it isn't how can i make those custom settings permanent?
     
  24. Offline

    vildaberper

    Its working with Permissions 3.x, but it does have some issues with groups. But that only affects <group>.

    Im adding more stuff like that, its still the dev build. :)

    Ive planned to add kits today actually, so hopefully itll be in the dev build in about 8 hours.

    Edit: Kits are here! node: 'dc.kit.self.<kit>' etc. :D

    Not sure, but I think it is dc.motd. If you really need to know, rename a worlds config.yml and let it regenerate. The node should be in the Permissions-list. (Dont forget to restore)

    It was something caused by Permissions, not DefaultCommands. :)

    Did you edit the files while the server was running? In that case, you have to do '/dc load' instead of reloading the server. Reloading makes DefaultCommands save the files again, which will overwrite your settings.
     
  25. Offline

    Dominic_T

    Hey, thanks for fixing the hide feature, but there's still a problem. When you log in and out while hidden, it hides your 'joined' and 'left' string, but it still broadcasts the 'no permission' string.
     
  26. Offline

    vildaberper

    Try with the latest version, it might be fixed. :)
     
  27. Offline

    Plancke

    Could you add something like /clearinv [Player]?
     
  28. Offline

    vildaberper

    There is in Commands.yml:
    dcstack 0 *:
    - clearinv

    The node is 'dc.remove'.
    I should add the [player] variable too though. But Im working on /take instead, like in the old version. :)
    So that will be changed to:
    dctake * *:
    - clearinv
     
  29. Offline

    ToreTR

    I don't understand the /dcsetportal command. It says:
    /dcsetportal <portal> <world:world/home:player/warp:warp>
    so I try:
    /dcsetportal portal world:Resorts
    and it won't work. So could someone explain me how it works? Also, is there a possible way to turn of mob spawning in specific worlds?
     
  30. Offline

    vildaberper

    If you typed exactly like you say, it should work. So when you go through the portal you will be teleported to the world 'Resorts' spawn. It would require the node 'dc.portal.portal'.

    Its in the world-speceific Config.yml; set block_<mob>_spawn: true, if you dont want the mob to spawn in that world.
    Example, if you dont want zombies to spawn naturally in that world: 'block_zombie_spawn: true'
     

Share This Page