Difference between revisions of "Extensions:Dailies"

From Lorekeeper Wiki
Jump to navigation Jump to search
m (trying to add images)
Tag: 2017 source edit
(small functionality updates)
Tag: 2017 source edit
Line 21: Line 21:
 
* Progress Display (decide if users should see the progress of their daily or not. Can be hidden, shows collected rewards only, or shows all rewards.)
 
* Progress Display (decide if users should see the progress of their daily or not. Can be hidden, shows collected rewards only, or shows all rewards.)
 
* Set Loop (if set to loop, a daily repeats. If not set to loop, users may only collect each reward once.)
 
* Set Loop (if set to loop, a daily repeats. If not set to loop, users may only collect each reward once.)
 +
* Is Streak (if set to streak, the progress resets to day 1 if the users miss a day/week/month/year. If not set to steak, progress is always kept.)
 
* Set Active (if the daily is active/showing up for users)
 
* Set Active (if the daily is active/showing up for users)
 
* Set Timed daily (use this if you would like the daily to start showing up/hide at certain times.)
 
* Set Timed daily (use this if you would like the daily to start showing up/hide at certain times.)
Line 26: Line 27:
 
===== Rewards =====
 
===== Rewards =====
 
Per default these are items, currencies, loot tables or raffle tickets. You should be able to edit other extension rewards such as pets, awards or themes in here as well if you have those. Pick whatever you want users to gain! If you pick a loot table, the reward is rolled from the loot table, which is handy if you want randomized rewards.
 
Per default these are items, currencies, loot tables or raffle tickets. You should be able to edit other extension rewards such as pets, awards or themes in here as well if you have those. Pick whatever you want users to gain! If you pick a loot table, the reward is rolled from the loot table, which is handy if you want randomized rewards.
 +
 +
Setting a reward step to 0 makes it a default reward that will be rolled for every step number that does not have any reward explicitly set.
  
 
== Usage ==
 
== Usage ==

Revision as of 08:09, 3 October 2023

Dailies
Description Allows users to collect dailies/weeklies/monthlies/yearlies in the style of neopets with different settings!
Author(s) Cylunny
Status testing
Github extension/dailies
LK Version 2.1.2
Contains a Migration






Inspired by neopets, this extension allows you to set up dailies/weeklies/monthlies/yearlies for your users. The dailies are gathered on a page similar to the shop page where they can be visited and collected! There is the option to also make dailies progressable, eg. set rewards for x amount of days and have users progress their daily that way. For more detailed information on settings/configuration, read on below.

Installation

  • pull & deal with merge conflicts
  • php artisan migrate
  • php artisan optimize x2
  • php artisan update-extension-tracker

Configuration

Pretty straight forward! There are no site settings or anything, dailies are simply created via the admin panel. The following things can be configured for each daily:

Basics
  • name
  • description (optional)
  • daily image (optional)
  • button image (optional, replaces the default 'Collect Reward' button)
Timeframes and Display
  • Daily Timeframe (can users collect a reward daily, weekly, monthly or yearly?)
  • Progress Display (decide if users should see the progress of their daily or not. Can be hidden, shows collected rewards only, or shows all rewards.)
  • Set Loop (if set to loop, a daily repeats. If not set to loop, users may only collect each reward once.)
  • Is Streak (if set to streak, the progress resets to day 1 if the users miss a day/week/month/year. If not set to steak, progress is always kept.)
  • Set Active (if the daily is active/showing up for users)
  • Set Timed daily (use this if you would like the daily to start showing up/hide at certain times.)
Rewards

Per default these are items, currencies, loot tables or raffle tickets. You should be able to edit other extension rewards such as pets, awards or themes in here as well if you have those. Pick whatever you want users to gain! If you pick a loot table, the reward is rolled from the loot table, which is handy if you want randomized rewards.

Setting a reward step to 0 makes it a default reward that will be rolled for every step number that does not have any reward explicitly set.

Usage

Go to the daily page, click the daily button, be happy about rewards!

Troubleshooting

We are never 100% safe from those pesky bugs. If you find something, feel free to contact me- I am Cylunny on the lorekeeper discord!

Images

See Also

If this extension helped you, feel free to support me on Kofi!