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

    vildaberper

    Awesome!
    Do you mind if I link that in the main post? :)

    Exactly:
    if Player has the node 'dc.spawn.world', he can only do /spawn in world, but if he had 'dc.spawn.*', he could do /spawn in every world. :)
     
  2. Offline

    Psycho Robot

    I don't think that is a good idea. I think you should let permissions handle multiworld permissions. The issue with this arises when you have, lets say, 5 worlds named world 1-5. Worlds 1, 2, and 3 share the same permissions, so you have world1.yml set up with all the permissions, and world 2 and 3 copy permissions from world 1. So, how do you make it possible to spawn in world 1, 2, and 3, but not in worlds 4 and 5? Well, you can't add dc.spawn.* to world1.yml, because then you could do spawn in worlds 4 and 5. We don't want that. :( Likewise, you can't just add dc.spawn.world1 to world 1.yml because that won't allow you to spawn in in worlds 2 and 3. we don't want THAT either. So, under the current system, you must add dc.spawn.world1, dc.spawn.world2, AND dc.spawn.world3 to world1.yml, whereas if you simply let permissions handle multiworld permissions, adding dc.spawn to world1.yml would properly affect worlds 2 and 3. Unless I am fundamentally misunderstanding the way this is set up, the current system seems quite inefficient.
     
  3. Offline

    vildaberper

    I dont get what you mean, but just add 'dc.spawn.self.*' in the permissions if you want Permissions to handle multiworld permissions. It would be the same as the old 'defaultcommands.spawn.self'.
     
  4. Offline

    MG127

    use worldguard

    problem1:
    /fly ... it works only when you right-klick a block and thats shit

    problem2:
    the chat-thing with prefix and suffix doesnt work,
    chat: '<prefix><suffix><player>&2: &f<message>'
    prefix: '&3(mod)'
    suffix: '&a'
    result: &f<player> message
    expected result: &3(mod)&aplayer&2: message
    this result is for everyone
     
  5. Offline

    vildaberper

    Its actually a bug in bukkit, when you right click in air it starts the event as cancelled.
    Anyways, I made a temporary fix in 3.2.0, its coming in a couple of hours! :D

    So the prefixes and suffixes doesnt show up?
    Make sure everything is working with Permissions, and make sure that no other plugin does the same thing with the chat. :)
     
  6. Offline

    MG127

    i used iChat till now and its working fine, in deleted it and got this result mentioned above, even with ichat ... defaultCommands is very dominant xD

    there is another problem i forgott to tell: i have to shut down the server to make changes on the files from dc, when i change them and make only a /plugin reload then nothing changes

    4. ... where is /msg ? and why did you remove it? i have no other plugin for this cmd
     
  7. Offline

    rellish

    Yea i really want a /plugin reload, saves massive time when configuring things. Probably he already has that in mind and the new update might include it! Ahh just can't wait for the new features, I've been checking this thread everyday. (i miss my /jump =[), btw if this isn't too hard, can you apply /jump to an object so we don't have to type it? Thanks.
     
  8. Offline

    vildaberper

    Yeah, there will be a /dc <load/save> in the update.
    It writes the loaded config on exit. So editing while the plugin is enabled is useless. :)
    There will be in-game config edit in a future update, thats why the config files get saved, and not only loaded.
    Its coming, I rewrote the plugin from scratch, so not all features has been implemented yet!
    Edit: If you want to use iChat, set better_chat to false in DefaultCommands.yml. :)

    Jump is included in the next update!
    There will also be a jump-item, like in WorldGuard(?).
     
  9. Offline

    Psycho Robot

    So if I add dc.spawn.self.* to world1.yml, it won't affect the permissions for world5, or any other world? I got confused when you said

     
  10. Offline

    Drageer

    Are the homes per world?
     
  11. Offline

    vildaberper

    Think like this:
    If player has 'dc.spawn.*' in world, he can go to every spawn from world. But since he is in world, he can only go to the spawn in world as other permissions is set for other worlds.

    I mainly use copies: world for permissions for every world but 'world'.
     
  12. Offline

    NeonJ

    What the hell? I update this plugin, and it kills almost every command on my server. I can't type any /towny commands because it just comes up "Unknown Command." - Never did this with 2.5.5, but that crashed my server al the time. I'd rather have crashes than a broken server.

    Also, what happened to /online? And half the config... >_<
     
  13. Offline

    vildaberper

    Im rewriting the plugin.

    Thats because the other plugins doesnt register their command, too bad for them. :(
    Ill add a config for it, update coming in a sec.
    Edit: Updated, set unknown_command: false in DefaultCommands.yml.
     
  14. Offline

    ThePilotGuy

    2 questions:
    Any chance that in the future dc won't be in front of every command?
    Will we be able to see offline players inventories in the future?
     
  15. Offline

    Psycho Robot

    You can add shhortcuts for any command in commands.yml.
     
  16. Offline

    vildaberper

    Read the main post please.
    "Every command name is configurable..."
    Commands.yml;
    dcspawn:
    - spawn

    Would add a /spawn alias to /dcspawn.

    Hmm, maybe. That would be very cool. :D
     
  17. Offline

    Psycho Robot

    Are you quite sure that the line break issue is related to bukkit? I'm using b740, but the config files are still generating without line breaks. Not only that, but even after manually inserting the line breaks, they reverted after a server restart. Do you know what else could be causing this?
     
  18. Offline

    vildaberper

    I use the build-in YAML thing in bukkit, so it must be that.
    What OS?
    Is the whole file just one line?
     
  19. Offline

    Psycho Robot

    It was the entire file. However, I fixed it... kind of. The .yml files still appear as one big long line in notepad, however, I just installed notepad++, and it displays properly on that program. I guess notepad can't really handle yaml files all that well. That, or my old XP version of notepad, which as far as I know hasn't been updated in years, doesn't support them .
     
  20. Offline

    noahdc79

    I haven't tried the newest version yet but i hope you fixed some bugs but you should add iconomy support by making warps cost money or to set a home or warp to cost money or even to create a world should cost money and so on. I have some people on my server that stop at nothing to do something i don't like, when i mean by that i mean spawn lava and place it. On 3.0 defaultcommands they spawned lava but i have a plugin that bans items so i dont care but i'm going to try it. Hope it works! :)
     
  21. Offline

    vildaberper

    Ah, thanks for the info.
    Looks like the program you used before didnt support the linebreak char from bukkit. xD

    Ill add that along with command cooldowns! :D
    Itll kinda be like Commands.yml, with support for commands from other plugins too.
    And a item blacklist is coming too! :D
     
  22. Offline

    noahdc79

    I just tried it..... ITS AMAZING! I tried it only for 10 mins but the help command is awesome and the spawnmob thing is the only one i know that lets you add riders and is compatible with my plugins so nice job! i tried /dcgive as a guest and it doesn't spawn anything and the guest get a list of admin commands but the can't use them and in the config add thing that disables your ip shown when you join cause my friends think its "A invasion to their privacy" but over all epic plugin so if i find a glitch i will tell you.
     
  23. Offline

    Psycho Robot

    You can remove their ip from the message by editing "strings.yml".
     
  24. Offline

    vildaberper

    Wow thanks! :D
    Change connect_message and connect_message_first_time in Strings.yml, the<ip> is replaced wth the players ip.
    So remove that and remove it from who_online and who_offline.
    Then your players will be "safe". :D
     
  25. Offline

    MG127

    after adding all the essential things like /msg mabe you have time for adding a config part for the /spawnmob
    spawnmobs-where-pointing: true
    spawning mobs at a distanceis better, cause spawning at the player-pos will aggro them at the player who did the command
     
  26. Offline

    vildaberper

    Thats a great idea! Ill add it without config, just look down if you want to spawn at your location.:)
     
  27. Offline

    vagrantmike

    Nope, go for it :D Glad I could help!
     
  28. Offline

    Raknor

    What types could there be in /dccreate [world] [type] [name] ?

    and How do i turn off so people see what i do?
     
  29. Offline

    vildaberper

    NORMAL and NETHER.

    The message is only sent to you, I didnt add "You" and "yourself" yet! :)
     
  30. Offline

    Raknor

    The players on my server says they can see it ?
     

Share This Page