Difference between revisions of "Extensions:Birthday Rewards"
(make page) Tag: 2017 source edit |
|||
Line 1: | Line 1: | ||
− | {{Extensioninfobox|title= | + | {{Extensioninfobox|title=Birthday Rewards|desc=Automatically "gift" players an item for their birthday!|auth=CH3RVB, Moif (original code)|status=stable|github={{Github|user=CH3RVB|branch=extension/birthday-reward}}|LKVer=2.1|migration=no|package=no}} |
− | + | On the 1st of every new month, autogrants all users who have birthdays in that month an item you set in site settings. This item is static between all users. Set it to a box if you want users to have multiple items! | |
+ | |||
+ | The original code snippet is by Moif, edited by me! Thanks also to Mercury for some tweaks and suggestions to the ext! | ||
+ | Please support them and their projects if you like what they are doing for Lorekeeper and their own personal projects! | ||
== Installation == | == Installation == | ||
− | < | + | <code>php artisan add-site-settings</code>, <code>php artisan update-extension-tracker</code> |
== Configuration == | == Configuration == | ||
− | < | + | Make sure to set the item that will be granted through site settings. (It's set as 'birthday_item') Otherwise the item that will be granted will be ID 1 by default. |
+ | |||
+ | If you are installing this for the first time, you'll probably want to run <code>php artisan distribute-birthday-rewards</code> just once to distribute the gifts for that month's users. After that, you should be good to leave it running on its own. | ||
== Usage == | == Usage == | ||
− | + | This adds new options to user birthdays, allowing for showing months of users' birthdays both publicly and only to members of the site. | |
+ | |||
+ | Only users who have their birthdays visible in some form will be able to receive the reward. | ||
== Troubleshooting == | == Troubleshooting == | ||
− | + | There have been some known bugs, but they've been patched out. Please let me know if there are any that I missed! | |
+ | |||
+ | i'm SUPERCOOL in the lk server! | ||
== Images == | == Images == | ||
<!-- Do you have any images to show what it looks like in action? --> | <!-- Do you have any images to show what it looks like in action? --> | ||
== See Also == | == See Also == | ||
− | + | Support Moif and Merc! | |
− | + | https://ko-fi.com/moifdoesart | |
+ | https://ko-fi.com/itinerare |
Revision as of 17:31, 19 April 2023
Description | Automatically "gift" players an item for their birthday! |
---|---|
Author(s) | CH3RVB, Moif (original code) |
Status | stable |
Github | extension/birthday-reward |
LK Version | 2.1 |
On the 1st of every new month, autogrants all users who have birthdays in that month an item you set in site settings. This item is static between all users. Set it to a box if you want users to have multiple items!
The original code snippet is by Moif, edited by me! Thanks also to Mercury for some tweaks and suggestions to the ext! Please support them and their projects if you like what they are doing for Lorekeeper and their own personal projects!
Installation
php artisan add-site-settings
, php artisan update-extension-tracker
Configuration
Make sure to set the item that will be granted through site settings. (It's set as 'birthday_item') Otherwise the item that will be granted will be ID 1 by default.
If you are installing this for the first time, you'll probably want to run php artisan distribute-birthday-rewards
just once to distribute the gifts for that month's users. After that, you should be good to leave it running on its own.
Usage
This adds new options to user birthdays, allowing for showing months of users' birthdays both publicly and only to members of the site.
Only users who have their birthdays visible in some form will be able to receive the reward.
Troubleshooting
There have been some known bugs, but they've been patched out. Please let me know if there are any that I missed!
i'm SUPERCOOL in the lk server!
Images
See Also
Support Moif and Merc! https://ko-fi.com/moifdoesart https://ko-fi.com/itinerare