Custom kits, perks AND VIP ranks :D

Discussion in 'Releases' started by MiniMuleNZ, Sep 18, 2014.

  1. MiniMuleNZ

    MiniMuleNZ Moderator Staff Member Moderator

    876
    128
    193
    MiniMuleNZ submitted a new resource:

    Unturned Custom Kits - Create your own custom kitsets/Admin costumes!

    Read more about this resource...
     
    Dankbud, chamu6or and Harker like this.
  2. Harker

    Harker N00b+

    23
    3
    53
    I will definitely try this asap. Thanks for your job! I will make a review after tested!
     
  3. Cory

    Cory N00b+

    26
    0
    58
    Works great!

    http://unturned-forum.com/threads/kits-plugin.1268/#post-16669

    Code:
    Name: Kit1
    Use: 1
    Time: 24H
    Items:
    ID1 : Quantity
    ID2 : Quantity
    ID3 : Quantity
    -------------------------------------------------------
    Name: Kit2
    Use: 2
    Time: 2H
    Items:
    ID1 : Quantity
    ID2 : Quantity
    ID3 : Quantity
    I understand it requires permission level 8 for creating kits, however the purpose of kits plugin is to create them allow any user to utilize them. Although with the above configuration I mentioned before the "Use" is for how many times they can use the kit as we don't want them spamming and keep getting items within the "Time" period we have set out.

    Really great though, We could still create a kit we want and spawn it a bunch of times.
     
  4. MiniMuleNZ

    MiniMuleNZ Moderator Staff Member Moderator

    876
    128
    193
    I will look into it for you. I'm sure I can figure something out
     
  5. Harker

    Harker N00b+

    23
    3
    53
    I have a few questions:
    *Time period is for each kit or for all of them?
    *Are player able to do in chat /kit1 /kit2 /kit3 /alotofitems?
    *If i restart my server, the time is reseted? Ex: I automatically restart my server every 60 min.

    My plan is to provide a lot of kits so i don't want people to spam the commands once an hour.
    Thanks in advance.
     
    Last edited: Sep 18, 2014
  6. Zenga

    Zenga N00b

    1
    0
    1
    Make it so you can just type /kit create inventory and it will make an kit of your inventory instead of hand adding it
     
  7. aalesund

    aalesund N00b

    6
    5
    53
    Hmmm.
    I tested this mod and works :)
    When you type in chat "/kits admin" that spawns item of this kit.

    But I found that if you type in chat only "/kit", not "/kits" but only "/kit" you can spawns an Ultimate Kit :)
    Items with "/kit":
    -Rucksack
    -Forest Armor
    -Ghillie Hoot
    -Ghillie Top
    -Ghillie Bottom
    -Maplestrike
    -6x Zoom Scope
    -Suppressor
    -Tactical Light
    -NATO Drum
    -7 x Military Bullets
    -MRE
    -Katana
    -Sledgehammer
    -Medkit

    Is it a bug or creator trying to put some hidden kit for him when playing in pvp server with this mod?
     
  8. Cory

    Cory N00b+

    26
    0
    58
    Yeah that would have to be stored some how.

    Sounds neat.

    /kit is part of "AdminCommands", I think he was working on a kit option.

    Another cool idea would be, if there is a way if you have clothes it would automatically put them on.

    As an Owner or Admin we use "Police Uniforms" and in reference to Mighty Morphin' Power Rangers, it would be like morphing into an admin. :)
     
  9. MiniMuleNZ

    MiniMuleNZ Moderator Staff Member Moderator

    876
    128
    193
    I sincerely wish. I will look into this, but at this point I am unsure whether we can access player inventories directly.
    I haven't implemented a time period /YET/ but I will be in the process. Please let me know how you want this to be done. I can create individual player use times and save them so they persist through server restarts and make it so that they can only choose one of x perk kits each time, just tell me how you want it done :)
     
  10. Cory

    Cory N00b+

    26
    0
    58
    Well if you add the "Use" option then you could store by:

    SteamID:<kit>:1

    If you add the time option and you allow 2, if a player access it, it would store the :1 which means they could still use again in a 24 hour period.

    Something maybe like that.
     
  11. MiniMuleNZ

    MiniMuleNZ Moderator Staff Member Moderator

    876
    128
    193
    Oh yup I can work on that later :) Have work tonight so won't be ready until tomorrow

    This is what I'll be working on:
    Code:
    # Enable Perks
    PerksEnable=true
    # Each perk has the following layout. Lines beginning with # are ignored as are empty lines
    # Perks can be used by typing /perk <PerkName> which will show the options for the perk
    # then using /perk <PerkName> <Option#>
    Name=<PerkName>
    # Global Cool Down or Player Cool Down
    Type=<GCD or PCD>
    Time=<## followed by H, M or S>
    # Options will be read in order from index 1
    Option=<item_ID>,<item_ID>...<Special>
    Option=<item_ID>,<item_ID>...<Special>
    # Special is a set of special instructions that help the player and can be used in the Option. Options are:
    # Heal.<Amount>
    # Cure.<Amount>
    # Feed.<Amount>
    # Hydrate.<Amount>
    Max=<#>
    
    Unless you have a gold server, I recommend the admin kit included with this as the "Fancy" gear won't drop on the ground after you spawn it :)
     
    Last edited: Sep 19, 2014
  12. Nessin

    Nessin Survivor

    293
    116
    193
    lovin this mod :D
    Btw you could set the required permission for the /kits command to 0 and then check the sender's permission in your kits() method :) That way you can let everyone use the command but they would get different items depending on their permission level
     
  13. MiniMuleNZ

    MiniMuleNZ Moderator Staff Member Moderator

    876
    128
    193
    Cheers man :) Feel free to include the base kits functionality in AdminCommands in the future as I only ever intended that to be a placeholder until you introduced custom kits :)
     
  14. Nessin

    Nessin Survivor

    293
    116
    193
    I was planning to include all your awesome work but i'm kinda on pause with modding atm until 3.0 comes out :oops:
     
  15. MiniMuleNZ

    MiniMuleNZ Moderator Staff Member Moderator

    876
    128
    193
    Yeah that's my worry too. I think we're all sort of in limbo at the moment.
     
  16. bturci

    bturci N00b++

    72
    4
    8

    The Mod is very very usefull, but I'd like to ask if you can optimize it to permissions Lv1 to 8. Also make a config file to set it and a cooldown time, like 24h. It would be really appreciated.

    Thanks again for the mod
     
  17. Fevix

    Fevix N00b

    1
    0
    1
    Two issues, not sure if they've been brought up or not but I'm in a hurry and can't read through the replies (Have to get to work)
    1: Save command spits an error out, and wipes the kits.txt file clean.
    2: Removing items from kits does not work. It says it works, but spawning the kit afterward still gives the removed item.
     
  18. MiniMuleNZ

    MiniMuleNZ Moderator Staff Member Moderator

    876
    128
    193
    As mentioned above it is on the way :)

    I will look into this genuinely right now. At quarter past midnight. This is now my top priority.
     
  19. bturci

    bturci N00b++

    72
    4
    8
    Keep up the good job! This mod will be my salvation on the VIP system.
     
  20. MiniMuleNZ

    MiniMuleNZ Moderator Staff Member Moderator

    876
    128
    193
    MiniMuleNZ updated Custom Kits AND Perks :D with a new update entry:

    [ALPHA] Custom Kits AND Perks :D

    Read the rest of this update entry...
     

Share This Page