Commit graph

94 commits

Author SHA1 Message Date
6ff6ec9d6b
fix: improve error handling in ChatCommands
Updated error handling to throw RuntimeException instead of printing stack traces. Enhanced user feedback by standardizing error messages across various chat command operations.

Signed-off-by: Minecon724 <git@m724.eu>
2025-02-03 10:52:04 +01:00
541f095075
fix(motd): handle FileAlreadyExistsException in directory creation
Added a catch block for FileAlreadyExistsException to prevent unnecessary exceptions when the "motd sets" directory already exists. This ensures smoother execution and improves error handling during initialization.

Signed-off-by: Minecon724 <git@m724.eu>
2025-02-03 10:42:12 +01:00
1fafc90e04
refactor(pomodoro): simplify plugin instance retrieval
Some checks are pending
/ build (push) Waiting to run
Replaced passing the plugin instance to PomodoroRunnable with direct access via TweaksPlugin singleton. This removes redundant code, improving clarity and maintainability.
2025-02-02 14:57:18 +01:00
ad1a699d38
feat(auth): improve error handling and key generation logic
Added new error handling for key assignment failures, including user-facing messaging. Enhanced secure key generation with fixed length and randomness via `SecureRandom`. Removed redundant TODO comments and replaced placeholder exception handling with actionable implementations.
2025-02-02 14:57:00 +01:00
7de46b879b
Refactor MOTD configuration and improve file handling
Revised the MOTD configuration setup to use a direct boolean flag for enabling/disabling instead of relying on string checks. Updated file handling to use `Path` and modernized directory creation logic for better error handling and clarity. Removed unused code and cleaned up resource management in `MotdModule`.
2025-02-02 14:12:19 +01:00
cbe9f77cca
Remove obsolete comment about static method in TweaksModule
The removed comment questioned making a method non-static, which is already resolved or irrelevant. This cleanup improves code readability and eliminates confusion.
2025-02-02 14:05:44 +01:00
c096674a15
Support sleep mechanics across multiple worlds
Refactored `TimeForwardRunnable` to handle multiple worlds instead of a single hardcoded world. The code now dynamically retrieves sleep percentage and processes time advancement for each world, improving flexibility and compatibility.
2025-02-02 14:03:22 +01:00
232e0bfa9a
Durability toggle
All checks were successful
/ build (push) Successful in 44s
2025-01-28 10:18:15 +01:00
9345efe1d4
Initial durability module
All checks were successful
/ build (push) Successful in 50s
2025-01-27 08:45:52 +01:00
2761ed8757
Slightly smarter updater notice
All checks were successful
/ build (push) Successful in 50s
2025-01-26 12:41:40 +01:00
2a65e9dbcb
Fix small debug log mistake
All checks were successful
/ build (push) Successful in 46s
2025-01-25 20:32:17 +01:00
29f79a8771
Improve config loader
All checks were successful
/ build (push) Successful in 50s
2025-01-24 18:42:39 +01:00
7b65be86ad
Move modules to modules 2025-01-24 10:05:49 +01:00
1ac32a093f
Use boring syntax for permissions
Some checks failed
/ build (push) Has been cancelled
2025-01-20 13:54:19 +01:00
15c97ee256
Ask to keep metrics
All checks were successful
/ build (push) Successful in 52s
2025-01-20 12:50:54 +01:00
7ed9a702ca
Replace nonsensical text
All checks were successful
/ build (push) Successful in 47s
2025-01-20 12:49:37 +01:00
832a5edccc
Add version notice 2025-01-20 11:16:20 +01:00
6e0d7e5a40
Fix sleep 2025-01-20 11:16:01 +01:00
f891fbbb90
Make 1.21.4 the native version 2025-01-20 10:36:50 +01:00
e5d2938845
Refactor updater
Some checks failed
/ build (push) Has been cancelled
2025-01-20 08:10:38 +01:00
2430416915
Misc
All checks were successful
/ build (push) Successful in 1m10s
2025-01-18 18:36:24 +01:00
19ab653181
Fix config mistake
All checks were successful
/ build (push) Successful in 59s
2025-01-05 10:29:48 +01:00
9bcdcc17ba
Elaborate on warning 2025-01-03 14:12:24 +01:00
a48fe97b4d
Elaborate on slow module
Not even my fault
2025-01-03 13:54:48 +01:00
648535fd22
Make abstract
All checks were successful
/ build (push) Successful in 1m1s
Before it's too late
2025-01-03 13:14:21 +01:00
e59b95e2ef
Auto swing mode
All checks were successful
/ build (push) Successful in 59s
2025-01-02 20:29:59 +01:00
6e45491508
Don't touch vertical knockback 2025-01-02 20:23:18 +01:00
afed2a8f78
Add sleep heal option 2025-01-02 20:21:12 +01:00
4bf6ec5ae7
Always use 1.21.1 API 2025-01-02 19:44:24 +01:00
fa96487ef6
Add swing module 2025-01-02 18:56:42 +01:00
81fa6440a0
Improve hardcore RNG
All checks were successful
/ build (push) Successful in 57s
2025-01-02 13:19:23 +01:00
6ad6550f5d
Fix logging in updater 2025-01-02 12:54:08 +01:00
c5743dbb64
Fix missing library on Paper
All checks were successful
/ build (push) Successful in 1m0s
2025-01-01 16:20:28 +01:00
c8d394c31e
Add killswitch feature 2025-01-01 15:37:05 +01:00
d03f8e35fb
Move cache where it should be 2025-01-01 14:52:36 +01:00
a157943187
JSON in motd
All checks were successful
/ build (push) Successful in 54s
2025-01-01 12:10:42 +01:00
c0b85870e0
Rename to gateway, add crafting, some other changes
Some checks failed
/ build (push) Has been cancelled
2024-12-31 21:35:44 +01:00
225adf0354
Remove debug printlns
All checks were successful
/ build (push) Successful in 1m2s
2024-12-31 18:39:34 +01:00
812b16e4be
Click to copy repeater
Also added translation for copying
2024-12-31 18:15:09 +01:00
1acfcd273d
Forgot to enable knockback module 2024-12-31 17:07:51 +01:00
c92d4429da
Also move updater cache
From "cache/updater" to "storage/cache/updater"
2024-12-31 17:04:39 +01:00
6153da89a1
Fix wrong tip if wrong config version 2024-12-31 17:01:49 +01:00
3a6d1366ab
Bump config version because we're getting tons of changes 2024-12-31 16:38:33 +01:00
9e4125dd4e
Move chat storage
From "rooms" to "storage/rooms"
2024-12-31 16:37:32 +01:00
69cb2ef9af
Move auth storage
From "auth storage" to "storage/auth"
2024-12-31 16:29:39 +01:00
1cc787230c
Timer when pomodoro ends
All checks were successful
/ build (push) Successful in 58s
2024-12-31 15:35:36 +01:00
e409d3e4df
Knockback module
All checks were successful
/ build (push) Successful in 56s
2024-12-31 14:28:56 +01:00
ad36edd5cd
Use the new class here 2024-12-31 13:36:03 +01:00
d922221589
Refactoring and clean ups 2024-12-31 13:34:17 +01:00
916f44da47
redstone WIP 2
All checks were successful
/ build (push) Successful in 1m1s
2024-12-30 21:07:47 +01:00