uconomy

#185 - published lessthan a minute ago

Uconomy

This is a economy plugin that stores the accounts in a MySQL table.

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<UconomyConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <DatabaseAddress>localhost</DatabaseAddress>
  <DatabaseUsername>unturned</DatabaseUsername>
  <DatabasePassword>password</DatabasePassword>
  <DatabaseName>unturned</DatabaseName>
  <DatabaseTableName>uconomy</DatabaseTableName>
  <DatabasePort>3306</DatabasePort>
  <InitialBalance>30</InitialBalance>
  <MoneyName>Credits</MoneyName>
</UconomyConfiguration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Translation Id="command_balance_show" Value="Your current balance is: {0} {1}" />
  <Translation Id="command_pay_invalid" Value="Invalid arguments" />
  <Translation Id="command_pay_error_pay_self" Value="You cant pay yourself" />
  <Translation Id="command_pay_error_invalid_amount" Value="Invalid amount" />
  <Translation Id="command_pay_error_cant_afford" Value="Your balance does not allow this payment" />
  <Translation Id="command_pay_error_player_not_found" Value="Failed to find player" />
  <Translation Id="command_pay_private" Value="You paid {0} {1} {2}" />
  <Translation Id="command_pay_console" Value="You received a payment of {0} {1} " />
  <Translation Id="command_pay_other_private" Value="You received a payment of {0} {1} from {2}" />
</Translations>

Commands and permissions


/balance

Permissions: balance

Shows the current balance


/pay <player> <amount>

Permissions: pay

Pays a specific player money from your account


Git changelog


78a324774d2d7a3 2017-05-21 13:45:22

Merge pull request #8 from Trojaner25/patch-1

  • Fix mysql table creation for some mysql servers

Download

Build #185
By downloading this file, you agree to our license terms.

Repository

github.com

License

MIT

Author

Sven