You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is not directly affiliated with Paper team or the Folia project.
3
+
Developers and contributors like you make this project possible. This project is not directly affiliated with PaperMC.
4
+
5
+
<br/>
6
6
7
7
## Description
8
-
This is a wrapper library for aiding in supporting the Folia Paper Fork. This library adds multiple scheduler options to use instead of the Bukkit or Folia native schedulers. Developers are expected to depend on this library and relocate the package to their own to prevent conflicts with other plugins.
8
+
This project is a wrapper library that aids developers in supporting the "Folia" Paper fork while not breaking support for Spigot or Paper. This library adds multiple scheduler options to use instead of the Bukkit or Folia native schedulers. Developers are expected to depend on this library and relocate the package to their own to prevent conflicts with other plugins.
9
+
10
+
**Version support**:
11
+
FoliaLib attempts to be compatible with all your projects no matter how outdated the minecraft version. As of writing, FoliaLib should work in any plugin supporting 1.8.8 to 1.21+. However, we *heavily* warn against using anything below 1.13.2 since this version adds support for many features FoliaLib depends on. Workarounds are used for supporting older versions.
12
+
13
+
**API Note**:
14
+
This project is still in its early stages and may make frequent breaking changes to the API. Additionally, I won't claim that this library is perfect; If you find any issues, please report them on the [issues page](https://github.com/TechnicallyCoded/FoliaLib/issues)
15
+
16
+
<br/>
17
+
18
+
## FoliaLib as a dependency
19
+
20
+
> [!WARNING]
21
+
> You are expected to relocate the package `com.tcoded.folialib` to prevent conflicts with other plugins!
22
+
> Example configuration snippets demonstrating how to do this are available below for Maven and Gradle.
23
+
24
+
> [!WARNING]
25
+
> Ensure that you exclude FoliaLib from any `minimize` operation.
26
+
27
+
### Gradle Dependency
28
+
<details>
29
+
<summary>[Click to show Gradle example configurations]</summary>
30
+
31
+
```groovy
32
+
plugins {
33
+
id 'com.github.johnrengelman.shadow' version '8.1.1' // For up to Java 17
34
+
// id 'io.github.goooler.shadow' version '8.1.7' // Uncomment for Java 21 or higher
// Optional: If you use minimize, make sure you exclude FoliaLib
53
+
// Do not uncomment this if you don't know what you are doing
54
+
// minimize {
55
+
// exclude dependency("com.tcoded:FoliaLib:.*")
56
+
// }
57
+
}
58
+
```
59
+
</details>
9
60
10
-
Note: This project is still in its early stages and may make frequent breaking changes to the API. Additionally, I won't claim that this library is perfect; If you find any issues, please report them on the [issues page](https://github.com/TechnicallyCoded/FoliaLib/issues)
61
+
### Maven Dependency
62
+
<details>
63
+
<summary>[Click to show Maven example configurations]</summary>
0 commit comments