McLib

interface McLib

Represents a Minecraft server or proxy library.

This interface serves as the common module for working with Minecraft servers and proxies. Depending on the usage context, specific implementations such as su.plo.slib.api.server.McServerLib or su.plo.slib.api.proxy.McProxyLib should be used for server or proxy-specific functionality.

Properties

Link copied to clipboard

Gets the command manager for managing and registering commands.

Link copied to clipboard
abstract val configsFolder: File

Gets the folder where plugins/mods configs are stored.

Link copied to clipboard

Gets the permissions manager for managing universal permissions.

Link copied to clipboard

Gets the server translator.

Link copied to clipboard

Gets the text converter for server-specific text components.

Functions

Link copied to clipboard
open fun createLogger(name: String): McLogger

Creates a new logger with a specified name.