Page: 1 2

2.5.9.3 Mar 24, 2024
Update

New features:

  • AFKPass added new commands (reload, reset [all/player])
  • AFKPass added new fill item to make the gui look more full
  • Added new placeholder for AFKPass to check the player's highest tier: %afkpass_tier%
  • Added the ability for Player Rewards to reset the player's/all reward type
  • Added new placeholder %afkrewards_nextreward% to check the player how many minutes/seconds/hours/etc. has to wait until next reward

Bugs fixed:

  • Fixed the possibility of any player that had trewards.use to reload the config of it

2.5.9.2 Feb 29, 2024
Updt

**AFK Rewards Premium v2.5.9.2**:
(no new major updates right now, but some smaller ones will come soon, I've made this one as a quick update)
New features:
- The licensing system now is async meaning if the licensing bot @Licenses#9015 is down, the server shouldn't crash (for some people) anymore.

Bugs fixed:
- /tplaytime didn't work 


2.5.9.1 Jan 25, 2024
IMPORTANT SECURITY UPDATE

Use THIS VERSION!


2.5.9 Jan 24, 2024
New update ^-^

New features:
- 1 new config setting:
use_subregions: false
- 90% of player checks now work asynchronously 
- New method called "check" which works only async and also when a player teleports it should make him join the region (haven't fully tested it on big player bases but it should work better than the other one)

Bugs fixed:
- When player restarts/stops and some players are inside a region and they get kicked it pops up an error, now it's fixed
- Subregions performance issues
- If you were using any method beside "optimized", "optimized" would still check for player movement


2.5.8 Nov 19, 2023
License Migration

We've finally migrated our licensing system to a new one!


2.5.7 Nov 11, 2023
EXTREMELY IMPORTANT FIX

The host's ip has been changed. Use this version in order to make it work again.


2.5.6 Oct 31, 2023
IMPORTANT FIX

New features:
- methods, you can now use the checking methods, they can either be optimized or check, put this in config.yml:
player_check_method: "optimized" # this checks the player's movement for when he enters a region, however sometimes he can't enter a region
# or use 'check' to automatically check all players every second (not as optimized as the first one)

Bugs fixed:
- On 1.8 each time you would leave the region you would get an error PLAY_ONE_MINUTE
- Another bug when leaving the region was when the player quit, now it's fixed
- Fixed some optimization issues


2.5.5 Oct 21, 2023
IMPORTANT UPDATE

Features:
* You can now choose the format when the player enters/leaves a region:
regions:
  type: titlescreen # you can also put titlescreen, chat or actionbar, this also goes for subregions, aka regions type = subregions type
  entered: '&cYou &fentered &can afk region!'
  left: '&cYou just &fleft &cthe afk region!'

Bugs fixed:
* When a player didn't have perm, you would get an error in the console, now it's fixed.


2.5.4 Oct 7, 2023
Playtime update

you can now use most of the /tplaytime commands in console

new settings inside playtime.yml

  1. Time format week update:
time_format: week: " week, " weeks: " weeks, " ...
  1. remove_playtime_inside_afk_region:
remove_playtime_inside_afk_region: false # after a player leaves a region, it will calculate the total time spent in there and remove the playtime he spent there

2.5.3 Oct 6, 2023
Playtime claim fix

In some cases, when doing /tplaytime claim, the server would crash. It has been fixed.


2.5.2 Sep 28, 2023
2.5.2
Playtime placeholder now also show weeks!

2.5.1 Sep 27, 2023
AFK Timer in seconds + more

You can now also use {timer} inside the title screen, also new placeholder: %afktimerseconds% --> shows the timer in seconds


2.5.0 Sep 23, 2023
2.5.0!

New features:

* Player invisiblity, now you can make it so if there are too many players, activate invisiblity (reduces player lag)

* Global region override, now you can put like 5 regions in the same place and for each one give different rewards (good for donors)

* Subregions! That's right, subregions. Players with a specific block will now be able to have their own afk region at their own base! Wow, think of that. You can give custom subregions using the command /silentgive {player} {item} {amount} {true/false} if it's true then the block (only this case) will have at the end an "encrypted" lore line with the block id.

* And a lot more mini features which you won't notice but they add up :)

Bug fixes:

* I haven't found really that many bugs, just some minor ones. Also, cached a lot of variables A.K.A. optimization :)


2.4.9 Sep 14, 2023
Reward give patch fix

Sometimes if the players glitched out of the rewards section without being removed from the region they would still be able to get rewards. Now it's fixed and logged.


2.4.8 Sep 9, 2023
Force reload config fix

After you reloaded the config by force, players wouldn't be able to re-enter the region, now they can :)


2.4.7 Sep 9, 2023
LOGS!

Now you can see each players when he left/entered a region and what rewards they've received too at what timestamp. This is useful because some players might lie about them not receiving any rewards from the afkzone. It's better to be safe with this! To activate/disable this feature, inside the performance section make logs : true/false (true by default)


2.4.6 Sep 6, 2023
onQuit fix

Sometimes, when a player QUIT it would throw an error


v2.4.5 Sep 3, 2023
Extremely fast rewarding system.

The new rewarding system for afk regions is now released!

It is now 3x faster than the old one.

New features:

-  instead of xp_usage_when_in_region, it's now block_xp_usage_when_in_region


v2.4.2 Sep 1, 2023
IP Limiter Fix

The ip limiter wasn't working properly, now it's fixed.


v2.4.1 Aug 29, 2023
ShopGUI+ compatibility fixed.

Title is self-explanatory 


v2.4.0 Aug 29, 2023
IP-LIMITER UPDATE!

Features:
  * Now you can add ip limiters, a.k.a. only 1 player per ip receive rewards inside the afk region.

Bugs fixed:
  * Default_afk_time would mess up with other timings so now it has been removed and replaced with ip_limit
  * ShopGUI+ would give an error when the provider was registered


v2.3.0 Aug 25, 2023
Small bug fix

If the default_time was set to -1 it wouldn't work


v2.2.5 Aug 24, 2023
IMPORTANT FIX

IMPORTANT FIX
Use dev_mode: true to check if a player has been registered into your region and many more things!

  1. Initialization and Handling of Variables:

    • Ensured that commandData is initialized before being used in loops.
    • Checked for null before processing commandsSection and regionSection.
  2. HashMap Overwriting:

    • Created a new instance of commandData for each region iteration to prevent overwriting data.
  3. Division by Zero:

    • Added checks to avoid division by zero when calculating ratio.
  4. Config Retrieval:

    • Retained the structure of retrieving values from the config object.
  5. Debugging and Logging:

    • Left the loggers statement for debugging purposes. (if dev_mode=true)
  6. Data Copying and Isolation:

    • Created new instances of lists and maps (ArrayList and HashMap) when storing them in commandData and test to avoid shared data.
    • Created deep copies of the test map to ensure complete isolation of data between regions.
  7. Robustness and Defensive Programming:

    • Added checks to ensure that null values are handled before processing.

v2.2.0 Aug 22, 2023
TIMEOUTS + DEV MODE!

Timeouts, if you are tired of players being AFK all day and only stay there to receive rewards (some may use bots) you can time them out a.k.a. teleport them anywhere u want or do anything u want with them after the player has received the reward N times
timeout:
  times: 0
  commands:
  - msg {player} you have been timed out!

Dev mode, this is for debugging purposes only


v2.1.5 Aug 20, 2023
PROBABILITY UPDATE!

You can now execute multiple commands in a probability list.


Page: 1 2