sPay - Simple & Lightweight Player Payments [Vault]
Overview
Tired of complex economy plugins just to let players pay each other? sPay is your solution!
sPay is a no-fuss, lightweight plugin that enables simple player-to-player currency transfers on your server. It hooks directly into
Vault and your existing economy plugin (like EssentialsX, CMI, TheNewEconomy, etc.), keeping things clean, simple, and compatible.
Why sPay?
- Simplicity: Focuses on one core task – paying other players – and does it well.
- Lightweight: Minimal code, minimal impact on your server's performance.
- Compatibility: Works with any economy plugin supported by Vault. You don't need to switch your current economy setup!
- Ease of Use: Intuitive commands and clear messages.
Features
- Effortless Player Payments: Use the intuitive /pay <player> <amount> command.
- Vault Powered: Seamlessly integrates with Vault and your chosen economy plugin. No separate economy to manage within sPay!
- Admin Reload: Quickly reload the configuration with /spay reload without restarting the server.
- Configurable Messages: Customize all plugin messages, including the prefix and the display currency symbol, to match your server's theme via config.yml.
- Permission Support: Control who can use the pay command and admin commands.
Dependencies (Required!)
- Vault: sPay WILL NOT WORK without Vault. You can download Vault here (or search for it on SpigotMC/BukkitDev).
- An Economy Plugin: You need an economy plugin that hooks into Vault (e.g., EssentialsX, CMI, TheNewEconomy, Gringotts, etc.). sPay does not manage balances itself; it uses your existing economy plugin.
Commands
- /pay <player> <amount> - Pays the specified player the given amount.
- Example: /pay Notch 100.50
- /spay reload - Reloads the sPay configuration file (config.yml).
Permissions
- spay.pay - Allows a player to use the /pay command.
- Default: true (Everyone can use it by default)
- spay.admin - Allows a player to use the /spay reload command.
- Default: op (Only server operators can use it by default)
Configuration (
The config.yml file is well-commented and allows you to customize:
- The prefix for all plugin messages.
- The currency symbol used in sPay messages (this is for display only; your economy plugin handles the actual currency).
- All messages sent to players (payment success, errors, insufficient funds, player not found, etc.).
Default config.yml (snippet for reference):
Code (Text):
# sPay Configuration
message-prefix: "&6[sPay] &r"
currency-symbol: "$"
messages:
payment-sent: "&aYou have successfully sent {symbol}{amount} to {receiver}."
payment-received: "&aYou have received {symbol}{amount} from {sender}."
# ... and many more customizable messages
Installation
- Ensure you have Vault and a Vault-compatible economy plugin already installed and working on your server.
- Download the sPay.jar file.
- Place the sPay.jar file into your server's /plugins folder.
- Restart or reload your server. (A full restart is recommended after adding new plugins).
- Configure messages in plugins/sPay/config.yml to your liking (optional).