ELECTRATOKENS V1.0
ElectraTokens is an advanced tokens plugin specially developed for minigames like survival, factions, lifesteal and other.
This plugin's special feature is the "/dropevent" command. The command spawns a chest with an specified amount of tokens in it in a random range from config.yml. If you right click the emerald in the chest, you can redeem it into your tokens balance.
PERMISSIONS:
use - electratokens.use
give - electratokens.give
set - electratokens.set
take -electratokens.take
dropevent - electratokens.dropevent
FEATURES:
MYSQL
OPTIMIZED PLUGIN
FAST USE
CONFIG.YML:
# * MYSQL DATABASE CONNECTION * #
database:
host: 127.0.0.1
port: 3306
database: electratokens
username: root
password: root
# * MESSAGES * #
messages:
helpCommand: |
&f&l---- &b&lElectraTokens Help &f&l----
&b» &f/tokens give &b<player> <amount> &7- &fGive tokens to a player.
&b» &f/tokens set &b<player> <amount> &7- &fSet a player's token amount.
&b» &f/tokens take &b<player> <amount> &7- &fTake tokens from a player.
&b» &f/tokens balance &7- &fCheck your token balance.
&b» &f/dropevent&7- &fDrop tokens as items in the world.
invalidUsage: '&b» &fInvalid usage. Use &b/tokens&f for help.'
notEnoughTokens: '&b» &fYou don''t have enough &btokens&f to do this.'
playerNotFound: '&b» &fPlayer &b{player}&f not found.'
tokensGiven: '&b» &fYou gave &b{amount}&f tokens to &b{player}.'
tokensReceived: '&b» &fYou received &b{amount}&f tokens from &b{sender}.'
tokensSet: '&b{player}''s token amount has been set to {amount}.'
tokensTaken: '&b» &fTook &b{amount}&f tokens from &b{player}.'
cannotGiveToYourself: '&b» &fYou can not give tokens to yourself.'
giveUsage: '&b/tokens give <player> <amount> - Give tokens to a player.'
setUsage: '&b/tokens set <player> <amount> - Set a player''s token amount.'
takeUsage: '&b/tokens take <player> <amount> - Take tokens from a player.'
balanceUsage: '&b/tokens balance - Check your token balance.'
balance: '&b» &fYou have &b{tokens}&f tokens!'
dropEventSeparator: '&f'
dropEventUsage: '&f/dropevent &b<amount> &7- &fDrop tokens as items in a chest in the world.'
chestSpawnMessage: '&fA token chest has spawned at the coordinates: &bX:{x}, Y:{y}, Z:{z}.'
chestOpenMessage: "&fThe player &b{player}&f has opened up the drop-event chest and won &b{tokens}&f tokens!"
redeemMessage: "&b» &fYou have received &b{tokens}&f tokens!"
tokenDisplayName: '&b&lEVENT-TOKEN'
tokenLore:
- ''
- '&7(( &7&oRight-Click to redeem &7))'
- '&fWorth: &b{tokens} tokens'
# * CHEST SPAWN RANGE * #
chestLocation:
world: world
minX: -100
maxX: 500
minZ: -100
maxZ: 500
ElectraTokens is an advanced tokens plugin specially developed for minigames like survival, factions, lifesteal and other.
This plugin's special feature is the "/dropevent" command. The command spawns a chest with an specified amount of tokens in it in a random range from config.yml. If you right click the emerald in the chest, you can redeem it into your tokens balance.
PERMISSIONS:
use - electratokens.use
give - electratokens.give
set - electratokens.set
take -electratokens.take
dropevent - electratokens.dropevent
FEATURES:
MYSQL
OPTIMIZED PLUGIN
FAST USE
CONFIG.YML:
# * MYSQL DATABASE CONNECTION * #
database:
host: 127.0.0.1
port: 3306
database: electratokens
username: root
password: root
# * MESSAGES * #
messages:
helpCommand: |
&f&l---- &b&lElectraTokens Help &f&l----
&b» &f/tokens give &b<player> <amount> &7- &fGive tokens to a player.
&b» &f/tokens set &b<player> <amount> &7- &fSet a player's token amount.
&b» &f/tokens take &b<player> <amount> &7- &fTake tokens from a player.
&b» &f/tokens balance &7- &fCheck your token balance.
&b» &f/dropevent&7- &fDrop tokens as items in the world.
invalidUsage: '&b» &fInvalid usage. Use &b/tokens&f for help.'
notEnoughTokens: '&b» &fYou don''t have enough &btokens&f to do this.'
playerNotFound: '&b» &fPlayer &b{player}&f not found.'
tokensGiven: '&b» &fYou gave &b{amount}&f tokens to &b{player}.'
tokensReceived: '&b» &fYou received &b{amount}&f tokens from &b{sender}.'
tokensSet: '&b{player}''s token amount has been set to {amount}.'
tokensTaken: '&b» &fTook &b{amount}&f tokens from &b{player}.'
cannotGiveToYourself: '&b» &fYou can not give tokens to yourself.'
giveUsage: '&b/tokens give <player> <amount> - Give tokens to a player.'
setUsage: '&b/tokens set <player> <amount> - Set a player''s token amount.'
takeUsage: '&b/tokens take <player> <amount> - Take tokens from a player.'
balanceUsage: '&b/tokens balance - Check your token balance.'
balance: '&b» &fYou have &b{tokens}&f tokens!'
dropEventSeparator: '&f'
dropEventUsage: '&f/dropevent &b<amount> &7- &fDrop tokens as items in a chest in the world.'
chestSpawnMessage: '&fA token chest has spawned at the coordinates: &bX:{x}, Y:{y}, Z:{z}.'
chestOpenMessage: "&fThe player &b{player}&f has opened up the drop-event chest and won &b{tokens}&f tokens!"
redeemMessage: "&b» &fYou have received &b{tokens}&f tokens!"
tokenDisplayName: '&b&lEVENT-TOKEN'
tokenLore:
- ''
- '&7(( &7&oRight-Click to redeem &7))'
- '&fWorth: &b{tokens} tokens'
# * CHEST SPAWN RANGE * #
chestLocation:
world: world
minX: -100
maxX: 500
minZ: -100
maxZ: 500