Commit Graph

21 Commits

Author SHA1 Message Date
Antti Koponen 4196141db1
Fixes for Fabric 1.19 by Kopo (#2419)
* Gradle 7.4.2
* Build changes for MC 1.19

- Updated loom to minor version 0.12 & moved to root project
- Updated mappings, command API, fabric API & loader version
- Moved Selenium to common module because of a conflict with loom's dependency resolution

* Add remap folder to .gitignore
* Fix version token replacement
* Update to Minecraft 1.19
* Don't forget the pipelines

Affects issues:
- Fixed #2417
2022-06-10 16:21:53 +03:00
Aurora Lahtela 26f76d9540 Implemented average players to Playerbase as Numbers
Affects issues:
- Close #1796
2022-05-27 19:15:33 +03:00
Aurora Lahtela 52b8afe6cb Store join addresses separately and link to plan_sessions table for time data.
Affects issues:
- #2362
2022-05-20 19:32:00 +03:00
Aurora Lahtela 6fa552ca5e Register plan_user row if missing when required
- PingStoreTransaction
- GeoInfoStoreTransaction
- SessionEndTransaction

Affects issues:
- Fixed #2361
- Fixed #2343
2022-05-07 10:40:50 +03:00
Aurora Lahtela e6f3377bc2 Filter fabric player move events based on previous location
Affects issues:
- Fixed #2324
2022-04-15 12:46:14 +03:00
Aurora Lahtela 69c54fb5cb Fix some issues with data registering for new users 2022-04-11 19:08:05 +03:00
Aurora Lahtela 47e74f5ad5 Use ConcurrentHashMap for ignore afk permission checks
Affects issues:
- Fixed #2289
2022-02-28 19:23:59 +02:00
Risto Lahtela 1bffefe931 Fix fabric command issues:
- Made only players support chat events
- Added hashcode and equals needed for storing in cache (Confirmation uses CMDSender as key)
- Hacky fix for running tasks when plugin is disabled

Affects issues:
- Fixed #2183
2022-01-09 13:29:47 +02:00
Risto Lahtela a7478645bd Reduce the amount of tasks used for upkeep
- Ping gathering now uses a map of timestamps
  - Removes a task that waited for ping data to be reliable (one task / join)
- Cookie expiration now uses a map of timestamps
  - Removes a task that waited for cookie to expire (one task / login cookie)

Affects issues:
- Possibly fixed #1984
2022-01-06 15:43:48 +02:00
Antti Koponen f096d456c6
Properly log fabric deaths where killer is null (#2184)
Affects issues:
- Fixed #2182
2021-12-03 15:47:34 +02:00
Henri S efd3b75a29
Database Driver downloading (#2144)
Affects issues:
- Fixed #1944
2021-10-31 13:16:47 +02:00
Aurora Lahtela ebb1108969
Comment out slimjar related configuration (#2138) 2021-10-27 18:43:14 +03:00
Emilia Dreamer 4d151d45fa
Specialized Fabric and Sponge version checkers (#2125)
Affects issues:
- Close #936
- Close #2093.
2021-10-13 18:00:20 +03:00
Antti Koponen bcfd52d76b
Slimjar 1.3.0/1.2.6 & custom Injectables for Fabric and Velocity (#2126)
* Update slimjar to 1.3.0/1.2.6
* Add custom Injectable impl for Fabric module
* Add custom Injectable impl for Velocity
2021-10-13 17:44:34 +03:00
Antti Koponen d6aa07d93f
Fabric fixes (#2089)
* Fix SonarCloud bugs

* Remove color codes from console messages

* Replace version string in mod.json

* Advance dependency initialization to pre-enable hook

* Resolve config folder using correct method
2021-09-18 22:38:12 +03:00
Risto Lahtela 0921d1550f Remove OP->true from fabric AFK permission check
On bukkit default behavior for afk permission is false,
but it was unclear and during fabric implementation also ops were given same
behavior when permissions are not available.

Now OPs no longer have their AFK time ignored.

Affects issues:
- Fixed #2059
2021-09-10 18:42:49 +03:00
Risto Lahtela 372003591d Relocated Plan fabric configuration folder 'mods' -> 'config'
Affects issues:
- Fixed #2055
2021-09-10 18:37:56 +03:00
Antti Koponen 48f9a430c5
Fabric platform updates (#2048)
- Increased Gradle max heap to 1 GB to avoid running out of heap space on build
- Added Slimjar for runtime dependency management
- Modified platform logger to parse JUL.Logger-format parameters to log4j format
- Added logic to properly handle InvalidArgumentExceptions with commands
- Updated loom to 0.9.+, fixes annoying console spam when building
- Moved mod JSONs to fabric's resources folder to correctly add refmap key to mixins.json
- Updated mappings & API

Affected issues:
- Fixed #2045
2021-08-09 07:36:15 +03:00
Antti Koponen 75c1e2a39b
Fix fabric ServerProperties binding (#2030) 2021-07-24 16:23:18 +03:00
Antti Koponen 5e0fe761b2
Fix getErrorLogger NPE (#2029) 2021-07-24 16:02:24 +03:00
Antti Koponen 67153e8fc5
Fabric Platform Implemenation (#2018)
Adds a fabric specific Plan module that builds a separate jar.

Co-authored-by: Vankka <vankka.main@gmail.com>
Co-authored-by: DrexHD <nicknamedrex@gmail.com>

Affects issues:
- Close #1956
2021-07-24 14:10:48 +03:00