Jump to content
DAYZ-CODE.RU - Создай свой игровой сервер

PromoCodes Mod 1.0.0

   (1 review)

 Share

1 Screenshot

About This File

Description:

  • A server mod that allows you to create and flexibly configure personal promo codes for players.

Allows:

  • Create items with attachments (for example, a rifle with a sight and a magazine)
  • Set the maximum use of the promo code per player
  • Set the promo code recovery time for each player
  • Creation of temporary promo codes.
  • Temporarily give players access to promo codes, after the expiration of the promo code will automatically become unavailable.

How to create a promo code:

  • Go to the server profile folder and open the PromocodeMod folder.
  • config.json allows you to change the basic promo code command
  • The Promocode folder contains all promo codes.
  • To create a new one, you need to create a new file.json (for example, first_promocode.json, where first_promocode is the promo code ID) and set up a new promo code.

Application:

  • To use a promo code, you must enter the command defined in the config.json file, followed by the promo code ID (for example, !promo suvivorkit)

Example of the survivorkit.json promo code:
 

{
    "entry_id": "survivorkit",
    "duration_minutes": -1,
    "public": 1,
    "only_on_respawn": 1,
    "max_usages": 1,
    "items": [
        {
            "attachments": [],
            "class_name": "Apple",
            "amount": 3
        },
        {
            "attachments": [],
            "class_name": "Mag_STANAG_60Rnd",
            "amount": 1
        },
        {
            "attachments": [],
            "class_name": "Ammo_556x45",
            "amount": 3
        }
    ],
    "weapons": [
        {
            "attachments": [
                {
                    "attachments": [],
                    "class_name": "ACOGOptic",
                    "amount": 1
                }
            ],
            "class_name": "M4A1",
            "change_fire_mode": 0,
            "fire_mode": 1,
            "attach_magazine": 1,
            "magazine_class_name": "Mag_STANAG_60Rnd"
        }
    ],
    "players": []
}

Type

Server-mod

Compatible version

1.19

Terms of use

It is forbidden to sell.


Actions after purchase

Install the mod


Co - authors

Нет

Communication with the developer

Нет

Acceptance of the terms of the trading platform

Yes
  • Like 53
  • Thanks 5
 Share


Отзывы пользователей

You may only provide a review once you have downloaded the file.


Ivan PVP

  

Есть возможность выдавать промокод на время, определённому игроку?
Или без времени, главное что бы мог только определённый человек использовать

Link to review
×
×
  • Create New...