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

    Try with the latest dev build. I have no idea why the plugins is throwing nullpointers though.

    If one node is working, the rest will do so to. :)
     
  2. Offline

    Ryanc360

    Hey Chief,
    I've been trying to use your plugin with permissions seeing how support was added for them, but I can't seem to get teleport to work. I take that back, admins can teleport but my moderators cant. I've added dc.teleport.self and dc.teleport.other to the permissions list, both under group permission and in the players individual permissions as a test but it doesn't seem to work.I've spent the better part of two days trying to figure this out and the only thing I cna come up with is I've skipped a command somewhere.
    Any insight as to what I may be doing wrong?
    Thanks
     
  3. Offline

    vildaberper

    It works for me.
    Post your Permissions setup. :)
     
  4. Offline

    Ryanc360

    groups:
    Default:
    default: true
    info:
    prefix:
    suffix:
    build: true
    permissions:
    - 'dc.Spawn.self'
    - 'dc.online.other'
    - 'dc.online.self'
    - 'dc.kill.self'
    - 'dc.message.other'
    - 'dc.message.all'
    - 'dc.home.self'
    - 'dc.sethome.self'
    - 'dc.warp.self'
    - 'dc.motd'
    - 'dc.do'
    Moderator:
    default: false
    info:
    prefix:
    suffix: Mod
    build: true
    inheritance:
    - Default
    permissions:
    - 'dc.give.self'
    - 'dc.give.other'
    - 'dc.teleport.self'
    - 'dc.teleport.other'
    - 'dc.time.set'
    - 'dc.heal.self'
    - 'dc.kick.other'
    - 'dc.kick.self'
    - 'dc.ban.other'
    - 'dc.mute.self'
    - 'dc.mute.other'
    - 'dc.unmute.self'
    - 'dc.unmute.other'
    - 'dc.warp.set'
    - 'dc.warp.list'
    -
    -
    -
    Admins:
    default: false
    info:
    prefix: '&4'
    suffix: '&f'
    build: true
    permissions:
    - '*'
     
  5. Offline

    vildaberper

    Try removing the extra lines:
    -
    -
    -
     
  6. Offline

    Ryanc360

    No idea what happened but it works now.
    Thank you sir. Appreciate it
     
  7. Offline

    mouvet

    never use removefloat if u dont know what it is and u use it on ur main building :/
     
  8. Offline

    vildaberper

    I thought I was pretty clear with that. xD
    Sorry to hear though.

    Huge update released! :D

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

    MG127

    did you remove the warps-alias? ... "/warp d" was the same as "/warp dollet"

    did you change something with the seperate inventory?
    Code:
    Failed to load inventories.
    DefaultCommands 3.4.0 is enabled.
    
    when does it exactly occur that the players prefix and suffix overwrite the groups prefix and suffix? (with better chat on)
    this is what i think it should be:
    Code:
    groups:
      admins:
        info:
          prefix: '&c[admin]'
          suffix: ''
    users:
      MG127:
        groups:
          - admins
        info:
          prefix: ''
          suffix: '&a'
    
    so, if i have <prefix><suffix><playername>&f: <message>
    the result has to be:
    &c[admin]&aMG127&f: blub
     
  10. Offline

    inversation

    Hooboy, I just keep finding funny things appearing! Sorry to keep bugging you :\

    Okay so I've noticed in the server log that this message appears from time to time:

    Code:
    2011-06-18 01:55:34 [SEVERE] Could not pass event ENTITY_DAMAGE to DefaultCommands
    java.lang.NullPointerException
        at com.vildaberper.DefaultCommands.Listener.DCEntityListener.onEntityDamage(DCEntityListener.java:109)
        at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.java:598)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.EntityArrow.o_(EntityArrow.java:180)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1114)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:62)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1096)
        at net.minecraft.server.World.cleanUp(World.java:1073)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:395)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-18 01:55:34 [SEVERE] Could not pass event ENTITY_DAMAGE to DefaultCommands
    java.lang.NullPointerException
        at com.vildaberper.DefaultCommands.Listener.DCEntityListener.onEntityDamage(DCEntityListener.java:109)
        at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.java:598)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.EntityArrow.o_(EntityArrow.java:180)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1114)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:62)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1096)
        at net.minecraft.server.World.cleanUp(World.java:1073)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:395)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-18 01:55:36 [SEVERE] Could not pass event ENTITY_DAMAGE to DefaultCommands
    java.lang.NullPointerException
        at com.vildaberper.DefaultCommands.Listener.DCEntityListener.onEntityDamage(DCEntityListener.java:109)
        at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.java:598)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.EntityArrow.o_(EntityArrow.java:180)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1114)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:62)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1096)
        at net.minecraft.server.World.cleanUp(World.java:1073)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:395)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-18 01:55:36 [SEVERE] Could not pass event ENTITY_DAMAGE to DefaultCommands
    java.lang.NullPointerException
        at com.vildaberper.DefaultCommands.Listener.DCEntityListener.onEntityDamage(DCEntityListener.java:109)
        at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.java:598)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.EntityArrow.o_(EntityArrow.java:180)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1114)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:62)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1096)
        at net.minecraft.server.World.cleanUp(World.java:1073)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:395)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I can't seem to tie this in to any specific event happening (aside from the obviously tagged entity damage and arrows) and it doesn't appear to affect the game other than these server log errors. I don't know if it's even DC causing it or just picking it up, but just in case, here it is. If you need any additional info, let me know.
     
  11. Offline

    mouvet

    ye srry i didnt see it at the beginning
     
  12. Offline

    vildaberper

    Looks like theres a bug in bukkit;
    Every time an entity gets damaged it throws an event. In this case, it sais that the entity which was damaged, was damaged by another entity. But at the same time, it sais that the damager entity is null (nothing, unset).
    Wierd. "/

    Yes I did, you now have to type the full warp name. I might add it again though. It was removed because it wasnt at the right place.

    I dont know actually, the new Permissions is confusing. Ill take a deeper look at it when I have the time.

    If you want that, just change it to that in DefaultCommands.yml. :)
     
  13. Offline

    MG127

    well thats what i wrote is what i wanted the plugin to react, but it doesnt read the suffix from the player and thats the way it was from the beginning, remember? we've already talked about it :)
    but iChat doesnt support permissions3

    and did you change something with the seperate inventory?
    Code:
    Failed to load inventories.
    DefaultCommands 3.4.0 is enabled.
    
     
  14. Offline

    vildaberper

    Ill take a look at it later today or tomorrow. :)

    Nope, its the same. Ill make 3.4.1 in about an hour, itll print a better error message.
     
  15. Skype ditt derp.
     
  16. Offline

    AntiTW

    Hi,

    I've just installed this plugin as a replacement for Essentials and to support the multi-world thing. It's all working fine, so props for that, apart from one error I cant seem to resolve or find anywhere. When anyone logs in (and at some other random event I'm not sure about) the server gives:

    [SEVERE] Could not pass PLAYER_TELEPORT TO DefaultCommands
    java.lang.NoClassDefFoundError: org/bukkit/Effect

    It looks like some kind of internal error but since I'm new to this plugin I'm not sure where to look. It doesn't seem to affect any functionality because the teleport function works fine, but I hate hosting a server with errors :)

    Any help would be appreciated,

    thanks in advance,

    Anti
     
  17. Offline

    DragonMasterNYC

    Thanks for the update no major issues that I have come across, gonna wait till more users are on.

    But I do have one request my users keep bugging me about not being able to request a teleport like they did before to other players, it's apart of the Essentials plugin. For now my admins will just move the players around by request if they are there.

    example:
    /tpr or /tprequest [Player]

    It sends a message to target player and they must /accept or /deny the request.


    Dragon
     
  18. Offline

    vildaberper

    Update CB to the latest RB, if that doesnt work you should update to the latest version. :)

    Thanks, Ill add it. :)
     
  19. Offline

    DragonMasterNYC

    No thank you.

    Now I can stop being asked if its ever gonna happen, I put a sign up at spawn, not like they'll read it.
     
  20. Offline

    vildaberper

    Allright, download the latest version of DC and post the error message you get.
    The contents of the file that gets posted too. :)
     
  21. Offline

    Chuck67322

    How do you even enable the MOTD?
     
  22. Offline

    vildaberper

    Just add 'dc.motd' to their permissions and its done. :)
     
  23. Offline

    Chuck67322

    Oh, ok thank you.

    It keeps saying "An internal error occurred while attempting to perform this command" whenever I do /dc load after I changed the string for the MOTD. What am I doing wrong?
    Here's my message:
    motd: '&2Welcome to the server, &7<player>&2. Connected players (&7<online>&2/&7<max>&2):<br>&7<players>&2.<br>&2 If you're new please email me at [email address] for build rights. Thanks!'
    Does it have to do with the &7 and the &2? I'm kind of new to yml

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

    vildaberper

    Post the error messages.
     
  25. Offline

    babystompa

    I can't get my permissions to save peoples names not in OPS are able to spawn items. I have tried setting op_permissions to false. but it won't save if the server is offline or not. I have also tried changing it online and using /dc load and they can still use /item ## ##

    I also saw in some of the first posts you made an ops version only do you still have that supported?
     
  26. Offline

    DragonMasterNYC

    I was feeling good today till I saw this.

    [​IMG]

    Might have to do with my plugins so here is a list for you.

    BigBrother
    DefaultCommands
    DropPlugin
    HigherExplosives
    Lockette
    mcMMO (Only thing that was updated with DefaultCommands)
    Permissions
    Scavenger
    SimpleSaver

    Same thing happens if I use /online

    Any help will be greatly appreciated.


    Dragon
     
  27. Offline

    Rainforce15

    ok, this is weird. the <players> list apparently returns CraftPlayer={name=Rainforce15}, etc isntead of the name alone. any fix for that?
    EDIT: pretty much the same as in the post above.
     
  28. Offline

    DragonMasterNYC

    The funny thing is it was fine before when I updated. I've notice on the server sometimes it takes a wile before errors like this show up, don't know why I always restart.

    Do you use any of the plugins I have Rainforce.
     
  29. Offline

    Chuck67322

    Here:
     
  30. Offline

    MG127

    thx, there was an inventory file with a zero size
    would be good if you could programm it that way, that when the plugin can't load something, that it just skips this one and continues with the rest
    instead of: try{ for() { ... }} something like this: for() { try{...}
     

Share This Page