config.yml

AfkZone Configuration Files


# Plugin License key from discord.mantic.dev
license: XXXX-XXXX-XXXX-XXXX

# Afkzone command, changes applies after restart.
command: afkzone
shop-command: afkshop
gems-command: gems

# Command aliases
aliases:
- zoneafk
shop-aliases:
- afkshop
- zoneshop
gems-aliases:
- gem

# Database
#  - JSON
#  - MYSQL
database-type: json
mysql-ip: 172.18.0.1:3306
mysql-username: ''
mysql-password: ''
mysql-database-name: ''
sql-max-pool-size: 50

# Settings
# basecommand-permission is required for all other permissions to work.
base-command-permission: mantic.afkzone
admin-command-permission: mantic.admin
shop-command-permission: mantic.shop
gems-base-command-permission: mantic.gems
gems-other-command-permission: mantic.gems.other
gems-reset-command-permission: mantic.gems.reset
gems-give-command-permission: mantic.gems.give
gems-remove-command-permission: mantic.gems.remove
gems-set-command-permission: mantic.gems.set
none-afk-zones-placeholder: '&cNone Setup'
now-afk-zones-place-holder: '&7Now'
# The time format for the afkzone: true = short (1h 2m 3s), false = long (1 hour 2 minutes 3 seconds)
short-time-format: false
task-timer-seconds: 1

# Wand Creator
wand-display-name: '&c&lAFKZone Wand'
wand-lore:
- '&7Click the corners of zone'
- '&7to set the region of the afkzone location'
wand-material: BLAZE_ROD

# Settings Sound
sound-leave-zone-status: true
sound-enter-zone-status: true
sound-leave-zone-type: LEVEL_UP
sound-enter-zone-type: LEVEL_UP

# Settings Titles
title-leave-zone-status: true
title-enter-zone-status: true
title-leave-zone-title: '&d&lAFKZone'
title-leave-zone-sub-title: '&7&o( ( You have left &d{name} &7&ozone ) )'
title-enter-zone-title: '&d&lAFKZone'
title-enter-zone-sub-title: '&7&o( ( You have entered &d{name} &7&ozone ) )'

# Progress Bar Settings
progress-bar-format: '&8[{bars}&8]'
bar-symbol: '|'
completed-bar-color: '&a'
uncompleted-bar-color: '&c'
bar-amount: 20

# Messages
msg-location-selected-one: '&d&lAFKZONE &8➸ &7You have &aSuccessfully &7selected &dlocation
  1&7!'
msg-location-selected-two: '&d&lAFKZONE &8➸ &7You have &aSuccessfully &7selected &dlocation
  2&7!'
msg-use-wand: '&d&lAFKZONE &8➸ &7Use &d/afkzone wand&7 and make both &bselections
  1 and 2&7 before running this command!'
msg-usage-create: '&cUsage: &4/afkzone create [name] [rewardFrequencySeconds]'
msg-usage-delete: '&cUsage: &4/afkzone delete [name]'
msg-usage-reset-gem: '&cUsage: &f/gems reset [name]'
msg-usage-give-gem: '&cUsage: &f/gems give [name] [amount]'
msg-usage-set: '&cUsage: &f/gems set [name] [amount]'
msg-usage-remove-gem: '&cUsage: &f/gems remove [name] [amount]'
msg-usage-convert: '&cUsage: &f/gems convert [new type (json, mysql)]'
msg-created-zone: '&d&lAFKZONE &8➸ &7You have &aSuccessfully &7created a afkzone named
  &d{name}&7!'
msg-invalid-zone-name: '&d&lAFKZONE &8➸ &7There is no afkzone with this name!'
msg-deleted-zone: '&d&lAFKZONE &8➸ &7You have &aSuccessfully &7deleted a afkzone named
  &d{name}&7!'
msg-reloaded: '&d&lAFKZONE &8➸ &7You have successfully reloaded!'
msg-not-number: '&d&lAFKZONE &8➸ &7This is not a valid number.'
not-enough-gems: '&d&lAFKZONE &8➸ &7You do not have enough gems to purchase this!
  &7(Cost: {cost})'
item-purchase-success: '&d&lAFKZONE &8➸ &7You have purchased {item}&a for &c{cost}
  &agems!'
balance-self: '&d&lAFKZONE &8➸ &7Your balance is &d{amount} &agems.'
balance-other: '&d&lAFKZONE &8➸ &d{player}&7''s balance is &d{amount} &7gems.'
msg-no-perm-bal-other: '&d&lAFKZONE &8➸ &7You do not have permission to balance other
  players!'
invalid-player: '&d&lAFKZONE &8➸ &7You have entered an invalid player name!'
gem-reset-player: '&d&lAFKZONE &8➸ &7Your gems have been reset!'
gem-reset-staff: '&d&lAFKZONE &8➸ &7You have successfully reset &d{player}&7 gems!'
gem-given-player: '&d&lAFKZONE &8➸ &d{amount} &7gems have been given to you by &d{player}&7.'
gem-given-staff: '&d&lAFKZONE &8➸ &7You have given &d{amount} &7gems to &d{player}&7.'
gem-removed-player: '&d&lAFKZONE &8➸ &d{amount} &7gems have been removed from your
  account.'
gem-removed-staff: '&d&lAFKZONE &8➸ &7You have removed &d{amount} &7gems from &d{player}&7.'
zone-enter:
- '&d&lAFKZONE &8➸ &7You have &aentered&7 the afk zone &d{zone}&7!'
zone-leave:
- '&d&lAFKZONE &8➸ &7You have &cleft&7 the afk zone &d{zone}&7!'
gem-set-player: '&d&lAFKZONE &8➸ &7Your gem balance has been set to &d{amount} &7by
  &d{player}. '
gem-set-staff: '&d&lAFKZONE &8➸ &7You have set &d{player} &7gems to &d{amount}&7.'
msg-unknown-database: '&d&lAFKZONE &8➸ &7There is no database type named ''&c{name}&7''.'
msg-database-changed: '&d&lAFKZONE &8➸ &7You have changed data to the database type
  ''&a{name}&7`.'

Last updated