Resource icon

Kit Manager 1.2

No permission to download
Fougerite Compatibility
1.0.8
Plugin's Engine
C# (Modules)
Description:

With this plugin you will be able to create and give item kits.

Feautures:
  1. Kit given on command.
  2. (Multiple)Kit auto given on spawn.
  3. Kit for players or admin (rcon) only.
  4. Customizable item slot (Wear, Belt, Inventory)
  5. Multiple kit definitions (Auto given or by command).

(Ingame)Commands:
  1. /kit <name>
  2. /kits

-How to Install the plugin-​

Inside the KitManager 1.2.rar you will find 3 files:
  1. KitManager.dll
  2. KitManager.xml
  3. ItemList.txt
To install the KitManager plugin (KitManager.dll) Read the following post
http://fougerite.com/threads/how-to-install-c-plugins.387/#post-3770
The KitManager.xml MUST be placed in the same location as the KitManager.dll
(if that is not the case the kitmanager.dll will create a new one at server init)

-How to Add/Modify/Remove Kits-​

To add/modify/remove kits we have to modify the KitManager.xml which you will find in the KitManager 1.2.rar

after opening the KitManager.xml you should see this:

1.png

Inside the KitManager.xml we can change the following:
1) Change the KitManager Ingame chat name by changing the value of KitManagerChatName="Kits"
(Note: DO NOT REMOVE THE quotation marks -> "")

2.png

2) Adding new Kits, modifying existing ones and removing a kit.
To make a new kit, copy the Kit element (<Kit UseKit="True" ChatName="starter" AdminOnly="False" AutoGiveOnSpawn="False" CooldownSeconds="30"> TILL </Kit>) AND paste if after a existing </Kit> Tag
(pictures below show the process)
3.png
4.png

3) Adding new Items to the Kit

5.png
6.png

Now we have created a new Kit, we can start modifying it's values
We might want the kit to be given at command, different items/amounts/ slottype and change the kitname.

Changeable Attributes:
Kit:
  1. UseKit="True" <- Change to True or False (If it is set to False the kit will not be loaded/useable ingame.)
  2. ChatName="autoSpawnKit1" <- Change the ingame kit name (this will be the /kit <name> where name is the value of ChatName)
  3. AdminOnly="False" <- Change to True or False
  4. AutoGiveOnSpawn="True" <- Change to True or False
  5. CooldownSeconds="0" <- the cooldown seconds in a numeric value WITHOUT precision.
  6. MaxUsageCount="3" <-The amount of times a player can use a kit. (infinite or default should be 0)
Item:

  1. Item Name="Stone Hatchet" <- The item name (CASE SENSITIVE) for a full list of items that you are able to spawn go to: http://playrustwiki.com/wiki/List_of_Items OR look inside the ItemList.txt
  2. Amount="1" <- the amount to give in a numeric value WITHOUT precision.
  3. InventorySlotType="Inventory" <- The item slot type the kit will attempt to put the item at VALUES: Wear, Belt, Inventory

(DO NOT REMOVE THE quotation marks -> "" of any attribute)

-Notes-

Kit Chat Name:
The kit chat name (attribute of Kit) MUST be unique in order to be loaded properly.
Example:
  1. Kit chat name: starter
  2. Kit chat name: StaRTeR
The above chat names will be treated the same. In this case the last duplicated chat name will be ignored (the kit won't be loaded).
Solution:

  1. kit chat name: starter
  2. kit chat name: starter1 (or just a different name).
Author
hunternope3
Downloads
311
Views
2K
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. Max kit usage

    added MaxUsageCount variable (xml) you can now limit the amount of times a kit can be used.
  2. Kit Manager 1.1 updated item spawn list

    Updated the items you can spawn, You can now spawn any ingame item for example: Weapon part 1...