A simple Minecraft plugin for keeping out players that didn't pay their share of the server costs.
Disclaimer: This plugin does not handle monetary transactions. The users pay you via third party services, and you register the transaction in the accounting.csv file.
/owe Check your debt/owe <user> Check another player's debtThe first time that the server runs on it have the PayToPlay plugin, it crates two new files.
config.ymlaccounting.csvPayToPlay:
HoursPerCharge: 15 # Number of hours to count as one charge
AmountPerCharge: 1 # Number of dollars/euros to make per charge
DebtToKick: 3 # Number of accumulated debt to kick a player, until they pay
CurrencyChar: € # Character to use for currency display
WorkerTicks: 1200 # Number of ticks to wait between debt checks (20 ticks = 1 second, 1200 ticks = 1 minute)
This file is used to store the player's hours and the amount they paid.
bruneo,32.0
johndoe,15.23
javasucks,0
The reason is simple, for admin flexibility.