Sueta

MultiMobcoins ✨Shop Items based on timer ✨ Inspired by Arch

2021-10-28

A Secondary Server Currency With All In Mind ✨ Get Mobcoins For Mobs or even Blocks!

·Plugin

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:

Config.yml
#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'
messages.yml
#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!'

Similar projects

Plugin →