ConfigUtils

class ConfigUtils

Config utils for karpet.toml

Author

Interfiber

Constructors

ConfigUtils
Link copied to clipboard
fun ConfigUtils()

Functions

createConfig
Link copied to clipboard
fun createConfig(): String
Create the karpet.
generateServerUUID
Link copied to clipboard
fun generateServerUUID(): String
Generate a UUID for the server This is used to report Bstats metrics
getServerUUID
Link copied to clipboard
fun getServerUUID(): String
Return the server UUID
readConfig
Link copied to clipboard
fun readConfig(): String
Return the raw text of the config file