User:Hunter X/Stock Market Plugin

From Minecart Rapid Transit Wiki
Jump to navigation Jump to search

Since the announcement of the introduction of an economy plugin to the server, I've been drafting up some ideas for a stock market plugin that would integrate with the economy/business systems and allow shareholders limited control over a company they hold shares in as well as to support the buying and selling of shares across the server. I figured in light of the newly opened MRT Stock page on the Wiki I might as well put my ideas into writing to see what people think (obviously some of the details cannot be established until the specific choice of economy/business plugins is finalized, but for the time being I will be using the BusinessCore plugin for reference).

Creating Shares

The manager of a company can choose to create a number of shares in their company at any time, or if a company has multiple managers shares can be created with approval from all managers. Via a chat command, the user can specify a unique code to represent the company, the number of shares to be sold, the initial price for those shares to be sold at, the number of shares managers and employees receive immediately and whether or not shareholders receive dividends from the company (and what amount they receive). From this point forward, managers of a company can no longer promote new managers on their own, although they can choose to stand down themselves.

Stock Market

I believe the best mechanic for managing the buying and selling of shares on the server would be the system used by Runescape's Grand Exchange market - the buyer specifies a maximum price for the number of company shares they want (and the seller specifies the minumum price they will sell their shares for respectively) after being shown the current average price of the company's shares and the system will automatically handle the sale by sorting all of the current sellers first by price - purchasing the shares for cheaper than the maximum price (or selling the shares for more than the minimum price) if at all possible - and then by age - if there are multiple sellers at the cheapest price the oldest will be selected. If there are no buyers/sellers within the specified price range the system waits until one becomes available.

Both buyers and sellers get the best possible deal and the system is fair to those who wait the longest, all without having to trawl through sale offers manually or compete with others to get your item sold at the same price.

Shareholders

Any player who holds one or more shares in a company would then receive limited control over that company as a shareholder. They would be able to promote or demote managers through a vote (Possibly run on a weekly/monthly repeating timer? Or specific votes for the promotion and demotion of each user?), who would be responsible for the overall management of the company. If it was defined upon the shares' creation, shareholders would also receive a portion of the company's profits as a dividend per share they own. It is possible that this feature could also be enabled/disabled/adjusted by a vote from the shareholders. The number of shares a user owns determines their voting power - one share equals one vote, so the more shares a user owns the more control they have over the company. If a user were to purchase all of the shares of a company they would then be able to close trading and install themselves as a permanent manager of the company (until they choose to retire of their own accord).

Statistics

Depending on how the MRT server and website are set up, it might be possible to have the plugin output a webpage that would display various graphs and statistics for the stock exchange, and provide an easy way to chart the average share prices of all currently trading companies without having to scroll through long lists in the Minecraft chat window.