Extensions:Donation Shop

From Lorekeeper Wiki
Revision as of 11:58, 18 April 2021 by Mercury (talk | contribs)
Jump to navigation Jump to search
Donation Shop
Description Adds a "shop" that users can both donate to and collect from.
Author(s) Mercury
Status Testing
Github extension/donation-shop
LK Version Unspecified
Contains a Migration


Adds a donation "shop" to the shops panel which users can donate items to from their inventory. Users may then collect these items from the shop at no cost. Items maintain the source/notes that they had prior; in this sense, it is akin to users gifting items back and forth, but with the advantage of all the actual logistics being automated.

What items may be donated can be configured via config file. The options are to allow all items (with of course the exception of anything non-transferrable) to be donated, to allow only items of certain categories to be donated (configured in item category creation/editing), to allow only items with the included "donateable" item tag to be donated, or a combination of the last two. There is also a cooldown timer for users collecting items from the shop, the duration of which is also configurable.

Installation

Pull the branch; run php artisan migrate and php artisan add-donation-shop.

Configuration

  • Configure basic settings as desired in config/lorekeeper/settings, under "Shops".
  • Upload an image for the shop in the site images admin panel
  • Customize the text for the shop in the pages admin panel

Usage

Not in particular! It is built to more or less run itself.

Troubleshooting

Find me in the Lorekeeper server!

Images

See Also