Difference between revisions of "Extensions:Donation Shop"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
Line 1: Line 1:
{{Extensioninfobox|title=Donation Shop|desc=Adds a "shop" that users can both donate to and collect from.|auth=Mercury|status=Testing|github={{Github|user=itinerare|branch=extension/donation-shop}}|migration=yes|package=no}}
+
{{Extensioninfobox|title=Donation Shop|desc=Adds a "shop" that users can both donate items to and collect from.|auth=Mercury|status=Testing|github={{Github|user=itinerare|branch=extension/donation-shop}}|migration=yes|package=no}}
 
<!-- Put a short summary of your extension here! -->
 
<!-- Put a short summary of your extension here! -->
 
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.
 
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.

Revision as of 12:59, 18 April 2021

Donation Shop
Description Adds a "shop" that users can both donate items 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