ModsJava
Lemon MobCoins [BungeeCord & MySQL Support]
Kill mobs and get coins that can be used to buy awesome things. Free Minecraft Java mod for 1.7, 1.8, 1.9.
⬇ Download on Spigot
This lightweight plugin allows you to get MobCoins for killing entities!
Very customizable it's own shop built-in and you can custom every message!
- Different amounts of coins to receive.
- Optional random amount between two integers of coins.
- A certain chance to give the coins.
- Customizable shop!
- Custom command for shop
- Execute any amount of commands on purchase of an item in the shop.
- Administrator commands for setting, giving and taking coins from players.
- Different help menu for admins.
- PlaceholderAPI Support!
- All messages are customizable!
- BungeeCord Support without having to use MySQL!
- MySQL Support.
- More!!
- /mobcoins - Main command
aliases: /mc /mobc /mobcoin /mcoin /mcoins - /mobcoins help - Shows help menu shows admin commands if player has lemonmobcoins.admin
- /mobcoins shop - Opens shop
- /mobcoins balance <player> - Shows balance of player if no player given will give balance of player executing the command.
- /mobcoins set <player> <balance> - Set the balance of a player
- /mobcoins give <player> <amount> - Give a player an amount of coins
- /mobcoins take <player> <amount> - Take away a certain amount of coins from a player.
- /mobcoins reset <player> - Resets the player balance of a player
- /mobcoins reload - Reload the plugin completely.
- /mshop - Opens the shop!
You can also set a custom command in the config to open the shop too this defaults to /coinshop.
Permissions:
To execute admin commands you need lemonmobcoins.admin
The admin commands are
- /mobcoins set
- /mobcoins take
- /mobcoins give
- /mobcoins reset
- /mobcoins reload
You need a permission to open the shop: lemonmobcoins.shop
When buying in the shop you also need the permission lemonmobcoins.buy.<identifier> UNLESS you have permission set to false in the config for that item!
The identifier is the name of the item in the config
so in the default config this is 'drill'
The configuration is quite straightforward
Spoiler: Configurations
Spoiler: Bukkit
# Bungeecord do you want to enable bungeecord mode? This requires the plugin to be on bungeecord and the bukkit servers you want to use this plugin on.
bungeecord : false
# Storage this is the storage section
# This allows you to define which storage type you want to use!
# Available storage types: flatfile, mysql
# If none is found it will default to flatfile!
# If choosing MySQL make sure you fill in the mysql section!
# The mysql section is straightforward fill everything in make sure the database exists and you are good to go
# The plugin itself already makes a table so do not worry about this.
storage:
type : "flatfile"
mysql:
hostname : "localhost"
port : "3306"
username : ""
password : ""
database : "lemonmobcoins"
# Mob-list
# This list is the chances and the amount of coins the mobs drop when killed.
#
# Chance: the chance for the amount to be dropped. Make this 100 if you want it to always drop the amount.
# Amount: the amount to be dropped. This can be randomized by doing:
# amount: "minimumvalue-maximumvalue"
# For example I want to drop a random amount ranging from 2 to 8 coins
# Then I would do:
# amount: "2-8"
mob-list:
blaze:
chance : 5
amount : "1-2"
skeleton:
chance : 5
amount : 1
zombie:
chance : 5
amount : 1
creeper:
chance : 8
amount : 1
enderman:
chance : 8
amount : 1
wither:
chance : 50
amount : 1
# This is the gui!
# The command is what is used to open the shop!
# Rows is the amount of rows you want in the gui make sure you set your items accordingly otherwise it will error.
# The items list allows you to add as many items as you want!
# The name // identifier can be anything and will just be used as the permission for this item.
# Glowing is if the item looks like it is enchanted.
# Permission is a boolean (true/false) if you want everyone to be able to buy this and not require a permission set this to false otherwise set it to true!
# The price in mobcoins that you need to make this purchase.
# The commands to run after purchase.
gui:
name : "&8Mob Coin Shop"
command : "/coinshop"
rows : 1
items:
drill:
material : "DIAMOND_PICKAXE"
slot : 1
amount : 1
displayname : "&bDiamond &fDrill"
glowing : true
lore :
- "&7Efficiency VI"
- "&7Unbreaking IV"
- "&7Fortune IV"
- "&7Made by the most skilled blacksmiths"
- ''
- "&8* &7Price : &6$&e100"
permission : false
price : 100
commands :
- "give %player% diamond_pickaxe{display:{Lore:[\"Made by the Most Skilled Blacksmiths\ "]},Enchantments:[{id:\"efficiency\ ",lvl:4},{id:\"fortune\ ",lvl:6}]} 1"
Code (YAML):
# Bungeecord do you want to enable bungeecord mode? This requires the plugin to be on bungeecord and the bukkit servers you want to use this plugin on.
bungeecord : false
# Storage this is the storage section
# This allows you to define which storage type you want to use!
# Available storage types: flatfile, mysql
# If none is found it will default to flatfile!
# If choosing MySQL make sure you fill in the mysql section!
# The mysql section is straightforward fill everything in make sure the database exists and you are good to go
# The plugin itself already makes a table so do not worry about this.
storage:
type : "flatfile"
mysql:
hostname : "localhost"
port : "3306"
username : ""
password : ""
database : "lemonmobcoins"
# Mob-list
# This list is the chances and the amount of coins the mobs drop when killed.
#
# Chance: the chance for the amount to be dropped. Make this 100 if you want it to always drop the amount.
# Amount: the amount to be dropped. This can be randomized by doing:
# amount: "minimumvalue-maximumvalue"
# For example I want to drop a random amount ranging from 2 to 8 coins
# Then I would do:
# amount: "2-8"
mob-list:
blaze:
chance : 5
amount : "1-2"
skeleton:
chance : 5
amount : 1
zombie:
chance : 5
amount : 1
creeper:
chance : 8
amount : 1
enderman:
chance : 8
amount : 1
wither:
chance : 50
amount : 1
# This is the gui!
# The command is what is used to open the shop!
# Rows is the amount of rows you want in the gui make sure you set your items accordingly otherwise it will error.
# The items list allows you to add as many items as you want!
# The name // identifier can be anything and will just be used as the permission for this item.
# Glowing is if the item looks like it is enchanted.
# Permission is a boolean (true/false) if you want everyone to be able to buy this and not require a permission set this to false otherwise set it to true!
# The price in mobcoins that you need to make this purchase.
# The commands to run after purchase.
gui:
name : "&8Mob Coin Shop"
command : "/coinshop"
rows : 1
items:
drill:
material : "DIAMOND_PICKAXE"
slot : 1
amount : 1
displayname : "&bDiamond &fDrill"
glowing : true
lore :
- "&7Efficiency VI"
- "&7Unbreaking IV"
- "&7Fortune IV"
- "&7Made by the most skilled blacksmiths"
- ''
- "&8* &7Price : &6$&e100"
permission : false
price : 100
commands :
- "give %player% diamond_pickaxe{display:{Lore:[\"Made by the Most Skilled Blacksmiths\ "]},Enchantments:[{id:\"efficiency\ ",lvl:4},{id:\"fortune\ ",lvl:6}]} 1"
Spoiler: BungeeCord
Code (YAML):
# Storage this is the storage section
# This allows you to define which storage type you want to use!
# Available storage types: flatfile, mysql
# If none is found it will default to flatfile!
# If choosing MySQL make sure you fill in the mysql section!
# The mysql section is straightforward fill everything in make sure the database exists and you are good to go
# The plugin itself already makes a table so do not worry about this.
storage:
type : "flatfile"
mysql:
hostname : "localhost"
port : "3306"
username : ""
password : ""
database : "lemonmobcoins"
# This allows you to define which storage type you want to use!
# Available storage types: flatfile, mysql
# If none is found it will default to flatfile!
# If choosing MySQL make sure you fill in the mysql section!
# The mysql section is straightforward fill everything in make sure the database exists and you are good to go
# The plugin itself already makes a table so do not worry about this.
storage:
type : "flatfile"
mysql:
hostname : "localhost"
port : "3306"
username : ""
password : ""
database : "lemonmobcoins"
The messages file is as easy as the config file if not easier
!
Spoiler: Messages
Code (YAML):
# Use \n for a newline!
# Use & for color codes.
RECEIVED_COINS_FROM_KILL : "&fYou received &e%amount% &fMobCoins for killing &e%entity%&f, your total balance is &e%balance%."
PURCHASED_ITEM_FROM_SHOP : "&fYou bought &e%item% &ffor &e%amount%&f coins, your balance left is &e%balance%."
NOT_ENOUGH_MONEY_TO_PURCHASE : "&fYou do not have enough funds to buy this! Your current balance is &e%balance%."
NO_PERMISSION_TO_PURCHASE : "&cYou do not have permission to buy this!"
UNKNOWN_SUBCOMMAND : "&fUnknown subcommand, try &e/mobcoins help"
ADMIN_HELP_MENU : "&e/mobcoins help &8- &fDisplay this menu\n&e/mobcoins balance &8- &fCheck your balance\n&e/mobcoins balance [name] &8- &fCheck somebody else balance\n&e/mobcoins shop\n&e/mshop &8- &fOpen the shop\n&e/mc give [name] [amount] &8- &fGive mob coins to a player\n&e/mc take [name] [amount] &8- &fTake mob coins from a player\n&e/mc set [name] [amount] &8- &fSet the balance of a player\n&e/mc reset [name] &8- &fResets player's balance\n&e/mc reload &8- &fReloads the plugin"
PLAYER_HELP_MENU : "&e/mobcoins help &8- &fDisplay this menu\n&e/mobcoins balance &8- &fCheck your balance\n&e/mobcoins balance [name] &8- &fCheck somebody else balance\n&e/mobcoins shop\n&e/mshop &8- &fOpen the shop"
OWN_PLAYER_BALANCE : "&fYour balance is &e%balance%."
OTHER_PLAYER_BALANCE : "&e%player%'s &fbalance is &e%balance%."
CONSOLE_CANNOT_USE_COMMAND : "Console cannot use this command!"
UNKNOWN_PLAYER : "&fUnknown player."
NO_PERMISSION_TO_EXECUTE : "&cYou don't have permission to execute this command!"
SET_PLAYER_BALANCE : "&fSuccessfully set &e%player%'s &fbalance to &e%balance%."
TAKE_PLAYER_BALANCE : "&fSuccessfully taken &e%amount &fcoins from &e%player%'s &fbalance."
GIVE_PLAYER_BALANCE : "&fSuccessfully given &e%amount% &fto &e%player%."
RESET_PLAYER_BALANCE : "&fSuccessfully reset &e%player%'s&f balance."
START_RELOAD : "&fReloading the &eplugin&f.."
SUCCESSFUL_RELOAD : "&fReloaded plugin &esuccessfully&f!"
FAILED_RELOAD : "&fReloading the plugin &efailed&f, please restart the server!"
INVALID_USAGE_SET_COMMAND : "&fInvalid usage, usage: &e/mobcoins set [name] [amount]"
INVALID_USAGE_GIVE_COMMAND : "&fInvalid usage, usage: &e/mobcoins give [name] [amount]"
INVALID_USAGE_TAKE_COMMAND : "&fInvalid usage, usage: &e/mobcoins take [name] [amount]"
INVALID_USAGE_RESET_COMMAND : "&fInvalid usage, usage: &e/mobcoins reset [name]"
# Use & for color codes.
RECEIVED_COINS_FROM_KILL : "&fYou received &e%amount% &fMobCoins for killing &e%entity%&f, your total balance is &e%balance%."
PURCHASED_ITEM_FROM_SHOP : "&fYou bought &e%item% &ffor &e%amount%&f coins, your balance left is &e%balance%."
NOT_ENOUGH_MONEY_TO_PURCHASE : "&fYou do not have enough funds to buy this! Your current balance is &e%balance%."
NO_PERMISSION_TO_PURCHASE : "&cYou do not have permission to buy this!"
UNKNOWN_SUBCOMMAND : "&fUnknown subcommand, try &e/mobcoins help"
ADMIN_HELP_MENU : "&e/mobcoins help &8- &fDisplay this menu\n&e/mobcoins balance &8- &fCheck your balance\n&e/mobcoins balance [name] &8- &fCheck somebody else balance\n&e/mobcoins shop\n&e/mshop &8- &fOpen the shop\n&e/mc give [name] [amount] &8- &fGive mob coins to a player\n&e/mc take [name] [amount] &8- &fTake mob coins from a player\n&e/mc set [name] [amount] &8- &fSet the balance of a player\n&e/mc reset [name] &8- &fResets player's balance\n&e/mc reload &8- &fReloads the plugin"
PLAYER_HELP_MENU : "&e/mobcoins help &8- &fDisplay this menu\n&e/mobcoins balance &8- &fCheck your balance\n&e/mobcoins balance [name] &8- &fCheck somebody else balance\n&e/mobcoins shop\n&e/mshop &8- &fOpen the shop"
OWN_PLAYER_BALANCE : "&fYour balance is &e%balance%."
OTHER_PLAYER_BALANCE : "&e%player%'s &fbalance is &e%balance%."
CONSOLE_CANNOT_USE_COMMAND : "Console cannot use this command!"
UNKNOWN_PLAYER : "&fUnknown player."
NO_PERMISSION_TO_EXECUTE : "&cYou don't have permission to execute this command!"
SET_PLAYER_BALANCE : "&fSuccessfully set &e%player%'s &fbalance to &e%balance%."
TAKE_PLAYER_BALANCE : "&fSuccessfully taken &e%amount &fcoins from &e%player%'s &fbalance."
GIVE_PLAYER_BALANCE : "&fSuccessfully given &e%amount% &fto &e%player%."
RESET_PLAYER_BALANCE : "&fSuccessfully reset &e%player%'s&f balance."
START_RELOAD : "&fReloading the &eplugin&f.."
SUCCESSFUL_RELOAD : "&fReloaded plugin &esuccessfully&f!"
FAILED_RELOAD : "&fReloading the plugin &efailed&f, please restart the server!"
INVALID_USAGE_SET_COMMAND : "&fInvalid usage, usage: &e/mobcoins set [name] [amount]"
INVALID_USAGE_GIVE_COMMAND : "&fInvalid usage, usage: &e/mobcoins give [name] [amount]"
INVALID_USAGE_TAKE_COMMAND : "&fInvalid usage, usage: &e/mobcoins take [name] [amount]"
INVALID_USAGE_RESET_COMMAND : "&fInvalid usage, usage: &e/mobcoins reset [name]"
Spoiler: BungeeCord Instructions
To enable BungeeCord Support place the jar file in all servers you want to have the support for and also on BungeeCord then make sure to enable bungeecord in the config of the bukkit servers and you are good to go!
For support or if you just want to have a nice talk go to our discord!
https://lemmotresto.com/links/discord
Please don't ask for support in the review section it's much harder for me to give you support this way and it isn't supposed to be used as a support section. If you do I will report your review!
Feel free to donate!
For suggestions and more go to my discord or shoot me a PM I love suggestions
!Thanks for using my plugin and make sure to give me a nice review!
Lemon MobCoins [BungeeCord & MySQL Support] is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 6,322 times (via Spigot). Download it and open it directly in the game.