This new update (
BlockStreet v2.7.0) adds some new features regarding investment profit calculations and some bug fixes. Here's what changed:
Features
The plugin now tracks the average buy price for each company that a player buys. This will allow the plugin to display certain metrics, such as the player's profit on each investment.
Players can now check the total profit of their portfolio and quickly understand if they are winning or losing money.
Added CompanyCreateEvent, CompanyBankruptEvent, CompanyDeleteEvent and CompanyStockUpdateEvent to allow integration with other plugins/systems.
Fixes
Deleted companies are now automatically deleted from the player's portfolio.