uconomy-essentials

last built 2 weeks ago
Build #234
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Community Plugin
This plugin is maintained by the RocketMod Community.
The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

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


<?xml version="1.0" encoding="utf-8"?>
<UconomyEConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PayTime>false</PayTime>
  <PayGroups>
    <Group DisplayName="all" Salary="1.0" />
    <Group DisplayName="admin" Salary="5.0" />
    <Group DisplayName="moderator" Salary="4.0" />
    <Group DisplayName="guest" Salary="1.0" />
  </PayGroups>
  <PayTimeSeconds>900</PayTimeSeconds>
  <PayHit>false</PayHit>
  <PayHitAmt>1</PayHitAmt>
  <SendPayHitMsg>true</SendPayHitMsg>
  <LoseSuicide>false</LoseSuicide>
  <LoseSuicideAmt>1</LoseSuicideAmt>
  <ExpExchange>false</ExpExchange>
  <ExpExchangerate>0.5</ExpExchangerate>
  <MoneyExchange>false</MoneyExchange>
  <MoneyExchangerate>0.5</MoneyExchangerate>
  <LoseMoneyOnDeath>false</LoseMoneyOnDeath>
  <LoseMoneyOnDeathAmt>10</LoseMoneyOnDeathAmt>
  <PayZombie>false</PayZombie>
  <PayZombieAmt>0.5</PayZombieAmt>
  <SendPayZombieMsg>true</SendPayZombieMsg>
  <PayMegaZombie>false</PayMegaZombie>
  <PayMegaZombieAmt>5</PayMegaZombieAmt>
  <SendPayMegaZombieMsg>true</SendPayMegaZombieMsg>
</UconomyEConfiguration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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


16cec542de31380 2019-10-31 01:27:22

Updated MySql.Data to 8.0.18

    31e7c4cb45e7816 2019-10-31 01:27:13

    Ran cleanup

      bb8ee333bd40974 2019-08-03 20:48:42

      Refactor and update

        028308da4b348af 2019-07-16 21:03:59

        Update LICENSE

          37dbb38a4edb877 2019-06-24 21:22:18

          Update README.md

            0db9573059b4447 2019-06-24 21:20:48

            Add files via upload

              06ea29f4371d570 2019-04-28 12:38:42

              ..

                a0533094fd4ecfe 2016-11-04 15:25:59

                ..

                  81a72f203be7f98 2016-10-08 17:15:12

                  ...

                    18279d627211d93 2016-10-08 17:10:53

                    ..

                      d12367a9c375201 2016-10-08 17:05:45

                      downgrading to 3.5

                        895599077e9585c 2015-12-23 18:27:50

                        fix

                          94b52fa9efc4357 2015-12-23 15:13:11

                          Fixing buffer

                            cb4686e2194621b 2015-12-23 15:12:19

                            Fixing Uconomy reference

                              efe7ac6a6746854 2015-10-13 07:22:27

                              Update

                                e0fe198324549d6 2015-09-09 21:41:48

                                Fixing PayTimeSeconds

                                  91c41fd1d19d913 2015-09-09 01:07:12

                                  Update ZaupUconomyEConfiguration.cs

                                  • Changing PayTimeSeconds to be int to fix KennyKyle's issues

                                  18a539b77c40816 2015-09-07 17:40:53

                                  Fixing reference of RocketPermissionsGroup

                                    2a2141c4b397cbf 2015-07-31 21:36:15

                                    Updated libs

                                      a933d8d3b21beeb 2015-07-31 04:12:30

                                      Fixed config

                                        0554e733fd7c558 2015-07-30 22:39:04

                                        Fixed Salary

                                          b03c8da1d8082e6 2015-07-27 04:39:34

                                          Update to Rocket 4.6

                                            e86f99870f612bd 2015-06-23 22:25:46

                                            Update to Unturned 3.11.0.0 and 4.5.0.0

                                              e3da31a008d9562 2015-06-03 23:50:39

                                              Changed file structure

                                                7234b6f54dd6de8 2015-06-02 17:49:05

                                                Added libraries folder to project

                                                  654fae47f042202 2015-06-02 17:42:57

                                                  ...

                                                    caa6a4877649e23 2015-06-02 17:42:03

                                                    ..

                                                      0ad8d0e37b82ba7 2015-06-02 17:41:29

                                                      Forgot Uconomy reference

                                                        9aa51cc31af45e2 2015-06-02 17:38:43

                                                        References changed again

                                                          4d0b41653a92fd0 2015-06-02 17:34:20

                                                          Updated references

                                                            d2242396176e5e8 2015-06-02 16:17:39

                                                            Update to Rocket 4.4

                                                              f6be1590b6c89c4 2015-06-01 05:46:50

                                                              Just changed version #

                                                                9e6976753739e39 2015-05-26 18:02:30

                                                                Update to Rocket 4.2.0.0

                                                                  7299375279b3b57 2015-05-17 03:18:05

                                                                  Update to Rocket 4.0

                                                                    4376d6ba7a9f67a 2015-05-17 00:35:20

                                                                    Fix for Rocket Changes

                                                                      d760115ccc1bbe1 2015-05-09 03:34:19

                                                                      Update to Rocket 3.9.1.0

                                                                        cd0945f8c5a8427 2015-05-05 21:42:40

                                                                        Update to Rocket 3.8.0.0

                                                                          04dffcba586c33b 2015-05-04 22:57:26

                                                                          Changed config and added translation support, can now exchange money to experience, added different event system

                                                                            b232e812e001e1b 2015-04-20 16:35:07

                                                                            Hot fix for salary I messed up

                                                                              58d3e5f2d3c9fc8 2015-04-19 03:11:27

                                                                              Added event hooks for other plugins and an Apay command for admins to give currency to someone.

                                                                                a583fb48bf94d4d 2015-04-06 17:45:46

                                                                                Update to Rocket 3.2.0.2

                                                                                  c5e29fc94a8595d 2015-04-02 21:54:51

                                                                                  Added salary based on group

                                                                                    fdca3bcfa50af85 2015-04-02 18:49:57

                                                                                    Fixed display bug with exchanging experience

                                                                                      14bce53a76cf7dc 2015-03-29 01:04:24

                                                                                      Update for Rocket 3.1.0.0 and can no longer go negative currency fix

                                                                                        e4a6dc8da581631 2015-03-28 23:46:02

                                                                                        ...

                                                                                          60d59011f807fe2 2015-03-28 23:44:53

                                                                                          ...

                                                                                            70451afc2e0a5e6 2015-03-28 23:44:16

                                                                                            Update to work on Rocket 3.2.0.0 and can no longer go into negative currency

                                                                                              2ca187e2b95048a 2015-03-23 19:00:55

                                                                                              Release 1.0.0.0