Information: ArchonMobcoins is a secondary currency where players obtain mobcoins by killing mobs or mining blocks. Players can then buy items from shops that you create in the config file this can be a great way of engaging the player to play more.
Pictures:
Commands: /mobcoins - view your balance /mobcoins shop - view the shops /mobcoins withdraw {amount} - withdraw mobcoins /mobcoins give {player} {amount} - give players mobcoins /mobcoins set {player} {amount} - set players mobcoins. /mobcoins remove {player} {amount} - remove mobcoins from players. /mobcoins pay {player} {amount} - pay another player mobcoins. /mobcoins top - view the mobcoin top /mobcoin info - show basic info about a player like multipliers and mobcoins etc. /mobcoins refresh <shop>
Permissions: Archonmobcoins.admin Placeholders: %archonmobcoins_mobcoins% - Shows the mobcoin balance unformatted %archonmobcoins_formattedmobcoins% - Shows the mobcoin balance formatted like 1000 will be 1k %archonmobcoins_{shopname} - Will show the timer for the shop.
Files:
Code (Text):
#The timers are in minutes
Timers:
Mobcoin-Top-Timer: 60
ReceivedMobcoin-Message-Timer: 5
Save-Task: 40
Mobcoin-Multipliers:
rank1:
#Set the permission to the multiplier
Permission: 'archonmobcoins.mulitplier.rank1'
#The chance mulitplier will be added the default chance meaning
#If you have a 5% chance of getting mobcoin it will now be 10%
#if you only want the amount multiplier to work then set this to 0
Chance-Mulitplier: 5
#The amount mulitplier will work the same way as the chance multiplier
#So if you kill a zombie and the default amount is 0.8 then you will get an extra 0.2 mobcoin
Amount-Mulitplier: 0.2
rank2:
#Set the permission to the multiplier
Permission: 'archonmobcoins.mulitplier.rank2'
Chance-Mulitplier: 10
Amount-Mulitplier: 0.5
rank3:
#Set the permission to the multiplier
Permission: 'archonmobcoins.mulitplier.rank3'
Chance-Mulitplier: 20
Amount-Mulitplier: 1.5
#This section is when you withdraw mobcoin
Mobcoin-Item:
Individual-Items: false
Material: 'DOUBLE_PLANT'
Data: 0
Name: '&b&lMobcoin'
Lore:
- '&7Amount to withdrawn: &b{amount} &7mobcoins'
- '&7Right click to claim the mobcoins'
#Here you change the top 10 of players with the most mobcoins.
Mobcoin-Top:
Mobcoin-Top-Header: '&8&n----{&b&lMobcoins Top&8&n}----'
Mobcoin-Top-Format: '&b{ranknumber}. &7{player} Mobcoins: &b{mobcoins}'
Mobcoin-Top-Footer: '&7Top 10 of &b{mobcoin_players} mobcoin players'
Code (Text):
#You can disable any message you like type Disable: true to disable a message
#You can remove prefixes from every message you type Disable-Prefix: true
PREFIX: '&8&l(&cMultiMobcoins&8&l)'
SHOP_DOES_NOT_EXIST:
Messages:
- '&cThat shop does not exist'
NO_PERMISSION:
Messages:
- '&cYou dont have permission to do this'
PLAYER_DOES_NOT_EXIST:
Messages:
- '&7That player does not exist'
NOT_ENOUGH_MOBCOINS:
Messages:
- '&cYou dont have enough mobcoins to do this'
MOBCOIN_BALANCE:
Messages:
- '&7You have &b{formatted_balance} &7mobcoins'
GIVE_COMMAND:
#If you want to disable a message then add Disabled and set it to true
Disabled: false
Messages:
- '&7You have given &b{formatted_balance} mobcoins to &7{target}'
GIVE_TARGET_COMMAND:
Messages:
- '&7You have been given &b{formatted_balance} mobcoins'
SET_COMMAND:
Messages:
- '&7Your have set &b{target}s &7mobcoin account to &b{amount} &7mobcoins'
SET_TARGET_COMMAND:
Messages:
- '&7Your account has been set to &b{formatted_balance} &7mobcoins'
REMOVE_COMMAND:
Messages:
- '&7You have removed &b{formatted_balance} mobcoins from &b{target}'
REMOVE_TARGET_COMMAND:
Messages:
- '&b{amount} &7mobcoins has been removed from your mobcoins balance'
WITHDRAW_COMMAND:
Messages:
- '&7You have withdrawn &b{formatted_balance} &7mobcoins'
WITHDRAW_CONFIRM:
Messages:
- '&b{amount} &7mobcoins has been added to your account'
RECEIVED_MOBCOIN:
Messages:
- '&7You have received &b{formatted_balance} &7mobcoins in the past 5 minutes'
BOUGHT_ITEM:
Messages:
- '&7You have bought {item} &7for &b{amount} &7mobcoins'
REFRESH_SHOP:
Messages:
- ''
- '&b{shop} &7has been refresed'
- ''
MOBCOIN_TOP:
Messages:
- ''
- '&b&lMobcoin top has been updated'
- ''
INFORMATION_COMMAND:
Disable-Prefix: true
Messages:
- '&8&n---{ &c&lMobcoin Info &8&n}---'
- ''
- '&7Mobcoins: &b{formatted_balance}'
- ''
- '&8&n---{ &c&lMultipliers &8&n}---'
- ''
- '&7Chance Multiplier: &b{chancemultiplier}'
- '&7Amount Multiplier: &b{amountmultiplier}'
SAVING_MOBCOINS:
Messages:
- '&7Mobcoin data has now been saved!'
Main-Menu:
common_shop_item:
#Please make sure you type the right name here.
Shop: 'common_shop'
Material: 'COAL_BLOCK'
Data: 0
Name: '&b&lCommon Shop'
Lore:
- '&7Click to open the common shop'
Slot: 12
epic_shop_item:
#Please make sure you type the right name here.
Shop: 'epic_shop'
Material: 'IRON_BLOCK'
Data: 0
Name: '&d&lEpic shop'
Lore:
- '&7Click to open the epic shop'
Slot: 13
legendary_shop_item:
Shop: 'legendary_shop'
Material: 'DIAMOND_BLOCK'
Data: 0
Name: '&6&lLegendary Shop'
Lore:
- '&7Click to open the legendary shop'
Slot: 14
special_shop_item:
Shop: 'special_shop'
Material: 'EMERALD_BLOCK'
Data: 0
Name: '&c&lSpecial Shop'
Lore:
- '&7Click to open the special shop'
Slot: 22
donor_shop_item:
Shop: 'donor_shop'
Material: 'GOLD_BLOCK'
Data: 0
Name: '&a&lDonor Shop'
Lore:
- '&7Click to open the donor shop'
Slot: 4
Shops:
#The name of the shop
common_shop:
dirt:
Material: 'DIRT'
Data: 0
Name: '&b&l64x Dirt'
Lore:
- '&7Price: &b{amount} mobcoins'
#Make items glow
Glow: true
Price: 55.5
#All bought items will be executed as commands
Command: 'give {player} dirt 64'
stone:
Material: 'STONE'
Data: 0
Name: '&b&l64x Stone'
Lore:
- '&7Price: &b{amount} mobcoins'
Price: 55.5
Command: 'give {player} stone 64'
sign:
Material: 'SIGN'
Data: 0
Name: '&b&l1x sign'
Lore:
- '&7Price: &b{amount} mobcoins'
Price: 55.5
Command: 'give {player} sign 64'
wood:
Material: 'WOOD'
Data: 0
Name: '&b&l64x wood'
Lore:
- '&7Price: &b{amount} mobcoins'
Price: 55.5
Command: 'give {player} wood 64'
apple:
Material: 'APPLE'
Data: 0
Name: '&b&l64x Apples'
Lore:
- '&7Price: &b{amount} mobcoins'
Price: 55.5
Command: 'give {player} apple 64'
iron_ingot:
Material: 'IRON_INGOT'
Data: 0
Name: '&b&l64x Iron Ingot'
Lore:
- '&7Price: &b{amount} mobcoins'
Price: 55.5
Command: 'give {player} iron_ingot 64'
diamond:
Material: 'DIAMOND'
Data: 0
Name: '&b&l64x Diamond'
Lore:
- '&7Price: &b{amount} mobcoins'
Price: 55.5
Command: 'give {player} diamond 64'
emerald:
Material: 'EMERALD'
Data: 0
Name: '&b&l64x Emerald'
Lore:
- '&7Price: &b{amount} mobcoins'
Price: 55.5
Command: 'give {player} emerald 64'
epic_shop:
rank1:
Material: 'PAPER'
Data: 0
Name: '&b&lRank 1'
Lore:
- '&7Right click get the first rank on the server!'
- '&7Price: &b{amount} &7mobcoins'
Price: 1000
Command: 'pex user {player} group add rank1'
rank2:
Material: 'PAPER'
Data: 0
Name: '&b&lRank 2'
Lore:
- '&7Right click get the second rank on the server!'
- '&7Price: &b{amount} &7mobcoins'
Price: 2000
Command: 'pex user {player} group add rank2'
key1:
Material: 'TRIPWIRE_HOOK'
Data: 0
Name: '&b&lKey 1'
Lore:
- '&7Price: &b{amount} &7mobcoins'
- '&7Only &b{limit} &7left'
Command: 'crate key give {player} key1 1'
key2:
Material: 'TRIPWIRE_HOOK'
Data: 0
Name: '&b&lKey 2'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 600
Command: 'crate key give {player} key2 1'
key3:
Material: 'TRIPWIRE_HOOK'
Data: 0
Name: '&b&lKey 3'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 700
Command: 'crate key give {player} key2 1'
key4:
Material: 'TRIPWIRE_HOOK'
Data: 0
Name: '&b&lKey 4'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 700
Command: 'crate key give {player} key2 1'
legendary_shop:
rank3:
Material: 'PAPER'
Data: 0
Name: '&b&lRank 1'
Lore:
- '&7Right click get the third rank on the server!'
- '&7Price: &b{amount} &7mobcoins'
Price: 1000
Command: 'pex user {player} group add rank3'
rank4:
Material: 'PAPER'
Data: 0
Name: '&b&lRank 4'
Lore:
- '&7Right click get the fourth rank on the server!'
- '&7Price: &b{amount} &7mobcoins'
Price: 1000
Command: 'pex user {player} group add rank4'
money100m:
Material: 'BOOK'
Data: 0
Name: '&a&l$ 100m'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 3000
Command: 'eco give {playe} 100000000'
money200m:
Material: 'BOOK'
Data: 0
Name: '&a&l$ 200m'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 3500
Command: 'eco give {playe} 200000000'
special_shop:
monthlycrate:
Material: 'CHEST'
Data: 0
Name: '&b&lMonthly Crate'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 5000
Command: 'monthlycrate give {player} somemonth 1'
toprank:
Material: 'PAPER'
Data: 0
Name: '&b&lTop rank'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 10000
Command: 'eco give {player} 200000000'
1b:
Material: 'BOOK'
Data: 0
Name: '&a&l$ 1 Billion'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 3500
Command: 'eco give {player} 10000000000'
2b:
Material: 'BOOK'
Data: 0
Name: '&a&l$ 2 Billion'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 3500
Command: 'eco give {player} 20000000000'
donor_shop:
dirt:
Material: 'Dirt'
Data: 0
Name: '&a&lDirt'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 3500
Command: 'eco give {player} 20000000000'
gold:
Material: 'GOLD_INGOT'
Data: 0
Name: '&a&lGold ingot'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 3500
Command: 'eco give {player} 20000000000'
coal:
Material: 'COAL'
Data: 0
Name: '&a&lCoal'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 3500
Command: 'eco give {player} 20000000000'
diamond:
Material: 'DIAMOND'
Data: 0
Name: '&a&lDiamond'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 3500
Command: 'eco give {player} 20000000000'
emerald:
Material: 'EMERALD'
Data: 0
Name: '&a&lEmerald'
Lore:
- '&7Price: &b{amount} &7mobcoins'
Price: 3500
Command: 'eco give {player} 20000000000'
Shop-Settings:
common_shop:
#Set the permission for the shop.
#If you don't want a permission then set this to 'NONE'
Permission: 'archonmobcoins.commonshop'
#The timer is in seconds.
#If you dont want a timer set this to -1
Timer: 300
#Amount of items to pick
#You will need atleast 8 shop items before it can pick 4 shop items.
Amount-to-pick: 3
#Menu name of the shop
Menu-Name: '&b&lCommon Shop'
#Size of the gui
Size: 27
#The slots were the items will be set
Slots:
- '12'
- '13'
- '14'
#Here you can place the static items meaning
#Items that only will show information.
#These items will show in the shop menu
Static-Items:
#The names doesnt matter here you can name them what ever
Timer-Item:
Material: 'WATCH'
Name: '&7Countdown timer'
Lore:
- '&7Timer til next items'
- '&b{timer}'
Slot: 4
epic_shop:
#Set the permission for the shop.
#If you don't want a permission then set this to 'NONE'
Permission: 'archonmobcoins.epicshop'
#The timer is in seconds.
#If you dont want a timer set this to -1
Timer: 300
#Amount of items to pick
#You will need atleast 8 shop items before it can pick 4 shop items.
Amount-to-pick: 3
#Menu name of the shop
Menu-Name: '&d&lEpic Shop'
#Size of the gui
Size: 27
#The slots were the items will be set
Slots:
- '12'
- '13'
- '14'
#Here you can place the static items meaning
#Items that only will show information.
#These items will show in the shop menu
Static-Items:
#The names doesnt matter here you can name them what ever
Timer-Item:
Material: 'WATCH'
Name: '&7Countdown timer'
Lore:
- '&7Timer til next items'
- '&b{timer}'
Slot: 4
legendary_shop:
#Set the permission for the shop.
#If you don't want a permission then set this to 'NONE'
Permission: 'archonmobcoins.legendaryshop'
#The timer is in seconds.
#If you dont want a timer set this to -1
Timer: 300
#Amount of items to pick
#You will need atleast 8 shop items before it can pick 4 shop items.
Amount-to-pick: 2
#Menu name of the shop
Menu-Name: '&6&lLegendary Shop'
#Size of the gui
Size: 27
#The slots were the items will be set
Slots:
- '22'
- '13'
#Here you can place the static items meaning
#Items that only will show information.
#These items will show in the shop menu
Static-Items:
#The names doesnt matter here you can name them what ever
Timer-Item:
Material: 'WATCH'
Name: '&7Countdown timer'
Lore:
- '&7Timer til next items'
- '&b{timer}'
Slot: 4
special_shop:
#Set the permission for the shop.
#If you don't want a permission then set this to 'NONE'
Permission: 'archonmobcoins.specialshop'
#The timer is in seconds.
#If you dont want a timer set this to -1
Timer: 300
#Amount of items to pick
#You will need atleast 8 shop items before it can pick 4 shop items.
Amount-to-pick: 2
#Menu name of the shop
Menu-Name: '&c&lSpecial Shop'
#Size of the gui
Size: 27
#The slots were the items will be set
Slots:
- '13'
- '22'
#Here you can place the static items meaning
#Items that only will show information.
#These items will show in the shop menu
Static-Items:
#The names doesnt matter here you can name them what ever
Timer-Item:
Material: 'WATCH'
Name: '&7Countdown timer'
Lore:
- '&7Timer til next items'
- '&b{timer}'
Slot: 4
donor_shop:
#Set the permission for the shop.
#If you don't want a permission then set this to 'NONE'
Permission: 'archonmobcoins.donorshop'
#The timer is in seconds.
#If you dont want a timer set this to -1
Timer: -1
#Amount of items to pick
#You will need atleast 8 shop items before it can pick 4 shop items.
Amount-to-pick: 5
#Menu name of the shop
Menu-Name: '&c&lSpecial Shop'
#Size of the gui
Size: 27
#The slots were the items will be set
Slots:
- '9'
- '10'
- '11'
- '12'
- '13'
#Here you can place the static items meaning
#Items that only will show information.
#These items will show in the shop menu
Static-Items:
#The names doesnt matter here you can name them what ever
Timer-Item:
Material: 'WATCH'
Name: '&7Countdown timer'
Lore:
- '&7Timer til next items'
- '&b{timer}'
Slot: 4
Code (Text):
#Enabled or disable this feature
#Set this to false to disable
Enabled: true
Mobs:
ZOMBIE:
Chance: 5
Amount: 0.5
BLAZE:
Chance: 5
Amount: 0.7
IRON_GOLEM:
Chance: 15
Amount: 0.9
SKELETON:
Chance: 5
Amount: 0.5
Code (Text):
#Enabled or disable this feature
#Set this to false to disable
Enabled: true
Blocks:
COAL_BLOCK:
Chance: 5
Amount: 0.5
IRON_BLOCK:
Chance: 5
Amount: 0.5
GOLD_BLOCK:
Chance: 10
Amount: 0.5
DIAMOND_BLOCK:
Chance: 15
Amount: 1.5
EMERALD_BLOCK:
Chance: 20
Amount: 3
API:
Code (Text):
[CODE]#This returns the api class
MultiMobcoins.getInstance().getApi();
//Get players mobcoin balance
public double getMobcoinBalance(Player player){
}
//Set players mobcoins
public void setMobcoins(Player player, double amount){
}
//Give players mobcoins
public void giveMobcoins(Player player, double amount){
}
//Remove players mobcoins
public void removeMobcoins(Player player, double amount){
}
//Withdraw mobcoins using the item
public void withdrawMobcoinItem(Player player, int amount){
}
//Get the shop object
public Shop getShop(String shop){
}
//Refreshes a shop
public void refreshShop(Shop shop){
}
//Check if the shopname is a shop
public boolean isShop(String shop){
}
//Get the mobcoinmob object
public MobcoinMob getMobcoinMob(EntityType type){
}
//Get the mobcoinblock object
public MobcoinBlock getMobcoinBlock(Block block){
}
//Check if a player has enough mobcoins
public boolean hasEnoughMobcoins(Player player, double amount){
}
//Get the chancemultiplier
public int getChanceMultiplier(Player player){
}
//Get the amount multiplier.
public double getAmountMultiplier(Player player){