Skip to content

DokusCore/DokusCore--Stores

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



DokusCore Stores (v3.0.1) - The place to be for all your goods!.


Dependencies

This plugin is depending on the DokusCore Framework! Make sure that DokusCore is started before this plugin!

Server Prebuild:

If you do not want to build your own server you don't have to, we already did all
the work for you! Download our Prebuild server package and you will be setup
within minutes. You also do not have to worry about dependencies or if the plugins
are started in the right order. Just insert your server artifacts, change the .cfg
and config files to your liking and off you go! For more information on how to
set up a DokusCore server, see the following video: Installation video


Installation

Simply extract the DokusCore--Stores into your resources folder,
and start it via ensure DokusCore--Stores. Then go to the Modules.lua
file of DokusCore itself and at _Modules = { Stores } set it to true.
If left to false the core will create its own character on ID 1 and not the
multi characters plugin.


Plugin Information

With this plugin you can buy, sell and manage your server general store items.
The UI is simple and easy to control. All items are listed within a grid and you
are able to scroll through the list. This UI also supports keyboard controls!

How to insert new store items?

Simply go to the database and select the stores table. Then make a new entry in
this table and the only information you need to add in is the item name, the stock
limit, the buy price, and the sell price. Whenever you start the plugin, or when you
use the module sync in the admin menu, the database will automatically fill in all
the rest of the data. After this is synced, you can now open all data tabs, and
edit them to your liking.

NOTE:

The inventory items icons are tied to the inventory plugin! For the icons to
display correctly, you need to add them also to the item list of the inventory!


Discord

On our Discord you can find all Information about this
project, feel free to join. Here you can also interact with other playing and testing
the Core, as well as giving your suggestions and opinions.


Searching for Developers

Do you enjoy developing, and would you like to take part into the DokusCore
project ? Join our Discord and contact one of the Administrators.


Future ideas for this plugin

Right now, you can only buy and sell items from the store. In the future, we want to intergrade much more into this plugin. We want to intergrade a stock so that the store can run out of items to sell, then players need to sell items to the store, or use the stock market transport job to stock up the stores. Also, we would like to implement taxation for the economy auto inflate / deflate system. This will increase the default price if many purchases are done in this store, but will deflate the price when there are few. Furthermore, we want to add price fluctuations depending on the current items in stock. Example: If Valentine has 20/100 cigar boxes in stock, you will receive $0.25 per item, you deliver, but if the stock is 80/100 you will only receive $0.12. This way players will roam over the map to search for the best prices, and stores with the most need for items will get filled first.