NPC

Create a NPC

How to create a NPC?

Citizens NPC :

The creation of a banker NPC is very simple. To create it, you have to do the command / npc create <npc_name> -*-trait banker.

Basically, you just give to the NPC the banker trait.

Ps - No star in the command, it just separate the two dash.

Minecraft NPC :

If you put to true the options minecraft_npc, you just have to spawn an normal Minecraft NPC and rename it at "banker".

Interaction with Citizens NPC and Minecraft NPC

To interact with it, right click on it.

Screenshots of bank menus:

In first time, before the main menu, you will have to choose the bank account :

Choose bank account

Click one of the enderChest available and you will select the bank account.

This is the main menu of the bank.

Bank main menu

If you click on the chest, it will open the multi-inventory menu.

If you click on the emerald, it will open the menu for various operations with money in your bank.

If you click on the lever, it will open the menu to change to another bank account.

The player head is the balance information for wallet and bank account.

Here is the multi-Inventory menu.

Ps - This is a exemple.

Multi-Inventory

If you click on a chest, you open an inventory because each chest is an inventory.

If you click on the emerald, you will add an inventory.

Here is an example of bank inventory.

Inventory Bank

Here is the menu for various operations with money in your bank.

Operation menu

If you click on the emerald, iron_ingot or redstone, you will see the same menu, except that the emerald will add money whereas redstone will take money. Iron ingot will transfer money to another player. The door is to return to main menu. Player head is the balance information for wallet and bank account.

Transfer money from bank to player wallet.

This is the page for the choice of the player who you want to transfer money :

Transfer page

The head player is to choose the player who his represented with his name. The iron door is to return to operations menu.

This is the menu to choose between player and bank. (For now, you can choose player only because the bank options is not ready.) :

Transfer option

The redstone torch (on) is the choice to transfer money to player and the player need to be online. The iron door is to return to operations menu.

Here is the menu for adding, transfer or removing money.

Add or remove

Here is the numpad in the inventory of minecraft. It is made of iron ingot. It starts with the number 1 to 9 and zero is the one below.

Emerald allows you to accept the amount, gold ingot is for correction (It clean up the amount to 0) and redstone is the button to cancel the operation.

At the moment, the display of the amount shown in the chat. I do not know how I'm going to show it to another location.