Skip to main content
Any script can send a bill to a player. Players pay it from the PC.

giveBill export

server Uses the same data format as vms_cityhall’s giveBill. Its argument order (source, type, data, giveItem, cb) is accepted too.
Optional fields: society, jobLabel, comments, taxFromInvoice / taxFromReceipt (percent added on top), percentageForSociety. When the bill is paid, the society share (percentageForSociety, default Config.Society.defaultPercent) goes to the society / job account — see Compatibility. Unpaid bills past their due date are marked overdue automatically. Config.OnBillIssued and Config.OnBillPaid let you react.