Difference between revisions of "Extensions:Shop Features"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Created page with "{{subst:Extension Page}}")
Tag: 2017 source edit
 
m (→‎Rotating Stock Installation: Fixed formatting.)
Tag: 2017 source edit
 
(7 intermediate revisions by 4 users not shown)
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}}|migration=yes/no|package=yes/no}}
+
{{Extensioninfobox|title=Shop Features|desc=Makes shops a little more useful!|auth=Ne-wt|status=Testing|github={{Github|user=ne-wt|branch=shop-features}}|migration=yes|package=no}}
 
<!-- Put a short summary of your extension here! -->
 
<!-- Put a short summary of your extension here! -->
 +
== Features Included ==
 +
Shop Features adds a number of useful additions to shops:
 +
# Makes it possible to create "Staff" or "FTO" only shops
 +
# Makes it possible to limit shop access to only users with a particular item
 +
# Adds a "Coupon" tag for items so that coupons can be used with shops
 +
# Moves Shop Stock options into a modal for a more compact Shop Stock editing experience
 +
# Adds a "Stock Type" option to stock (useful alongside other extensions or further customization)
 +
# Adds ability to limit an item to FTO purchase only
 +
# Adds ability to limit the amount of stock an item has and to automatically restock the item on a Daily, Weekly, or Monthly schedule
 +
# '''** New ** :''' Adds the ability for items with a purchase limit, to have that limit only apply on a daily, weekly, monthly, yearly, or lifetime (default) basis.
 +
 
== Installation ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
Pull and run
 +
# <code>php artisan migrate</code>
 +
# <code>php artisan add-site-settings</code>
 +
# <code>php artisan optimize</code>
 +
 
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
To make coupons, make your item then edit it. Scroll down to the add tag area, and select 'Coupon'.
== Usage ==
+
 
<!-- Is there anything users should know about using your extension? -->
+
To add shop entry requirements, make your shop, edit, and scroll to 'add requirements'.
 +
 
 +
To allow coupons, when creating/editing your shop enable the coupon toggle.
 +
 
 +
== Screenshot ==
 +
<gallery heights="200" widths="200">
 +
File:Screen Shot 2022-07-12 at 6.33.33 PM.png
 +
File:Screen Shot 2022-07-12 at 6.36.31 PM.png
 +
</gallery>
 +
 
 
== Troubleshooting ==
 
== Troubleshooting ==
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
+
Please contact me @ Newt#7776 on discord if there are any issues
== See Also ==
+
 
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
+
== Add-ons ==
 +
These are add-ons created by others and are not part of the original extension.  You will have to install them separately.
 +
 
 +
=== Rotating Stock by Supercool ===
 +
https://github.com/ne-wt/lorekeeper/tree/extension/shop-features
 +
 
 +
While Shop Features is on v3, Supercool built this on v2.
 +
 
 +
==== Rotating Stock Features ====
 +
 
 +
* Adds rotating shop stock. Random stock does not touch existing, non-random stock.
 +
* Every day/week/month the existing random stock will be wiped, new ones chosen, and then stocked.  
 +
* Create a pool of items to randomize between as well as a quantity, and individual price.
 +
* Settings for the stocked items can be configured further similar to SF's stock settings, such as timed, character-bought, and more. ''All random stock for the sgop will share these settings, so pick them carefully''
  
 +
==== Rotating Stock Installation ====
 +
# Pull and run
 +
# <code>php artisan migrate</code>
 +
# <code>php artisan optimize</code>

Latest revision as of 14:37, 27 June 2024

Shop Features
Description Makes shops a little more useful!
Author(s) Ne-wt
Status Testing
Github shop-features
LK Version Unspecified
Contains a Migration






Features Included

Shop Features adds a number of useful additions to shops:

  1. Makes it possible to create "Staff" or "FTO" only shops
  2. Makes it possible to limit shop access to only users with a particular item
  3. Adds a "Coupon" tag for items so that coupons can be used with shops
  4. Moves Shop Stock options into a modal for a more compact Shop Stock editing experience
  5. Adds a "Stock Type" option to stock (useful alongside other extensions or further customization)
  6. Adds ability to limit an item to FTO purchase only
  7. Adds ability to limit the amount of stock an item has and to automatically restock the item on a Daily, Weekly, or Monthly schedule
  8. ** New ** : Adds the ability for items with a purchase limit, to have that limit only apply on a daily, weekly, monthly, yearly, or lifetime (default) basis.

Installation

Pull and run

  1. php artisan migrate
  2. php artisan add-site-settings
  3. php artisan optimize

Configuration

To make coupons, make your item then edit it. Scroll down to the add tag area, and select 'Coupon'.

To add shop entry requirements, make your shop, edit, and scroll to 'add requirements'.

To allow coupons, when creating/editing your shop enable the coupon toggle.

Screenshot

Troubleshooting

Please contact me @ Newt#7776 on discord if there are any issues

Add-ons

These are add-ons created by others and are not part of the original extension. You will have to install them separately.

Rotating Stock by Supercool

https://github.com/ne-wt/lorekeeper/tree/extension/shop-features

While Shop Features is on v3, Supercool built this on v2.

Rotating Stock Features

  • Adds rotating shop stock. Random stock does not touch existing, non-random stock.
  • Every day/week/month the existing random stock will be wiped, new ones chosen, and then stocked.
  • Create a pool of items to randomize between as well as a quantity, and individual price.
  • Settings for the stocked items can be configured further similar to SF's stock settings, such as timed, character-bought, and more. All random stock for the sgop will share these settings, so pick them carefully

Rotating Stock Installation

  1. Pull and run
  2. php artisan migrate
  3. php artisan optimize