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

    TehMushy

    The plugin its self is working on latest reccommened build (556) but when I try to disable all the give and teleport commands it deosn't seem to work. I'm using permissions, i've disabled the ones I dont want and disables them in the pugin's config file, yet the game is still giving me the items via this plugin..

    Any help would be thankful.
     
  2. Offline

    vildaberper

    Yeah, its coming! :)

    Just add a new line, Ive included two kits for you to look at to see the syntax :)
    Hope you understand.

    Individual times wat?

    That will never be included in this plugin, it isnt a logger. Try LogBlock (think thats righ).

    /tpd *
    defaultcommands.teleportdisallow.all

    It will be added either today or tomorrow! :D

    In config.yml. :)

    Open up the .jar with WinRar and edit out the commands from plugin.yml.
    Sorry you have to do this by hand, but this is how bukkit works.
    I cannot prevent my plugin from registering commands from the code. "/
     
  3. Offline

    Johnny Lunder

    Regarding the hiding of teleportmessages :
    Do you mind telling HOW it will be added, by configuring it or just plain remove it?
    Because it's really stupid telling players they get teleported to xD
    Except for that, friggin' love yer plugin!
     
  4. Offline

    vildaberper

    There will be large config file with Broadcast, Notify and Log settings. :)
    Ex:
    Notify:
    give_self: true
    Broadcast:
    give_self: true
    Log:
    give_self: true
     
  5. Offline

    Johnny Lunder

    Ah, sounds kickass! Thanks :)
     
  6. Offline

    CyrussM

    Hm , i have a problem. I died in a lava pool, when i press respawn iam in the lava pool again, and again and again. Why? And how can i change this ?
     
  7. Offline

    vildaberper

    Set the spawn location again, or turn off exactspawn.
    You probably set your spawn before 2.2.2 :)
     
  8. hai there, thanks for this nice plugin !

    if You add the "/home on death" feature i'm all about getting rid of Essentials in favor of this plugin !

    Keep it up !

    i have one question tho: could you explain how to set this up if i dont run any of the permissions / groupmanager plugins ? i really cant seem to wrap my head around what the OP-Permissions in config.yml do. What is (other, self and all) supposed to do if set to either true or false?

    Thanks !
     
  9. Offline

    Marsman75

    Hi,

    Grate work with this plugin really love it. But there is some things a noob like me dont understand.

    If you use DefaultCommands togheter with Permission plugin you can setup who can get access to what command in the group settings of the Permission plugin, but in your "help" or description i find several choices of the same command, like.

    ...spawn.self
    ...spawn.others
    ...spawn.all
    ...spawn.set

    What is the difference between these (above example most your commands work the same)?

    Thanks again for a grate work!!!
     
  10. Offline

    vildaberper

    Yeah, its coming. :)

    Ex:
    give_self: true <- Will make it OP-only to give yourself items.
    give_other: true <- Will make it OP-only to give another player items.
    give_all: true <- Will make it OP-only to give all players items. (/give 1 1 *).

    Read above^ :D
     
  11. Offline

    PaddseL

    I don't know if this is already reported, but i get an error if i try to warp to a created warp.
    Screen:
    [​IMG]

    I have Windows 7 Ultimate, running the newest build of Craftbukkit from CraftBukkitUpToDate
    (Don't know what build it currently is).

    Thanks for help...
     
  12. Offline

    Kenpari

    Having trouble with admin group and some commands working. The /home command doesn't work with a user placed in admin group. Tested users in default group with home.self permission and it was fine, but a user in admin group gets this error after setting home and then using /home:

    You have not set your home yet!
    /home [player]
     
  13. Offline

    vildaberper

    Uhm, what did you do?
    Its working for me. No errors or anything.
    Is the name shorter than 2 chars?

    Its not coused by my plugin, it is working fine. :)
    Are you sure he set his home?
     
  14. Offline

    Kenpari

    I don't run the server so I'm trying to work with him to get these problems across... we're going to try using GroupManager now. Apparently he installed some other permissions. I'll get back to you on whether we still get the problem.
     
  15. Offline

    PaddseL

    No, minimal 3 Chars.
    Maybe because of another plugin?!
     
  16. Offline

    ksevelyar

    :'(

    1. [​IMG]
    2. [​IMG]
    3. [​IMG]
    4. [​IMG]
     
  17. Offline

    vildaberper

    Yeah, probably

    This is so wierd. I cannot for my life understand whats wrong.
    Bukkit gives me this: split[0] = -232, split[1] = 66, split[2] = -368
    Basiclly its telling me that the split[2] is not there, but it clearly is.

    Edit: Im an idiot, please excuse my failing. xD
    New version uploaded.
     
  18. Offline

    ksevelyar

    :rolleyes:
    [​IMG]
    Many thanks for this plugin.
     
  19. Offline

    Kenpari

    For some reason it seems that we're getting the problem again... and it's an odd problem.

    We've set 2 users in the admin group, myself and the server host. I connect to the server and tested like this:

    Typed /sethome and then /home

    Both commands worked correctly.

    Other person connects, and we try it again.

    This time /sethome works but /home results in a message saying we have not set our home. The problem only occurs when 2+ admins are connected at the same time.

    Just looked into it a little more.

    Had two admins connect. I used /sethome and then /home. It worked, but then the other admin tried it and /home gave him an error again. I then tried /home again myself and it didn't work. There are issues with the admin group and /home, it seems.
     
  20. Offline

    JeremyLeory96

    I am having issues with this plugin. It seems that I (only me nobody else) return to spawn when i join the game. What Gives?
     
  21. Offline

    allisgood888

    I feel really stupid. Where is are the settings, i restarted my server and it did not give me files or anything to edit, still just a jar file. This is the dream plugin for me >.>. I can't use groupmanager because it doesn't come with settings either, only uses default permissions, getting them off my previous host once he freakin responds... so I assume its not put in op mode, because there is no permission plugin on my server yet. Please reply fast :)
     
  22. Offline

    Psycho Robot

    This is a really great plugin that manages to incorporate a variety of features, but avoids being a grab-bag of miscellaneous and unrelated features. That said, I feel like the documentation could be better. For instance, in the config.yml file, I don't really know what the "Features" section of the config.yml file indicates, and why things which were already listed are duplicated therein. I assume that its to turn those entire features on or off, however it would be nice to have that explicitly stated, to eliminate any guesswork. Likewise, I'm not sure what "mute_time: true" refers to. I notice that you can specify an amount of seconds to mute a player, so what happens if you set mute_time to false? Is there a default amount of time that it reverts to? Or does it become permanent? You need to spend some time and list exactly what each of these configuration options and permission nodes do, especially since you have so many, and plan on adding yet more, something in the form of:

    Code:
    ### General Options ###
    kick_time: 10 #specifies the minimum amount of time in minutes after a kick that a player is blocked from re-entering the server
    autosave_time: 30 #specifies the amount of time in minutes between auto-saves
     
  23. Offline

    vildaberper

    plugins/DefaultCommands/ :)

    Add permission: 'defaultcommands.spawn.self'

    And this only occurs when admins are on?

    Yeah, Ill make it more readable. mute_time: true makes it possiblw to mute players for seconds. This might cause lag, so therefore its possible to turn it off. :)
    I will rewrite this plugin from scratch when I have time, and itll be much better.
     
  24. Offline

    CyrussM

    Oki think i have the same Problem.

    2011-03-20 15:28:01 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'warp' in plugin DefaultCommands v2.5.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    at com.vildaberper.bukkit.DefaultCommands.DefaultCommands.Warp(DefaultCommands.java:7785)
    at com.vildaberper.bukkit.DefaultCommands.DefaultCommands.onCommand(DefaultCommands.java:2377)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    2011-03-20 15:28:18 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'warp' in plugin DefaultCommands v2.5.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    at com.vildaberper.bukkit.DefaultCommands.DefaultCommands.Warp(DefaultCommands.java:7785)
    at com.vildaberper.bukkit.DefaultCommands.DefaultCommands.onCommand(DefaultCommands.java:2377)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  25. Offline

    vildaberper

    Thanks for the error message, its fixed now! :D
     
  26. Offline

    Mindstepper

    Where can i download this Plugin?
    The link does not work. "...is not a shared folder"
    It works now!

    Sorry for my bad english
     
  27. Offline

    Kenpari

    Yes, the admin group is the only one having problems with it.
     
  28. Offline

    Latros

    Fixed yet, Vildaberper!?

    (teleport messages)
     
  29. Offline

    sunkid

    I am getting the following error when issuing the /warpl command:

    Code:
    >warpl
    10:51:09 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'warpl' in plugin DefaultCommands v2.5.3
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:221)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:380)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:366)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
            at com.vildaberper.bukkit.DefaultCommands.DefaultCommands.CWarplist(DefaultCommands.java:8194)
            at com.vildaberper.bukkit.DefaultCommands.DefaultCommands.onCommand(DefaultCommands.java:2526)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 6 more
    
    I should add that I just migrated from Essentials and MyWarp and added all existing warps to the locations.yml file. All the warps I have tried work just fine, but I suspect one of the contains characters that DefaultCommand may not like.
     
  30. Offline

    vildaberper

    Then its something else, the permission check and whatever is all the same for every group. "/

    Yep, latest version has it. ;)
    (notlogbr.yml)

    Yep, rename it and you should be fine.
    The warp names cannot start with a number.
     

Share This Page