RUST Absolut Gifts v1.5.2

No permission to download
You can download a maximum of 0 files within 24 hours
This is a gift reward system to incentive players playing on your server for prolonged amounts of time.

Permissions​

This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.
  • absolutgifts.vip -- Sets player as a VIP that can receive VIP gifts

Chat Commands​

  • /gift -- Opens the gift menu

Usage/Setup​

Admins setup "Gifts" which can consist of up to 10 items.

A gift consists of 3 parts.

  1. A time requirement in minutes. A Number Pad is presented to the admin when creating the gift which has various times with the final button being 24 hours in minutes (1440).
  2. VIP YES/NO. (Can only be acquired by users with the absolutgifts.vip permission.
  3. Gift items. These items are selected from visual buttons presented on the screen. Each gift can have a skin field manipulated via the data file. (Unload plugin, change skin value, reload plugin).
  4. A gift item amount. Again a number pad is presented to admin allowing him/her to select the amount.
Players will accumulate play time for simply playing. As they accumulate time the system will check if they have met the criteria for a gift (if a VIP gift it will skip it). When the gift play time is met, the player receives an announcement, a New Gift Icon is shown on the screen (this icon is also a button to open the menu), and a "Redeem" button is added to that gift entry. If a gift consists of only Economics, Server Rewards, or Absolut Combat Money... it will not have a redeem button but instead just be given to the player. Otherwise, the play must hit "Redeem" to collect the items. Be warned, if time resets (see config options below) then the redeemable items will be cleared. This is to prevent errors and players from collecting gifts over the course of time.

Play time and pending gifts are saved for a configured amount of time (see config options below) from the time the player first connects. This means, a player rejoining within the configured amount of time will continue on the current gift objectives and be able to redeem earned gifts.

If a player is logged on during the time reset and even if they have the UI open at that moment, it will all refresh and reset.

The idea behind this plugin is to give admins a simple and easy system to incentivize play on the server.

Configuration​

The settings and options can be configured in the AbsolutGifts file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.
Code:
Please, Log in or Register to view codes content!
Author
Box2
Downloads
0
Views
6
First release
Last update
Rating
0.00 star(s) 0 ratings

Similar resources

0.00 star(s) 0 ratings
Downloads
0
Updated
Добавляет на сервер падающие подарки
0.00 star(s) 0 ratings
Downloads
0
Updated
Броня за поднятый подарок.
0.00 star(s) 0 ratings
Downloads
0
Updated
Позволяет выполнять команды над игроками, поднявшими подарок
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
Back
Top
Development Community