This is a gift reward system to incentive players playing on your server for prolonged amounts of time.
A gift consists of 3 parts.
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.
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.
- 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).
- VIP YES/NO. (Can only be acquired by users with the absolutgifts.vip permission.
- 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).
- A gift item amount. Again a number pad is presented to admin allowing him/her to select the amount.
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.