/afk
Travel to an AFK zone, or straight to the one you name
/afk [zone]Needs dafkzone.use, which everyone has by default.

AFK zones that pay points to players who stand in them. Staff mark a box with a wand, players travel there with /afk and earn points for as long as they stay.
/afkzone commands spawn add reward 600 25 give %player% diamond 1/afkzone commands spawn/afkzone commands spawn add enter title %player% actionbar Welcome to the AFK zone/afkzone commands spawn add leave title %player% actionbar Come back soon/afkzone commands spawn remove enter 1/afkzone wand/afkzone create arena/afkzone reload/afkzone settp arena/afkzone remove arena/afkzone menuDo I need DCurrency?
Yes, to pay points. Zones and travelling work without it, but nothing is paid unless DCurrency is installed.
Who can create zones?
Anyone with dafkzone.admin, which ops have by default. Players only need dafkzone.use for /afk, and dafkzone.earn to be paid.
Can a player travel while in combat?
No. They are told they cannot travel to the AFK zone while in combat.
What happens if there is only one zone?
/afk sends the player straight there. With two or more, it opens a menu to pick one. /afk <name> goes to that zone directly.
Do zone commands need DCurrency?
No. Rewards, enter and leave commands work without DCurrency. Only the points payout, title and bar need it.
I used DAfk before. What changes?
The folder moves from plugins/DAfk to plugins/DAfkZone on the first start. The permissions are dafkzone.* now, and every old dafk.* node still works. /afk and /afkzone are the same. Remove DAfk.jar.
Menus and messages come from the default DAfkZone files. Run a command, click an example, or pick a menu.
This plugin works through commands and chat. Try one below.
<name> you must fill in[name] optionalword typed as shown
Travel to an AFK zone, or straight to the one you name
/afk [zone]Needs dafkzone.use, which everyone has by default.
also /afkzones
Create and manage AFK zones
/afkzone wand/afkzone pos1/afkzone pos2/afkzone create/afkzone remove/afkzone list/afkzone info/afkzone tp/afkzone settp/afkzone menu/afkzone commands/afkzone reloadWho has each one before you set anything up is in the middle column.
| Permission | Default | Grants |
|---|---|---|
| dafkzone.use | Everyone | Use /afk to travel to a zone |
| dafkzone.earn | Everyone | Earn points while sitting in an AFK zone |
| dafkzone.bypass.iplimit | Nobody | Earn in AFK zones even past the per-IP account limit |
| dafkzone.admin | Operators | Create, delete and manage AFK zones |
plugins/DAfkZone/aliases.yml
'dafkzone.use''dafkzone.earn''dafkzone.admin''dafkzone.bypass.iplimit''dafkzone.bypass.iplimit''dafkzone.bypass.iplimit'permissions:'dafk.use': 'dafkzone.use''dafk.earn': 'dafkzone.earn''dafk.admin': 'dafkzone.admin''dafk.bypass.iplimit': 'dafkzone.bypass.iplimit''dafk.iplimit.bypass': 'dafkzone.bypass.iplimit''dafkzone.iplimit.bypass': 'dafkzone.bypass.iplimit'
plugins/DAfkZone/settings.yml
AFK zones: areas where players stand still and are paid points, plus the menus and messages around them. Edit, then run /afkzone reload. A setting you delete comes back with its default. Help and support: https://discord.devamy.net or dstudios@devamy.net
'�B5FF&lAFK &8| 'Text put in front of every chat message from this plugin. Use '' for no prefix. & colour codes and &#RRGGBB work.
--- Permissions --- The permission names the plugin checks. Change one if you want to reuse a group you already have.
'dafkzone.admin'Who can create, delete and manage zones and use the wand.
'dafkzone.use'Who can use /afk to travel to a zone.
'dafkzone.earn'Who earns points while standing in a zone. Without it a player can still travel with /afk, but nothing is paid.
--- Earning --- How much players are paid for standing in a zone. A single zone can override both numbers in data/zones.yml.
1Points a player gets each time they stay one full interval inside a zone. Example: 1 = one point per payout. 5 = five points per payout.
60How many seconds a player must stay in the zone for one payout. Example: 60 = one payout every minute. 300 = every 5 minutes.
--- Zone commands --- Console commands that run for players standing in an AFK zone, on top of the points above. This section holds the defaults. A zone can have its own commands, set in game with /afkzone commands <zone>, and a zone that has its own list of rewards, enter commands or leave commands ignores the matching default list here. These lists are only a fallback and never change a zone's own commands.
A line in any command list is run by the console. A line starting with `player:` is run by the player. Placeholders in commands and messages:
%player% the player's name %uuid% the player's unique id %zone% the zone's name %world% the zone's world %time% seconds the player has been in the zone so far (0 for enter commands)
A player who earns nothing because of the alt account limit gets no commands either.
falseUse the lists below for every zone that has no commands of its own?
false = run nothing from this section (the safe default; nothing changes after an update) true = run them
Zones with their own commands are never affected by this switch.
Rewards that come due while a player stays in the zone. Each entry has:
every seconds the player must stay in the zone between two runs, from the moment they walk in.
Leaving the zone starts the count again. Must be 1 or more; an entry below 1 is skipped.
chance 0 to 100, the percent chance the reward runs each time it comes due. 100 = always.
Leave it out for 100. A value outside 0 to 100 skips the entry.
commands the commands to run, one per line, in this order. An entry with none is skipped.
message text sent to the player when it runs, or leave it out to send nothing. & colours work.A mistake in one entry only skips that entry, the rest keep working. Example (used when use-defaults is true): every 10 minutes, a 25 percent chance of a diamond.
25'&fYou found a diamond while away.'[]Commands that run once when a player walks into a zone. [] = none.
[]Commands that run once when a player leaves a zone, changes zone or logs out in it. A `player:` line is skipped when the player has logged out. [] = none.
--- Alt account limit --- Stops one person filling a zone with alt accounts. Accounts that connect from the same IP address share one limit. An extra account earns nothing, is told why, and has the commands below run on it.
trueUse the limit? true = yes, false = no (any number of accounts can earn).
2How many accounts from one IP address may earn at the same time. Example: 2 = a third account on the same connection earns nothing.
falseIs the limit counted for every zone together or for each zone alone?
false = all zones together (2 accounts in total, wherever they stand) true = each zone has its own limit (2 accounts in each zone)
What happens to an account that is over the limit. One command per line. A line starting with `player:` is run by that player. Any other line is run by the console.
You can use: %player% (the name) %zone% (the zone they stood in)
Default: sends them to spawn. Another example: 'kick %player% Only 2 accounts per connection can AFK' [] = run nothing, they just stop earning.
10If an account that was just sent away walks straight back in, wait this many seconds before the commands run on it again. Stops the commands being spammed. Example: 10 = at most once every 10 seconds.
'dafkzone.bypass.iplimit'Players with this permission are never limited. Operators do not get it automatically. Useful for a family sharing one internet connection. The old name dafkzone.iplimit.bypass still works too.
--- What players see in a zone --- The text and sounds shown when a player walks into a zone and while they earn.
The big text in the middle of the screen, shown once when a player walks into a zone.
trueShow it? true = yes, false = no.
'�B5FF&lAFK Zone'The large top line and the smaller line under it. You can use: %currency% (the name of the points, like "Coins")
'&fYou are earning %currency%'10How long the text takes to appear, to stay, and to fade out. These are ticks: 20 = 1 second. Example: 10 = half a second, 40 = two seconds.
4010The line above the hotbar, refreshed every second while the player is in a zone. Empty the text to turn it off.
You can use: %seconds% (seconds until the next payout) %points_full% (the payout with its currency, like "5 Coins") %points% (the number only) %currency%
'�B5FF● &fAFK &7- �B5FF%points_full%&f in �B5FF%seconds%s'--- /afk teleport --- The wait before /afk moves a player to a zone.
5Seconds the player must wait before they are moved. 0 = move at once.
0.7How far the player may move, in blocks, before the wait is cancelled. Example: 0.7 allows turning around, but a real step cancels it. Raise it to be more forgiving.
--- Selection outline --- After you mark a corner, with the wand or with /afkzone pos1 and /afkzone pos2, the box is outlined in particles that only you can see. Minecraft shows particles only about 32 blocks around you, so on a big zone you see the part near you.
true15How long the outline stays, in seconds.
10How often the outline is redrawn, in ticks (10 = twice a second). Lower is smoother but costs more.
1500The most particles drawn at once. A huge zone gets wider spacing instead of flooding the screen.
END_RODAny particle that needs no colour or block, for example END_ROD, FLAME, HAPPY_VILLAGER, SOUL_FIRE_FLAME, ELECTRIC_SPARK. A wrong name falls back to END_ROD and warns in the console.
--- Selection wand --- The item /afkzone wand gives you to mark the two corners of a new zone. `tool-id` is what marks the item as the wand, so an ordinary item of the same material does nothing.
BLAZE_ROD'�B5FF&lAFK Zone Wand'afk_wandtrueMake the wand shine like an enchanted item? true = yes, false = no.
--- Sounds --- Any sound name works, also from a resource pack. Leave `name` empty to turn that sound off.
volume 1.0 = normal, 0.5 = quieter pitch 0.5 = deeper, 2.0 = higher
When a corner is marked with the wand.
'block.note_block.pling'0.61.6When a player walks into a zone.
'block.beacon.activate'0.51.4Each time a payout arrives.
'entity.experience_orb.pickup'0.61.2When something is refused.
'entity.villager.no'0.71.0Every second of the /afk wait.
'block.note_block.hat'0.51.0When the player arrives at the zone.
'entity.enderman.teleport'0.71.2When the player moves and the /afk wait is cancelled.
'entity.villager.no'0.81.0Chat messages. & colour codes and &#RRGGBB work. %zone% is the zone name where it makes sense.
'&#FF0000You do not have permission to do that.''&#FF4D6DOnly %max% accounts from the same connection can earn in AFK zones at once.'You can use: %max% (the account limit)
'&#FF0000Only a player can run that.''�FF5ASettings reloaded.''&fUse �B5FF/afkzone <wand|pos1|pos2|create|remove|list|info|tp|settp|menu|commands|reload>&f.''&fUse �B5FF/afkzone create <id>&f after marking both corners.''&fUse �B5FF/afkzone remove <id>&f.''&fUse �B5FF/afkzone info <id>&f.''&fUse �B5FF/afkzone tp <id>&f.''&fUse �B5FF/afkzone settp <id>&f while standing inside it.''&#FF0000"%zone%" will not work as a name - use letters, numbers, - and _ only.''�FF5AWand given. Left-click for corner 1, right-click for corner 2.''&fCorner �B5FF1&f set to �B5FF%x%&f, �B5FF%y%&f, �B5FF%z% &7(%size%)'You can use: %x% %y% %z% (the block clicked) %size% (the size of the box so far, like 5x3x5)
'&fCorner �B5FF2&f set to �B5FF%x%&f, �B5FF%y%&f, �B5FF%z% &7(%size%)''other corner not set yet'Shown instead of %size% while only one corner is set.
'&#FF0000Aim at a block - the wand marks blocks, not thin air.''&#FF0000Mark both corners with the wand first.''&#FF0000Both corners have to be in the same world.''�FF5AZone &f%zone%�FF5A created - &f%blocks%�FF5A blocks.'You can use: %zone% %blocks% (the size of the zone)
'&#FF0000A zone called %zone% already exists.''�FF5AZone &f%zone%�FF5A deleted.''&#FF0000There is no zone called %zone%.''&fNo AFK zones yet. Make one with �B5FF/afkzone wand&f.''&f%count% zone(s): &f%zones%''&f%zone% &7- &f%world%&7, &f%blocks%&f blocks, from &f%min%&f to &f%max%&7, custom teleport: &f%custom-teleport%'Shown by /afkzone info. You can use: %zone% %world% %blocks% %min% %max% (the two corners) %custom-teleport%
'�FF5A/afk now drops players here for zone &f%zone%�FF5A.''&#FFD700Careful: that spot is outside &f%zone%&#FFD700, so players sent there earn nothing until they walk in.'Warning when the teleport spot is outside the zone: players sent there earn nothing until they walk in.
'&#FFD700Type &f%zone%&#FFD700 in chat to delete it, or &fcancel&#FFD700 to stop.''&#FF0000That is not %zone%. Type the zone name exactly, or cancel.''Type %zone%'The title on the delete sign, when DCore asks with a sign instead of chat (about 15 characters fit).
'&fZone &f%zone%&f was left alone.''&fUse �B5FF/afkzone commands <zone> [add|remove|clear]&f.'Shown by /afkzone commands.
'&fUse �B5FF/afkzone commands <zone> add reward <seconds> <chance> <command>&f or �B5FF add <enter|leave> <command>&f.''&fUse �B5FF/afkzone commands <zone> remove <reward|enter|leave> <number>&f.''&#FF0000"%value%" is not a number of seconds - use a whole number of 1 or more.''&#FF0000"%value%" is not a chance - use a number from 0 to 100.''&#FF0000There is no %type% number %value% on that zone. Run /afkzone commands <zone> to see the numbers.''�FF5AReward added to &f%zone%�FF5A: every &f%every%s�FF5A at &f%chance%%�FF5A.'You can use: %zone% %every% (seconds between runs) %chance% (percent)
'�FF5AEnter command added to &f%zone%�FF5A.''�FF5ALeave command added to &f%zone%�FF5A.''�FF5ARemoved that %type% entry from &f%zone%�FF5A.'You can use: %zone% %type% (reward, enter or leave)
'�FF5AAll commands removed from &f%zone%�FF5A.''&f%zone% has no commands. Add one with �B5FF/afkzone commands %zone% add&f.''&fCommands for �B5FF%zone%&f:''&fCommands for �B5FF%zone%&f (from the defaults in settings.yml):''&8│ &7Reward &f%index%&7: every &f%every%s&7 at &f%chance%%&7 &8| &f%command%'One line per entry. You can use: %index% (the number to remove it by) %every% %chance% %command%
'&8│ &7Enter &f%index%&7: &f%command%''&8│ &7Leave &f%index%&7: &f%command%''�FF5A+%points_full%&f for going AFK.'Sent to the player on every payout. Leave it empty to pay silently.
You can use: %points_full% (with currency) %points% (the number only) %currency%
'&#FF0000There are no AFK zones on this server yet.''&fTravelling to the AFK zone in �B5FF%seconds%&f...'You can use: %seconds% (seconds left)
'&#FF0000You moved - the trip to the AFK zone was cancelled.''&#FF0000You cannot travel to the AFK zone while you are in combat.'Shown when a player in combat tries to travel, or gets into combat during the wait.
'�FF5AWelcome to the AFK zone. You are earning %currency%.'You can use: %currency%
'&#FF0000That zone''s world is not loaded - nothing to travel to.'# AFK zones: areas where players stand still and are paid points, plus the menus and messages around them.# Edit, then run /afkzone reload. A setting you delete comes back with its default.# Help and support: https://discord.devamy.net or dstudios@devamy.net# Used by updates. Do not edit.config-version: 1# Text put in front of every chat message from this plugin. Use '' for no prefix.# & colour codes and &#RRGGBB work.prefix: '�B5FF&lAFK &8| '# --- Permissions ---# The permission names the plugin checks. Change one if you want to reuse a group you already have.permissions:# Who can create, delete and manage zones and use the wand.admin: 'dafkzone.admin'# Who can use /afk to travel to a zone.use: 'dafkzone.use'# Who earns points while standing in a zone.# Without it a player can still travel with /afk, but nothing is paid.earn: 'dafkzone.earn'# --- Earning ---# How much players are paid for standing in a zone. A single zone can override both numbers in data/zones.yml.earning:# Points a player gets each time they stay one full interval inside a zone.# Example: 1 = one point per payout. 5 = five points per payout.points-per-interval: 1# How many seconds a player must stay in the zone for one payout.# Example: 60 = one payout every minute. 300 = every 5 minutes.interval-seconds: 60# --- Zone commands ---# Console commands that run for players standing in an AFK zone, on top of the points above. This section# holds the defaults. A zone can have its own commands, set in game with /afkzone commands <zone>, and a zone# that has its own list of rewards, enter commands or leave commands ignores the matching default list here.# These lists are only a fallback and never change a zone's own commands.## A line in any command list is run by the console. A line starting with `player:` is run by the player.# Placeholders in commands and messages:# %player% the player's name %uuid% the player's unique id# %zone% the zone's name %world% the zone's world# %time% seconds the player has been in the zone so far (0 for enter commands)# A player who earns nothing because of the alt account limit gets no commands either.zone-commands:# Use the lists below for every zone that has no commands of its own?# false = run nothing from this section (the safe default; nothing changes after an update)# true = run them# Zones with their own commands are never affected by this switch.use-defaults: false# Rewards that come due while a player stays in the zone. Each entry has:# every seconds the player must stay in the zone between two runs, from the moment they walk in.# Leaving the zone starts the count again. Must be 1 or more; an entry below 1 is skipped.# chance 0 to 100, the percent chance the reward runs each time it comes due. 100 = always.# Leave it out for 100. A value outside 0 to 100 skips the entry.# commands the commands to run, one per line, in this order. An entry with none is skipped.# message text sent to the player when it runs, or leave it out to send nothing. & colours work.# A mistake in one entry only skips that entry, the rest keep working.# Example (used when use-defaults is true): every 10 minutes, a 25 percent chance of a diamond.rewards:- every: 600chance: 25commands:- 'give %player% diamond 1'message: '&fYou found a diamond while away.'# Commands that run once when a player walks into a zone. [] = none.enter-commands: []# Commands that run once when a player leaves a zone, changes zone or logs out in it.# A `player:` line is skipped when the player has logged out. [] = none.leave-commands: []# --- Alt account limit ---# Stops one person filling a zone with alt accounts. Accounts that connect from the same IP address# share one limit. An extra account earns nothing, is told why, and has the commands below run on it.ip-limit:# Use the limit? true = yes, false = no (any number of accounts can earn).enabled: true# How many accounts from one IP address may earn at the same time.# Example: 2 = a third account on the same connection earns nothing.max-accounts: 2# Is the limit counted for every zone together or for each zone alone?# false = all zones together (2 accounts in total, wherever they stand)# true = each zone has its own limit (2 accounts in each zone)per-zone: false# What happens to an account that is over the limit. One command per line.# A line starting with `player:` is run by that player. Any other line is run by the console.# You can use: %player% (the name) %zone% (the zone they stood in)# Default: sends them to spawn. Another example: 'kick %player% Only 2 accounts per connection can AFK'# [] = run nothing, they just stop earning.commands:- 'player:spawn'# If an account that was just sent away walks straight back in, wait this many seconds before the# commands run on it again. Stops the commands being spammed. Example: 10 = at most once every 10 seconds.repeat-seconds: 10# Players with this permission are never limited. Operators do not get it automatically.# Useful for a family sharing one internet connection.# The old name dafkzone.iplimit.bypass still works too.bypass-permission: 'dafkzone.bypass.iplimit'# --- What players see in a zone ---# The text and sounds shown when a player walks into a zone and while they earn.feedback:# The big text in the middle of the screen, shown once when a player walks into a zone.title:# Show it? true = yes, false = no.enabled: true# The large top line and the smaller line under it.# You can use: %currency% (the name of the points, like "Coins")text: '�B5FF&lAFK Zone'subtitle: '&fYou are earning %currency%'# How long the text takes to appear, to stay, and to fade out. These are ticks: 20 = 1 second.# Example: 10 = half a second, 40 = two seconds.fade-in: 10stay: 40fade-out: 10# The line above the hotbar, refreshed every second while the player is in a zone.# Empty the text to turn it off.# You can use: %seconds% (seconds until the next payout) %points_full% (the payout with its currency,# like "5 Coins") %points% (the number only) %currency%action-bar:earning: '�B5FF● &fAFK &7- �B5FF%points_full%&f in �B5FF%seconds%s'# --- /afk teleport ---# The wait before /afk moves a player to a zone.teleport:# Seconds the player must wait before they are moved. 0 = move at once.countdown-seconds: 5# How far the player may move, in blocks, before the wait is cancelled.# Example: 0.7 allows turning around, but a real step cancels it. Raise it to be more forgiving.cancel-distance: 0.7# --- Selection outline ---# After you mark a corner, with the wand or with /afkzone pos1 and /afkzone pos2, the box is outlined in# particles that only you can see. Minecraft shows particles only about 32 blocks around you, so on a big# zone you see the part near you.wand-outline:enabled: true# How long the outline stays, in seconds.seconds: 15# How often the outline is redrawn, in ticks (10 = twice a second). Lower is smoother but costs more.every-ticks: 10# The most particles drawn at once. A huge zone gets wider spacing instead of flooding the screen.max-points: 1500# Any particle that needs no colour or block, for example END_ROD, FLAME, HAPPY_VILLAGER,# SOUL_FIRE_FLAME, ELECTRIC_SPARK. A wrong name falls back to END_ROD and warns in the console.particle: END_ROD# --- Selection wand ---# The item /afkzone wand gives you to mark the two corners of a new zone.# `tool-id` is what marks the item as the wand, so an ordinary item of the same material does nothing.wand:material: BLAZE_RODname: '�B5FF&lAFK Zone Wand'tool-id: afk_wand# Make the wand shine like an enchanted item? true = yes, false = no.glow: truelore:- ''- '�B5FF» &fClick &7a block for corner 1.'- '�B5FF» &fRight-click &7a block for corner 2.'- '&8│ &7Pick opposite corners - one low,'- '&8│ &7one high. The whole box between'- '&8│ &7them becomes the zone.'- ''- '�B5FF» THEN RUN�B5FF /afkzone create <id>'# --- Admin menu (/afkzone menu) ---# The menu where admins see every zone, go to it, or delete it.menu:title: '&8ᴀꜰᴋ ᴢᴏɴᴇꜱ'# Height of the menu in rows, 1 to 6. Each row has 9 slots.rows: 4# Slot of the Close button. Slots count from 0 at the top left, left to right, then down.# Example: 31 = bottom row, middle (with 4 rows).close-slot: 31# Which slots the zones are placed in, in order.# [] = fill from the top left# [11, 13, 15] = put them in these slots, for example in the middle# If there are more zones than slots, the extra zones are left out of the menu.zone-slots: []# Right-clicking a zone does not delete it at once. The plugin asks in chat first, and the admin has to# type the zone's name to confirm.delete-confirm:# The word the admin types instead to cancel the deletion.cancel-word: 'cancel'# Seconds the admin has to answer before the question is dropped and nothing is deleted.timeout-seconds: 30items:close:material: BARRIERaction: closename: '<#FF5C5C>Close</#FFA3A3>'# One zone in the menu. You can use: %zone% (its name) %world% (its world) %blocks% (its size in blocks)zone:material: BEACONname: '�B5FF%zone%'lore:- '&8│ &7World &f%world%'- '&8│ &7Blocks &f%blocks%'- ''- '�B5FF» &fClick &7to teleport'- '�B5FF» &fRight-click &7to delete'# --- Zone picker ---# The menu a player sees when they use /afk and there is more than one zone to choose from.choose-menu:title: '&8ᴄʜᴏᴏꜱᴇ ᴀɴ ᴀꜰᴋ ᴢᴏɴᴇ'# Height of the menu in rows, 1 to 6. One row fits seven zones plus the Close button.rows: 1# Slot of the Close button. Slots count from 0 at the top left, left to right, then down.close-slot: 8# Which slots the zones are placed in, in order. [] = fill from the top left.# Example: [11, 13, 15] puts them in those slots.zone-slots: []items:close:material: BARRIERaction: closename: '<#FF5C5C>Close</#FFA3A3>'# One zone in the menu. You can use: %zone% (its name) %world% (its world)zone:material: BEACONname: '�B5FF%zone%'lore:- '&8│ &7World &f%world%'- ''- '�B5FF» &fClick &7to travel there'# --- Sounds ---# Any sound name works, also from a resource pack. Leave `name` empty to turn that sound off.# volume 1.0 = normal, 0.5 = quieter# pitch 0.5 = deeper, 2.0 = highersounds:# When a corner is marked with the wand.select:name: 'block.note_block.pling'volume: 0.6pitch: 1.6# When a player walks into a zone.entered:name: 'block.beacon.activate'volume: 0.5pitch: 1.4# Each time a payout arrives.paid:name: 'entity.experience_orb.pickup'volume: 0.6pitch: 1.2# When something is refused.denied:name: 'entity.villager.no'volume: 0.7pitch: 1.0# Every second of the /afk wait.countdown:name: 'block.note_block.hat'volume: 0.5pitch: 1.0# When the player arrives at the zone.teleported:name: 'entity.enderman.teleport'volume: 0.7pitch: 1.2# When the player moves and the /afk wait is cancelled.cancelled:name: 'entity.villager.no'volume: 0.8pitch: 1.0# Chat messages. & colour codes and &#RRGGBB work. %zone% is the zone name where it makes sense.messages:no-permission: '&#FF0000You do not have permission to do that.'# You can use: %max% (the account limit)ip-limit-reached: '&#FF4D6DOnly %max% accounts from the same connection can earn in AFK zones at once.'player-only: '&#FF0000Only a player can run that.'reloaded: '�FF5ASettings reloaded.'usage: '&fUse �B5FF/afkzone <wand|pos1|pos2|create|remove|list|info|tp|settp|menu|commands|reload>&f.'usage-create: '&fUse �B5FF/afkzone create <id>&f after marking both corners.'usage-remove: '&fUse �B5FF/afkzone remove <id>&f.'usage-info: '&fUse �B5FF/afkzone info <id>&f.'usage-tp: '&fUse �B5FF/afkzone tp <id>&f.'usage-settp: '&fUse �B5FF/afkzone settp <id>&f while standing inside it.'bad-id: '&#FF0000"%zone%" will not work as a name - use letters, numbers, - and _ only.'wand-given: '�FF5AWand given. Left-click for corner 1, right-click for corner 2.'# You can use: %x% %y% %z% (the block clicked) %size% (the size of the box so far, like 5x3x5)wand-pos1: '&fCorner �B5FF1&f set to �B5FF%x%&f, �B5FF%y%&f, �B5FF%z% &7(%size%)'wand-pos2: '&fCorner �B5FF2&f set to �B5FF%x%&f, �B5FF%y%&f, �B5FF%z% &7(%size%)'# Shown instead of %size% while only one corner is set.selection-size-pending: 'other corner not set yet'wand-needs-block: '&#FF0000Aim at a block - the wand marks blocks, not thin air.'selection-incomplete: '&#FF0000Mark both corners with the wand first.'selection-different-worlds: '&#FF0000Both corners have to be in the same world.'# You can use: %zone% %blocks% (the size of the zone)zone-created: '�FF5AZone &f%zone%�FF5A created - &f%blocks%�FF5A blocks.'zone-exists: '&#FF0000A zone called %zone% already exists.'zone-removed: '�FF5AZone &f%zone%�FF5A deleted.'zone-not-found: '&#FF0000There is no zone called %zone%.'list-empty: '&fNo AFK zones yet. Make one with �B5FF/afkzone wand&f.'list-header: '&f%count% zone(s): &f%zones%'# Shown by /afkzone info. You can use: %zone% %world% %blocks% %min% %max% (the two corners) %custom-teleport%info: '&f%zone% &7- &f%world%&7, &f%blocks%&f blocks, from &f%min%&f to &f%max%&7, custom teleport: &f%custom-teleport%'settp-done: '�FF5A/afk now drops players here for zone &f%zone%�FF5A.'# Warning when the teleport spot is outside the zone: players sent there earn nothing until they walk in.settp-outside-zone: '&#FFD700Careful: that spot is outside &f%zone%&#FFD700, so players sent there earn nothing until they walk in.'delete-prompt: '&#FFD700Type &f%zone%&#FFD700 in chat to delete it, or &fcancel&#FFD700 to stop.'delete-invalid: '&#FF0000That is not %zone%. Type the zone name exactly, or cancel.'# The title on the delete sign, when DCore asks with a sign instead of chat (about 15 characters fit).delete-sign: 'Type %zone%'delete-cancelled: '&fZone &f%zone%&f was left alone.'# Shown by /afkzone commands.usage-commands: '&fUse �B5FF/afkzone commands <zone> [add|remove|clear]&f.'usage-commands-add: '&fUse �B5FF/afkzone commands <zone> add reward <seconds> <chance> <command>&f or �B5FF add <enter|leave> <command>&f.'usage-commands-remove: '&fUse �B5FF/afkzone commands <zone> remove <reward|enter|leave> <number>&f.'bad-every: '&#FF0000"%value%" is not a number of seconds - use a whole number of 1 or more.'bad-chance: '&#FF0000"%value%" is not a chance - use a number from 0 to 100.'bad-index: '&#FF0000There is no %type% number %value% on that zone. Run /afkzone commands <zone> to see the numbers.'# You can use: %zone% %every% (seconds between runs) %chance% (percent)reward-added: '�FF5AReward added to &f%zone%�FF5A: every &f%every%s�FF5A at &f%chance%%�FF5A.'enter-added: '�FF5AEnter command added to &f%zone%�FF5A.'leave-added: '�FF5ALeave command added to &f%zone%�FF5A.'# You can use: %zone% %type% (reward, enter or leave)command-removed: '�FF5ARemoved that %type% entry from &f%zone%�FF5A.'commands-cleared: '�FF5AAll commands removed from &f%zone%�FF5A.'commands-none: '&f%zone% has no commands. Add one with �B5FF/afkzone commands %zone% add&f.'commands-header: '&fCommands for �B5FF%zone%&f:'commands-header-defaults: '&fCommands for �B5FF%zone%&f (from the defaults in settings.yml):'# One line per entry. You can use: %index% (the number to remove it by) %every% %chance% %command%commands-line-reward: '&8│ &7Reward &f%index%&7: every &f%every%s&7 at &f%chance%%&7 &8| &f%command%'commands-line-enter: '&8│ &7Enter &f%index%&7: &f%command%'commands-line-leave: '&8│ &7Leave &f%index%&7: &f%command%'# Sent to the player on every payout. Leave it empty to pay silently.# You can use: %points_full% (with currency) %points% (the number only) %currency%paid: '�FF5A+%points_full%&f for going AFK.'no-zones: '&#FF0000There are no AFK zones on this server yet.'# You can use: %seconds% (seconds left)afk-countdown: '&fTravelling to the AFK zone in �B5FF%seconds%&f...'afk-cancelled: '&#FF0000You moved - the trip to the AFK zone was cancelled.'# Shown when a player in combat tries to travel, or gets into combat during the wait.afk-in-combat: '&#FF0000You cannot travel to the AFK zone while you are in combat.'# You can use: %currency%afk-teleported: '�FF5AWelcome to the AFK zone. You are earning %currency%.'teleport-failed: '&#FF0000That zone''s world is not loaded - nothing to travel to.'
DCore DCore carries the menu framework and the comment-preserving config loader. DCurrency holds the balances the zones pay into; without it the zones pay nothing and /afk still works.
DCurrency.
Paper 1.21 or newer, and forks like Purpur and Leaf. Folia is supported. Java 21 or newer.