[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

    Celtic Minstrel

    It's been there for awhile. Not sure exactly how long. I've noticed several people ignoring it.
     
  3. Offline

    cjc343

    I must have missed it the first time I read the guidelines thread (or I wouldn't have consistently put them there). Noticed it when scanning through a minute ago.

    There are also several plugins lacking RB#s, or with pre-600 or pre-500 builds listed as the latest. The Releases forum is about due for another cleanup marathon imho.
     
  4. Offline

    Plague

    It's been there since the beginning, just little people used it so nobody noticed and it sorta got out of hand.
     
  5. Offline

    alesck

    I've installed this plugin on my 1.5 server.General is also here with permission. My bug is whatever I write in my permission, kits are unavailable for user, only admin can see and use them.
    Here some samples of my files :

    Permissions file :
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&7[Guest]'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'admincmd.player.list'
                - 'myhome.home.*'
        member:
            default: false
            info:
                build: true
                prefix: ''
                suffix: ''
            inheritance:
                - Default
            permission:
                - 'lockette.user.create'
                - 'generalessentials.*'
    
        Moderator:
            default: false
            info:
                prefix: '&b[OP]'
                suffix: ''
                build: true
            inheritance:
                - member
            permissions:
                - 'lockette.admin.create'
                - 'permissions.reload'
        Admins:
            default: false
            info:
                prefix: '&4[Admin]'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    My general.kits
    Code:
    rail:66-40,27-15,28-10:10
    
    cat Server.log | grep Essencials
    Code:
    2011-04-27 15:12:36 [INFO] [GeneralEssentials] hooked into Permissions.
    2011-04-27 15:12:36 [INFO] Launched GeneralEssentials v1.1.1
    
    What can I do ?


    EDIT : Solved problem : there is missing an 's' to permissions in my permissions file.
     
  6. Offline

    atsiv3

    Im getting this error:

    Any help?
     
  7. Offline

    cjc343

    Glad you figured it out!

    This depends on my General plugin or is built-in to Celtic Minstrel's General plugin.
     
  8. Offline

    atsiv3

    So what should I do? And thanks for the fast response.
     
  9. Offline

    cjc343

    You have lots of choices:

    You can install my version of General.

    You can install Celtic Minstrel's version of General (and uninstall this -- the setup format is the same, but the features are built-in instead of separate).

    You can install another plugin (such as KitPlugin) that supports data values.
     
  10. Offline

    atsiv3

    Ok thank you.
     
  11. Offline

    hypershadow66

    Iconomy compatible? Like pay for a Kit etc?
     
  12. Offline

    cjc343

  13. Offline

    Visura

    I get an error. Could not load plugins/GeneralEssentials.jar . help?
     
  14. Offline

    Celtic Minstrel

    Use General 3.x (link in my signature).
     

Share This Page