[INACTIVE][GEN] General Essentials v1.0.4 - Extras for the General Plugin (incl. kits)

Discussion in 'Inactive/Unsupported Plugins' started by wjykk, Jan 17, 2011.

     
  1. Offline

    wjykk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You probably know of the General plugin, and how easy it became to migrate from hMod to Bukkit. Unfortunately, it's not complete. This plugin add-on will help you get your server back in order faster.

    Features:
    • Kits: use your existing kits.txt file with minor modifications
    Possible future features:
    • Logging utility, so rather than shoving everything into the server.log file, it will place it in a dedicated directory
    • Users and groups either GroupUsers or some possible future built-in user/group management thing is/will be sufficient
    • All-purpose plugin enable/disabler/reloader (because the one included with General doesn't work half the time) HotSwap sounds promising enough
    • Plugin updating utility Bukkit's 'fill' system should, hopefully, cover this
    • Steal stuff from GeneReal, because I can
    • Whatever you can suggest!
    Prerequisites: General
    Download (v. 1.0.4): http://mliib.net/~mc/GeneralEssentials.zip

    Enjoy!
  2.  
  3. Offline

    Tylerjd

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks so muchh! Kits are an essential part to ma server.
  4. Offline

    chill1977

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not really worth it for 1 command but thanks for the update.
  5. Offline

    cryptk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    My friends and I have been waiting for kits in bukkit... you made us very happy!
  6. Offline

    MrMaple

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Tried it, using the latest build. I type in /kit tools and it tells me the kit doesn't exist.

    Didn't notice I needed to create a kits.txt file.
  7. Offline

    brettb3130

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    so wait, i make a kits.txt file in the general folder, then what?
  8. Offline

    CTO_7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it just me or are kits case sensitive?
  9. Offline

    LTN

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Awesome!! Thank You
  10. Offline

    Muddr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    In the old hmod, you could do a quantity of -1 for infinite blocks... any possibility of that getting implemented?
  11. Offline

    wjykk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry for the confusion guys, but I have updated General Essentials v. 1.0.1 with... eh, minor updates:
    • Kits and commands are no longer case-sensitive
    • Ability to edit the kits after the server was launched and reload the plugin using /gereload
    • Actually displays an error when a kit is being ignored
    • Added a README, so it should be a bit easier to understand the instructions
    • That's about it, I think
    The link is still the same, which is in the description. I hope to get some feedback, feature requests, and whatnot. Hopefully this plugin will continue moving on its own, although the author of General asked me to implement this plugin into his.

    Also, in regards to -1, I will take a look at it, although it should theoretically work (if you do, in the client, /i <item> -1, it will give you infinite items).
  12. Offline

    distortednet

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey just posting a bug. basically when i have already used a kit and some time later request another kit, in game it says it gave me the kit, but on console it spits out this error.

    Jan 17, 2011 4:19:22 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to GeneralEssentials
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at java.util.ArrayList.rangeCheck(ArrayList.java:571)
    at java.util.ArrayList.remove(ArrayList.java:412)
    at GeneralEssentials$GeneralEssentials_player_listen.onPlayerCommand(GeneralEssentials.java:140)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:134)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:199)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:546)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:522)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:64)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-01-17 04:19:22 [INFO] distortednet issued server command: kit build



    im using the latest craftbukkit from whatever that timestamp is.

    basically, the kit only works 1 good time, then the rest its kinda iffy on if it gives me a kit or not
  13. Offline

    Donxpro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    could you make a plugin that makes an exact spawn because on my server if you die spawn in differnt place
    or if your new player first time you spawn in differnt place or if you use /spawn from general you spawn in differnt place and the /spawn doesnt work through glass :p
  14. Offline

    Captain Kirk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Whats the format for kits.txt file, im new and never did kits before.
  15. Offline

    chill1977

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    #Add your kits here. Example entry below (When adding your entry DO NOT include #!)
    #miningbasics:1,2,3,4:6000
    #The formats are (Find out more about groups in users.txt:
    #NAME:IDs:DELAY
    #NAME:IDs:DELAY:GROUP
    #6000 for delay is roughly 5 minutes.
    survival:306,307,308,309,256,257,258,267,50 20:-1

    of coarse the groups doesnt work yet but it should be nameofkit:item:delay -1 being once per login

    or nameofkit:item,number:delay
  16. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    this would be good
    it not for the fact it uses ur groups and another plugin as a prerq.

    I would rather use the Hmod groups coverter plugin so good work but its a non install from me.
  17. Offline

    wjykk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The kits format is described in General/general.kits, which is the file that you should modify.
    I don't quite understand what you're saying. Are you refusing to use this plugin because it requires General, or because groups don't work? If it's the former, well the entire point of this plugin is to be like an add-on to the General plugin. If it's the latter, well, I will implement groups at a later time.
    --- merged: Jan 17, 2011 5:35 PM ---
    Hmm, you're right, I'll take a look at it, but just that you know this happens only once after you requested a kit, but then if you request it again, you will get it. Still, I'll try and fix this bug.
    --- merged: Jan 17, 2011 6:00 PM ---
    Updated the plugin to version 1.0.2, which eliminates the error described above... hopefully. Also, the ZIP file should have 4 files. If you only get 3, the browser cache is in the way. I've no clue why it's doing that.
  18. Offline

    Captain Kirk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I cant get this to work...

    I can do /kits and it says Kits available:blank

    My general.kits file says:

    #EXAMPLE kit:
    #beginner:256,257,258,50-64:300
    #TOOLS:278 1,279 1,277 1,50 64,302 1,303 1,304 1,305 1,:6000:-1
    tools:278,279,277,50 64,302,303,304,305:6000:-1


    GeneralEssentials is in my plugins folder and my server proprties read:
    plugins= Myhome,General,Whitelist,MyWarp,GeneralEssentials,vStopFire,Guardian,BombBeGone,WorldEdit

    What am i doing wrong?

    The people on my server are starting to whine and get mad.
  19. Offline

    tehseano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    CpatainKirt, when you're identifying an item to give that has an amount, you would list is like this:

    Gear:278-3,279,280,50-64,89-64:60000:-1


    If that doesn't work, maybe groups dont work yet, try removing the :-1 at the end.
  20. Offline

    Captain Kirk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That got it to work! Thanks a lot!
  21. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It was actually about it needing gerneral plugin to work but that was only due the permissions as I thought this had its own groups file, Almost every other plugin and his mates dog has there own groups now. I'm not sure if groups could conflict with other plugins So u just use the one and delete the content in any others config files to avoid a conflict.

    I actually worked out tho ther your plugin only uses permission this is good as I dont want it to inc groups as well.
    I already get my groups from that Hmod Conversion plugin that allows me to merge my exisiting Hmod users and groups config files over to bukkit. All I have to do make it work was clear all exisiting command data, and set every plugin's permissions to * so everyone could use them.

    as the Hmod converter groups plugin will take control over the commands and hopefully do what it says it does WORK LIKE HMOD groups. By just adding the commands to each group as u used to be able to do.

    So for the most part it should be fine as long as that plugin does what it was intended for. Of course this will change later when Bukkit use there own style and everyone runs with that.

    Personally imo there should only be 1 - 2 groups plugins in dev other wise it just confuses people and adds un necessery setup time with 3 plugins all unique but all having groups, well you get where im going with this.

    Anyway at this point in the post I would like to make a suggestion maybe you can make use of the Hmod groups plugin and get your /help command to also read commands from it and only show commands that are your rank in the groups file.

    Then it will be just like old time with Hmod only under bukkit at least then we would have a completely functional system until Bukkit releases there own groups that BTW should have been done sooner then later other wise its going to create even more setup time and re adjusting for dev's and users alike if they leave it till god knows when to impliment that feature.
  22. Offline

    Eddiekins

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Probably too irrelevant to what you were aiming for with this plugin but could we perhaps have the ability to create custom /arguments with different outcomes depending on the user's rank? In fact it doesn't even need to differ based on the rank, just the ability to create custom /arguments that displayed text would be brilliant!
  23. Offline

    wjykk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    For those who wants settings per group: until there's some sort of unified method of getting a list of groups and their users, this will have to be postponed.
  24. Offline

    iStig34

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    a /promote /demote option would be nice. thanks for the /kit!
  25. Offline

    Starrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This looks great. Could you add /spawnmob?
  26. Offline

    wjykk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    As I said, this will probably be held off until the users/groups issue is resolved. In the mean time, I probably will utilize mods.txt/admins.txt in the future, so just use /op or /deop from SMP's standard commands.
    I wish I could, but trying to spawn any mob right now is a nightmare. The commands to do so require some impossible arguments, according to the javadoc. Not only that, but apparently it's outdated, too!
  27. Offline

    inviktus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can we get some kind of config reloading commands in the game plz.
  28. Offline

    wjykk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Updated to version 1.0.3. Not a lot was done, except that it's now compatible with the latest CraftBukkit build, which is god knows what it is, and implement a proper logger rather than spitting everything to the console. As you see the file General/general.essentials, I'm trying to implement a configuration file, which for some reason doesn't work (apparently true≠true).
    --- merged: Jan 18, 2011 6:57 PM ---
    Erm... /gereload?
  29. Offline

    mongizzle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    is it just for me or does this addon put /gereload and /kit twice in every genereals.help file?
  30. Offline

    inviktus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Erm... /gereload?[/quote]

    Haha, I apologize for the lack of eloquence in my first post.

    I meant a command for reloading general server config files,
    sorry for the confusing pre-coffee post.
  31. Offline

    wjykk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is possible that the description of the help commands changed in one of the releases, which made it be added twice into the help file. Just remove the four lines of help text and rerun the plugin, it should work fine.
    If you mean the General plugin, then no. However, I think it would be very useful if I added it since as soon as you reload the General plugin, it unloads but doesn't load back. Go figure.

Share This Page