Towny Classic

Towny Classic

3.2k Downloads

Suggestion: Add further features to Town/Nation Bank Manipulation

ItsRainingHP opened this issue ยท 2 comments

commented
  1. Town#depositToBank, Town#withdrawFromBank, Nation#depositToBank, and Nation#withdrawFromBank currently only accepts int values. This does not let developers deposit "change" or decimal values.
  2. I would like to request the same methods be overloaded implementing an API call that does not require a resident. i.e. Town#depositToBank(double value), etc
  3. Town#setBank - API call to set town bank value
  4. Nation#setBank - API call to set nation bank value
commented

TownyEconomyHandler. Duh.

commented

You'll want to use the Government#getAccount method instead of directly using the economy handler.