NxAfkZone  NEW! icon

NxAfkZone NEW! -----

A simple AfkZone rewards plugin



de-dis-png.png

  • It's a very simple plugin for zone AFK rewards.
  • The plugin is by no means difficult to understand
  • Use the region to set the AFK zone
per-png.png

  • /nxafkzone reload -> nxafkzone.reload
  • /nxafkzone checkupdate -> nxafkzone.checkupdate
images-png.png
Snímek obrazovky 2025-01-13 174026.png Snímek obrazovky 2025-01-13 174042.png obrázek_2025-01-13_174152471.png

Code (YAML):
#    ___    ________ __
#   /   |  / ____/ //_/
#  / /| | / /_  / ,<      NxAfkZone
# / ___ |/ __/ / /| |    1.0-SNAPSHOT
#/_/  |_/_/   /_/ |_|

#If you don't know what to do, join our discord, where we will give you advice.
# https://discord.gg/SWpv62Aqp9

# Used to let the plugin determine if your config is up-to-date, so a
# warning can be printed in the server console. Only edit this if you
# know what you are doing, or have just updated your config to the
# newest version.
config-version
: '1.0'

#If you want to receive notifications about the next plugin update, leave it to true
update-notification
:
  enabled
: true

#This changes the title that is shown to you when you are in afkzone
title
:
  title-text
: "&c&lYOU AFK FOR THE REWARD..."
  subtitle-text
: "&f%percent% %progress% &f%time%"

#Time in seconds (eg 300 seconds = 5 minutes)
reward-time
: 10

# Should add the player to AFK if the progress is 100%?
# When true, the player must leave the AFK zone and enter again to reset progress.
should-leave-afk
: false

#Here is all the news for the NxAfkZone plugin
messages
:
  Prefix
: "&8[&6NxAfkZone&8]"
  Reload
: "&cPlugin has been reloaded!"
  NoPermission
: "&cYou dont have permission"
  player-enter-zone
: "&aYou have entered the AFK zone!"
  player-leave-zone
: "&cYou left the AFK zone!"
  afk_message
: "&cYou are now AFK. Leave and re-enter the zone to reset progress."

#Here, write the name for which region the afk zone should work
region-name
: "afk_zone"

#The sum of the percentages must be 100%. If the sum is greater, it will not work.
rewards
:
  reward1
:
    type
: "command"
    command
: "give %player% diamond 1"
    chance
: 20
    reward-message
: "&aYou received a diamond!"
  reward2
:
    type
: "command"
    command
: "money give %player% 200"
    chance
: 30
    reward-message
: "&aYou received 200 coins!"
  reward3
:
    type
: "command"
    command
: "money give %player% 300"
    chance
: 40
    reward-message
: "&aYou received 300 coins!"
  reward4
:
    type
: "command"
    command
: "money give %player% 500"
    chance
: 10
    reward-message
: "&aYou received 500 coins!"
If you have any ideas for improvements, please contact me on my discord server
Resource Information
Author:
----------
Total Downloads: 49
First Release: Jan 13, 2025
Last Update: Jan 13, 2025
Category: ---------------
All-Time Rating:
0 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings