Skip to content

tomhmagic/TownyPay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TownyPay

Created for my server TanukiCraft

play.tanukicraft.net

https://discord.gg/zd7pvJY9Zr

A plugin that pays Mayors and Kings on every new Towny day and create a daily budget that can be spent.

On my server I have disabled bank withdrawals to prevent rogue Mayors/Kings and to make them manage their finances. To allow Mayors/Kings to focus on growing their towns/nations TownyPay creates a daily pay for them. To allow Mayors/Kings to pay other players, TownyPay introduces a pay command to pay from the town/nation bank within a daily budget.

For Towny Admins:

Mayor and King pay can be configured to be either fixed or a percentage of the town profit. Profit is calculated as CurrentBalance – (Upkeep x ConfiguredNumber)

Commands and Permissions:

You will need to add the permissions to all town and nation ranks you want access to these commands, at least Mayor, but you could add them to assistant, and even a Treasurer rank.

Command Permission Description
/town pay [resident] [amount] townypay.command.town.pay Pays given resident the chosen amount from the town bank, if within budget.
/town finance townypay.command.town.finance Shows town budget information (Budget, Spend and Remaining)
/town toggle [on/off] townypay.command.town.togglepay Toggles Mayor pay on or off
/town set pay [amount] townypay.command.town.setpay Sets Mayors pay, must be between a configed amount
/nation pay [resident] [amount] townypay.command.nation.pay Pays given resident the chosen amount from the town bank, if within budget.
/nation finance townypay.command.nation.finance Shows nation budget information (Budget, Spend and Remaining)
/nation toggle [on/off] townypay.command.town.togglepay Toggles King pay on or off
/nation set pay [amount] townypay.command.town.setpay Sets Kings pay, must be between a configed amount
/resident pay [resident] [amount] townypay.command.resident.pay Pays given resident the chosen amount.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages