uconomy-essentials

#189 - published lessthan a minute ago

ZaupUconomyEssentials

A simple extension to Uconomy and requires it to run.

Give players a salary at set intervals, time starts at login and ends at logout.
Allow players to exchange their experience for currency using /exchange <amt> or currency for experience using /exchange <amt>/money
Give players currency every time they kill a player.  Great for pvp servers!
Take away currency if a player clicks suicide.
Give a player money. (Not out of your own account either!) /apay <name or id>/<amt>

All of these options are configurable and can be turned on and off independently.

 

The amounts will only go down to 0.01, same with the exchange rate.  Any lower and you may get weird results.

The Groups DisplayName require the exact name as the group Id from the Permissions config.

With the 1.1.0.0 update, I have changed the filename.  Please delete any previous dlls before installing the new version.

With the 1.2.0.0 update, I have changed the config file drastically.  Please backup your info and then rename/delete your old config file and let it be remade.  The other option is to use the defaults given above.

 

 

Are you tired of adding each item with commands to the shop? Look at the UUU to be able to add multiple items directly to your database.

Default configuration


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="pay_time_msg" Value="You have received {0} {1} in salary for being a {2}." />
  <Translation Id="unable_to_pay_group_msg" Value="Unable to pay {0} as no {1} group salary set." />
  <Translation Id="to_killer_msg" Value="You have received {0} {1} for killing {2}." />
  <Translation Id="lose_suicide_msg" Value="You have had {0} {1} deducted from your account for committing suicide." />
  <Translation Id="new_balance_msg" Value="Your new balance is {0} {1}." />
  <Translation Id="lose_money_on_death_msg" Value="You have lost {0} {1} for being killed." />
  <Translation Id="apay_msg" Value="You have paid {0} {1} {2}." />
  <Translation Id="apaid_msg" Value="{0} gave you {1} {2}. You now have {3} {4}." />
  <Translation Id="experience_exchange_not_available" Value="I'm sorry, experience exchange is not available.  Ask your admin to enable it." />
  <Translation Id="money_exchange_not_available" Value="I'm sorry, money exchange is not available.  Ask your admin to enable it." />
  <Translation Id="exchange_zero_amount_error" Value="You have to enter an amount of experience/money to exchange." />
  <Translation Id="exchange_insufficient_experience" Value="You don't have {0} exprience." />
  <Translation Id="exchange_insufficent_money" Value="You don't have {0} {1}." />
  <Translation Id="apay_usage_msg" Value="Usage: /apay &lt;player name or id&gt; &lt;amt&gt;" />
  <Translation Id="exchange_usage_msg" Value="Usage: /exchange &lt;amount&gt;[ money] (including money will exchange money to xp otherwise defaults xp to money)" />
  <Translation Id="not_valid_player_msg" Value="{0} is not a valid player name or steam id." />
  <Translation Id="not_valid_amount" Value="{0} is not a correct amount." />
  <Translation Id="zombie_kill_paid_msg" Value="You have been paid {0} {1} for killing a zombie.  Your balance is now {2} {3}." />
  <Translation Id="mega_zombie_kill_paid_msg" Value="You have been paid {0} {1} for killing a mega zombie.  Your balance is now {2} {3}." />
</Translations>

Commands and permissions


/apay <player name or id> <amt>

Permissions: apay

Allows an allowed person to pay someone else not using their own currency.


/exchange <amount> [money]

Permissions: exchange

Exchanges experience for economy currency.


Git changelog


a0533094fd4ecfe 2016-11-04 15:25:59

..

    Download

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

    Repository

    github.com

    License

    MIT

    Author

    Zamirathe