Tutorial:
Commands: /afkzone
Alias: /azone
/azone selector - otrzymujesz selektor | receive selector
/azone reload - przeladowanie pluginu | plugin reload
/azone create <name> - tworzenie zaznaczonego regionu | create selected region
Usage:
1. /azone selector - to receive selector
2. select first (left click) and second (right click) block
3. /azone create <name>
4. Now you can go to the config and set rewards for afk zone, after this use /azone reload
Config:
Code (Text):
# progress bar {bar}
bar-format: "&8[{value}&8]"
lang:
format: "&cCzas &f{time} &7 | {bar}"
sub-title: "&a{value}%"
title: "&7"
styles:
char: "I"
size: 100
no-active: "&7"
active: "&a"
sec: ' {sec}s'
min: ' {min}m'
hour: ' {hour}h'
day: '{day}d'
format: "{d}{h}{m}{s}"
boss-bar: true
title: true
actionbar: true
After create region you can set rewards at config
Code (Text):
afk:
test:
first:
==: org.bukkit.Location
world: world
x: 329.0
y: 206.0
z: -92.0
pitch: 0.0
yaw: 0.0
second:
==: org.bukkit.Location
world: world
x: 338.0
y: 209.0
z: -82.0
pitch: 0.0
yaw: 0.0
reward:
commands:
- say {player} test!
permissions:
'1':
permission: afk.vip
chance: 50
time: 600
p-color: GREEN
p-style: SOLID
bar-name: '&a✦ &7| &fPodstawową nagrodę dostaniesz za: &a{time} &8(&a{percent}%&8) &7| &fszansa: &7{chance}'
Discord: https://dc.gether.dev