Casual SMP Economics

## How do i get money?

Currently on Casual SMP, there are two possible ways to obtain money. Selling items on the server store, or selling items a chest shop.

### How do i sell items to the server store?

If you wish to sell items to the Server Store, you can do the `/sell` command. The `/sell` command will open a blank GUI. Any items you place inside will be sold, and you will recieve the current sell price. *(You can check the price in `/shop` or on the Official Price Website.)*

### How do i use a chest shop?

If you wish to buy/sell items from a Chestshop it is very easy, you can right click it to buy the offered item, which gives the shop owner the ammount of money you paid, or left click to sell said item to the chest, which will reward you with money if the shop is offering money for items. A tutorial on making a chest shop can be found below.

## How do i make a chest shop?

*Reference images can be found below!*

1. Place a chest on the ground
2. Place a sign 1 block away from the chest (for example, above it or on it)
3. Write required text on the sign

### Required Text

* Leave the first line empty. It will be automatically filled with your name by the plugin
* Second line is the amount of items to buy or sell
* Third line is a combination of buy and sell prices. You need to have a price indicator (like 'B' - price that will apply to items **B**OUGHT by PLAYERS - or 'S' - the **S**ELL price) near the price - the prices are separated by a colon **:** *Some of the possible price combinations: "B 5:5 S", "B 5", "S free"*
* The forth line will hold the id/name of the item. Write **?** on the sign and the item will be autofilled with the one from the chest or you can click on the sign with the item afterwards. Optionally you can put the actual name of the item on the forth line.

### Reference Images

Writing a sign like this would result in a chestshop which sells the item placed in it for ¢10 and buys it for ¢5.A completed chestshop sign, simmilar to the other image however it is completed and has been turned into a diamond shop.*Optionally you can also watch this tutorial video.*

#### How do i use a chest shop?

If you wish to buy/sell items from a Chestshop it is very easy, you can right click it to buy the offered item, or left click to sell said item to the chest

## Server Store and Economic System

As of the 27th of August, Casual SMP has implimented a new shop system, which has additional features such as Supply and Demand, Inflation, Debt, GDP etc.

### Features

* Automatic Price changes based on Supply and Demand
* Shops are GUIs with easy access and navigation
* Easy selling panel to sell items quickly
* Automatic selling, configurable player side
* Stored detailed history of transactions
* Limit player's to only be able to purchase certain items they have collected before
* Advanced loaning with interest settings
* Integrated web-server for viewing price information
* Calculates GDP, debt, inflation and more

### Commands

**/loan** - You can take a loan from other players, however it will gain interest over time. Command Format: `/loan (ammount) (username)` Taking a loan however will slowly gain interest, so you will need to pay more than you took.

**/sell** - Opens a blank GUI with nothing in it, every item you place in there will be sold. Only a certain ammount can be bought per shop period.

**/autosell** - Opens a menu simmilar to the /shop menu, you can then enable items within it to be automatically sold everytime they come into your inventory.

**/shop** - Opens a GUI shop, You can open the tabs to purchase said item. Only a certain ammount can be bought per shop period.

### Shop Period

The Shop Period is the time that it takes for prices are updated. Every price update the ammount of times you can buy and sell a item are also reset. The Shop Period currently is **5 Minutes**.

### Price Website

If you wish to quickly check the price of an item and how it has changed over time, there is a Official Website which tells you that. just type in the item name in the search bar to check it. http://casualsmp.mcserv.fun:8888/index.html

### Bank Upgrades

##### Default Tier

```
Capacity: 50000¢

```

```
Price: N/A

```

##### Upgrade 1

```
Capacity: 100000¢

```

```
Price: 5000¢

```

##### Upgrade 2

```
Capacity: 500000¢

```

```
Price: 15000¢

```

##### Upgrade 3

```
Capacity: 10000000¢

```

```
Price: 40000¢

```

##### Upgrade 4

```
Capacity: 2000000¢

```

```
Price: 100000¢

```

##### Upgrade 5

```
Capacity: 10000000¢

```

```
Price: 1000000¢

```

##### Upgrade 6

```
Capacity: 100000000¢

```

```
Price: 100000000¢

```