UltraAFK

Wiki Documentation By HotDoctor


Introduction



First of all, Thank you so much for purchasing this project and for being my loyal customer. You are awesome!
You are entitled to get free lifetime updates to this product + exceptional support from me directly in Discord.

This documentation is to help you regarding each step of customization. Please go through the documentation carefully to understand how this project is made and how to edit this properly. The only thing you need is a basic-experience at server configurations and customization. If you need help with some explication or something else, you're always free to join to my discord server

Requirements

You will need the following softwares to customize this project.

  1. 512MB of RAM in your server (or more)
  2. A Minecraft Server Version Between 1.8-1.16.5
  3. ProtocolLib by dmulloy2 (Important)
  4. A Bukkit/Spigot/Paper Server, Some Customers said that plugin works at Tunity too.
  5. PlaceholderAPI By clip (Optional)

Please do not skip any of these requeriments for get a better perfomance
No support is provided by missing requeriment or not verified customer in my Discord Server.

Installation #back to top


For Start using this plugin we must set up the mode of the plugin about how we want this want to work, in this case, if we need to use the plugin in a single server or in a global network, and finish it with the customization option that this plugin comes for you.

You can follow this:

Getting Started

mode: 
prefix: '&7&oUltraAFK&c&o>&6&c>&7&o' 
no-permissionMessage: '&7You Dont Have Permission Do This!' 
already-afk: '&cError: &9You are already &cAFK&9!' 
uafk-placeholder-api-result: '&c&l[AFK]' 
no-uafk-placeholder-api-result: '' 
uafk-togglenotification-message: 
- '&8&o&m================='
- '      &6&oUltraAFK'
- ''
- '      &c&l&oNotifications'
- ''
- '      &9Your notifications are now'
- ''
- '      %toggle%'
- ''
- '&8&o&m================='
toggle-message: 
  DISABLED: '&c&l&oDISABLED'
  ENABLED: '&a&l&oENABLED'
								

Once you have finished with the customization of the basic configurations of the plugin, you can continue with the plugin installation.

If there are no errors when running plugin, you can go to the next step.

If there are errors when running plugin, you are free to join my discord server and I will provide you Support.

Have you understand everything? This article have been helpful for you? You still having questions?

Click one of the nexts buttons below.

MultiWorld Setup

Here is we need you for start with the plugin customization as you want in your server exactly, UltraAFK provides you alot of configuration types and sections for make your server with UltraAFK as you want

Please check all notes in the nexts configurations before do something.

  MultiWorldOptions: 
    cancel-naturaltp-whenAFK: false 
    save-last-location: false 
    afk-zone-enabled: true 
    events: 
      when-player-gotAfk:
        clear-the-inventory:
          enabled: false 
          save-the-inventory: true 
    Messages: 
      enabled: true 
      AFK: '&f%player_name% is now afk.'
      NoAFK: '&f%player_name% is not longer afk!'
      Reasons: 
        enabled: false 
        AFKReason: '&f is now afk because &b'
        permissions: 
          enabled: false 
          permission: mycustomPermission
          perm-message: '%prefix% &cYou have no permissions to use this command!'
    Hologram-System: 
      enabled: true 
      hololines:
        lines: 
        - '&7&l&m=========&7&l[&b&l+&7&l]&7&l&m========='
        - '&c&lThis player is actually AFK!'
        - '&7&l&m=========&7&l[&b&l+&7&l]&7&l&m========='
      coordinates: 
        x: 0
        y: 2
        z: 0
      holo-item: 
        enabled: true 
        ID: BARRIER 
        coordinates: 
          x: 0
          y: 1
          z: 0
								

Have you understand everything? This article have been helpful for you? You still having questions?

Click one of the nexts buttons below.

BungeeCord Setup

Here is we need you for start with the plugin customization as you want in your server exactly, UltraAFK provides you alot of configuration types and sections for make your server with UltraAFK as you want

Please check all notes in the nexts configurations before do something.

  BungeeCordOptions: 
    MySQL: 
      enabled: false 
      useSSL: true
      Host: MyCustomHost
      UserName: MyCustomUserName
      Password: MyCustomPassword
      Database: UltraAFK
      Port: 3306
      teleport-to-LastPlayerServer: true 
    Lobby: 
      AfkServers: 
      - AFKServer1 
      - AFKServer2
      - AFKServer3
    AFKZone: 
      LobbyServers: 
      - lobby 
      - lobby2
      - lobby3
								

Have you understand everything? This article have been helpful for you? You still having questions?

Click one of the nexts buttons below.

Plugin Customization #back to top


Only continue with these steps if you have completed the setup of the plugin correctly.
No support is provided by missing requeriment or not verified customer in my Discord Server.


Important Configuration

Please take care the nexts configuration sections, here is how the plugin will starts to run in your server and how you like the plugin works in it.

Plugin Notifications and AFKMachines

This section will make specific instructions for the plugin about how this one will detect afk players using antiafk machines and how the plugin will start to send the players that are trying to get afk to all your online staff members.

Please take care about the information that this plugin will provide you

configuration: 
  plugin-notifications: 
    players-using-afkmachines: true 
    force-players-afk-whendetected: true  
    permission: uafk.notifications 
    notification-delay: 120 
    notification: '%prefix% &c&l(!) &bLooks like &c%player_name% &bis using an &6AntiAFK
      Machine&b! &9(Type: &a%machine%&9)' 
    json-message: 
      enabled: false 
      text-hover: '&6Click here for TP to %player_name%' 
    afk-machines: 
      jump: AFK Jump
      pool: AFK Pool
      minning: AFK Minning
      spruce: AFK Spruce-Fence
      fishing: AFK Fishing
      hit: AFK Hitting
						

Plugin Countdown For Get AFKPlayers

This section will make specific instructions to all the players for get afk players naturally following a countdown timer

Please take care about the information that this plugin will provide you

configuration:
  afk-detection:
    afk-detection-style: SINGULAR 
    afk-detection-styles:
      SINGULAR: 
        afk-detection-delay: 90
      PERPERMISSIONS: 
        default: 
          afk-detection-delay: 90
        op-player: 
          afk-detection-delay: -1 
        '1': 
          permission: uafk.detection.vip
          afk-detection-delay: 25
        '2':
          permission: uafk.detection.staff
          afk-detection-delay: -1
						

Plugin AFK Improves and Specific Detections

This section will make specific instructions to the plugin for detect afk players.

Please take care about the information that this plugin will provide you

configuration:
  afk-detection:
    afk-improves: 
      afk-camera: true 
      afk-minning: true 
      afk-minning-configuration: 
        cancel-block-break-event: 
          enabled: false 
          seconds-before-toBeAfk: 10 
          perform-Actions: 
          - SENDFULLTITLE-TOPLAYER|&cYou will be afk soon|&eYou should stop afk-minning.
      afk-fishing: true 
      afk-fishing-configuration:
        Block-Radius: 4 
        Blacklisted-Blocks: {} 
        Message: 
        - '&8&l&m===================='
        - '     &fYourServerName     '
        - '&7 AFK Fishing is not allowed in this server'
        - '&8&l&m===================='
						

Have you understand everything? This article have been helpful for you? You still having questions?

Click one of the nexts buttons below.

Optional Configuration

As the title says, this configuration is not really important but stills being amazing for the plugin customization and configuration.

Titles and subtitles

This section will make specific instructions for the plugin for the players that are selected as AFK

Please take care about the information that this plugin will provide you

  Titles: 
    Style: Animated 
    Plugin: 
      title: '&c&lYOU ARE AFK' 
      subtitle: '&eMove around to return to the lobby.'
    Animated: 
      ticks: 20 
      animation:
      - '&c&lYOU ARE AFK:&eMove around to return to the lobby.'
      - '&e&lY&c&lOU ARE AFK:&eMove around to return to the lobby.'
      - '&6&lY&e&lO&c&lU ARE AFK:&eMove around to return to the lobby.'
      - '&c&lY&6&lO&e&lU &c&lARE AFK:&eMove around to return to the lobby.'
      - '&c&lYO&6&lU &e&lA&c&lRE AFK:&eMove around to return to the lobby.'
      - '&c&lYOU &6&lA&e&lR&c&lE AFK:&eMove around to return to the lobby.'
      - '&c&lYOU A&6&lR&e&lE&c&l AFK:&eMove around to return to the lobby.'
      - '&c&lYOU AR&6&lE &e&lA&c&lFK:&eMove around to return to the lobby.'
      - '&c&lYOU ARE &6&lA&e&lF&c&lK:&eMove around to return to the lobby.'
      - '&c&lYOU ARE A&6&lF&e&lK:&eMove around to return to the lobby.'
      - '&c&lYOU ARE AF&6&lK:&eMove around to return to the lobby.'
      - '&c&lYOU ARE AFK:&eMove around to return to the lobby.'
						

Conditions

This section will make specific instructions for players that are afk and are not afk, including if they are doing something or getting something.

Please take care about the information that this plugin will provide you

  afk-detection:
    conditions: 
      enabled: false 
      if-player-isVanished: true  
      if-player-is-gamemode:
        adventure: true  
        creative: true  
        survival: true  
        spectator: false  
      if-player-moves-his-camera:
        detect-as-unafk: true  
      if-player-hits:
        detect-as-unafk: true   
						

AFK Token System

This section will make specific instructions for players that are afk. You will be able to cancel player's move event when they're afk.

Please take care about the information that this plugin will provide you

configuration:
  events:
    when-player-gotAfk:
      token-system:
        enabled: false  
        include-numbers: true
        token-length: 6
        message: '&c&lOops! &bLooks like you still afk. Please use the command &6/unafk
          &e &bto be able to move again.'
        error-msg: '&c&lERROR: &bThe code entered is invalid, please try again. the
          token is &e'
        missing-args: '&c&lERROR: &bYou are using the command in an invalid way, please
          use &e/unafk &a'
        syncWithAFKZone: false 

Events

This section will make specific instructions for players that are afk and are not afk, sending specific instructions for these ones.

Please take care about the information that this plugin will provide you

  events: 
    while-player-isAfk: 
      perform-Actions: 
        enabled: false 
        seconds: 
          '15':
          - NORMALMESSAGE-TOPLAYER|&7this only sends one message line
          - NORMALMESSAGE-TOPLAYER|&7but you can add more lines to your
          - NORMALMESSAGE-TOPLAYER|&7Doing things like this.
          - CENTEREDMESSAGE-TOPLAYER|&7Also you can send centered messages.
          - CONSOLE-EXECUTE-COMMAND|/YouCanAddYourCustomCommandsToo!
          - PLAYER-EXECUTE-COMMAND|/its amazing!
          '25':
          - CENTEREDMESSAGE-TOPLAYER|&7You can configurate this
          - CENTEREDMESSAGE-TOPLAYER|&7As you want!
          - CONSOLE-EXECUTE-COMMAND|&7Every configurable things on these lines
          - CONSOLE-EXECUTE-COMMAND|&7Are compatibles with PlaceHolderAPI, %player%
    while-player-isnotAfk: 
      perform-Actions: 
        enabled: false 
        seconds-before-Afk: 
          '10':
          - NORMALMESSAGE-TOPLAYER|&7You will be AFK in &b10&7 seconds!
          - NORMALMESSAGE-TOPLAYER|&7You can play sounds too!
          - PLAYSOUND-TOPLAYER|&7||
          - PLAYSOUND-TOPLAYER|BLOCK_ANVIL_PLACE|1.0|1.0
						

Have you understand everything? This article have been helpful for you? You still having questions?

Click one of the nexts buttons below.

Action List Section

Here you can get the list of avaible actions that you can use in UltraAFK

# SERVER BROADCAST #
 
Sends a broadcast messsage 
SERVER-BROADCAST|&fMy Custom Message 


# EXECUTE PLAYER COMMAND #

Makes player execute a command

PLAYER-EXECUTE-COMMAND|MyCustomCommand


# EXECUTE CONSOLE COMMAND #

Makes console execute a command

CONSOLE-EXECUTE-COMMAND|MyCustomCommand 


# Send Message #

Sends a normal message to player

NORMALMESSAGE-TOPLAYER|&fMy Custom Message 


# Send Centered Message #

Sends a centered message to player

CENTEREDMESSAGE-TOPLAYER|&fMy Centered Message!


# Send a Message to Player #

Sends a normal message to a specific player

NORMALMESSAGE-TOSPECIFIC-PLAYER|PlayerName|&f Hey! How are you?


# Play Sounds #

Plays a normal sound to player

PLAYSOUND-TOPLAYER|BLOCK_ANVIL_PLACE|1|1
Read more about Sounds at: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html


# Send Full Title to Player #

Sends a Full Title with Subtitle to player

SENDFULLTITLE-TOPLAYER|&fLook at my Title!|&b


# Teleport player to a specific location #

Teleports the player to a location 

TELEPORT-PLAYER|worldname|x|y|z|yaw|pitch 


# If player has perm #

Check if player has permission for complete an action

IFPLAYERHAS-PERMISSION|MycustomPerm|NORMALMESSAGE-TOPLAYER|Hey you have this permission!


# Selecting all online players #

Selects all online players for complete an action 

SELECT-ALLPLAYERS|NORMALMESSAGE-TOPLAYER|&7Good morning!


# If player has exclusively this permission # (ONLY WORKS IN EVENTS SECTION)

Check if player has a specified permission for run all others actions that is below of this one.

IFPLAYERHAS-PERMISSION-ONLY|MyCustom Permission



Have you understand everything? This article have been helpful for you? You still having questions?

Click one of the nexts buttons below.

How to use #back to top


Here you will learn what to do and what's next after all the configuration and plugin customization, now we join to the minecraft experience.

MultiWorld Servers

Here we will talk about the servers that are being customized and configurated for multiworld or shared ones.

Please take care about the information that this plugin will provide you

Basically the only thing that you must do is set the AFKZone locations (if is enabled) and as optional a lobby location.

If you have enabled afkzone, go to your limbo location, and where you want to set all the players as afk, set /uafk setspawn AFKZone (You can try adding multiples afkzones using /uafk addSpawn AFKZone too)

Once you have finished setting your afkzone, as optional, you can add a Lobby Location (if you have not enabled save-last-location and you are using the afkzone), use the command /uafk setspawn Lobby

Once you have finished these steps the only thing that you must do is restart your server and done.

Have you understand everything? This article have been helpful for you? You still having questions?

Click one of the nexts buttons below.

BungeeCord Servers

Here we will talk about the servers that are being customized and configurated for Bungeecord or multiple-server ones.

Please take care about the information that this plugin will provide you

Lobby Modes

You do not really to set up something in Lobby modes, as optional the only thing that you must do is set a Lobby location using the command /uafk setspawn Lobby

After all, you have not to set up something else, if you have setted the Lobby location, please restart your server for confirm changes

AFKZone Modes

The only thing that you must set up are the AFKZone locations, you can add one or more than one location for set afk players around the server that you're doing for limbo

The only thing that you do is go to your limbo location, and where you want to set all the players as afk, set /uafk setspawn AFKZone (You can try adding multiples afkzones using /uafk addSpawn AFKZone too)

Once you have finished setting the afk locations, now just restart the server for confirm the changes, and everything should be done.

Have you understand everything? This article have been helpful for you? You still having questions?

Click one of the nexts buttons below.

Commands & Permissions #back to top


Commands Explanation

							Aliases: /ultraafk, safk
							
							Commands:
							
							- uafk reload 
							- uafk info 
							- uafk setAFK %player% 
							- uafk togglenotifications 
							- uafk setspawn Lobby 
							- uafk setspawn AFKZone 
							- uafk addspawn AFKZone 
						

Permissions

There aren't alot of commands so the only permission that this plugin has is uafk.admin

Have you understand everything? This article have been helpful for you? You still having questions?

Click one of the nexts buttons below.

PlaceholderAPI Placeholders #back to top

Actually there are 4 placeholders avaibles for the usage of UltraAFK.

We have %uafk_isAFK% that returns a custom value where you can customize inside your config yml

As second one we have %uafk_isAFK_asboolean% that returns true of false depending if selected player is afk or not.

The third one we have %afk_elapsed_time% that returns a clock with the format of "HOURS:MINUTES:SECONDS" or "00:00:00" with the time that a player have been afk

Here an example of this placeholder:

Next placeholder that this plugin has is %uafk_player_playtime%, that returns a value in seconds of the player active time while playing in the server.

and finally we have the placeholder %afk_token% that returns the token of a player if enabled, its not it will returns "0000"


Support Rules & Terms #back to top


Please remember you have purchased a plugin project and you have not paid for a full configuration design/template. Occasionally we will help with small tweaks, but these requests will be put on a lower priority due to their nature. Support is also 100% optional and we provide it for your connivence, so please be patient, polite and respectful.

Please visit my Discord Server or ask question in SpigotMC Private Message

Support for my items/plugins/projects includes:
  • * Responding to questions or problems regarding the item and its features
  • * Fixing bugs and reported issues
  • * Providing updates to ensure compatibility with new software versions
Item support does not include:
  • * Customization and installation services
  • * Support for third party software and plug-ins
Before seeking support, please...
  • * Make sure your question is a valid Plugin Issue and not a customization request.
  • * Make sure you have read through the documentation and any media files guide before asking support on how to accomplish a task.
  • * Make sure to double check our ToS.
  • * Try disabling any active plugins to make sure there isn't a conflict with a plugin. And if there is this way you can let us know.
  • * If you have customized the plugin and now have an issue, back-track to make sure you didn't make a mistake. If you have made changes and can't find the issue, please provide us with your changelog.
  • * Almost 80% of the time we find that the solution to people's issues can be solved with a simple "Google Search". You might want to try that before seeking support. You might be able to fix the issue yourself much quicker than we can respond to your request.

Terms and Conditions #back to top


Terms and Conditions of Usage

Please read carefully every line, they are not alot, but I would appreciate if you can pay attention about this.

  • 1. You are NOT allowed to redistribute this plugin/project.
  • 2. Please do not make stupid reviews, such as (Its missing features, or the dev is nota dding features that I've requested.) Because the features are in the main page!, and you knew them before purchasing, so no complaining!
  • 3. No Refunds!
  • 4. I will try update this plugin as I can, im not forced to do updates everyday.
  • 5. You can't modify the code of this plugin.
  • 6. You can't see the code of this plugin

Version History (Changelog) #back to top



Changelog

                                        -----------------------------------------------------------------------------------------
                                        Version 11.9 BETA - Aug 18th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Added perfomance way for Camera detection in UltraAFK
                                        - Please add the following configuration:
                                            afk-improves:
                                              afk-camera: true
                                              afk-camera-settings: // please add this new line
                                                use-HighDetection-system: false// please add this new line (If you enable this option
                                        plugin may use more resources for increase the players afk detection)
                                        - Added permissions usage for Hologram-System and Inventory System
                                        - Please add the following configuration:
                                            Hologram-System:
                                              enabled: true
                                              use-permission: false  // please add this new line
                                              permission: 'uafk.holosystem' // please add this new line
                                        -  Please add the following configuration:
                                            events:
                                              when-player-gotAfk:
                                                clear-the-inventory:
                                                  enabled: false
                                                  save-the-inventory: true
                                                  use-permission: false // please add this new line
                                                  permission: 'uafk.inventorysystem' // please add this new line
                                        - Hologram feature removed from 1.17+ versions for now, currently waiting for a response from
                                        ProtocolLib developer. Plugin still working without this feature.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.8 BETA C - Jun 25th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Updated AntiPiracy checkers.
                                        - Fixed api problems with 1.8-1.9 versions.
                                        - Optimized playtime tracking in the plugin.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.8 BETA B - Jun 22th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Added new feature, track player's playTime (in seconds).
                                        Please add this new configuration to your config.yml:
                                        configuration:
                                          track-player-playTime: true ## (Default: true) 

                                        NOTE: This new feature will start to track player's playtime in seconds automatically.
                                        You can get the playtime using a PlaceholderAPI Placeholder. More information check it
                                        in PlaceholderAPI Placeholders section in the wiki website.
  
                                        - Added new placeholder %uafk_player_playtime%
                                        - Fixed another minimal bugs and console spams.
                                        - Updated methods with latest dev builds of ProtocolLib.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.8 BETA - Jun 17th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Updated Libraries for compatibility with JAVA 16
                                        - Changed AFK Single Detections & Advanced for InstaAFK Players a bit for add compatibility
                                         with 1.17
                                        - Added new feature, cancel AFK Detections (But Notifications stills sending) in
                                         specific Worlds.
                                        Please add this new config to your config.yml:
                                        configuration:
                                          afk-detection:
                                            disable-afkDetection-inWorlds: ## add the followed lines since here
                                              enabled: false
                                              worldList:
                                              - 'nether'
                                              - 'end'
                                        - Fixed console errors while packets were getting updated.
                                        - Now players will be teleported to the afkzone if they're afk and set-unafk-ondie is false.
                                        - Added a new feature for the token system, allow your players to interact with the afkzone,
                                         like parkours and the entire map. (This includes VOID protection and Fall Damage Protection
                                         to AFK Players, in addition players won't be setted as unafk if they gets teleported to the
                                         same world of afkzone.) Please add this new config to your config.yml:
                                        token-system:
                                                enabled: false
                                                include-numbers: true
                                                token-length: 6
                                                message: '&c&lOops! &bLooks like you still afk. Please use the command &6/unafk
                                         &e &bto be able to move again.'
                                                error-msg: '&c&lERROR: &bThe code entered is invalid, please try again. the token
                                         is &e'
                                                missing-args: '&c&lERROR: &bYou are using the command in an invalid way, please
                                         use &e/unafk &a'
                                                syncWithAFKZone: false ## Add this new line 
                                        - Fixed Hologram system was not being displayed to all players since latest version in 1.16.5
                                        - Added new PAPI Placeholder: %uafk_afk_token%, it returns the token made by the plugin if afk.
                                        - Updated Optional Configuration -> AFK Token System section with last plugin releases in the
                                         wiki website.
                                        - Updated Important Configuration -> Plugin Notifications and AFKMachines section with last
                                         plugin releases in the wiki website.
                                        - The price of the plugin have been increased by 1 dollar.
                                        - Added a new Section in the wiki website: PlaceholderAPI Placeholders, here you can check
                                         all the placeholders running in the plugin.

                                        Please note that there will not be 1.17 updates until an official ProtocolLib release

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.7 BETA B - Jun 12th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed false positives in 1.17 with afk machines
                                        - Recoded some classes for improve compatibility with newest minecraft versions.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.7 BETA - Jun 08th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - First developer version uploaded for be ready in the release of Spigot 1.17
 
                                        ALERT: Some features like hologram-system, antiafk algorithms, auto detection for afk
                                        may not work until an oficial release for 1.17 of ProtocolLib.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.6 D - Jun 06th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Added the variable  to the titles animation section.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.6 C - Jun 03th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed related issues in PlayerInteractEvents throwing NullPointerExceptions.
                                        - First attempt to reduce a false-positive while a player was minning.
                                
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.6 B - May 29th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed related issues with token system at the time of using /unafk command.
                                        - Added a new configuration int to the config.yml in the token system
                                        Please add the following configuration if you use this system in your config.yml
                                            when-player-gotAfk:
                                              token-system:
                                                enabled: false
                                                include-numbers: true 
                                                token-length: 6 

                                        - This new configuration lets you modify the length of the token when its generated.
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.6 - May 29th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed related issues with token system at the time of using /unafk command.
                                        - Added a new configuration boolean to the config.yml in the token system
                                        Please add the following configuration if you use this system in your config.yml
                                            when-player-gotAfk:
                                              token-system:
                                                enabled: false
                                                include-numbers: true 

                                        - This new configuration lets you include numbers or not to the random token generated
                                        by the plugin.
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.5 B - May 27th, 2021
                                        -----------------------------------------------------------------------------------------

                                        -Third and final attempt to fix related issues at perfomances in PlayerMoveEvents
                                        (Thanks to WarnDangerous to give the server for complete my tests)
                                        - Fixed other related issues and console spams witch interaction events.
                                          
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.5 - May 25th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed related issues with console errors spams. (First Attempt to fix)
                                        - First attempt to fix related issues with lag in PlayerMoveEvents.
                                        - Increased the time of afk detection in WaterPools & Spruce-Fence machines for 
                                        make the plugin more flexible at the time of detection afk players.
                                        - First attempt to fix false negatives in waterpools other antiafk machines.
                                        - First attempt to fix related problems with Spigot when saving last player location.
                                        - First attempt to fix JSON Messages in the plugin.
                                          
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.4 B - May 19th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed minor errors in console.
                                        - Updated protection ways for prevent plugin leaking
                                        - Recoded & Fixed automatic-detection for afk-pool machines, now it should have better
                                        handling perfomance at the momment of getting afk players
                                        - Recoded & Fixed automatic-detection for afk-jump machines, now it should detect players 
                                        using pistons for be detected as unafk thanks "interacting" with them.
                                        - This is the last day or 20% SALE of the plugin in MC-Market.
                                        - Added hover and clickable messages for AFK Notification message, please add
                                        these new values: 
                                        plugin-notifications:
                                            players-using-afkmachines: true
                                            force-players-afk-whendetected: true
                                            permission: 'uafk.notifications'
                                            notification-delay: 120
                                            notification: '%prefix% &c&l(!) &bLooks like &c%player_name% &bis using 
                                        an &6AntiAFK Machine&b! &9(Type: &a%machine%&9)'
                                            json-message: 
                                              enabled: false 
                                              text-hover: '&6Click here for TP to %player_name%' 

                                        You can get more information about this latest new feature at Important Configuration 
                                        -> Plugin Notifications and AFKMachines
                                          
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.4 - May 17th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - First attempt to fix MySQL Errors deleting columns of players in the table of
                                        AFKData (Reported in Discord)
                                        - Added: AFK Token System (BETA)
                                        With this feature, you can disable all events that can detect players as unafk
                                        and force the players to execute /unafk  command for get unafk manually.
                                        Please be carefully using this, this feature is in beta.
 
                                        Please add this to your config.yml

                                            when-player-gotAfk:
                                              token-system:
                                                enabled: false
                                                message: '&c&lOops! &bLooks like you still afk. 
                                       Please use the command &6/unafk &e &bto be able to move again.'
                                                error-msg: '&c&lERROR: &bThe code entered is invalid
                                       , please try again. the token is &e'
                                                missing-args: '&c&lERROR: &bYou are using the command in an 
                                       invalid way, please use &e/unafk &a'

                                        You have more information about this new feature in Plugin Customization 
                                       section -> Optional Configurations.
                                          
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.3 E - May 15th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Now holograms wil not be displayed if they're empty.
                                        - Fixed another minimal bugs while using the plugin in console.
                                          
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.3 D - May 13th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - First attempt to fix bug using multiples afk zone locations (Reported in discord)
                                          
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.3 C - May 09th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed all related issues with /afk command since latest update, everything should
                                        be fixed in this new version.
                                          
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.3 B - May 09th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed issues with /afk command using other plugins that has same command. 
                                        (Example: Essentials.)
                                          
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.3 - May 08th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Recoded, Removed warnings and Cleaned classes and make it better than 
                                        before in perfomance
                                        - Holograms now gets updated every one second (They're Packets and running async.)
                                        - (Suggestion by Customer in MC-Market) Added PAPI Placeholder %uafk_afk_elapsed_time%
                                        it returns a cooldown that starts when a player gets afk
                                        - Fixed other internals console warnings.
                                          
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.2 - May 06th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Updated, Recoded and Removed some classes.
                                        - Added PAPI Placeholder %uafk_isAFK_asboolean% // it only can returns true or false.
                                        - Made the plugin less heavy than before.
                                        - Changed MySQL Drivers for make the plugin compatible from 1.8.3 to 1.16.5 with
                                        bungeecord again
                                          
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.1 B - May 04th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed errors when plugin is getting disabled and the myqsl option is enabled in
                                        MULTIWORLD servers.
                                        - Removed unused code and fixed cached information problems that is not being deleted
                                        after plugin restart.
                                          
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11.1 - May 03th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Added auto remove cached variables that wasn't being removed correctly when a player
                                        gets disconnect.
                                        - Fixed related problems when insta-detecting players jumping in the server. 
                                        Now it auto detects them and sets them afk automatically if enabled.
                                        - Fixed related code problems in the compatibility exceptions with mysql executions, changing
                                        drivers of mysql for legacy versions for keep plugin mysql database style updating.
                                        - Add a new auto afk detecting for minecarts (that was already implemented but 
                                        added more checkers for be more optimized and easy to get) // PLEASE ADD THIS TO YOUR 
                                        CONFIG.YML FOR APPLY CHANGES:
   
                                        afk-machines:
                                          jump: AFK Jump
                                          pool: AFK Pool
                                          minning: AFK Minning
                                          spruce: AFK Spruce-Fence
                                          fishing: AFK Fishing
                                          hit: AFK Hitting
                                          vehicle: AFK Vehicles  ## add this new line
                                          
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11 D - Apr 30th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed bug where camera wasn't detecting players as unafk when the config this
                                        option is enabled
                                        - Fixed unstable mysql connection when plugin is starting to load in a server.
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11 C - Apr 27th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Added safe protections at the momment of closing connections for prevent Connection
                                        Leaking error between plugin and the mysql database. (First Attempt)
                                        - Fixed bug where plugin wasn't detecting as player as no-afk since last plugin release
                                        - Fixed minor bugs and errors that was being executed and was stopping the basic
                                        process at the plugin when some player was being setted as AFK.
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11 B - Apr 24th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Third attempt to fix mysql connections where this one was being closed for some
                                        reason, just changed some configurations inside the hikari config in the plugin.
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 11 - Apr 22th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed minor bugs in config, plugin was detecting players as unafk while they jumps
                                        when this configuration is dsabled.

                                        - Fixed bug in PaperSpigot 1.16.5 builds, server wasn't being able to read the current
                                        dependency classes of the plugin.
 
                                        - Dependency classes has been relocated again for improve better perfomance between
                                        packages

                                        - Changed MySQL Drivers for improve and keep updated the plugin in the best ways at 
                                        optimization and plugin compatibility.

                                        - Recoded, Cleaned and Reworked some classes for improve better perfomance and make the
                                        less heavy.
                         
                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 10.9 P - Apr 18th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Relocated all plugin dependencies (like hikari and other packages) into a custom
                                        package from the plugin, this for stop interacting with other plugin class and make
                                        problems while using them.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 10.9 O - Apr 15th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Made modifications in the hikari configuration sections for increase the perfomance 
                                        between connections and fix minimal and related problems until latest version.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 10.9 N - Apr 11th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed related problems with mysql connections. Thanks to Galexrt in discord.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 10.9 M - Mar 8th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed warn spamming in console when player disconnects from the server, looks like
                                        some run operations where enabled while this player was offline and was making 
                                        spam as warns in console

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 10.9 L - Mar 8th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Made some internal configuration changes in the process of connections to MySQL 
                                        Databases in BungeeCord modes.
 
                                        - Now Connection session to Databases, idle timeout has been changed to 100000.

                                        - Fixed other minor bugs related to some events wasn't being executed as it should
                                        
                                        - Added a discount of 1 USD for buy MySQLPAPIBridge if you purchase UltraAFK. 
                                        (Expires: 01/04/2021) this is avaible for old customers too. (Claim this in my discord)

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 10.9 K - Mar 8th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed minor patterns in the MySQL Configuration that I've solved
                                        in MySQLPAPIBridge before
                                        
                                        - Removed more unused imports.
           
                                        - Removed unused code and made the code with more perfomance at the tasks of 1s.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 10.9 J - Mar 7th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Fixed minor bugs in console while player interacting with events in 1.16 versions
 
                                        - Changed ways of optimization if PlayerMoveEvent, this wasn't being laggy but I 
                                        thought that would be a good idea if I change some patterns.

                                        -----------------------------------------------------------------------------------------
                                        -----------------------------------------------------------------------------------------
                                        Version 10.9 I - Mar 7th, 2021
                                        -----------------------------------------------------------------------------------------

                                        - Finaly, added a Wiki Website for the plugin 
										
										- Fixed errors while enabling the plugin (Thanks to WarnDangerous in Discord)
										
										- Removed unused imports and fixed minimal errors.

                                        -----------------------------------------------------------------------------------------

                                      

Copyright#back to top


UltraAFK is a project made totally by HotDoctor, and the project must be protected by ToS all the time, Customer must follow every line in the terms for get a good support and perfomance with the plugin, UltraAFK is not associated with any Third-Party Project or Minecraft.

Thanks for your purchase!