[INACTIVE][GEN] GeneralEssentials 1.1.1 -- Kits for General [860]

Discussion in 'Inactive/Unsupported Plugins' started by cjc343, Mar 8, 2011.

  1. Offline

    cjc343

    I fully recommend that you use Celtic Minstrel's General and cease to use this version.

    Celtic Minstrel's General (and Bukkit) now support command aliasing in a form that makes this version of General redundant. I am working on a final release which will attempt to upgrade existing 2.x users to the new version, but it will be faster to switch yourself (and potentially easier as well) rather than wait for this to be available.


    When switching, you should be aware that your existing configurations will not have an effect. You should take some time to familiarize yourself with the new config options available, as well as making sure that you copy in the new config files.

    If you have localized your items.db, you will need to transfer this to the new format.

    Sorry for the slow movement on this, I have been moving, on vacation, and then starting a new job and it has left my days quite full for some time now.


    Celtic Minstrel's General includes GeneralEssentials. The general.kits format is the same.


    Show Spoiler

    GeneralEssentials 1.1.1


    Downloads:
    Zip File (Contains example general.kits)​

    GeneralEssentials adds kits to any working plugin named General that does not contain kits.

    GeneralEssentials is a fork of wjykk's original GeneralEssentials plugin.

    Features:

    1. Supports wait periods, stack size, and "damage" attribute.
    -The damage attribute allows you to add colored wools, dyes, and other items that require it to kits.​

    2. Supports Permissions.
    - Assign permission to use a kit using the following nodes:​
    generalessentials.reload​
    generalessentials.kit.kitname​

    - 'kitname' should be all lower case. Don't forget to replace it with your actual kit name!​
    - generalessentials.kit.* should give permission to use any kit.​


    Once you've configured your general.kits file (see the example below for usage), type /kit in-game. This will list the available kits. Typing /kit <name> will dispense a kit.

    Installation:

    1. Install General and Permissions (GM Untested, might work)
    2. Configure your general.kits file and put it in the General folder.
    3. Give users permissions.


    Example general.kits


    general.kits should be in your General settings folder.

    Code:
    #Here you can define your kits in the format:
    #KIT_NAME:ITEM_ID[+damage][-amt_of_item][,item_name_or_id[+damage][-amt_of_item][...]]:DELAY_IN_SECONDS[:group]
    #Where:
    #    KIT_NAME            The name of your desired kit, where the player can type /kit KIT_NAME to receive it
    #    ITEM_ID                The ID of the item you want to give
    #       damage                The damage attribute for an item. Not required.
    #    amt_of_item            The number of said items you want to give. Not required.
    #    DELAY_IN_SECONDS        The number of seconds to wait before giving the player another kit
    #    group                NOT implemented and will be ignored. Use Permissions.
    #Variables with UPPERCASE letters are required, and [lowercase] surrounded by square brackets are optional
    #In the event that a kit will be defined incorrectly, it will say in the console which kit is incorrect, and it will be ignored
    #When defining kits, remember to _remove_ the # before the line, otherwise it will be ignored
    #Note that you will need to call /gereload from the client (not the console) every time you modify this file
    #_____DO NOT_____ call your kit by a number, or else expect unpredicted results!
    #EXAMPLE kits:
    #tools:277,278-2,50-64,322-64:10
    #TNT:46-1000:10
    #Armor:310,311,312,313:10
    #Weapons:276-64,261,262-300:10
    #
    #this entry demonstrates using the damage attribute
    #351+15 is white dye/bone meal
    #tree:6-128,3-128,351+15-640:10
    


    ChangeLog

    Version 1.1.1
    -Changed Permissions loading method​
    -Fixed for 594+​
    -Added plugin dependencies to plugin.yml file​

    Version 1.1
    -Updated for CraftBukkit 493+​
    -Moved to onCommand, registers /kit command​

    Version 1.0.6
    -Updated Permissions support​

    Version 1.0.5

    -Added Permissions support​
    -Added Damage attribute​

    Version 1.0.4 and earlier are by wjykk.
     
  2. Offline

    Kallo

    Sweet
    /kits

    You should add an instructional part on how to install it.
     
  3. Offline

    davr

    First there was Essentials, then there was General...now GeneralEssentials? Personally I'm holding out for EssentialGenerals
     
  4. Offline

    cjc343

    Does the example general.kits not provide enough info? (It might not, I'm biased) I'll edit in a bit more info in a sec about using it once a config file is present...

    This is actually a fork of another plugin, named General Essentials. I was considering renaming it EssentialGenerals, but decided against it.

    It's an extension of the General plugin that adds kits. It doesn't provide any of the other basic commands.

    The only reason I keep this updated is because I am not currently aware of a kit plugin that supports the damage attribute for items, which I use heavily. Once I am aware of an already existing standalone kit plugin supports damage attributes, I'll direct any users towards that plugin.
     
  5. Offline

    gamerluke

    Just to clear up; Do you put the .jar and the general.kits file into Plugins?
    Or do you put the whole "GeneralEssentials" in or what?
    Or putting General.Kits into the main directory like some other plugins do?

    Please explain. Otherwise I shall give my verdict once ive tried; Looks quite good [​IMG]
     
  6. Offline

    cjc343

    The .jar goes in the Plugins folder, the general.kits goes in the "General" folder inside the Plugins folder.
     
  7. Offline

    BlueJayofEvil

    Code:
    [WARNING] GeneralEssentials requires that 'General' be installed as well.
    [INFO] [GeneralEssentials] Permission system not enabled. Disabling plugin.
    [WARNING] An error occured: either null/general.kits does not exist or could not be read; kits ignored
    [WARNING] Failed to find null/general.help; help entries will not be entered
    I've tried putting the general.kits in the General folder under plugins, the plugins folder itself, and even the main server folder. Does this require Permissions? Or did I simply write my general.kits wrong?
    For reference, here's my general.kits:
    Code:
    #Here you can define your kits in the format:
    #KIT_NAME:ITEM_ID[+damage][-amt_of_item][,item_name_or_id[+damage][-amt_of_item][...]]:DELAY_IN_SECONDS[:group]
    #Where:
    #    KIT_NAME            The name of your desired kit, where the player can type /kit KIT_NAME to receive it
    #    ITEM_ID                The ID of the item you want to give
    #       damage                The damage attribute for an item. Not required.
    #    amt_of_item            The number of said items you want to give. Not required.
    #    DELAY_IN_SECONDS        The number of seconds to wait before giving the player another kit
    #    group                NOT implemented and will be ignored. Use Permissions.
    #Variables with UPPERCASE letters are required, and [lowercase] surrounded by square brackets are optional
    #In the event that a kit will be defined incorrectly, it will say in the console which kit is incorrect, and it will be ignored
    #When defining kits, remember to _remove_ the # before the line, otherwise it will be ignored
    #Note that you will need to call /gereload from the client (not the console) every time you modify this file
    #_____DO NOT_____ call your kit by a number, or else expect unpredicted results!
    #EXAMPLE kits:
    #tools:277,278-2,50-64,322-64:10
    #TNT:46-1000:10
    #Armor:310,311,312,313:10
    #Weapons:276-64,261,262-300:10
    #
    #this entry demonstrates using the damage attribute
    #351+15 is white dye/bone meal
    #tree:6-128,3-128,351+15-640:10
    #
    starterkit:276,277,278,279,293,259,261,262-100,346,345,347,310,311,312,313,325-3:1
    alltoolkit:276,277,278,279,293,259,261,262-100,346,345,347,325-3:1
    basictoolkit:277,278,279,293:1
    armorkitd:310,311,312,313,276:1
    armorkitg:314,315,316,317,283:1
    armorkiti:306,307,308,309,267:1
    armorkitc:302,303,304,305,272:1
    armorkitl:298,299,300,301,268:1
    bedrockbuilder:7-1000:1
    I've tried about everything except setting up Permissions (I don't use that plugin.) Do I need it?

    EDIT: I figured it out. I needed General (the plugin) installed AND Permissions set up. It's working now.
     
  8. Offline

    tachaeon

    added - 'generalessentials.kit.tools' to permissions .cfg and players cannot use /kit tools, any suggestions?
     
  9. Offline

    cjc343

    Do you have General installed as well? Do you get any errors? Did you define a kit with the name "tools"?

    Please post your Permissions config, and your general.kits file.
     
  10. Offline

    XxEliminaterxX

    Im such a noob I dont even know how to add a bukkit!!!!!!!!!!!!
     
  11. Offline

    cjc343

    Unfortunately, I have no idea what you're trying to do or how you're trying to do it. I'll need more details about what you're trying and what's going wrong.
     
  12. Offline

    DrBowe

    I have a question about adding brown dye as a kit (cocoa beans)...
    I understand damage values, but for some reason my damage value isnt giving me brown dye, but instead light-blue dye.

    Here's my kit set-up:
    beans:
    delay: 86400
    items:
    - 351+12 30

    Any ideas as to why the damage value isnt giving the right color? :x

    EDIT: It doesnt show that its indented, but it is. I have it configured in YAML properly.
     
  13. Offline

    cjc343

    You appear to be attempting to configure Essentials kits. I don't know how or whether they support damage values.
     
  14. Offline

    DrBowe

    Oh wow, am I using the outdated versions of Essentials? xD
     
  15. Offline

    cjc343

    This is a very different plugin than Essentials. Look for the thread by Zenexer.
     
  16. Offline

    DrBowe

    Oi, you'd think after a month'd I'd be able to tell when I'm in the right thread or not...my mistake >.>
     
  17. is it updated to 1.4 yet ???
     
  18. Offline

    cjc343

    It appears to be working fine on 1.4 to me.
     
  19. Offline

    Adam Bilbaeno

    on my server my players are getting disconnected when they try to use /kit
    it works fine for me as admin rank, but not for anything low.

    here is my config for this plugin
    Code:
    #Here you can define your kits in the format:
    #KIT_NAME:ITEM_ID[+damage][-amt_of_item][,item_name_or_id[+damage][-amt_of_item][...]]:DELAY_IN_SECONDS[:group]
    #Where:
    #    KIT_NAME            The name of your desired kit, where the player can type /kit KIT_NAME to receive it
    #    ITEM_ID                The ID of the item you want to give
    #       damage                The damage attribute for an item. Not required.
    #    amt_of_item            The number of said items you want to give. Not required.
    #    DELAY_IN_SECONDS        The number of seconds to wait before giving the player another kit
    #    group                NOT implemented and will be ignored. Use Permissions.
    #Variables with UPPERCASE letters are required, and [lowercase] surrounded by square brackets are optional
    #In the event that a kit will be defined incorrectly, it will say in the console which kit is incorrect, and it will be ignored
    #When defining kits, remember to _remove_ the # before the line, otherwise it will be ignored
    #Note that you will need to call /gereload from the client (not the console) every time you modify this file
    #_____DO NOT_____ call your kit by a number, or else expect unpredicted results!
    #EXAMPLE kits:
    #tools:277,278-2,50-64,322-64:10
    #TNT:46-1000:10
    #Armor:310,311,312,313:10
    #Weapons:276-64,261,262-300:10
    #
    #this entry demonstrates using the damage attribute
    #351+15 is white dye/bone meal
    ###########tree:6-128,3-128,351+15-640:10
    stone:1 128:0
    wood:5 128:0
    cobble:4 128:0
    sticks:280 128:0
    and here's my permissions config
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'tombstone.use'
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'tombstone.use'
                - 'tombstone.freechest'
                - 'tombstone.sign'
                - 'tombstone.freesign'
                - 'tombstone.quickloot'
                - 'general.player-info'
                - 'general.spawn'
                - 'SpawnControl.spawn.use'
                - 'SpawnControl.sethome.basic'
                - 'SpawnControl.home.basic'
                - 'lwc.protect'
                - 'generalessentials.kit.*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
     
  20. Offline

    cjc343

    I edited your kits config, although I don't know why it was working for you unless you have multiple kit plugins installed.
     
  21. Offline

    vengypr0

    hello, i was stoked when i found this plugin. but there is an error and im not quite sure how to fix it.
    i downloaded general essentials, but when i ran the server for it to upload the config file to my plugins folder, nothing came up and on my console it said that /plugins/general.kits could not be read. or something similar to that anyway.
    please any ideas on how to solve this issue?
     
  22. Offline

    cjc343

    You need to create and place your own config file. There is an example included in the zip and in the first post.
     
  23. Offline

    Needlez01

    Is it possible to make each kit cost a certain amount of money with a currency plugin?
     
  24. Offline

    cjc343

  25. Offline

    egokick

    "general.kits should be in your General settings folder." It's not, where do I get this from, could someone please just create a simple set of instructions?
     
  26. Offline

    cjc343

    There are two plugins named 'General'

    One of them, in my sig, is required to use this plugin.

    The other, by Celtic Minstrel, incorporates this plugin.

    If you don't want to use General, you should pick a different plugin for kits, as this will be discontinued pending certain bukkit features (that are still a ways off probably :/ ).
     
  27. Offline

    sfxworks

    I'm confused..
    I'm trying to configure my group.yml with dreamweaver and I keep gettin compiler errors when I add anything thats not "essential"...any other addon's commands.

    For instance I tried to allow my default group to use the WolfSpawn.respawn command but it just gets me a compiler error. Tell me does Essentials Group Manager manage ALL addons? Or just its own...

    Example...
    Code:
    groups:
      Player:
        default: true
        permissions:
        - essentials.help
        - WolfSpawn.respawn <--- doesn't load. without it everything does
        - essentials.helpop
        - essentials.list
        - essentials.motd
        - essentials.rules
        - essentials.spawn
        - essentials.afk
        - essentials.back.ondeath
        - essentials.balance
        - essentials.chat.shout
        - essentials.compass
        - essentials.home
        - essentials.kit
        - essentials.kit.tools
        - essentials.mail
        - essentials.mail.send
        - essentials.me
        - essentials.msg
        - essentials.sethome
        - essentials.suicide
        - essentials.tpa
        inheritance: []
        info:
          prefix: '&e'
          build: true
          suffix: ''
      Admin:
        default: false
        permissions:
        - groupmanager.listgroups
        - groupmanager.mandemote
        - groupmanager.manload
        - groupmanager.manpromote
        - groupmanager.mansave
        - groupmanager.manselect
        - groupmanager.manuadd
        - groupmanager.manudel
        - groupmanager.mantogglesave
        - essentials
        - essentials.clearinventory
        - essentials.cooldown.bypass
        - essentials.deljail
        - essentials.god
        - essentials.heal
        - essentials.heal.others
        - essentials.invsee
        - essentials.item
        - essentials.jails
        - essentials.kickall
        - essentials.kit.*
        - essentials.mute
        - essentials.sell
        - essentials.setjail
        - essentials.signs.protection.override
        - essentials.spawnmob
        - essentials.teleport.cooldown.bypass
        - essentials.teleport.timer.bypass
        - essentials.togglejail
        - groupmanager.*
        - essentials.burn
        inheritance:
        - Moderator
        info:
          prefix: '&c'
          build: true
          suffix: ''
      Creator:
        default: false
        permissions:
        inheritance:
        - Player
        info:
          prefix: '&2'
          build: true
          suffix: ''
      Moderator:
        default: false
        permissions:
        - essentials.back
        - essentials.ban
        - essentials.banip
        - essentials.broadcast
        - essentials.delwarp
        - essentials.depth
        - essentials.eco
        - essentials.getpos
        - essentials.jump
        - essentials.kick
        - essentials.kill
        - essentials.setwarp
        - essentials.time
        - essentials.togglejail
        - essentials.top
        - essentials.tp
        - essentials.tphere
        - essentials.tpo
        - essentials.tpohere
        - essentials.tppos
        - essentials.tptoggle
        - essentials.unban
        - essentials.unbanip
        - essentials.whois
        - essentials.world
        - essentials.ext
        inheritance:
        - Creator
        info:
          prefix: '&5'
          build: true
          suffix: ''
      Owner:
        default: false
        permissions:
        - '*'
        inheritance:
        - Admin
        info:
          prefix: '&4'
          build: true
          suffix: ''
    


    ...
    I cant even allow my players to essentials.give themself without gettin a compiler error if i add it for the creators

    whats going on!!!

    Code:
      Creator:
        default: false
        permissions:
        - essentials.give
        inheritance:
        - Player
        info:
          prefix: '&2'
          build: true
          suffix: ''
    oh this is 1.1.1..wrong thread

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  28. Offline

    chernobyl360

    im not able to get my kit *Basic* to work.


    Code:
    #Here you can define your kits in the format:
    #KIT_NAME:ITEM_ID[+damage][-amt_of_item][,item_name_or_id[+damage][-amt_of_item][...]]:DELAY_IN_SECONDS[:group]
    #Where:
    #    KIT_NAME            The name of your desired kit, where the player can type /kit KIT_NAME to receive it
    #    ITEM_ID                The ID of the item you want to give
    #       damage                The damage attribute for an item. Not required.
    #    amt_of_item            The number of said items you want to give. Not required.
    #    DELAY_IN_SECONDS        The number of seconds to wait before giving the player another kit
    #    group                NOT implemented and will be ignored. Use Permissions.
    #Variables with UPPERCASE letters are required, and [lowercase] surrounded by square brackets are optional
    #In the event that a kit will be defined incorrectly, it will say in the console which kit is incorrect, and it will be ignored
    #When defining kits, remember to _remove_ the # before the line, otherwise it will be ignored
    #Note that you will need to call /gereload from the client (not the console) every time you modify this file
    #_____DO NOT_____ call your kit by a number, or else expect unpredicted results!
    kits:
    tools:268,269,270,271,298,299,300,301,50-10,260-5
    #
    #this entry demonstrates using the damage attribute
    #351+15 is white dye/bone meal
    
     
  29. Offline

    Plague

    A plus sign in CB version in title is not allowed, removed.
     
  30. Offline

    cjc343

    You don't have a kit called "basic" there. I have edited your config so that the "tools" kit should work again.

    Is that a new rule? I've always had + signs in my CB versions. I'll go ahead and remove the other one I'm currently aware of though...
     

Share This Page