Giter Club home page Giter Club logo

-lvos-stock-exchange's Introduction

[LVOS]Stock-Exchange

Resources for FiveM - Dynamic stock exchange system, sales price changes according to sales

Stock Exchange System

Warning

For this resource, it is necessary to have a minimum knowledge of the scripts that are installed on its server, it will be necessary to adapt this system to your system of inventory. I would not adapt to any inventory system, it's you to do it because every project and different.

Required

  • Optionnal but recommended for requests : MYSQL Async
  • An inventory system, especially for resource sales

Features

  • Change prices automatically based on sales of the resource.
  • Configurable volatility, you can make a resource more volatile or less depending on your desires.
  • The Stock Exchange System is similar to that of Arma 3 in mode "Altis Life" it walks between two resources if one goes up the other goes down. I like this system that's why I tried to reproduce it more or less.
  • Configurable coefficient, you can set the maximum and minimum percentage for a resource. (See below for an example, and explanation in more detail)
  • A website to consult the Stock Exchange

Website

The current resource includes a web site to view the day live, the site indicates whether the resource is declining, rising or stable. Also indicates the price. This is automatically generate once the files are configured you no longer need to modify the site, prices will update on their own, the resources automatically add to the site. It will be necessary to adapt the site if necessary. Go to the Adapted section on the project wiki. It is even possible to have different scholarships if you have more than one server.

The site uses Bootstrap to accompany the AdminLTE graphic style. The site is therefore responsive. It can even be improved to create an RP panel as does Los Vanilla.

Website

Simple configuration

Each file has been designed to simplify the configuration of the stock exchange, it will only take a few minutes to modify values or add an exchange resource.

Volatility = Larger (or bigger idk) the number the less volatile the resource is, depending on the number of players on your server and the average number of sales in 24 hours, it will take some test in my case it goes from 100 to 300 for the most volatile.

Simple configuration

Cofficient = The coefficient allows to limit a resource to avoid what is either too high or too low. This parameter is in the database in the "resource" table in the "coef" field, it must be configured when you add the resource to the stock exchange. For example, if the coefficient is 50, the base price of my resource is $ 100. Whatever happens to me resource will not go below $ 50 and will not rise above $ 150. It can be adjustable according to your wishes AGAAIIN.

Simple configuration

Installation

Click Here for Wiki

Adapted

Click Here for Wiki

Database SQL Informations

Click Here for Wiki

Configuration

Click Here for Wiki

-lvos-stock-exchange's People

Contributors

alex-bumblebee avatar joelwurtz avatar pixinc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.