What is ProImpuestos?
ProImpuestos is an advanced tax wallet system for Minecraft servers focused on roleplay economies, governments, cities, factions, shops, NPCs, banks, and administrative systems.
The plugin manages a
central tax wallet where you can register income, process expenses, check balances, review history, and audit all financial movements safely using MySQL, HikariCP, and atomic SQL transactions.
Instead of simply adding and subtracting money from a growing transaction table, ProImpuestos uses a dedicated wallet table for the current balance and stores every transaction with previous balance, new balance, actor, UUID, reason, status, and date.
[HR][/HR]
Main Features
- Central tax wallet for RP economies.
- MySQL / MariaDB persistent storage.
- HikariCP real connection pooling.
- Async database operations to avoid blocking the server thread.
- Atomic withdrawals using SQL transactions and wallet locking.
- Protection against money duplication during simultaneous withdrawals.
- Vault integration for player deposits.
- Public API for other plugins.
- Paginated transaction history.
- Improved Discord webhooks with embeds.
- Configurable tax burn system.
- Separated permissions for safer administration.
- Legacy permission compatibility with AuroraImpuestos.
- Reload command for configuration updates.
[HR][/HR]
Use Cases
- Government tax systems for RP servers.
- Shop, NPC, or market tax collection.
- City or mayor office financial control.
- Central bank or public treasury.
- Community event funds.
- Advanced economy systems.
- Integration with custom shop plugins.
- Auditable admin income and expense logs.
[HR][/HR]
Safe Withdrawal System
ProImpuestos does not handle withdrawals in an unsafe way.
When an authorized player performs an expense:
- The plugin locks the wallet in MySQL.
- Checks the available balance.
- Registers the expense with previous and new balance.
- Commits the SQL transaction.
- Deposits the money to the player using Vault.
- If Vault fails, the expense is automatically reverted.
This prevents two players from spending the same wallet balance at the same time.
[HR][/HR]
Commands
Code (Text):
/auroraimpuestos ingreso <amount> <reason>
/auroraimpuestos egreso <amount> <reason>
/auroraimpuestos egreso <player> <amount> <reason>
/auroraimpuestos saldo
/auroraimpuestos historial [page] [limit]
/auroraimpuestos quemar <percentage>
/auroraimpuestos reload
Aliases:
Code (Text):
/auroraimpuesto
/impuestos
/proimpuestos
/pimpuestos
[HR][/HR]
Permissions
Code (Text):
proimpuestos.admin
proimpuestos.ingreso
proimpuestos.egreso
proimpuestos.egreso.others
proimpuestos.saldo
proimpuestos.quemar
proimpuestos.reload
proimpuestos.historial
Legacy compatible permissions:
Code (Text):
aurora.impuestos.egresos
aurora.impuestos.saldo
[HR][/HR]
Developer Integration
ProImpuestos exposes a public API through Bukkit's ServicesManager.
Basic example:
Code (Java):
RegisteredServiceProvider
<ProImpuestosApi
> provider
=
Bukkit.
getServicesManager
(
).
getRegistration
(ProImpuestosApi.
class
)
;
if
(provider
==
null
)
{
return
;
}
ProImpuestosApi api
= provider.
getProvider
(
)
;
api.
registerIncome
(
BigDecimal.
valueOf
(
1000
),
"ProStores",
"Mining shop purchase",
player.
getName
(
),
player.
getUniqueId
(
)
).
thenAccept
(result
->
{
if
(result.
success
(
)
)
{
Bukkit.
getLogger
(
).
info
(
"Tax registered. Current balance: "
+ result.
balance
(
)
)
;
}
}
)
;
Available methods:
Code (Text):
registerIncome(...)
registerExpense(...)
cancelExpense(...)
getBalance()
getHistory(...)
getBurnPercentage()
[HR][/HR]
Requirements
- Paper 1.21.1
- Java 21
- Vault
- A Vault-compatible economy plugin, such as EssentialsX Economy
- MySQL or MariaDB
[HR][/HR]
Perfect for RP servers
ProImpuestos is designed for servers where the economy needs control, auditing, and roleplay depth. Use it as a government treasury, public fund, shop tax system, banking system, or centralized economy log.