Promo Status
$3.99
Sold by: IIIaKaThe plugin allows displaying promo codes in the status bar. Depends on AdvancedStatus plugin.
- Description
- Reviews (0)
- Version History
- Discussions (0)
- Setup
- Product Enquiry
Description
Description
The plugin allows displaying promo codes in the status bar. Depends on AdvancedStatus plugin.
- The ability to display promo codes 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 ability to get images from the local folder(*SERVER*oxidedataAdvancedStatusImages);
- The abillity to set own image and customize the color and transparency of the image;
- The abillity to set sprite instead of the image;
- The ability to customize the color, size and font of the text.
- promostatus.admin – Provides the ability to admin commands.
- bar – personal toggle for displaying promo status bars;
- all – displays a list of all active promo codes in the chat. Admins also see inactive ones;
- add *code* *expireDate* *startDate*(optional) – adds a new promo code. Permission “promostatus.admin” required;
- remove *code* – removes a promo code. Permission “promostatus.admin” required;
- display *code* *seconds* – changes the display time(in seconds) of the promo code for each player. Permission “promostatus.admin” required.
Example:
- /promo bar
- /promo all
- /promo add “test” “2024-12-23 14:06”
- /promo display “test” 360
There are 2 hooks that the plugin is subscribed to:
- OnPromoCodeAdded
- OnPromoCodeRemoved
OnPromoCodeAdded:
Used to add a new promo code.
To call the OnPromoCodeAdded hook, you need to pass 3 parameters, 1 of which is optional:
- <string>promoCode – The promo code;
- <DateTime>expireDate – The expiration date;
- <DateTime>startDate – Optional. The start date of validity.
OnPromoCodeRemoved:
Used to remove a promo code.
To call the OnPromoCodeRemoved hook, you need to pass 1 parameter:
- <string>promoCode – The promo code.
Reviews (0)
Only logged in customers who have purchased this product may leave a review.
Version History
- Added Initial release
Discussions (0)
Discussions
There are no discussions yet.
Leave a reply
Setup
Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?
• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.
Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
Reviews
There are no reviews yet.