Skip to main content

Adding Kits to Economy

Creating the Kit

Before we delve too much into how to add the kit into the store, we first need to create the kit and install it into the GPortal server, there are currently 2 options to do this, one is the traditional command method, the 2nd is using the VereTech Kit Wizard which is free to use on our Discord, please click here if you haven't yet joined us.

For information purposes, we will now cover both kit installation methods.

Creating Kits in GPortal

To create a kit in GPortal you need a string of commands which together tells GPortal a number of things, the name of the kit, the item your placing into the kit, the quantity, the condition, and finally the placement of the item, please see below an example of a kit line;

kitcommand.png

It may seem confusing, but let's break this down.

kit - we always start with the word "kit" as this is telling the Gameserver exactly what we are intending to do.

add - The word "add" tells GPortal that we are adding a kit, or adding to an existing kit.

fullmetal - The word fullmetal is the name of the kit, there are certain limitations on what you can do with the name, please refer to D11 notation which should contain information on these limitations.

rifle.ak - This is the shortname, shortnames for all items can be acquired by clicking here. Please make sure you use the "short-code" names else it will not work.

2 - This is the quantity, this number doesn't have a known limit, however it would be a waste if it exceeded your players capacity as they just won't spawn. In this instance we will be getting 2 of this item.

- The 2nd numerical in thos code is the condition of the item which ranges from 0 to 1 in 0.1 intervals, the lower the number, the lower the condition, by using 1 we are telling the server we want a brand new item.

Belt - This final one is the placement, there are currently 3 options for this, Belt - being the player hot-bar on screen, Main, being the players inventory and lastly, Wear, the Wear bracket is used for clothing so that it spawns directly on the player.

So this entire example is showing; Add a kit named fullmetal, or add to it if the kit name "fullmetal" is taken, and we want to add 2 brand new AKs that spawn in our hot-bar.

To add further items we simply repeat the process using the same name for the kit, in this instance "fullmetal".

Using VereTech Kit Wizard

                         ----------------------------------------COMING SOON-----------------------------------------------

As mentioned before the only way to obtain access to the Kit Wizard is to be present in the VereTech Discord, in case you missed it, you can join us by clicking here.

The process is pretty simple, you use the command /kit in the kit building channel in our discord, please see below for the example;

kitbuild.png

Once you have this command typed, hit enter and the Kit Wizard will guide you through  the entire process of building the kit, because you are using this for the store please select "None" in the user selection.

When you approach the end you will be asked "Add Another Item" or "Build My Kit" please choose as appropriate, see the example below;

kit options.png

Should you be complete at this stage, please choose the "Build My Kit" option, once the kit is build you will be greeted with 2 options, the "Kit Install Code" and "Command Lines", for this demonstration we will only be interested in the "Kit Install Code" please see below;

kitcode.png
This code can be directly installed into the bot, saving you having to enter multiple lines one by one into the GPortal console. You will also see that we have designed the bot to give you a direct copy any paste button to avoid any mistakes on the next part.

Installing Kits using the Kit Code

Now that we have our code from the "Kit Wizard" we can install it directly into GPortal from the comfort of Discord, using the bot. To install the code we need to use the command /installkit you will be asked which GameServer you wish to install the kit code into followed by a text box which you will need to paste the code into, please see the image below for an example;

installkit.png
Simply paste the code, and hit enter. You have now successfully installed a kit ready for use in the Economy.