-+-
CoinShop
Add a custom currency to your network.
-+-
This plugin has a handful of features that will benefit your server in adding a custom currency to your server alongside a shop in the form of the GUI to reward your players for earning this currency. Coins (or whatever you choose to name them) can be added to players using commands and everything is stored via H2 OR MYSQL, This option can be changed in the config.yml. The GUI can have multiple pages and the order of the items is the order that is placed in the config. This is possibly going to change in future though.
Commands : Permissions
/coins give (user) (amount) : coinshop.staff.give
/coins reload: coinshop.staff.reload
/coins take (user) (amount): coinshop.staff.take
/coins balance (user): DEFAULT
/coins pay (user) (amount) : DEFAULT
/coinshop: DEFAULT
/coins help : DEFAULT
/coins top : DEFAULT
Configuration:
Code (Text):
#
#
#
# CoinShop Plugin - Add a new currency to your server for your users.
# Coded by Jayie.
#
#
#
# Default Settings.
# These are all settings that are important in all
# aspects of the plugin.
Plugin:
Prefix: '&8[&6CoinShop&8]'
Database:
Type: 'H2'
Address: ''
Port: ''
Username: ''
Password: ''
DatabaseName: ''
# Messages
Messages:
User-Based:
Pay-Coins:
User: 'You have paid %amount% coins to %target%.'
Target: 'You have recieved %amount% coins from %target%.'
Open-Menu:
User: 'Opening the coinshop...'
View-Coins:
User: '&6Your balance is currently &e%amount%.'
Target: '&6%target% has a balance of &e%amount%.'
Staff-Based:
Award-Coins:
User: 'You have awarded %amount% coins to %target%.'
Target: 'You have received %amount% coins.'
Take-Coins:
User: 'You have removed %amount% coins from %target%.'
# Set this to '' to not display a message.
Target: ''
Auto-Send:
User-Join:
- '&6You currently have &f&l%amount% &6of coins.'
- '&e&oUse these at /coinshop.'
User-Purchase:
- 'You have purchased %item% for %amount% coins.'
- 'You now have %amount% coins left to spend.'
Leaderboard:
Amount: 10
Title: '&6&oCoins Leaderboard'
Format: '&6%position%: &e%user% has %coins% coins.'
HelpMessage:
- ''
- '&6&lCoinShop Plugin Help.'
- ''
- '&e• /paycoins <user> <amount> - Allows you to pay a user coins from your balance.'
- '&e• /viewcoins <user> - View another users coins, Leave <user> blank to view your own.'
- '&e• /coinstop - Allows you to view the leaderboard for coins.'
- '&e• /coinshop - Opens the main plugin GUI.'
- '&e• /coinshelp - Opens this menu.'
- ''
MenuGUI:
Items:
Filler: 'BLACK_STAINED_GLASS_PANE'
# GUI Items
ShopItems:
0:
ItemType: 'NAME_TAG'
DisplayName: '&dVictorious Tag'
Enchants:
- 'UNBREAKING:1'
Lore:
- ''
- '&7Click to purchase.'
- ''
- 'Costs : %price%'
- ''
Price: 3000
Commands:
- 'lp user %player% permission set deluxetags.tag.epic'
- 'broadcast %player% has recieved the EPIC TAG from Coinshop!'
1:
ItemType: 'NAME_TAG'
DisplayName: '&bEpic Tag'
Enchants:
- 'UNBREAKING:1'
Lore:
- ''
- '&7Click to purchase.'
- ''
- 'Costs : %price%'
- ''
Price: 3000
Commands:
- 'lp user %player% permission set deluxetags.tag.epic'
- 'broadcast %player% has recieved the EPIC TAG from Coinshop!'
# Error messages.
Errors:
NullPlayer: 'No Player Found.'
NoPermission: 'No Permission.'
SQLError: 'The database has failed to work.'
# %correctcommand% shows the right command.
InvalidArguments: 'Invalid Arguments. Try using %correctcommand%.'
NotEnoughCoins: '&cNot enough coins to perform this action.'
Examples:
GUI -
Messages -
Please do not use the reviews as a place to report bugs, you can add my discord https://discord.gg/rYPvvQdMUU in order to report bugs. Reviews are for suggestions and honest reviews of the plugin. Thank you.
Updates due:
history management
in-game commands to add items.