Commit Graph

66 Commits

Author SHA1 Message Date
Len 054f39407d Check if mypet is enabled 2025-07-07 16:18:48 +02:00
akastijn 53569f0951 Fix typo in Gradle property name for Nexus credentials in Jenkinsfile 2025-06-28 03:01:02 +02:00
akastijn 7d046a060e Use Jenkins credentials binding for Nexus snapshot authentication 2025-06-28 02:59:55 +02:00
akastijn ef211c8de3 Use Jenkins credentials binding for Nexus snapshot authentication 2025-06-28 02:58:04 +02:00
akastijn d156ee954a Pass Nexus snapshot credentials to Gradle build in Jenkinsfile 2025-06-28 02:54:15 +02:00
akastijn 7876f92f62 Remove unused AbstractConfig class 2025-06-28 02:52:34 +02:00
akastijn d0552271a3 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	build.gradle.kts
#	src/main/java/com/alttd/afkdectector/MessageTimer.java
#	src/main/java/com/alttd/afkdectector/config/Config.java
#	src/main/java/com/alttd/afkdectector/config/MessagesConfig.java
2025-06-28 02:50:07 +02:00
akastijn b90fe7e288 Update to 1.21 with Cosmos 2025-06-28 02:47:49 +02:00
Len 064191f19b Update to 1.21.6 2025-06-15 14:10:07 +02:00
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