HomeJavaModsCoins [Economy, Titles, & API]
Coins [Economy, Titles, & API]
[​IMG]
About:
Hello, this is a continuation of my previous Coins plugin, needless to say it was quite popular, it required API's though and as I've advanced at development I've realized if you're going to release it, you might as well make sure it's dependency free on small stuff like that, I do that in this version, whilst having a bigger API, sounds, as well as titles. This was a plugin I created today, I will open source it at 100 downloads, and then I will post minor plugins on the repo that deal with this API, I have a few in mind :).

Features:
Here are the list of features:
(Not all of them are listed)


How to install:
Simply drag and drop the .jar into your /plugins folder. Restart and you should will have it installed!

Under the Hood:
Coins is very lightweight, extremely lightweight. On the first load of the plugin it will generate a "Coins" folder with a "user-data.yml" inside, do not touch this, as it stores the player's balances and such. Everything is stored flat file, might add MySql later on.

Another thing it does, is when a player joins, it checks if they have an account, if not, it automatically creates one with the balance "0.0".


COMMANDS & PERMISSIONS:
Check your coins: (No permission) /coins
Pay a user: (No Permission) /coins pay <player> <amount>
Set a user's balance: (Coins.set) /coins set <player> <amount>
Add to a user's balance: (Coins.add) /coins add <player> <amount>
Remove coins from a user's balance: (Coins.add) /coins remove <payer> <amount>

Screenshots:
Spoiler: Screenshots
For those of whom who read, +1 to you.
When a user joins without an account, hover over your name:
[​IMG]

When a user checks their balance:

[​IMG]

When adding money to a user's account:
[​IMG]


When a user does not have permission for a command:
[​IMG]

When a user types a unknown command that starts with /coins:
[​IMG]

API:
For those that aren't developers, API means you can basically build plugins from this. In a way, that's what bukkit/spigot is.
Add Coins.jar to your build path as an external jar, of course.
Then add this to your plugin.yml:
Code (yml):

// If it's not needed, but used, use this:
soft-depend: [Coins]

// If it's strictly required use this:
depend: [Coins]
 
Here are the methods you can access using my API:
Code (Java):

// Get a player's balance:
Coins. getMoney (player ) ;

// Set the player's balance to a specified amount
Coins. setMoney (player, amount ) ;

// Add a specified amount to a player:
Coins. addMoney (player, amount ) ;

// Remove a specified amount of money from a player:
Coins. removeMoney (player, amount ) ;

// Load the user-data.yml file in the coins folder:
Coins. loadMoney ( ) ;
 
READ ME:
For all of those who have hateful comments, and hateful reviews & bad ratings, please keep to yourself as I am a developer in learning & trying to learn just as everyone else on this site, if you would like to leave a good review, thank you. If not, please keep to yourself and thanks for reading. Want more cool stuff? Click here to view my plugins.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Coins [Economy, Titles, & API] is a free Minecraft Java mod. Downloaded 1,798 times (via Spigot). Download it and open it directly in the game.

Explore more