# Configuration for BeastTokens by MrAxeTv
# Plugin use intended for MC 1.7 - 1.20+
Options:
#Update notifications on join enable/disable
UpdateNotifications: true
# MySQL, File, and TokenEnchant are supported database drivers.
# When you are changing drive restart server don t use /reload or /token reload
Drive: File
# Amount of tokens that player starts with.
StartingAmount: 0
#Max amount of tokens which player can have.
MaxAmount: 10000000000
#Allow decimal amount(Admin will still be able to set decimal amount to player if this feature is disabled!)
DecimalAmount: true
#Format for balance placeholder '#' will not show digits which are 0
#For example if balance of player is 2000.000 it will not show zeros after "." in case balance is 2000.05 it will be shown normally!
BalanceFormat: ###,##0.##
#Minimal amount to make transaction
MinimumPayAmount: 0.001
# Enable token drops from Mobs/Block/Farming.
TokenDrops:
#Player Token Drops
Player:
Enabled: false
#Mobs Token Drops
Mobs:
Enabled: false
#Mining Token Drops
Mining:
Enabled: false
#Farming Token Drops
Farming:
Enabled: false
#Fishing Token Drops
Fishing:
Enabled: false
#MythicMobs Token Drops
MythicMobs:
Enabled: false
#Disallow placing tokens into enderchest!
DisallowEnderChest: false
# Main command shows player balance
MainCmdBalance: false
# Enable this if you want to have GUI menu for player to confirm there purchase.
ConfirmMenu:
Enabled: false
#MySql Connection Information
#To turn MySql on you need to change "Drive: MYSQL" on top of config!!!!!!
MySQL:
Host: localhost
Port: 3306
Database: DataName
User: UserName
Password: '1234'
Table-name: "BeastTokens"
UseSSL: false
# You can specify driver for database current default is 'com.mysql.jdbc.Driver'(5.x.x)
#Versions:
#Mysql 5.x.x - Driver: "com.mysql.jdbc.Driver"
#Mysql 8.x.0 - Driver: "com.mysql.cj.jdbc.Driver"
Driver: "com.mysql.jdbc.Driver"
# These settings apply to the MySQL connection pool.
# - The default values will be suitable for the majority of users.
# - Do not change these settings unless you know what you're doing!
Pool-settings:
# Sets the maximum size of the MySQL connection pool.
# - Basically this value will determine the maximum number of actual
# connections to the database backend.
# - More information about determining the size of connection pools can be found here:
# https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
Maximum-pool-size: 8
# Sets the minimum number of idle connections that the pool will try to maintain.
# - For maximum performance and responsiveness to spike demands, it is recommended to not set
# this value and instead allow the pool to act as a fixed size connection pool.
# (set this value to the same as 'maximum-pool-size')
Minimum-idle: 5
# This setting controls the maximum lifetime of a connection in the pool in milliseconds.
# - The value should be at least 30 seconds less than any database or infrastructure imposed
# connection time limit.
Maximum-lifetime: 1800000 # 30 minutes
# This setting controls the maximum number of milliseconds that the plugin will wait for a
# connection from the pool, before timing out.
Connection-timeout: 5000 # 5 seconds
#Auto save tokens to database on specified delay(Time unit are seconds).
AutoSave:
Enabled: true
BroadcastMessage: true
Delay: 300
#This will sync amount of tokens for servers which are connected to mysql in case you update amount of tokens for player which
# is on other server in your network.
#You need to install BeastTokens in Bungee plugins to!
BungeeSync:
# Wont work if you are not using Mysql Drive!
Enabled: false
#Server name recommend using names from Bungee
Server: "Factions"
#Bungee Ip address
Ip: 0.0.0.0
# Port which is set in VelocityHook bconfig.yml on Proxy server!
Port: 5026
#Default shop which will be open by /token shop
DefaultShop: "Example"
#Commands Aliases!
Aliases:
#Player command aliases!
Player: [ tokens, btoken, btokens]
#Admin command aliases!
Admin: [beasttokenadmin,bta,beasttokensadmin,beasttokens]
#Fallow all transactions with tokens.
DataLogs:
Enabled: false
#Track token drops from mobs.
LogMobDrops: false
#Track token drops from mining.
LogBlockDrops: false
#Track token drops from farming.
LogFarmingDrops: false
#This can be intense task so keep in mind if you have a lot of players keep delay bigger.
BalanceTop:
#BalanceTop list update delay time in seconds!
Update: 300
# Update balance top when player joins server could be intense on CPU.
UpdateOnJoin: false
#Update on command /tokens baltop!
UpdateOnCommand: true
WithdrawItem:
Item: PLAYER_HEAD
NBT-tag: "bTokens"
#Works on 1.14+
CustomModelData: 0
#Enable custom name over item when it is dropped on floor works with 1.8+ versions...
Hologram:
Enabled: true
Name: "&4&lBeast&b&lTokens &6&lx%tokens%"
#Item glow
Glow: true
#Drop to the floor if inventory is full
FullInventoryDropFloor: true
#Custom skins for head can be found at https://minecraft-heads.com
#This will work if item is set to PLAYER_HEAD material!
#You can remove 'SkullName' in that case server will take head from player which did token withdraw!
SkullName: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDI1MzczY2M1MjQ2YjUyYzVhYTJhYWE3YmZhYzYxYzAyMGIyYTBmYzAzOTQxNjIzNzIzYjExNDBiNzFmZTQ1YyJ9fX0="
Player:
Name: "&4&lBeast&b&lTokens &7(Right-Click)"
Lore:
- "&dValue:&r %tokens%"
- "&dSigner:&r %player%"
Server:
Name: "&4&lBeast&b&lTokens &7(Right-Click)"
Lore:
- "&dValue:&r %tokens%"
- "&dSigner:&r Beast Tokenizer"
Sounds:
Redeem:
Enabled: true
Sound: ENTITY_EXPERIENCE_ORB_PICKUP
Withdraw:
Enabled: true
Sound: ENTITY_MAGMA_CUBE_SQUISH
Limits:
Min: 25
Max: 1000000
MaxStockSize: 64
Sign:
Title: "[&4&lB&b&lT&0]"
Buy: "&2Buy Tokens"
AmountColor: "&9"
CostCurrency: "&5$"
OpenShop: "&2Click Here"
#Config version (PLEASE DO NOT EDIT)
ConfigVersion: 3.4
Messages
Code (Text):
Prefix: '&7[&4Beast&bTokens&7]&e'
Help:
- "&6&m==============[&f &4Beast&bTokens &eHelp &6&m]============="
- "&b/BeastTokens Shop <name> &8: &7Spend your tokens"
- "&b/BeastTokens List &8: &7List of Shops!"
- "&b/BeastTokens BalTop &8: &7Top 10 Players!"
- "&b/BeastTokens Balance &8: &7Check your tokens balance!"
- "&b/BeastTokens Balance <player> &8: &7Check another player's balance!"
- "&b/BeastTokens Pay <player> <amount> &8: &7Give another player tokens!"
- "&b/BeastTokens Withdraw <amount> &8: &7Withdraw your tokens to item!"
- "&6&m================================================"
- "&6&m================================================"
AdminHelp:
- "&6&m=============[&f &4Beast&bTokens &eAdmin &6&m]============="
- "&b/BeastTokensAdmin Add <player> <amount> &8: &7Add tokens to a player's balance!"
- "&b/BeastTokensAdmin AddAll <amount> &8: &7Add tokens to all online players balance!"
- "&b/BeastTokensAdmin Remove <player> <amount> &8: &7Remove tokens from a player's balance!"
- "&b/BeastTokensAdmin Set <player> <amount> &8: &7Set a player's tokens balance!"
- "&b/BeastTokensAdmin GiveTokenNote <player> <amount> &8: &7Give 'Token Note' to player!"
- "&b/BeastTokensAdmin BlockInfo &8: &7It will show you name of material which you have placed on floor!"
- "&7This will help with configuration of block.yml and farming.yml "
- "&b/BeastTokensAdmin PlayerShopLimit &8: &7Shop limits for bought amount of items per player!"
- "&b/BeastTokensAdmin ShopLimit &8: &7Shop limits for bought amount of items per server!"
- "&b/BeastTokensAdmin UpdateBoosters &8: &7Reload all players boosters on server!"
- "&b/BeastTokensAdmin ShopManager <shop> rotate &8: &7Reload all players boosters on server!"
- "&b/BeastTokensAdmin Reload &8: &7Reload the plugin!"
- "&6&m================================================"
LimitsHelp:
Player:
- "&6&m=============[&f &4Beast&bTokens &eLimits &6&m]============="
- "&b/BeastTokensAdmin PlayerShopLimit <player> &8: &7See all items on which player has limits!"
- "&b/BeastTokensAdmin PlayerShopLimit <player> <shop> &8: &7See items in specific shop in which player has limits!"
- "&b/BeastTokensAdmin PlayerShopLimit <player> <shop> set <itemId> <size> &8: &7Set how many items has payer bought!"
- "&b/BeastTokensAdmin PlayerShopLimit <player> <shop> reset <itemId> &8: &7Reset bought item count by players back to zero!"
- "&b/BeastTokensAdmin PlayerShopLimit <player> <shop> resetall &8: &7Reset all bought items count for specific shop by players back to zero!"
- "&b/BeastTokensAdmin PlayerShopLimit <player> resetall &8: &7Reset all bought items count by players back to zero!"
- "&6&m================================================"
Server:
- "&6&m=============[&f &4Beast&bTokens &eLimits &6&m]============="
- "&b/BeastTokensAdmin ShopLimit &8: &7See all shops which have limits!"
- "&b/BeastTokensAdmin ShopLimit <shop> &8: &7List items in specific shop with limits!"
- "&b/BeastTokensAdmin ShopLimit <shop> Set <itemId> <size> &8: &7Set amount of sold items in shop!"
- "&b/BeastTokensAdmin ShopLimit <shop> Reset/Clear <itemId> &8: &7Reset limit amount in specific shop!"
- "&b/BeastTokensAdmin ShopLimit <shop> ResetAll/ClearAll &8: &7Reset all limits in specific shop!"
- "&b/BeastTokensAdmin ShopLimit ResetAll/ClearAll &8: &7Reset all limits in all shops!"
- "&6&m================================================"
Player:
Balance: "%prefix% &eYou have &b%tokens% &etokens!"
BalanceSet: "%prefix% &eYour balance has been set to &b%tokens% &etokens!"
PayHelp: "%prefix% &eUse: &b/BeastTokens pay <player> <amount>"
MinimumPayAmount: "%prefix% The minimum amount you can pay is %minimumpayamount%."
NotOnline: "%prefix% %player% &eis not currently online."
NotEnoughTokens: "%prefix% &cYou do not have enough tokens!"
NoPermissionShop: "%prefix% &cYou don't have permission for that shop."
ShopNotExist: "%prefix% &cShop doesn't exist /token shops"
ShopList: "%prefix% ShopList: &e%shoplist%"
NoPermission: "%prefix% &cYou do not have permission to use that!"
TokenReceived: "%prefix% &eYou have received &b%receivedtokens% &etokens!"
TokenDeposit: "%prefix% &eYou have deposit &b%value% &enow you have &b%tokens% &etokens!"
TokenRemoved: "%prefix% &b%removedtokens% &etokens has been taken from your account."
TokenNoteReceived: "%prefix% &eYou have received tokens note!"
NotInt: "%prefix% &cArgument witch you have type it is not a number!"
PayedAmount: "%prefix% &eYou have gave &b%giventokens% &etokens to &b%player%!"
ReceivedAmount: "%prefix% &eYou have received &b%receivedtokens% &etokens from &b%player%!"
SignUse: "%prefix% &cYou don t have permission to use this sign!"
SignBuy: "%prefix% &eYou successfully bought %tokens% tokens for $%money%!"
SignBuyCanceled: "%prefix% &cYou don't have enough money."
NotExists: "%prefix% &c%player% doesn't exist!"
NotInteger: "%prefix% &cAmount which you have type is not a number!"
PlaceToEnderChest: "%prefix% &cYou can't place tokens to enderchest!"
BalanceMaxedOut: "%prefix% &cThis transaction would exceed the balance limit for this account!(%maxtokens%)"
Withdraw:
FullInventory: "%prefix% &eYour inventory is full!"
MinAmount: "%prefix% &cYou can't withdraw less than %tokens% tokens!"
MaxAmount: "%prefix% &cYou can't withdraw more than %tokens% tokens!"
MaxStackSize: "%prefix% &cYou can't make stack bigger than %stack% items!"
NotEnoughTokens: "%prefix% &cYou don't have enough tokens to withdraw!"
Success: "%prefix% &eYou have withdrawn &2%stack%&b%symbol%%tokens%!"
Drops:
PerEvent:
Player: "%prefix% &eYou earned %receivedtokens% tokens by killing %target%!"
KilledPlayer: "%prefix% &eYou have lost %removedtokens%!"
Mobs: "%prefix% &eYou earned %receivedtokens% tokens by killing %mob%!"
Mining: "%prefix% &eYou earned %receivedtokens% tokens by mining %block%!"
Farming: "%prefix% &eYou earned %receivedtokens% tokens by farming %block%!"
Fishing: "%prefix% &eYou earned %receivedtokens% tokens by fishing %entity%!"
MythicMobs: "%prefix% &eYou earned %receivedtokens% tokens by killing %mob%!"
TimedMessage:
Player: "%prefix% &eYou earned %receivedtokens% tokens by killing players in last 60's!"
Mobs: "%prefix% &eYou earned %receivedtokens% tokens by killing mobs in last 60's!"
Mining: "%prefix% &eYou earned %receivedtokens% tokens by mining in last 60's!"
Farming: "%prefix% &eYou earned %receivedtokens% tokens by farming in last 60's!"
Fishing: "%prefix% &eYou earned %receivedtokens% tokens by fishing in last 60's!"
MythicMobs: "%prefix% &eYou earned %receivedtokens% tokens by killing MythicMobs in last 60's!"
Staff:
BalanceCmd: "%prefix% &e/BeastTokensAdmin balance <player>"
BalanceOther: "%prefix% &b%player% &ehas &b%tokens% &etokens."
CantRemovedTokens: "%prefix% &cYou can't remove less than 1 tokens!"
DontHaveTokens: "%prefix% &c%player% don't have so many tokens!"
TokenAdder: "%prefix% &b%addedtokens% &etokens added to &b%player%&e. New balance: &b%tokens% &etokens!"
TokenAddAll: "%prefix% &eYou have added &b%addedtokens% &etokens to all online players &ebalance!"
TokenRemove: "%prefix% &b%removedtokens% &ctokens taken from &b%player%&c. New balance: &b%tokens% &ctokens!"
TokenSet: "%prefix% &eYou have set &b%player% &ebalance to &b%tokens% &etokens!"
TokenNoteReceived: "%prefix% &b%player% &ehas received &b%tokens% &etoken note!"
TokenNoteMustBePositive: "%prefix% &cYou can't create token note with negative amount!"
AddLess: "%prefix% &cYou can't add less than 1 tokens!"
NegativeAmount: "%prefix% &cYou can't use negative amount!"
UpdateTopBalance: "%prefix% &eUpdating Top Balance!"
RotateShop: "%prefix% Rotating %shop% finished!"
Reload: "%prefix% &eSuccessfully reloaded the plugin!"
ConsoleCantUse: "%prefix% &cConsole can't use this command!"
HelpPage: "%prefix% &cThat help page doesn't exist!"
CreateShop: "%prefix% &cYou don't have permission to create a ShopSign!"
NoInteger: "%prefix% &cString which you type isn't a number (Tokens amount goes as 3rd line and price goes to 4th line)"
Update: "%prefix% &cThere is a new version of plugin please make an update!"
PlayerLimits: "%prefix% &e%player% has limits:"
WrongArguments: "%prefix% &cWrong arguments use &e'/BeastToken Help' &cfor more info! "
BoostersUpdate: "%prefix% &e%player% boosters updated!"
AllPlayerBoostersUpdate: "%prefix% &eAll players boosters updated!"
ConvertedData: "%prefix% &eYou have converted &b%tokens% &euser(s) to &b%type% &estorage."
AccountCreated: "%prefix% &eYou have created account for &b%player% with amount of &b%tokens% &etokens."
Shop:
AfterPurchasing: "%prefix% &eYou have spent &b%subtokens% &eyour balance is now &b%tokens% &etokens!"
InventoryFull: "%prefix% &cYour inventory is full!"
CantAfford: "%prefix% &cYou can't afford that item!"
CanAffordLore: "&aYou can afford this item."
CantAffordLore: "&cYou can't afford this item"
ItemNoPermission: "%prefix% &cYou don't have permission to buy this item!"
ItemDeclinedPermission: "%prefix% &cYou are not allowed to buy this item."
Rotated: "%prefix% &eShop has rotated check new items!"
SoldOutItem:
Server: "%prefix% &cThis item is sold out!"
Player: "%prefix% &cYou have bought max amount of this item already!"
SoldOutLore: "&6Sold Out"
BalTop:
BalTop: "&6&m=============[&r &bTop Balance Page: &2%page% &6&m]============"
BalPlayer: "&f%pcount%. &7%player%, %tokens_formated%"
BalBottom: "&6&m============================================"
PlaceHolder:
TokenSymbol: ""
StackSize: "%amount%x"
RotatingShop:
Timer:
D-H-M-S: "%d days (%02dH:%02dM:%02dS)"
H-M-S: "(%02dH:%02dM:%02dS)"
M-S: "(%02dM:%02dS)"
Loading: "!⚠ Loading ⚠!"
ShortFormat:
Thousand: "k"
Million: "M"
Billion: "B"
Trillion: "T"
Quadrillion: "Q"
Quintillion: "Quintillion"
Sextillion: "Sextillion"
Septillion: "Septillion"
Octillion: "Octillion"
Nonillion: "Nonillion"
##Config version (PLEASE DO NOT EDIT & DON'T COPY/PAST)
ConfigVersion: '2.0'
## Configuration of /token shop
## '1': - Slot number/space in /token shop. DO NOT have same number twice!
## Item: DIAMOND_SWORD - Item that is shown in the inventory slot, you can use number for item name.
## Data: 0 - Used for colored wool/glass/god apples (ex: 322:1). Normal items should have Data = 0.
## Amount: 1 - Amount of item that is shown in /token shop (ex: a stack of diamonds = 64).
## Price: 100 - Number of tokens needed to buy the item
## DisplayName: '&b&lSuper Sword' - Name for item shown. Use ' ' to have it be the normal in-game name (ex: Diamond Sword)
## Lore: '&cBest sword ever!' - Lore of the item shown. Use ' ' to have nothing.
## Glow: true or false - To make item glow.
## Commands: - Commands sent upon buying of an item. Can be multiple lines/commands, just follow format.
## - 'give %player% 276 1 name:&b&lSuper_Sword'
## rCommands: - Random Commands sent upon buying of an item. Can be multiple lines/commands, just follow format.
## - 'give %player% 276 1 name:&b&lSuper_Sword'
## - 'give %player% 300 1'
## pCommands: - Player Commands will run command like a player to run command as OP add ;OP to end of your command.
## - 'give %player% 276 1 name:&b&lSuper_Sword'
## - 'give %player% 300 1;OP'
## This above example and the command sent were created with the use of the plugin Essentials in mind.
## You can use any type of commands from any plugins, you just have to adjust the config accordingly and follow
## the proper format!
Shop:
## Number of slots in /token shop
## HUGE NOTE: Number of slots must be a multiple of 9 (9/18/27/36/45/54)
## Additionally, YOU MUST have an item defined in "Shop" for each slot number in "NumberOfSlots".
## Otherwise, you will receive an error upon using /token shop <ShopName>!
NumberofSlots: 27
## This Title will display name of Inventory
Title: '&4&lExample &b&lShop'
## This item will replace all empty Slots.
## If u don t want item put Item: Air
NoItem:
Item: STAINED_GLASS_PANE
Data: 14
Glow: true
DisplayName: '&7&l[&4&lB&b&lT&7&l]'
Lore:
- '&fHello World'
## Item in Shop
Items:
'1':
Item: Book
Data: 0
Glow: false
Amount: 1
DisplayName: '&7&l[&4&lB&b&lT&7&l]'
Price: 0
Lore:
- ''
Commands:
- ''
- ''
rCommands:
- ''
'9':
Item: Book
Data: 0
Glow: false
Amount: 1
DisplayName: '&7&l[&4&lB&b&lT&7&l]'
Price: 0
Lore:
- ''
Commands:
- ''
- ''
rCommands:
- ''
'12':
Item: DIAMOND_SWORD
Data: 0
SoldOutItem: Bone
SoldOutData: 0
Glow: false
Amount: 1
DisplayName: '&eCanAfford'
Price: 10
Limits:
Server:
All: 3
Lore:
- '&cPlaceholder!'
- '&cShows does player can buy item %canafford%'
- '&bSelling amount: %limit%'
- '&bPlayer balance tokens'
- '&6Standard format %beasttokens_tokens%'
- '&6Short format %beasttokens_tokens_formated%'
- '&6Raw format %beasttokens_tokens_raw%'
- '&6Item price: %price%'
Commands:
- 'say %player% the placeholder is %canafford%'
- ''
rCommands:
- ''
'14':
Item: BOOK
Data: 0
Glow: false
Amount: 1
DisplayName: '&aExample Item'
Price: 25
Lore:
- '&eThis is the &aExampleItem'
- '&eCost: &a25'
- '%canafford%'
Commands:
- 'say Hi %player%'
## Random command Example
rCommands:
- 'give %player% diamond 1 name:&bShiny_Diamond'
- 'give %player% Stone 1'
- 'give %player% dirt 1'
## Run Command as player
pCommands:
- 'tpa KikiCro26'
'16':
Item: GLASS
Data: 0
Glow: false
Amount: 1
DisplayName: '&dMob Tokens'
Price: 15
Lore:
- '&cYou can set if mobs will drop tokens'
- '&cIn the Mob file in the plugin folder'
- '&cAnd you can edit the percentages in the file'
Commands:
- ''
- ''
rCommands:
- ''
'19':
Item: Book
Data: 0
Glow: false
Amount: 1
DisplayName: '&7&l[&4&lB&b&lT&7&l]'
Price: 0
Lore:
- ''
Commands:
- ''
- ''
rCommands:
- ''
'22':
Item: PAPER
Data: 0
Glow: false
Amount: 1
DisplayName: '&6Multiple Shops'
Price: 0
Lore:
- '&cYou can create Multiple shops just by'
- '&cAdding it to a new line! If youre still confused'
- '&cJust check the Shops file and see how I did it!'
- '&cCheck the shops list with the command /token list'
Commands:
- 'token list'
- ''
rCommands:
- ''
'24':
Item: 383
## For 1.8.x or lower version use spawner numbers id in Data:
Data: 0
## For 1.9.x or bigger version use EggType: Skeleton
EggType: 'LavaSlime'
Amount: 1
DisplayName: '&4Mob Egg'
Price: 10
Lore:
- '&e'
Commands:
- ''
- ''
rCommands:
- ''
'27':
Item: Book
Data: 0
Glow: false
Amount: 1
DisplayName: '&7&l[&4&lB&b&lT&7&l]'
Price: 0
Lore:
- ''
Commands:
- ''
rCommands:
- ''