2023-12-11 22:15:53 -08:00
|
|
|
package me.braydon.feather;
|
|
|
|
|
2023-12-12 16:03:14 -08:00
|
|
|
import com.google.gson.Gson;
|
|
|
|
import com.google.gson.GsonBuilder;
|
2023-12-11 22:15:53 -08:00
|
|
|
import lombok.Getter;
|
|
|
|
import lombok.Setter;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Settings for feather, modify these as you wish!
|
|
|
|
*
|
|
|
|
* @author Braydon
|
|
|
|
*/
|
|
|
|
public final class FeatherSettings {
|
|
|
|
/**
|
|
|
|
* The amount of threads to use for {@link FeatherThreads}.
|
|
|
|
*/
|
|
|
|
@Setter @Getter private static int threadCount = 4;
|
2023-12-12 16:03:14 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The {@link Gson} instance to use for serialization.
|
|
|
|
*/
|
|
|
|
@Setter @Getter private static Gson gson = new GsonBuilder()
|
|
|
|
.serializeNulls()
|
|
|
|
.create();
|
2023-12-11 22:15:53 -08:00
|
|
|
}
|