WE HAVE MOVED TO SPIGOT!!!
https://www.spigotmc.org/resources/economygold.77543/
Economy Gold
A payment and economic system!
EconomyGold is a payment and an economic system. It uses a database connection to display the number of gold that players have online. The owner can access the database anywhere, allowing easy configuration and moderation. EconomyGold also comes with a completely customizable GUI that can be edited in the config.yml file. The customization uses four factors: The material of the item, the display name, the cost, and the command that will be run when a player clicks the item. How to edit/use it will be displayed below.
If a player wants to help another friend out, he/she can use the command /epay to send some gold over. To access the shop window, you can use /eshop to display all the items available. The player can buy whatever they want in the shop.
EconomyGold is also compatible with the Master which allows you to add gold to other players. The plugin is also available in the File tab.
I hope that this plugin was useful. If you have any questions be sure to leave a comment below. Thanks!
-Xp10d3
Commands:
/eshop: Opens up the GUI to buy items.
/epay <user> <amount>: Pays another user an amount specified. The player has to be online.
/eadd <user> <amount>: Gives another player a certain amount of gold.
Permissions:
master.economyadd: Allows a player to execute the command /eadd. Default permission is OP (means that any OPed player can do /eadd).
About the Master:
The Master is a separate plugin that does a few things differently. It is called a Master for a reason. The one command it has is /eadd, which allows an Administrator/Owner/OPed player to add/subtract gold from another user. It has the same setup as the regular EconomyGold plugin, requiring a database connection to work. There is a permission (see the Permissions above) that allows a user to use the command.
How to set up EconomyGold:
I suggest using XAMPP to set up the database. These are the instructions on how to set it up.
host: 0
port: 0
database: 0
username: 0
password: 0
table: 0
shop:
items:
For this next part, you need to use some kind of text editor. I use Sublime Text. Don't use Notepad. Change host: 0 to host: localhost. If you port-forwarded your database change localhost to your IPv4 address.
12. Change port: 0 to port: 3306, change username: 0 to username: root, password: 0 to password: <your password>, and table: 0 to table: player_data.
13. If
shop:
items:
Looks like:
shop: {}
Then, delete the curly brackets, press enter, and type items:
It should look like:
shop:
items:
21. Press enter after items:. This is an example of one of the units. Fill in all the necessary information.
shop:
items:
BLACK_WOOL:
name: Shepard | Cost 10
cost: 10
command: give @p black_wool
22. Repeat the same thing 18 times if you want to fill the whole shop. If you want nothing, for the material just do AIR or LIGHT_GRAY_GLASS_PANE or whatever the material is.
If you run into any issues, join the Discord link below for some help.
YouTube Link Here:
Discord: https://discord.gg/SHsPsDw