AFKZone - Make AFK time profitable v2.0

Earn gems on autopilot - AfkZone rewards players for their AFK time
  • Progress Bar Color Fix: Resolved an issue whee completedBarColor and uncompletedBarColor being incorrectly assigned.
  • IP Address Limit Option: Introduced the afkzoneLimitPerIp configuration option, which restricts access to the zone based on IP address. Setting this value to -1 disables this feature
  • Permission Check: Implemented a permission check within the AfkzoneEnterEvent, effectively preventing players from entering the zone if they lack the necessary permissions. (For afkzoneLimitPerIp and afkzone required permission)
  • AFK System Overhaul: Redesigned the entire AFK zone system to track player AFK time instead of relying on server timers.
  • Rewards System Integration: Removed the commands section from the AFK zone data structure and replaced it with a rewards section. This change enables the inclusion of chance-based rewards, such as items and commands.
  • Permission-based rewards: Introduced a permission entry to the AFK zone rewards system. If specified, the reward will only be given if the player has the required permission. Leave the field empty to create non-permission-based rewards.
  • Updated Placeholder System: Recoded the placeholders to align with the new AFK zone system.
  • Sound Notifications for Rewards: Added options for soundRewardStatus and soundRewardType, which trigger sound effects when rewards are granted to players.
  • Title Notifications for Rewards: Introduced new options for reward notifications, including titleRewardStatus, titleRewardTitle, and titleRewardSubTitle.
  • Custom Models Support: Fixed an issue that prevented the use of custom models for items in the shop.
  • Placeholders in Messages: Added support for placeholders like {time} and {time_short} in the zoneLeave config entry.

  • Reward Tries Limit: Introduced a new maxRewardTries entry to the configuration for AFK zone rewards. This feature prevents memory leaks by limiting the number of reward attempts when all rewards require a permission that the player does not have.
  • Added {before} and {after} placeholders to the afkzone shop transaction embed (currencyTransactionEmbed):
- The {before} placeholder will now display the user's balance before the transaction.
- The {after} placeholder will show the updated balance after the transaction.
  • Added Category Placeholder: Added {category} placeholder in the shopTransactionEmbed this displays where the item has been purchased
  • Added UUID Placeholder: Added {uuid} placeholder in the currencyTransactionEmbed setting, this will display the receiver ingame uuid.
➻ Added reopenPreviousMenu option to config - (This new option in the configuration allows for toggling whether or not the previous menu automatically reopens after certain actions.)
➻ Added GemsTransactionEvent [cancellable] event - (This event is triggered whenever something related to "Gems" is modified using the /gems command.)
➻ Added discord webhooks support - (This feature sends notifications to a Discord channel whenever a shop purchase is made or any modification to the gems currency happens.)
➻ Added /gems open <player> [category] command - (This command opens the gems menu for a specific player. Optionally, you can specify a category to jump directly to a certain section within the gems system.)
➻ Added /gems reload (Reloads all Data e.g Configs and Gem shop)
➻ Added /afkzone gems <zone> <amount> (Sets the amount of gems the zone gives)
➻ Added the ability to parse PlaceholderAPI through commands, can be toggled via parse-commands-with-papi config option. This would allow for usage of features like https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#randomnumber, and much more.
➻ Added region permissions (leave empty for no permission required)
➻ SQL Database improvements
➻ Added categories
➻ Other various optimisations
Buy a license now
$7.99
EULA
Standard EULA
Use on any projects you own with attribution
Support
Standard
Includes:
Download the resource
Access new updates
Support from the creator
Support duration
Lifetime
Share and earn
Refer this resource and earn a 10% commission.
1,808 Views
7 Purchases
6 Downloads
Feb 5, 2024 Published
Oct 8, 2024 Updated
Not yet rated
1.9 MB File size
Type
  1. Gameplay
  1. Economy
  1. Monetization
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 1.8
  1. 1.9
  1. 1.10
  1. 1.11
  1. 1.12
  1. 1.13
  1. 1.14
  1. 1.15
  1. 1.16
  1. 1.17
  1. 1.18
  1. 1.19
  1. 1.20
  1. 1.21
Creators
Owner
Support
Recommended for you
The Best Premium Harvester Hoes plugin with Upgrades, Enchants (like autosell) and more...
5.00 star(s) 10 ratings
125 purchases
Consists of Custom Mobs with custom drop, a drop shop, portals and other cool region features.
5.00 star(s) 1 ratings
52 purchases
Upgradable Pickaxes, Enchants, Block Regeneration, Rewards, Shop & more!
5.00 star(s) 2 ratings
51 purchases
The Best Premium Mob Swords plugin with Upgrades, Enchants (like autosell) and more...
5.00 star(s) 1 ratings
48 purchases
The Best Premium Fishing Rods plugin with Upgrades, Enchants (like autosell) and more...
5.00 star(s) 1 ratings
40 purchases
Share and earn
Refer this resource and earn a 10% commission.
1,808 Views
7 Purchases
6 Downloads
Feb 5, 2024 Published
Oct 8, 2024 Updated
Not yet rated
1.9 MB File size
Type
  1. Gameplay
  1. Economy
  1. Monetization
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 1.8
  1. 1.9
  1. 1.10
  1. 1.11
  1. 1.12
  1. 1.13
  1. 1.14
  1. 1.15
  1. 1.16
  1. 1.17
  1. 1.18
  1. 1.19
  1. 1.20
  1. 1.21
Creators
Owner
Support
Recommended for you
The Best Premium Harvester Hoes plugin with Upgrades, Enchants (like autosell) and more...
5.00 star(s) 10 ratings
125 purchases
Consists of Custom Mobs with custom drop, a drop shop, portals and other cool region features.
5.00 star(s) 1 ratings
52 purchases
Upgradable Pickaxes, Enchants, Block Regeneration, Rewards, Shop & more!
5.00 star(s) 2 ratings
51 purchases
The Best Premium Mob Swords plugin with Upgrades, Enchants (like autosell) and more...
5.00 star(s) 1 ratings
48 purchases
The Best Premium Fishing Rods plugin with Upgrades, Enchants (like autosell) and more...
5.00 star(s) 1 ratings
40 purchases
Top