Sueta

Swift-Economy [MySQL] + API

1.0.5

Enhanced Economy System For Your Server

·Plugin

Swift Economy

Description:
This plugin has been created to fill the void left by other economy plugins, such as a mysql based system. This will be the default economy plugin that I will use in all my "addons"

Commands:
/balance ~ Shows the player their balance
/pay <player> <amount> ~ Pays a specific player

/swift add <player> <amount> ~ Gives a player money
/swift remove <player> <amount> ~ Removes money
/swift reset <player> ~ Resets a player's balance
/swift lock <player> ~ Stops them from buying/selling
/swift unlock <player> ~ Unlocks an account

Permissions:
swifteco.signs ~ Ability to create buy/sell signs
swifteco.balance ~ Allows them to check their balance
swifteco.reset ~ Allows them to reset a player's balance
swifteco.remove ~ Allows them to remove money
swifteco.add ~ Allows them to add money
swifteco.lock ~ Locks an account
swifteco.unlock ~ Unlocks an account

Features:
- MySQL (Optional)
- Configurations
- Buy/Sell signs
-Locking Accounts

Other Plugins:
-COM: Minecraft (Coming soon)
-PM me if you use this plugin

Signs:
To create a buy sign, this is the format

[Purchase] ~ First line
<amount to give> ~ Second line
<item name> ~ Third line
<cost> ~ Fourth line

To create a sell sign, this is the format

[Sell] ~ First Line
<amount to sell> ~ Second line
<item name> ~ Third line
<cost> ~ Fourth line

For Developers:

#I do not support static functions anymore, however, you can still use static functions with my non static functions

#Initiate the SwiftEconomyAPI as an object with

SwiftEconomyAPI swiftEconomyAPI = new SwiftEconomyAPI();

#You're all set you can now access my API


#To get the player's money DO NOT USE the getMoney function, as I already update that periodically through the plugin for you. Simply do this

double money = SwiftEconomy.playerMoney.get(player.getName);

*Logo Designed and Owned by Apple Inc.*

Similar projects

Plugin →