Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
settings.yml
settings:
# The cooldown time in seconds before a player can re-enter the AFK zone after leaving.
# PLEASE ENSURE THIS IS ABOVE 2 (Speak to developer for more information)
cooldown: 5
# Available types: actionbar, title, messages
actionType:
- "messages"
rewards:
1: # The tier keys must be numbers in ascending order, and their durations must also be in ascending order!
duration: 15m # The amount of elapsed time required to hit this tier
commands: # Commands that will always execute
- "msg %player% AFKZONE | You have received Tier 1 rewards!"
rewards: # Reward commands that have a % chance per command to execute
- "50:give %player% minecraft:diamond_block 1"
- "25:give %player% minecraft:emerald_block 1"
2:
duration: 30m
commands:
- "msg %player% AFKZONE | You have received Tier 2 rewards!"
rewards:
- "50:give %player% minecraft:diamond_block 1"
- "25:give %player% minecraft:emerald_block 1"
3:
duration: 60m
commands:
- "msg %player% AFKZONE | You have received Tier 3 rewards!"
rewards:
- "50:give %player% minecraft:diamond_block 1"
- "25:give %player% minecraft:emerald_block 1"
messages.yml
# Available placeholders:
# %time% - Shows the total time spent in the AFK Zone
# %next_reward% - Shows the time remaining until the next reward
# %player% - Player's name
# %PLAYER% - Player's name (uppercase)
settings:
enter-sound: "ENTITY_ENDER_EYE_DEATH"
leave-sound: "BLOCK_REDSTONE_TORCH_BURNOUT"
cooldown: "&cYou must wait before re-entering the AFKZone!"
# Time unit translations
time-units:
day: "&6day"
days: "&6days"
hour: "&ehour"
hours: "&ehours"
minute: "&aminute"
minutes: "&aminutes"
second: "&csecond"
seconds: "&cseconds"
# actionType is determined by the main `settings.yml` file
actionType:
message:
enter:
- "&aYou've entered the AFKZone!"
- "&eStay here to earn rewards over time."
leave:
- "&cYou've left the AFKZone!"
- "&eReturn to keep earning rewards."
title:
enter:
- "&aEntered AFKZone"
- "&eStay to earn rewards!"
leave:
- "&cLeft AFKZone"
- "&eCome back to continue earning!"
duration:
- "&aTime in AFKZone:"
- "&e%time%"
actionbar:
enter: "&aYou're in the AFK Zone! Stay to earn rewards."
leave: "&cYou left the AFK Zone! Come back to continue earning."
duration: "&eTime in AFKZone: %time%"
Pinned Versions
Pages
Members
Owner