Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.6 KB

Economy-module.md

File metadata and controls

34 lines (25 loc) · 1.6 KB

Description

A Basic server economy module. Players have access to a virtual wallet and with that money they can buy, sell, and transfer it to other players.

Configuration

S:currencySingular=Credit the singular form of your currency

S:currencyPlural=Credits The plural form of your currency

I:startbuget=100 not a typo The ammount of money players start with when they join the server

Commands and Permissions

/addtowallet player amount -- Adds amount to wallet of player
   ForgeEssentials.Economy.addtowallet

/setwallet player amount -- Sets the wallet of player to amount
   ForgeEssentials.Economy.setwallet

/pay player -- Pays a player from your own wallet
   ForgeEssentials.Economy.pay

/getwallet player -- Display's a players money(wallet)
   ForgeEssentials.Economy.getwallet

/money -- Displays how much you have in your wallet
   ForgeEssentials.Economy.money

Shop setup

Inteded for use with commandblocks.

The syntax is:
/paidcommand <player> <amount> <command [args]>
/sellcommand <player> <['amount'x]item[:'meta']> <command [args]>
Examples:
/paidcommand @p 100 i diamond 1 would add 1 diamond for a 100 currency
/sellcommand @p 64x3:0 i diamond 1 would add 1 diamond for a stack of dirt(id 3)

Footnote


I'm sure that someone will clear this up, or add to it if I don't get to it in the next couple of days. --Zhivotnoya