Difference between revisions of "Extensions:User Shops"

From Lorekeeper Wiki
Jump to navigation Jump to search
(make page)
Tag: 2017 source edit
 
(change example link)
 
(5 intermediate revisions by the same user 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}}|LKVer=What Lorekeeper version the ext is built on|migration=yes/no|package=yes/no}}
+
{{Extensioninfobox|title=User Shops|desc=Users can create and run their own shops to sell items.|auth=CH3RVB (Extension), Ne-wt(Shop features/pets&shops)|status=testing|github={{Github|user=ch3rvb|branch=extension/user-shops}}|LKVer=2.1.1|migration=yes|package=no}}
<!-- Put a short summary of your extension here! -->
+
Lets users make their own shops, from which they can add items to them and sell them for currency. Users can buy from the shops of other users, and they will be credited the currency from the purchase. (Only user-held currencies with user-user transfer are allowed for sales)
 +
 
 +
Users can search all shops for items that they want to buy (using a search function) and buttons have been added to sellable items for quick links to see if anyone is selling that item.
 +
 +
Users can customize their shop, setting their own shop image and description to show off their personality and create their own unique storefront.
 +
 
 +
Users can only sell items that they have gotten from gameplay, no custom items or anything.
 +
 
 +
Credit to newt for the original shop features/pets&shops code, which I referenced heavily to enable multiple stock types and generally make the layouts nicer!
 +
 
 +
thanks to min for making the quick stock layout look nicer as well!
 +
 
 +
You can get a version of this extension that supports pet stock here: https://github.com/CH3RVB/lorekeeper/tree/user-shops-pets
 +
 
 +
Pets version supports variants in shops as well
 +
 
 
== Installation ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
<code>php artisan migrate</code>, <code>php artisan add-site-settings</code>, <code>php artisan optimize</code> , <code>php artisan update-extension-tracker</code>  
 +
Run these codes after installation and merge conflicts have been handled.
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
Admin side configuration:
 +
# Set the number of allowed shops from the admin site settings panel. This number is the maximum amount of shops a user can make, it should probably be set to 1 (default) if you don't want things to get too crazy, but this ext is built to allow multiple to exist even when used by the same user.
 +
# Set the item (and pet, if you have them installed) categories. These categories now have a new setting that lets the admin restrict what can and cannot be sold in these shops.
 
== Usage ==
 
== Usage ==
<!-- Is there anything users should know about using your extension? -->
+
If you have any extensions that rely on item data, such as [[Extensions:Giftwrap|Giftwrap]], then make sure to disable them from being able to be sold, as setting items in the shops wipes their data.
 +
 
 +
After installation, things are free to move on their own without admin moderation.
 
== Troubleshooting ==
 
== Troubleshooting ==
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
+
Please contact me if you find any bugs!
 +
 
 +
i'm SUPERCOOL in the lk server!  
 
== Images ==
 
== Images ==
<!-- Do you have any images to show what it looks like in action? -->
+
See it live on my site
 +
https://www.merlotarpg.com/user-shops/shop-index
 
== See Also ==
 
== See Also ==
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
+
Support Newt!
 
+
https://ko-fi.com/scuffednewt

Latest revision as of 13:13, 1 November 2023

User Shops
Description Users can create and run their own shops to sell items.
Author(s) CH3RVB (Extension), Ne-wt(Shop features/pets&shops)
Status testing
Github extension/user-shops
LK Version 2.1.1
Contains a Migration






Lets users make their own shops, from which they can add items to them and sell them for currency. Users can buy from the shops of other users, and they will be credited the currency from the purchase. (Only user-held currencies with user-user transfer are allowed for sales)

Users can search all shops for items that they want to buy (using a search function) and buttons have been added to sellable items for quick links to see if anyone is selling that item.

Users can customize their shop, setting their own shop image and description to show off their personality and create their own unique storefront.

Users can only sell items that they have gotten from gameplay, no custom items or anything.

Credit to newt for the original shop features/pets&shops code, which I referenced heavily to enable multiple stock types and generally make the layouts nicer!

thanks to min for making the quick stock layout look nicer as well!

You can get a version of this extension that supports pet stock here: https://github.com/CH3RVB/lorekeeper/tree/user-shops-pets

Pets version supports variants in shops as well

Installation

php artisan migrate, php artisan add-site-settings, php artisan optimize , php artisan update-extension-tracker Run these codes after installation and merge conflicts have been handled.

Configuration

Admin side configuration:

  1. Set the number of allowed shops from the admin site settings panel. This number is the maximum amount of shops a user can make, it should probably be set to 1 (default) if you don't want things to get too crazy, but this ext is built to allow multiple to exist even when used by the same user.
  2. Set the item (and pet, if you have them installed) categories. These categories now have a new setting that lets the admin restrict what can and cannot be sold in these shops.

Usage

If you have any extensions that rely on item data, such as Giftwrap, then make sure to disable them from being able to be sold, as setting items in the shops wipes their data.

After installation, things are free to move on their own without admin moderation.

Troubleshooting

Please contact me if you find any bugs!

i'm SUPERCOOL in the lk server!

Images

See it live on my site https://www.merlotarpg.com/user-shops/shop-index

See Also

Support Newt! https://ko-fi.com/scuffednewt