Difference between revisions of "Extensions:Birthday Rewards"

From Lorekeeper Wiki
Jump to navigation Jump to search
(make page)
Tag: 2017 source edit
 
Line 1: Line 1:
{{Extensioninfobox|title=the extension's name|desc=A short description|auth=Author(s)|status=status (such as WIP, testing, stable)|github={{Github|user=username|branch=branch}}|LKVer=What Lorekeeper version the ext is built on|migration=yes/no|package=yes/no}}
+
{{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}}
<!-- Put a short summary of your extension here! -->
+
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 ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
<code>php artisan add-site-settings</code>, <code>php artisan update-extension-tracker</code>
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
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 ==
<!-- Is there anything users should know about using your extension? -->
+
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 ==
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
+
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 ==
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
+
Support Moif and Merc!
 
+
https://ko-fi.com/moifdoesart
 +
https://ko-fi.com/itinerare

Revision as of 17:31, 19 April 2023

Birthday Rewards
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