groupbank

last built a month ago
Build #13
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Arechi
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.

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="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


453a158dba3ea30 2019-05-16 01:40:31

Fixed.

    ae82b875ade7d5a 2018-08-19 12:23:58

    Fix

      a083d1c52e4a9d2 2018-08-18 21:21:44

      Update chat

        b3a33fb76c7b325 2018-01-15 12:20:32

        😏

          9fe710786b10307 2018-01-15 12:17:18

          😏

            394c73b6d4662c1 2017-07-28 10:26:08

            😅

              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