Currencies

Adds a monetary system with various currencies.

By TeslaCloud Studios

Modules

Hooks hooks
Currencies plugin
Currencies gives characters and containers money in any number of currencies.
Migration that creates the currencies table.
Entity class
Entity extensions of the Currencies plugin: the money an entity holds.

Commands

DropMoney command
Command that drops an amount of the player's money in front of them.
GiveMoney command
Command that gives an amount of the player's money to the entity they are looking at.
SetMoney command
Staff command that sets how much of a currency one or more players have.

Entities

Money entity
Money lying in the world (fl_money): holds an amount of one currency and hands it to the player who uses it (Currencies:pickup_money), unless the CanPlayerPickupMoney or the PlayerPickupMoney hook prevents that.

Panels

The money panel (fl_currencies): lists how much of every currency an entity holds, with buttons to give or drop the money of the local player, or to take money from another entity such as a container.