groupbank

#4 - published 2 years ago

GroupBank

GroupBank allows groups (steamgroups) to have a shared bank with experience and uconomy money.

 

This plugin requires Uconomy, MySQL and its libraries.
Permissions: gbuy, gbank, gxp & gmoney

Commands:

  • /gbuy – To buy a bank for your group
  • /gbank – To see your bank’s experience and money
  • /gxp +|- amount – To deposit/withdraw experience
  • /gmoney +|- amount – To deposit/withdraw money

 

The plugin also deletes banks that have not been updated for some days (no withdraws/deposits), configurable.

When a deposit/withdrawal happens, all group members that are online will be notified.

 

If you appreciate my work you can always donate to me here

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Color>Green</Color>
  <MoneyName>Credits</MoneyName>
  <BankPrice>100</BankPrice>
  <InactiveDaysUntilDeletion>7</InactiveDaysUntilDeletion>
  <DatabaseAddress>localhost</DatabaseAddress>
  <DatabaseUsername>root</DatabaseUsername>
  <DatabasePassword>password</DatabasePassword>
  <DatabaseName>unturned</DatabaseName>
  <DatabaseTableName>groupbank</DatabaseTableName>
  <DatabasePort>3306</DatabasePort>
</Config>

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="bank" Value="「 Group Bank 」" />
  <Translation Id="bank_xp" Value="# Experience: {0}" />
  <Translation Id="bank_money" Value="# {1}: {0}" />
  <Translation Id="gbuy_usage" Value="Error in command. Try /gbuy" />
  <Translation Id="gbank_usage" Value="Error in command. Try /gbank" />
  <Translation Id="gxp_usage" Value="Error in command. Try /gxp +|- amount" />
  <Translation Id="gmoney_usage" Value="Error in command. Try /gmoney +|- amount" />
  <Translation Id="no_group" Value="You do not have a group!" />
  <Translation Id="no_bank" Value="Your group does not have a bank!" />
  <Translation Id="have_bank" Value="Your group already has a bank!" />
  <Translation Id="bank_error" Value="Bank creation failed. You already have one for your group!" />
  <Translation Id="bank_error_2" Value="Bank creation failed. You need to pay {0} {1} for one!" />
  <Translation Id="bank_bought" Value="Succesfully bought a bank for your group! You paid {0} {1}." />
  <Translation Id="dep_error" Value="Something went wrong. Input a number." />
  <Translation Id="dep_error_2" Value="You only have {0} Experience!" />
  <Translation Id="dep_error_3" Value="You only have {0} {1}!" />
  <Translation Id="wit_error" Value="Something went wrong. Input a number." />
  <Translation Id="wit_error_2" Value="Your bank does not have this!" />
</Translations>

Commands and permissions


/gbank

Permissions: gbank

Show current group bank status


/gbuy

Permissions: gbuy

Buys a bank for your group


/gmoney <+|-> <amount>

Permissions: gmoney

Add or retrieve money from group bank


/gxp <+|-> <amount>

Permissions: gxp

Add or retrieve experience from group bank


Git changelog


14e2b2c6573a4ba 2017-03-17 21:55:59

Merge branch 'master' of https://github.com/Arechii/GroupBank

    e0ddb99bfe21efa 2017-03-17 21:54:09

    Fixed huge exploit

      de0132caf627b07 2017-03-08 16:47:55

      Delete MySql.Data.dll

        b81f58567524e39 2017-03-08 16:47:49

        Delete I18N.dll

          4df6c436f22c4b4 2017-03-08 16:47:41

          Delete I18N.West.dll

            5b92bf5f624d682 2017-03-05 02:38:39

            ...

              778f77887bd063f 2017-03-05 02:36:47

              ...

                20cf19dfe2ae941 2017-03-05 02:16:00

                Init

                  Download

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

                  Repository

                  github.com

                  License

                  MIT

                  Author

                  Arechi