Jump to content
Message added by IIIaKa,

In case you don't have AdvancedStatus, you should purchase the Bundle. The price is the same, but additionally, you'll receive AdvancedStatus.
P.S. Any suggestions for improvement will be taken into consideration.

2 Screenshots

  • 3.6k
  • 12
  • 15.26 kB
 Share

depends on

Works with

About Promo Status

The plugin allows displaying the promo code in the status bar. Depends on AdvancedStatus plugin.

P.S. The promo code is set via command.

 

Ji0XU4D.png

  • The ability to display the promo code in the status bar.
  • The ability to specify the order of the bar;
  • The ability to change the height of the bar;
  • The abillity to customize the color and transparency of the background;
  • The ability to set a material for the background;
  • The ability to switch between CuiRawImageComponent and CuiImageComponent for the image;
  • The abillity to set own image and customize the color of the image;
  • The abillity to set sprite instead of the image;
  • The ability to specify custom text. Additionally, customization options for the colorsize, and font of the text.

 

n8420aH.png

  • promostatus.admin - Provides the ability to set or delete promo code.

 

MOEpxmo.png

{
  "ImageLibrary Counter Check": 5,
  "Promo command": "promo",
  "Use GameTip for messages?": true,
  "Promo code": "",
  "Expiration date of the promo code. Example: 2023-12-22 18:53": "",
  "Time in seconds for displaying the promo code in the status bar": 3600,
  "Status. Bar - Height": 26,
  "Status. Bar - Order": 10,
  "Status. Background - Color": "#FFD33A",
  "Status. Background - Transparency": 0.7,
  "Status. Background - Material(empty to disable)": "",
  "Status. Image - URL": "https://i.imgur.com/q15Cmu5.png",
  "Status. Image - Sprite(empty to use image from URL)": "",
  "Status. Image - Is raw image": false,
  "Status. Image - Color": "#FFD33A",
  "Status. Text - Size": 12,
  "Status. Text - Color": "#FFFFFF",
  "Status. Text - Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
  "Status. SubText - Size": 12,
  "Status. SubText - Color": "#FFFFFF",
  "Status. SubText - Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
  "Version": {
    "Major": 0,
    "Minor": 1,
    "Patch": 0
  }
}

 

DxI83SK.png

EN:
{
  "MsgText": "PROMO CODE:",
  "MsgNotAllowed": "You do not have permissions to use this command!",
  "MsgAddNewPromo": "Added a new promo code {0}. Valid until {1}.",
  "MsgAddNewPromoFailed": "An error occurred while adding the promo code. Example: /promo \"test\" \"2024-01-13 09:29\"",
  "MsgAddNewPromoDateFailed": "Date must be greater than the current date!",
  "MsgSetNewDisplay": "New display time({0}) for the promo code has been set in the bar.",
  "MsgSetNewDisplayFailed": "An error occurred while setting a new display time for the promo code. Example: /promo display 3600",
  "MsgDeletePromo": "The promo code has been deleted!"
}
RU:
{
  "MsgText": "ПРОМОКОД:",
  "MsgNotAllowed": "У вас недостаточно прав для использования этой команды!",
  "MsgAddNewPromo": "Добавлен новый промокод {0}. Действителен до {1}.",
  "MsgAddNewPromoFailed": "Произошла ошибка при добавлении промокода. Пример: /promo \"test\" \"2024-01-13 09:29\"",
  "MsgAddNewPromoDateFailed": "Дата должна быть больше текущей!",
  "MsgSetNewDisplay": "Установлено новое время({0}) отображения промокода в баре.",
  "MsgSetNewDisplayFailed": "Произошла ошибка при установки нового времени отображения промокода. Пример: /promo display 3600",
  "MsgDeletePromo": "Промокод был удален!"
}

 

OxWiTBA.png

  • display *time*Sets the display time of the bar in seconds. Permission "promostatus.admin" required.
  • deleteDeletes the promo code. Permission "promostatus.admin" required.
  • *code* *time* - Sets a new promo code. Permission "promostatus.admin" required.

Example:

  • /promo display 360
  • /promo test "2023-12-25 18:53"

 

  • Like 1

User Feedback

1m

Downloads

Total number of downloads.

5.4k

Customers

Total customers served.

76.4k

Files Sold

Total number of files sold.

1.5m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.