Commit Graph
315 Commits
Author SHA1 Message Date
tbm00 2308d98dcd Added /fldelete <name> to delete profiles from storage (#1283)
* Added `/fldelete <name>` to delete profiles from storage by name

* Implemented requested changes for pull request #1283

* Update delete command's perm default
2025-05-26 14:51:21 +02:00
TuxCoding 1b45b8d2be Run tasks directly instead of using the sync method
Fixes #1291
2025-05-13 17:05:23 +02:00
TuxCoding 568ad7a621 Add configuration option to kick players when toggling premium state
Fixes #1285
2025-04-23 17:12:32 +02:00
TuxCoding 46239c9ffc Use InboundConnection as session keys for Velocity
Related #1286
2025-04-23 12:22:10 +02:00
TuxCoding dd2aa922d7 [ci-skip] Add project logo 2025-03-18 17:22:48 +01:00
games647 b77ea285e5 Be more precise about why using legacy scheduler 2025-03-18 17:22:48 +01:00
games647 829c70a51b Disable connection verification by default
This matches the vanilla, Spigot, BungeeCord and Velocity configuration.
Mojang seems to have too many issues like IPv6 errors and it's atm not
very useful for server administrators.

Fixes #1102
2024-05-22 15:32:30 +02:00
wtlgo 54b49eb6be Fix floodgate config parsing 2024-05-21 17:02:46 +03:00
games647 be2ec1e5a8 Clean up methods names and documentation 2024-05-21 14:41:41 +02:00
games647 f1b780c398 Clarify pending logins methods 2024-05-11 11:15:13 +02:00
games647 33d3c751b9 Sanity check password generator 2024-05-11 11:13:52 +02:00
games647 1f9253895c Document missing premium parameter 2024-05-10 12:06:20 +02:00
games647 756b777056 Use a better method name for StoredProfile.isPremium 2024-05-10 10:09:12 +02:00
games647 07e19b590a Fix missing class 2024-05-08 09:33:36 +02:00
games647 bb78043d64 Run delayed velocity tasks under our scheduler too 2024-05-07 20:31:55 +02:00
games647 7b6d2062cf Update license year 2024-05-06 16:40:24 +02:00
games647 690eabaa5e Use reflection for test to fix compiling core to older Java versions 2024-05-06 09:40:07 +02:00
games647 8e35c5df90 Update dependencies 2024-05-03 10:43:57 +02:00
games647 cf4d19aeca Update deps 2024-05-02 10:57:51 +02:00
games647 1889c2605e Add unit test for multi-release scheduler 2024-05-02 10:57:10 +02:00
games647 b9e94d3020 Improve threading by making use of green threads with Java 21
This is an experiment. The code was checked to keep blocking
of platform threads to a minimum (See [1]). This will keep
overhead to of using threads small while only I/O will
allocate more threads.

The project now uses Multi-Release Jars, so it will detect
correct version during runtime while keeping backwards
compatibility. However, your IDE might be set manually to
Java 21. A multi-project [2] architecture might be necessary,
but not tested if it really fixes it.

[1] https://openjdk.org/jeps/444
[2] https://maven.apache.org/plugins/maven-compiler-plugin/multirelease.html
2024-04-30 15:57:02 +02:00
games647 a65a5f3020 Make ignore states more verbose in Velocity 2024-02-13 16:54:23 +01:00
games647 d89d332273 Minor code recommendations 2024-02-13 16:54:22 +01:00
games647 60a65377b8 Hint proxy setup guide and out of date versions 2024-02-13 16:54:22 +01:00
games647 434a276d30 Invert if and document migration flow for better readability 2023-12-11 16:16:16 +01:00
games647 485af5e044 Document states 2023-12-11 16:16:16 +01:00
Smart123s e566740dde Differentiate Floodgate players during login 2023-12-11 16:16:15 +01:00
Smart123s db5b818a80 Add Floodgate variable to StoredProfile/Database 2023-12-11 16:16:15 +01:00
Smart123s b0b998d1aa Use columnName instead of columnIndex
It's safer to rely on names instead of indexes.
It's also easier to add new columns at the end of the table.
2023-12-11 16:16:15 +01:00
games647 e15ea9ce85 Restore support for fully qualified storage drivers
Related #1100
2023-10-12 10:47:14 +02:00
games647 ec657faaff Force lowercase SQL driver name to improve type checks 2023-10-11 13:40:57 +02:00
games647 159a6ed37c Add JavaDoc snippets and tiny reformats 2023-08-31 12:08:40 +02:00
games647 a182976207 Update license date 2023-04-13 12:00:07 +02:00
games647 477ec06d55 Encapsulate storage implementation 2023-04-12 11:30:07 +02:00
games647 e5d61101ae Typo fixes 2023-04-11 10:36:42 +02:00
games647 42911e978f Rephrase auto-login documentation
Fixes #465
2023-04-01 14:24:51 +02:00
games647 546bbede0b Fix compatibility with older guava versions like Minecraft < 1.19 2023-03-31 13:06:12 +02:00
games647 0adadd02a1 Find the correct floodgate version 2023-03-24 17:03:37 +01:00
Smart123s 2fae5060dc Change Geyser AuthType classpath 2022-09-21 13:26:35 +02:00
games647 6fe7eb2c24 Do not set date format for older SQLite versions
Fixes #877
2022-08-10 18:20:57 +02:00
Smart123s 649ce8cb1a Revert "Workaround for Floodgate prefixes with ProtocolLlib"
This reverts commit 94979a3
This reverts commit e82e7c7
This reverts commit b92911b
This reverts commit 03850ae
This reverts commit 8859ebb
2022-08-09 17:27:28 +02:00
Smart123s 61f949cf97 Revert "Fix Floodgate detection for buggy ProtocolLib"
This reverts commit 9978fe69
2022-08-09 17:27:28 +02:00
games647 1694a7a4f3 Do not override driver setting if using the simplified version 2022-08-09 09:25:56 +02:00
games647 3244a3ab64 Resolve the mysql driver if using the simplified version 2022-08-08 10:16:12 +02:00
games647 833177933a Remove and fix storage driver check 2022-08-04 14:28:30 +02:00
games647 df5e6db183 Set SQLite setting using the correct data class
Fixes #870
2022-08-03 13:21:44 +02:00
games647 845d16dd04 Simplify storage driver setting 2022-08-02 10:40:00 +02:00
games647 6beaf194ce Let the JDBC DriveManager pick the right driver for us
According to HikariCP, it's recommended to use the DataSource version
if available. For MySQL, it's not recommended, because of bugs in the
network timeout implementation. Therefore, we use here the jdbc url
version still, but let the driver be picked by the DriveManager.

Fixes #591
2022-08-02 10:38:53 +02:00
games647 05708a256c Perform check for available reflection during compile time 2022-07-25 13:02:30 +02:00
games647 8df5b11276 Fix Java 8 API compatibility 2022-07-22 18:46:46 +02:00