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

    Set creative to true in Config.yml.

    wat?

    Yeah, that sounds cool.

    Nice, Ill add it!

    Its on the todo list. :)
     
  2. Offline

    Chiller252

    My non-op players are not recieving their permissions from permissionsex, only message recieved is "&4 you do not have permission to do that."
    here is the list of nodes i have for each section of permissions...
    my world name is "Chris-Land"
    i am running bukkit server build 1185
    only other plugin is permissionsex
    Code:
     groups:
        Noob:
            default: true
            permissions:
             - dc.join.self.Chris-Land
            - dc.worlds
            - dc.help
            - dc.spawn.self.Chris-Land
            - dc.teleport.self.Chris-Land
            - dc.home.self
            - dc.sethome.self
            - dc.warp.self.<warp>
            - dc.warps
            - dc.disconnect
            - dc.repeat
            - dc.online
            - dc.message.all
            - dc.motd
            - dc.afk.self
            - dc.teleportback.self
            - dc.do.Chris-Land
        Regular:
            inheritance:
            - Noob
            permissions:
            - dc.join.self.Chris-Land
            - dc.worlds
            - dc.help
            - dc.spawn.self.Chris-Land
            - dc.teleport.self.Chris-Land
            - dc.home.self
            - dc.sethome.self
            - dc.warp.self.<warp>
            - dc.warps
            - dc.disconnect
            - dc.repeat
            - dc.online
            - dc.message.all
            - dc.motd
            - dc.afk.self
            - dc.teleportback.self
            - dc.who
            - dc.mute
            - dc.do.Chris-Land
        Moderator:
            inheritance:
            - Noob
            - Regular
            permissions:
            - dc.join.self.Chris-Land
            - dc.worlds
            - dc.help
            - dc.spawn.all.Chris-Land
            - dc.teleport.all.Chris-Land
            - dc.home.all
            - dc.sethome.all
            - dc.warp.all.<warp>
            - dc.warps
            - dc.disconnect
            - dc.repeat
            - dc.online
            - dc.message.all
            - dc.motd
            - dc.afk.all
            - dc.teleportback.self
            - dc.who
            - dc.mute
            - dc.give.all
            - dc.god.self
            - dc.stack
            - dc.setwarp
            - dc.delwarp
            - dc.health.all
            - dc.time.Chris-Land
            - dc.inventory
            - dc.killnear.Chris-Land
            - dc.clearnear.Chris-Land
            - dc.weather.Chris-Land
            - dc.ignoremob.self
            - dc.freeze.other
            - dc.hide.self
            - dc.repair
            - dc.mute.other
            - dc.fire.all
            - dc.extinguish
            - dc.kit.all.<kit>
            - dc.kits
            - dc.clearinventory.all
            - dc.lightning
            - dc.whitelist.add
            - dc.whitelist.remove
            - dc.whitelists
            - dc.ban
            - dc.unban
            - dc.bans
            - dc.kick.other
            - dc.do.Chris-Land
     
  3. Offline

    vildaberper

    Use this version: http://dl.dropbox.com/u/19411765/Release/DefaultCommandsPermissionsEx/DefaultCommands.jar
    I dont see how anyone would want to use pex since there is superperms now. I recommend PermissionsBukkit. :)
     
  4. Offline

    WizardCM

    I knew I didn't explain it properly.

    Alright, firstly, DefaultCommands has a lot of commands, and because of that a lot of permissions for each command. What I'm asking for, is a mode (that could be enabled with /dcpermsdebug or something) that causes any "You do not have permission to do that" message to be accompanied by a list of what permissions are needed to perform the command. This would make setting up all permissions for every group (on my server, for example, we have New (literally no perms), User (perms that most players should have), Moderator (obviously, all moderation perms), and Admin (any and all perms). When a command doesn't work, sometimes we're not sure what permission is missing from the group, so we spend the next ten to fifteen minutes trying the figure out which permission is missing and add it.

    Oh, and another thing, I think your dev version numbering system is confusing. If we're running a developer build, we don't know if a new version has come out or not, and when to update. The same goes for when we want to know if the dev version we have have been released as a main build.

    Edit: Just had one more idea: spawn protection. One where nobody but Admins/Ops can build/destroy, and where mobs either cannot enter or cannot hurt players/the landscape. On my server's Survival map I've had instances where players get killed the moment they respawn, usually because they were killed very close to spawn and the mob attacked them again. Other instances are where players have led creepers to a nicely built spawn building, and damaged it.
     
  5. Offline

    vildaberper

    That sounds cool, Ill add it. :D

    Yeah, Ill do something about that. Maybe set the dev build to version x.x.xD :)

    Zones are coming in 4.0.0! :D
     
    Jäsef likes this.
  6. Offline

    WizardCM

    I just had another idea: nicknames (or 'real name').

    These would be separate from the username, and basically only show under /who. But, it would help calling people via their first names rather than usernames. So basically, under /who add (as an example):

    Real Name: Matt

    For this, you could have a command like /rname [name] [player] that either admins can set for players, or players can set their own.
     
    Jäsef likes this.
  7. Offline

    GregRUS

    Ive got an error on CB1550
    Show Spoiler

    16:34:55 [SEVERE] Error occurred while enabling DefaultCommands v3.7.0 (Is it up
    to date?): net/minecraft/server/InventoryPlayer
    java.lang.NoClassDefFoundError: net/minecraft/server/InventoryPlayer
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
    at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoad
    er.java:221)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:32)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.vildaberper.DefaultCommands.SaveLoad.loadInventory(SaveLoad.java:
    340)
    at com.vildaberper.DefaultCommands.SaveLoad.loadAll(SaveLoad.java:66)
    at com.vildaberper.DefaultCommands.DefaultCommands.onEnable(DefaultComma
    nds.java:51)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:957)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:182)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:165
    )
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.InventoryPlaye
    r
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 28 more
     
  8. Offline

    WizardCM

    Seems to be a bug with inventories in 1.0. I've had a similar problem, inventory errors show on disconnect (running dev of DC).
     
  9. Offline

    Orcem12

    @vildaberper
    I'm getting errors galore with default commands with the latest build:
    Code:
    12.12 22:39:40 [Server] INFO     ... 27 more
    12.12 22:39:40 [Server] INFO     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    12.12 22:39:40 [Server] INFO     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    12.12 22:39:40 [Server] INFO     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    12.12 22:39:40 [Server] INFO     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    12.12 22:39:40 [Server] INFO     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    12.12 22:39:40 [Server] INFO     at java.security.AccessController.doPrivileged(Native Method)
    12.12 22:39:40 [Server] INFO     at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    12.12 22:39:40 [Server] INFO Caused by: java.lang.ClassNotFoundException: net.minecraft.server.InventoryPlayer
    12.12 22:39:40 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    12.12 22:39:40 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    12.12 22:39:40 [Server] INFO     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    12.12 22:39:40 [Server] INFO     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    12.12 22:39:40 [Server] INFO     at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    12.12 22:39:40 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    12.12 22:39:40 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    12.12 22:39:40 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    12.12 22:39:40 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
    12.12 22:39:40 [Server] INFO     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    12.12 22:39:40 [Server] INFO     at com.vildaberper.DefaultCommands.DefaultCommands.onEnable(DefaultCommands.java:51)
    12.12 22:39:40 [Server] INFO     at com.vildaberper.DefaultCommands.SaveLoad.loadAll(SaveLoad.java:66)
    12.12 22:39:40 [Server] INFO     at com.vildaberper.DefaultCommands.SaveLoad.loadInventory(SaveLoad.java:340)
    12.12 22:39:40 [Server] INFO     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    12.12 22:39:40 [Server] INFO     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    12.12 22:39:40 [Server] INFO     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    12.12 22:39:40 [Server] INFO     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
    12.12 22:39:40 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:221)
    12.12 22:39:40 [Server] INFO     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    12.12 22:39:40 [Server] INFO     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    12.12 22:39:40 [Server] INFO     at java.security.AccessController.doPrivileged(Native Method)
    12.12 22:39:40 [Server] INFO     at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    12.12 22:39:40 [Server] INFO     at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    12.12 22:39:40 [Server] INFO     at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    12.12 22:39:40 [Server] INFO     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    12.12 22:39:40 [Server] INFO     at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    12.12 22:39:40 [Server] INFO     at java.lang.ClassLoader.defineClass1(Native Method)
    12.12 22:39:40 [Server] INFO java.lang.NoClassDefFoundError: net/minecraft/server/InventoryPlayer
    12.12 22:39:40 [Server] SEVERE Error occurred while enabling DefaultCommands v3.7.0 (Is it up to date?): net/minecraft/server/InventoryPlayer
    I tried modding it but got unsuccessful builds.
     
  10. Offline

    WizardCM

    @Orcem12
    Are you running the dev build of DefaultCommands?
     
  11. Offline

    Orcem12

    Yes sir I am :) Why is it working for you perfectly?
     
  12. Offline

    WizardCM

    I haven't updated recently (the server I'm using is a little... frozen, and I don't have permission to kill java) but I was just curious.
    I've noticed DefaultCommands can bug up a bit on updates, so make sure you downloaded the updated .jar from the site here rather than ingame, and that you rename your old DefaultCommands folder (updates tend to mess with it, you can re-add the files bit-by-bit later).
    Other than that, I can't help you. I'm not a developer, just a big fan of DefaultCommands. :p
     
  13. Offline

    vildaberper

    DC is not updated for MC 1.0.0, Ill release a stable dev build with some features soon (Im rewriting the plugin). :)
     
  14. Offline

    suicidal_banana

    cool, cant wait :D
     
  15. Offline

    WizardCM

    Good to hear, rewriting is good. Means you'll be able to clean up and improve old code. :D

    Be sure to include a /setxp command, and include level in /who. :D

    I also have a large request: allow the ability to set settings for worlds and such (like, everything), with commands.
    I mean, when i want to disable mobs in a Freebuild world, I have to search the config file for every mention of block_*_spawn and set it to false, and that takes a while. If I could simply run a command like '/dc set mobs Freebuild false' would be awesome.
    (ie. /dc set <setting> [world] <value>) [world] only if required. :p
     
  16. Offline

    suicidal_banana

    Please no, lets not have all plugins 'attack each-other' again, if you want this, look at worldguard (which any server should have anyway) and yea, theres (currently anyway) no ingame commands for those settings in worldguard, but thats for a reason. I do agree with your mention of setxp and who cmds.

    @vildaberper; hows it goin? any dev versions that need testing?
     
  17. Offline

    WizardCM

    My reasons for requesting this feature specifically are the following:
    I like having DefaultCommands as my main, go-to (and recommended) plugin. I don't want to have to install another plugin alongside it just because it's slightly easier to do it in that one. I mean, DefaultCommands has MultiVerse, MultiInv, WorldEdit and WorldGuard-style functionality built right in, among many other great and useful things. There's no reason for me to run those extra 4+ if I can just run this one awesome plugin.
    And my reason for commands? In recent versions, the world configuration files seem to shuffle settings, and that makes it all the more harder to disable mobs. Alongside this, if you don't close/save/reload properly, you can clear your whole DefaultCommands configuration in the blink of an eye (this has happened to me a couple times, usually when updating). With commands, there'd be less of a chance for these horrible mishaps to happen, and make it much faster to configure each world (especially when you run the server from the other side of the world, on a VPS).
     
    scar_ likes this.
  18. Offline

    scar_

    I totally agree with you.
    As of now i'm using worldedit,commandbook,world border,simple prefix,permissionsbukkit.
    All of these could be replaced with 1 plugin. *Defaultcommand*
     
    WizardCM likes this.
  19. Offline

    Don Redhorse

    thanks... looking forward to this as it is the only plugin keeping us from updating.
     
  20. Offline

    Guffelstein

    Nobody can place a block, just admins (without using permissions) - can I disable it?

    WITH using permissions I get this error:

    Code:
    2011-12-14 14:22:08 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:609)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:478)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:93)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:77)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:92)
        at net.minecraft.server.ItemStack.placeItem(ItemStack.java:69)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:282)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
        at net.minecraft.server.Packet15Place.a(SourceFile:39)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  21. Offline

    scar_

    try to set the op_permissions: true in your world config file
    and try and change the - dc.do.* to - dc.do.(your world name) you will find it under permissions in the same world config file
     
  22. Offline

    Guffelstein

    Okay it works now :) Thank you!
     
  23. Offline

    jsgage

    vildaberper
    when ow when ? can we expect a new build , tried a few other plugins to replace your brilliance but to avail .I need defaultcommands
    or at least can you recompile the current version to work with bukkit rb 1597
     
  24. Offline

    Blocksnip3r

    I feel your pain. Essentials *caugh* garbage *caugh*, and others just dont fit my needs. I ended up with commandbook. Great plugin always works and quality work but I like some of the tweaks and features of this plugin. Like freeze and apple drops.
     
    WizardCM likes this.
  25. Offline

    WizardCM

    Apple drops can also be provided with Falsebook, which is an awesome plugin in its own right. But yeah, I hope that a new version is coming soon.
     
  26. Offline

    suicidal_banana

    This, i moved to commandbook too (since i couldnt bear the whining players anymore) but even tho thats awesome in its own ways, it just doesnt cut it.

    Please vildaberper, help us :p
     
  27. Offline

    nickesniffe135

    i cant se when people log out from my server is it an error?

    But it is a AWSOME plugin i have recomend it for a lot of servers!
     
  28. Offline

    jsgage

    Nice one vildaberper , for Development build
     
  29. Offline

    Don Redhorse

    so does that work on 1597?
     
  30. Offline

    jsgage

    YES looking fine on 1597
    ps dont try on latest build 1618 r2 lots of errors
     

Share This Page