Group Shared bank

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Jerano

Member
Jul 8, 2023
3
0
1
22
Can someone make a script:
Every group has a own Bank account
people in the group can deposit money to to bank and witdraw

Plugins:
Vault
EssentialsX
Groupmanager

Commands i would like to have:
/Groupbank moneyadd <group> <Amount> Only OP / Console
/Groupbank moneyremove <group> <Amount> Only OP / Console

/Groupbank withdraw <amount>
*Message Je hebt <amount> Gepint

Permission:
<groupsname>.Withdraw

/groupbank deposit <amount>
*Message Je hebt <amount> Gestort
(Only excute if (player) has enough money on account)
<group>.deposit

/groupbank Balance
*Message Balance: <?>
(if possible %placeholder% for gui)
<group>.balance


---------------------------------------
If /mangadd <Group> is getting excuted (BY OP/Permission)

/manuaddp <group>.balance
/manuaddp <group>.deposit


start the <Group> with 0 points
(Group points cant be under 0)



Example:

/groupbank deposit 1 it adds one point
/groupbank withdraw 1 its removes the point
 
Last edited: