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

    BomberTygesen

    Hey Vilda!
    I tryed to get my server up and running for a long time, now i got a few players playing but there is a problem:
    They can all access my commands and there for stop the server. I'll allready stopped it a few times beacause i'm unsure they they would do.
    Can you please help me?

    This is my globalGroups:
    Code:
    groups:
       Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'dc.do'
                - '-dc.help'
                - '-dc.who'
                - '-dc.worlds'
                - '-dc.create'
                - '-dc.setspawn.*'
                - '-dc.spawnmob.*'
                - '-dc.join.self.*'
                - '-dc.join.other.*'
                - '-dc.join.all.*'
                - '-dc.fly.self'
                - '-dc.fly.other'
                - '-dc.fly.all'
                - '-dc.god.self'
                - '-dc.god.other'
                - '-dc.god.all'
                - '-dc.name.self'
                - '-dc.name.other'
                - '-dc.name.all'
                - '-dc.give.self'
                - '-dc.give.other'
                - '-dc.give.all'
                - 'dc.spawn.self.*'
                - '-dc.spawn.other.*'
                - '-dc.spawn.all.*'
                - '-dc.stack'
                - '-dc.remove'
                - '-dc.teleport.self.*'
                - '-dc.teleport.other.*'
                - '-dc.teleport.all.*'
                - 'dc.home.self'
                - '-dc.home.other'
                - '-dc.home.all'
                - 'dc.sethome.self'
                - '-dc.sethome.other'
                - '-dc.sethome.all'
                - 'dc.warp.self.*'
                - '-dc.warp.other.*'
                - '-dc.warp.all.*'
                - '-dc.setwarp'
                - '-dc.delwarp'
                - '-dc.warps'
                - '-dc.creative.self'
                - '-dc.creative.other'
                - '-dc.creative.all'
                - '-dc.health.self'
                - '-dc.health.other'
                - '-dc.health.all'
                - '-dc.time.*'
                - '-dc.inventory'
                - '-dc.killnear.*'
                - '-dc.clearnear.*'
                - '-dc.jump.*'
                - '-dc.disconnect'
                - '-dc.dc'
                - '-dc.flint_and_steel.*'
                - '-dc.repeat'
                - 'dc.online'
                - '-dc.weather.*'
                - '-dc.ignoremob.self'
                - '-dc.ignoremob.other'
                - '-dc.ignoremob.all'
                - '-dc.nopickup.self'
                - '-dc.nopickup.other'
                - '-dc.nopickup.all'
                - '-dc.instakill.self'
                - '-dc.instakill.other'
                - '-dc.instakill.all'
                - '-dc.freeze.self'
                - '-dc.freeze.other'
                - '-dc.freeze.all'
                - '-dc.hide.self'
                - '-dc.hide.other'
                - '-dc.hide.all'
                - '-dc.hide.see'
                - '-dc.reset.self'
                - '-dc.reset.other'
                - '-dc.reset.all'
                - '-dc.message.self'
                - 'dc.message.other'
                - '-dc.message.all'
                - '-dc.repair'
                - '-dc.mount.animal.*'
                - '-dc.mount.monster.*'
                - '-dc.mount.player.*'
                - '-dc.mute.self'
                - '-dc.mute.other'
                - '-dc.mute.all'
                - '-dc.fire.self'
                - '-dc.fire.other'
                - '-dc.fire.all'
                - '-dc.select'
                - '-dc.portal.*'
                - '-dc.setportal'
                - '-dc.delportal'
                - '-dc.cuboid'
                - '-dc.undo'
                - '-dc.replace'
                - '-dc.cuboidwireframe'
                - '-dc.cuboidhollow'
                - '-dc.spherehollow'
                - '-dc.walls
    
       Builder:
            default: false
            info:
                prefix: '[BUILDER]'
                suffix: '[/]'
                build: true
            inheritance:
                - Default
            permissions:
                - 'dc.do'
                - '-dc.help'
                - '-dc.who'
                - '-dc.worlds'
                - '-dc.create'
                - '-dc.setspawn.*'
                - '-dc.spawnmob.*'
                - '-dc.join.self.*'
                - '-dc.join.other.*'
                - '-dc.join.all.*'
                - '-dc.fly.self'
                - '-dc.fly.other'
                - '-dc.fly.all'
                - '-dc.god.self'
                - '-dc.god.other'
                - '-dc.god.all'
                - '-dc.name.self'
                - '-dc.name.other'
                - '-dc.name.all'
                - 'dc.give.self'
                - '-dc.give.other'
                - '-dc.give.all'
                - 'dc.spawn.self.*'
                - '-dc.spawn.other.*'
                - '-dc.spawn.all.*'
                - '-dc.stack'
                - '-dc.remove'
                - '-dc.teleport.self.*'
                - '-dc.teleport.other.*'
                - '-dc.teleport.all.*'
                - 'dc.home.self'
                - '-dc.home.other'
                - '-dc.home.all'
                - 'dc.sethome.self'
                - '-dc.sethome.other'
                - '-dc.sethome.all'
                - 'dc.warp.self.*'
                - '-dc.warp.other.*'
                - '-dc.warp.all.*'
                - '-dc.setwarp'
                - '-dc.delwarp'
                - '-dc.warps'
                - 'dc.creative.self'
                - '-dc.creative.other'
                - '-dc.creative.all'
                - '-dc.health.self'
                - '-dc.health.other'
                - '-dc.health.all'
                - '-dc.time.*'
                - '-dc.inventory'
                - '-dc.killnear.*'
                - '-dc.clearnear.*'
                - '-dc.jump.*'
                - '-dc.disconnect'
                - '-dc.dc'
                - '-dc.flint_and_steel.*'
                - '-dc.repeat'
                - 'dc.online'
                - '-dc.weather.*'
                - 'dc.ignoremob.self'
                - '-dc.ignoremob.other'
                - '-dc.ignoremob.all'
                - 'dc.nopickup.self'
                - '-dc.nopickup.other'
                - '-dc.nopickup.all'
                - '-dc.instakill.self'
                - '-dc.instakill.other'
                - '-dc.instakill.all'
                - '-dc.freeze.self'
                - '-dc.freeze.other'
                - '-dc.freeze.all'
                - '-dc.hide.self'
                - '-dc.hide.other'
                - '-dc.hide.all'
                - '-dc.hide.see'
                - '-dc.reset.self'
                - '-dc.reset.other'
                - '-dc.reset.all'
                - '-dc.message.self'
                - 'dc.message.other'
                - '-dc.message.all'
                - 'dc.repair'
                - '-dc.mount.animal.*'
                - '-dc.mount.monster.*'
                - '-dc.mount.player.*'
                - '-dc.mute.self'
                - '-dc.mute.other'
                - '-dc.mute.all'
                - '-dc.fire.self'
                - '-dc.fire.other'
                - '-dc.fire.all'
                - '-dc.select'
                - '-dc.portal.*'
                - '-dc.setportal'
                - '-dc.delportal'
                - '-dc.cuboid'
                - '-dc.undo'
                - '-dc.replace'
                - '-dc.cuboidwireframe'
                - '-dc.cuboidhollow'
                - '-dc.spherehollow'
                - '-dc.walls'
       Moderator:
            default: false
            info:
                prefix: '[MODERATOR]'
                suffix: '&1'
                build: true
            inheritance:
                - Default
            permissions:
                - 'dc.do'
                - 'dc.help'
                - 'dc.who'
                - 'dc.worlds'
                - 'dc.create'
                - 'dc.setspawn.*'
                - 'dc.spawnmob.*'
                - 'dc.join.self.*'
                - 'dc.join.other.*'
                - 'dc.join.all.*'
                - 'dc.fly.self'
                - 'dc.fly.other'
                - 'dc.fly.all'
                - 'dc.god.self'
                - 'dc.god.other'
                - 'dc.god.all'
                - 'dc.name.self'
                - 'dc.name.other'
                - 'dc.name.all'
                - 'dc.give.self'
                - 'dc.give.other'
                - 'dc.give.all'
                - 'dc.spawn.self.*'
                - 'dc.spawn.other.*'
                - 'dc.spawn.all.*'
                - 'dc.stack'
                - 'dc.remove'
                - 'dc.teleport.self.*'
                - 'dc.teleport.other.*'
                - 'dc.teleport.all.*'
                - 'dc.home.self'
                - 'dc.home.other'
                - 'dc.home.all'
                - 'dc.sethome.self'
                - 'dc.sethome.other'
                - 'dc.sethome.all'
                - 'dc.warp.self.*'
                - 'dc.warp.other.*'
                - 'dc.warp.all.*'
                - 'dc.setwarp'
                - 'dc.delwarp'
                - 'dc.warps'
                - 'dc.creative.self'
                - 'dc.creative.other'
                - 'dc.creative.all'
                - 'dc.health.self'
                - 'dc.health.other'
                - 'dc.health.all'
                - 'dc.time.*'
                - 'dc.inventory'
                - 'dc.killnear.*'
                - 'dc.clearnear.*'
                - 'dc.jump.*'
                - 'dc.disconnect'
                - 'dc.dc'
                - 'dc.flint_and_steel.*'
                - 'dc.repeat'
                - 'dc.online'
                - 'dc.weather.*'
                - 'dc.ignoremob.self'
                - 'dc.ignoremob.other'
                - 'dc.ignoremob.all'
                - 'dc.nopickup.self'
                - 'dc.nopickup.other'
                - 'dc.nopickup.all'
                - 'dc.instakill.self'
                - 'dc.instakill.other'
                - 'dc.instakill.all'
                - 'dc.freeze.self'
                - 'dc.freeze.other'
                - 'dc.freeze.all'
                - 'dc.hide.self'
                - 'dc.hide.other'
                - 'dc.hide.all'
                - 'dc.hide.see'
                - 'dc.reset.self'
                - 'dc.reset.other'
                - 'dc.reset.all'
                - 'dc.message.self'
                - 'dc.message.other'
                - 'dc.message.all'
                - 'dc.repair'
                - 'dc.mount.animal.*'
                - 'dc.mount.monster.*'
                - 'dc.mount.player.*'
                - 'dc.mute.self'
                - 'dc.mute.other'
                - 'dc.mute.all'
                - 'dc.fire.self'
                - 'dc.fire.other'
                - 'dc.fire.all'
                - 'dc.select'
                - 'dc.portal.*'
                - 'dc.setportal'
                - 'dc.delportal'
                - 'dc.cuboid'
                - 'dc.undo'
                - 'dc.replace'
                - 'dc.cuboidwireframe'
                - 'dc.cuboidhollow'
                - 'dc.spherehollow'
                - 'dc.walls'
       Admins:
            default: false
            info:
                prefix: '[ADMIN]'
                suffix: '&a'
                build: true
            inheritance:
            permissions:
                - '*'
       Server-Owner:
            default: false
            info:
                prefix: '[Server-Owner]'
                suffix: '&8'
                build: true
            inheritance:
            permissions:
                - '*'
    - Bombertygesen
     
  2. Offline

    vildaberper

    This is a correct node: - 'dc.home.self'
    This isnt: - '-dc.home.other'
    You should look up Permissions before you even start the server. If all of your players can do /stop, then they are OPs. You added every node to every group, so they can do every command. Its not recommended to add more than 'dc.<x>.self' for regular users, as 'other' and 'all' makes it possible to do the command for every player online.
     
  3. Offline

    BomberTygesen

    I don't really get that?
    Mhh i tryed to disable it by typing
    - '-dc.home.self'
    and enable by
    - 'dc.home.self'
    is there a easyer way to understand this?
     
  4. Offline

    ToreTR

    Seems like there is an error with me:

    Code:
    19:46:10 [INFO] Starting Minecraft server on 192.168.1.103:25565
    2011-06-13 19:46:10 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    2011-06-13 19:46:11 [INFO] Preparing level "Resorts"
    2011-06-13 19:46:11 [INFO] Preparing start region for level 0
    2011-06-13 19:46:12 [INFO] Preparing spawn area: 36%
    2011-06-13 19:46:14 [INFO] Preparing spawn area for Resorts_nether, 57%
    2011-06-13 19:46:16 [INFO] Preparing spawn area for Sewaland, 44%
    2011-06-13 19:46:17 [SEVERE] Error occurred while enabling DefaultCommands v3.3.1 (Is it up to date?): null; mapping values are not allowed here
    mapping values are not allowed here
     in "<reader>", line 59, column 44:
         ... er_spawn: true block_ghast_spawn: true
                                             ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
        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:74)
        at com.vildaberper.DefaultCommands.SaveLoad.loadConfig(SaveLoad.java:329)
        at com.vildaberper.DefaultCommands.SaveLoad.loadAll(SaveLoad.java:58)
        at com.vildaberper.DefaultCommands.DefaultCommands.onEnable(DefaultCommands.java:106)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I guess it happens when it tries to prepare a world. And I did update it. I have also checked those world properties. Nothing actually seems to be wrong, but maybe they are anyways? I could still have use for some help.
     
  5. Offline

    DragonMasterNYC

    I know I wrote this on Github back in May, but not sure if anyone besides the developer is reading it.

    I didn't mention this before, but sometimes when a tree drops saplings they don't stack with regular saplings even if there is room. (It's as if I'm trying to stack coal with charcoal). The only thing I could think of is that the sapling value is 3 (default as the MC Wiki states).

    Lastly with the MOTD feature now apart of this plugin I'm having an issue with showing who is online, how many are online and max. (I added some of the values from the online string) In the chat when I sign in it shows <online>,<max>, <players> in plain text, but if I use /online everything is normal.

    Now maybe someone else has had this problem and fixed it in their server, but I would like some input on what I can do to avoid these problems if possible.

    If you need a plugin list I will gladly post it for you guys.

    Thank ahead of time,
    Dragon
     
  6. Offline

    vildaberper

    Ill probably fix the sapling problem today or tomorrow.

    Edit: Fixed! :D

    Download the dev build again, its added.

    Normally, it uses all the variables in the default string. The default motd is updated, so reset your strings with '/dc reset strings' if you want that. :)
     
  7. Offline

    DragonMasterNYC

    I'll update this tonight when I get to my rig. If I have any issues I'll post back later.

    Thank you for the quick reply.
     
  8. Offline

    TehMushy

    Yay! I love you. :D
     
  9. Offline

    MG127

    this bug is so old ... dunno if i already posted it
    when you die in world1 and have spawnpoint in world2 but seperate inventories, youll lose all items from world2 instead of world1
     
  10. Offline

    Plancke

    i just asked this because i can only clear my own inventory and not those from others
     
  11. Offline

    vildaberper

    Wow, thanks. Ill sort that out tomorrow. :)

    Edit: Fixed! :D

    Just to let you know, but Ill probably be adding it tomorrow. :)
     
  12. Offline

    outbreak

    is there anyway to disable certain commands withing DC, this way i can just use my other commands, I.E Instead of using DCGive i want to use the /give that essentials has, /give Name Item instead of the /dcgive item qty Name.

    Any help would be much appreciated.
     
  13. Offline

    DragonMasterNYC

    Just loaded it on the server a little wile ago and tested with my admins.

    Each tree drops the right sapling now, no sapling mismatch when stacking, and the new string works great.

    Hope to see more great updates in the future.

    Later,
    Dragon
     
  14. This plugins is conflicted with Towny, I can't issue towny commands.
    Then everybody can change weather, time (i didn't give permissions)

    I'm using Bukkit Build 860
     
  15. Offline

    blarre

    Hi, and thanks for a great plugin! Helps alot.
    I created a new world with /dccreate command but I named it wrong and would like to delete it. How do I do that? Can I just delete the mapfolder?

    Thanks
     
  16. is there a command to list all the warps that are setup on a server?
     
  17. Offline

    blarre

    /dcwarps
     
  18. fantastic thanks :)
     
  19. Offline

    vildaberper

    Change give_usage (or give) in DefaultCommands.yml. Judt switch places of the variables. :)

    DefaultCommands is not causing Towny to not handle its commands.
    Set op_permissions: false in Config.yml.

    Ill add that in the nexy update, but you have to remove the worlds folder, and the folder in plugins/DefaultCommands/Worlds. :)

    Edit: Added! :D
     
  20. Offline

    blarre

    Thanks for the quick replay vildaberper. Another question I have is how the /dcsetteleport works. I have got it to work so it creates a teleport. But now to the stupid questions, how do I enter the portal? I can´t any "portal like thing".

    What am I doing wrong?
     
  21. Offline

    vildaberper

    I dont understand a thing. xD
    Go to the Wiki and click /dcsetportal under Commands. :)
     
  22. Offline

    Simon Nilsson

    Hi :) I really like this plugin, but it overwrites my old commands that i really want to still have :/ so can u make so you just disable the commands (not the whole plugin) so i can use my normal commands to :)
     
  23. Offline

    vildaberper

    Change Commands.yml. :)
     
  24. Offline

    FRLanc

    I made in config file op_permissions: false but everybody also can use ops commands! wtf?

    Can you send me DC plugin without this problem that everybody can use ops cmds, plzz!
     
  25. Offline

    vildaberper

    What?
     
  26. Offline

    FRLanc

    In config.yml I have changed a line "op_permissions: true" into "op_permissions: false" but all the same, all players are able to use dc commands.. Please! Can you send me "default commands" plugin only for ops. Sorry for my english, i dont know it very well.
     
  27. Offline

    vildaberper

    Its the same plugin, its that variable that sets if it will use Permissions or the built in OP permissions.
    If every user can do every command, make sure Permissions loads correctly and that you set it up right.
     
  28. Offline

    FRLanc

    Here is my permissions code. There are nothing about Default Commands in "Default" permissions.
    What i must add? I don't want using "Default Commands" by Default group.
    Code:
    Groups:
        Default:
            Default:false
            info:''
                prefix:''
                suffix:''
                build:true
            inheritance:null
            permissions:''
            - mcmmo.skills.*
            - mcmmo.ability.woodcutting
            - mcmmo.ability.mining
            - mcmmo.ability.axes
            - mcmmo.ability.excavation
            - mcmmo.ability.swords
            - mcmmo.ability.unarmed
            - mcmmo.ability.herbalism
            - mcmmo.commands.ptp
            - mcmmo.commands.party
            - mcmmo.commands.whois
            - mcmmo.commands.myspawn
            - mcmmo.commands.setmyspaw
            - mcmmo.commands.setmyspawnother
            - mcmmo.chat.partychat
            - LavaFurnace.player.use
            - LavaFurnace.player.destroy
            - LavaFurnace.player.fuel
            - LavaFurnace.player.build
            - falsebook.blocks.gate
            - falsebook.ic.selftriggered
            - residence.create
            - lockette.user.create.*
    
     
  29. Offline

    vildaberper

    According to that, noone can use any DC-commands at all.
    I dont think I understand your problem. Can all users do every command?
     
  30. Offline

    FRLanc

    yes, all users can use every command..(
     

Share This Page