Skip to content

timmw/SuperBank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SuperBank

About

This is a bank plugin for amxmodx which allows players to create a bank account which they can deposit and withdraw from in-game. The plugin requires a mysql database.

Requirements

  • Amxmodx 1.8.1
  • MySQL module
  • MySQL 5.1

Installation

  1. Create a mysql database and assign a user to it with all privileges
  2. Upload the files to the appropriate places
  3. Make sure you fill in sql.cfg (included with amx) with your database details
  4. Add superbank.amxx into plugins.ini
  5. Restart your server

Configuration

Add the folling cvars into amxx.cfg

  • bank_offrounds - how many rounds after the start of the map before players can withdraw money (default 3)
  • bank_withdrawlimit - how much a player can withdraw in a round (default 10000)

Congratulations! You have installed SuperBank!

Commands

  • /openaccount - Opens a new account, if the player has already opened an account they will be shown a message informing them they already have an account.
  • /balance - Displays the player's balance in chat to that player.
  • /moneywithdrawn - Shows the player how much they have withdrawn so far this round.
  • /maxdep - Deposits all of the player's cash into their account.
  • /maxwit - Withdraws the maximum amount of cash a player can hold until either they have $16k, they reach their limit for that round or they have no money left in the account.
  • maxdep (console) - Same as /maxdep, intended for binding to a key.
  • maxwit (console) - Same as /maxwit, intended for binding to a key.
  • /withdraw <amount> - Withdraws <amount> from the player's account, works in a similar way to /maxwit regarding limits such as balance, money space and money per round limit.
  • /deposit <amount> - Deposit <amount>.

Future improvements

  • menu
  • bank transfers

About

A bank plugin for amxmodx

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published