Commit Graph

57 Commits

Author SHA1 Message Date
Teriuihi 2877ffd603 Change configuration file path
Updated the path of the configuration files in both MessagesConfig and Config classes. Instead of referencing the user's home directory, it now points to a dedicated directory under '/mnt/configs'.
2024-07-19 21:15:06 +02:00
Len 66276fbf47 Improve support for mypet 2024-04-20 15:12:13 +02:00
Len 1672fccced Automatically update version in plugin.yml 2023-12-30 22:37:03 +01:00
Len 1e7d3c7d93 Add Jenkinsfile 2023-12-30 21:34:09 +01:00
Len d179384954 Fix bossbar not working when mypet is not enabled 2023-12-30 13:52:33 +01:00
Len 687e063ad9 Add buildnumber 2023-12-25 14:35:44 +01:00
Len cf9619d0f9 Update .gitignore 2023-12-17 13:14:50 +01:00
Len a00d7cc599 Update to 1.20.4 2023-12-17 13:11:06 +01:00
Len 88ac1e40ad Do not set setSleepingIgnored, functionality is included in Galaxy 2023-08-11 20:55:03 +02:00
Len 25b9a6733e Do not kick staff while they are vanished 2023-07-31 13:29:28 +02:00
Len 4a21cb3d33 Send pet away when player goes AFK 2023-07-31 13:20:44 +02:00
Len a862cbe21f Removed unused code 2023-07-09 00:54:51 +02:00
Len 27d75fcfa3 Fix some merge issues 2023-07-09 00:52:32 +02:00
destro174 d7797a496d
Merge pull request #2 from Altitude-Devs/afk_mobs
Afk mobs
2023-07-09 00:34:16 +02:00
destro174 2aea075786
Merge branch 'master' into afk_mobs 2023-07-09 00:33:59 +02:00
destro174 961950a90b
Merge pull request #1 from Altitude-Devs/RemoveTeams
Remove teams, sideeffect is that players will be able to push afkplayers.
This should be handled by Galaxy in EntitySelector
2023-07-08 22:32:48 +02:00
Len 6546655dc0 Update Galaxy reference 2023-07-08 22:31:21 +02:00
Len 9ac7d48760 Remove teams and start making use of the AFK API in Galaxy 2023-07-08 22:13:24 +02:00
Teriuihi 399ee1394b Fix afk kick bar timer not progressing 2023-06-23 00:22:16 +02:00
Teriuihi e9ed408489 Changed afk now bar to be afk kick soon 2023-06-21 23:14:55 +02:00
Teriuihi baad49a608 Made afk check not consider y for distance to ensure acrobatic grinders don't bypass the check 2023-06-19 22:59:48 +02:00
Teriuihi 647922cfc5 Switched to using galaxy's build in afk system for preventing mob spawning/ticking
Moved some displayed text to message config
2023-05-26 01:44:06 +02:00
Teriuihi 9bbc4882a0 Added boss bar and blocked more spawning 2023-05-25 23:15:57 +02:00
Teriuihi a482064e50 Testing blocking spawning for afk players 2023-05-24 03:03:10 +02:00
Teriuihi 46e763500f Prevent people from locking themselves out of using commands to go unafk after having done just / (all commands start with / after all) 2023-04-10 03:41:53 +02:00
Teriuihi ac9cfc1b67 Match full command instead of just the base to avoid issues like party chat or /r not cancelling afk if they're not duplicates 2023-03-30 14:54:13 +02:00
Teriuihi 3798cf5e7e Removed unused script 2023-03-30 14:12:19 +02:00
Teriuihi c9c1ca2c51 Added history for commands/message to avoid bypassing afk by sending the same command/message regularly 2023-03-30 14:11:54 +02:00
Teriuihi 91a492b87f Auto formatting spacing 2023-03-30 02:28:13 +02:00
Teriuihi ce798fcefa Improved code readability (for me) 2023-03-30 02:24:56 +02:00
Teriuihi af47035b8b Switch to gradle 2023-03-30 01:45:49 +02:00
Teriuihi 5b1f5e2ad2 Prevent adding multiple suspicious kicks for one kick 2022-09-04 21:21:08 +02:00
Teriuihi 51f0773c5e Fixed time conversion being minutes to millis instead of seconds to millis 2022-09-04 00:51:22 +02:00
Teriuihi d943ce999e Fixed time conversion being from seconds to millis instead of minutes to milis and npe for last kicked tracker 2022-09-02 21:34:28 +02:00
Teriuihi dd80712fee Changed afk notify message for staff to display full afk time 2022-09-02 19:53:31 +02:00
Teriuihi 7b6a045127 Fixed incorrect conversion of seconds for tracking the last kick 2022-09-02 19:52:54 +02:00
Teriuihi 480494df39 Merge remote-tracking branch 'origin/master' 2022-09-02 03:02:20 +02:00
Teriuihi d25e76dc48 Added a way to add extra time when a player is afk in spawn 2022-09-02 03:02:11 +02:00
Stijn 4f973fa951 Added a way to track how often players relog within 30 seconds of being afk kicked 2022-08-31 21:25:49 +02:00
Teriuihi 14f45d2d82 Replaced stream with bukkit.broadcast with permission check 2022-08-31 02:45:25 +02:00
Teriuihi 32c1ae7fac Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/com/alttd/afkdectector/AFKCheckTimer.java
#	src/main/java/com/alttd/afkdectector/MessageTimer.java
#	src/main/java/com/alttd/afkdectector/afkplayer/AFKPlayer.java
#	src/main/java/com/alttd/afkdectector/command/AFKCheckCommand.java
#	src/main/java/com/alttd/afkdectector/command/AFKListCommand.java
2022-08-31 02:42:51 +02:00
Teriuihi 7f49e0f4fe Added an option to notify staff for afk kick
Added an option to disable notifying staff for a player being marked as afk
Updated minimessage
2022-08-31 02:36:47 +02:00
Len a9da75e86e 1.18.2 2022-05-21 15:58:32 +02:00
Len 2863ed317b 1.18.2 2022-05-21 15:56:00 +02:00
destro174 c7e21358fb commit 2022-03-14 22:16:15 +01:00
destro174 0531e9a3d7 We don't need file extentions when using AbstractConfiguration 2022-01-08 14:52:44 +01:00
destro174 37faacdc6b switch config to configurate 2022-01-08 14:20:07 +01:00
destro174 c487b621e2 update minimessage 2022-01-08 14:16:47 +01:00
destro174 b7dd650052 Update to 1.18. 2021-12-19 00:31:09 +01:00
destro174 6c35c704c3 add a reload command 2021-08-22 10:50:39 +02:00