ROOTMC Link account

Wiki / Loans

Loans

In production · confirmed working

Borrow gp from the server account at 10% interest, then pay it back automatically from the gold you mint and the income you receive.

PartStatus
/loan, /loan info, /loan take, /loan repayConfirmed
Minted gold repays loans firstConfirmed
Payments, refunds and staff adjustments repay loans firstUntested
Staff /loan list, /loan audit and per-player capsUntested
Rank-based capsPlanned

How loans work

  • Loans are paid out of the server account (the reserve). No new money is created for a loan. If the server account doesn't hold enough, the loan is refused and nothing changes.
  • Every loan has a fixed 10% interest: borrow 100 gp and you owe 110 gp.
  • Everything you repay, principal and interest, goes back to the server account.

Limits

LimitValue
Borrowing cap100 gp by default
Active loans at once3
Loans taken in any 24 hours3 (loans you've already paid off still count)

Your headroom is your cap minus everything you currently owe. A new loan can be as large as your headroom, and the check is made before the new loan's interest is added. So with a 100 gp cap and no debt you can borrow 100 gp and end up owing 110 gp.

Staff can set a different cap for an individual player.

Repaying

Income repays loans first

While you owe anything, 100% of the income you receive goes to your loans before it reaches your wallet. That includes:

  • Gold you mint with /mint. Mined gold becomes money when you mint it, and that money repays your loans first. The fee, if any, is taken first, and the rest goes to your loans. /mint tells you how much went to your loans.
  • Payments from other players (/pay).
  • Claim refunds paid to your wallet.
  • Staff balance adjustments.

The gp you get from the loan itself is never swept back. Once your loans are paid off, income goes to your wallet as usual.

Paying back yourself

  • /loan repay (or /loan repay all) pays off everything you owe. You need the full amount in your wallet.
  • /loan repay <amount> pays part of it.

Which loan is paid first

Payments go to the loan with the largest amount owed first (the oldest first if two are equal). On each loan, a payment covers the interest first, then the principal.

Loan commands

CommandWhat it does
/loan or /loan infoShows what you owe, your cap and headroom, your active loans out of 3, how many loans you can still take in the current 24 hours, and each loan
/loan take <amount>Borrows gp from the server account
/loan repay [amount|all]Repays part or all of what you owe

Amounts work the same way as everywhere else, for example 5, 0.5 or 1/9. See Economy.

For staff

Records

Every loan, payout and repayment is permanently recorded and linked to its entry in the server ledger. Paid-off loans stay in the records. /economy shows the server-wide loan totals. See Economy.

  • Economy: balances, minting and fees.
  • Commands: every player command in one table.