-
Notifications
You must be signed in to change notification settings - Fork 0
Server configuration
Jet lets you configure some aspects of the server, which are implemented by default. You will learn how to do that from this guide.
Configuration of the server can be done by editing a server.yaml
text file, whose defauls are generated on a first server startup.
To change a specific field, you replace a text it follows. Reading this guide or comments before a field can help with knowing what the text should be replaced with.
This section contains guides of changing specific configuration fields.
This field contains an address that the server should be available at. All strings containing a vaild address are accepted.
A port that the server should be available at, it is bound to the server address. All valid port integers are accepted.
Specifies how many bytes does a packet need to become compressed. 0
indicates that all packets shoukd be compressed, negative values however disable the compression at all. All valid integer values are accepted.
A transport selector, which should be used for selecting a transport, which netty should use for networking. Valid values are:
-
AUTO
- for an automatic transport selection, should be used in most cases -
EPOLL
- always selects an epoll transport, which is available only on linux platforms -
KQUEUE
- always selects an KQueue transport, which is only available on BSD and MacOS platforms -
NIO
- forces to always use a Java NIO transport
A message that clients using a protocol version, which is unsuported by the server should be disconnected with. All valid minimessage-format string are accepted.
A default description of the server that should be visible on a client server list. All valid minimessage-format strings are accepted.
A maximum number of players that can join the server. By default this field has no functionality. It is used only as an information sent to clients when they request a server-list description or when they join the server. All valid integer values are accepted.
An array of built-in Minecraft packs, which should be enabled. These packs specify data, such as biomes, which should be available on both clients and the server. All valid arrays of strings specifying valid Minecraft keys are accepted.
Defines whether transferring from other servers to the server is allowed. All boolean values are allowed, where true
allows transferring and false
blocks it.
Message that clients should be disconnected with when transferring from other servers and transferring is disabled. All valid minimessage-format strings are accepted.
- Server setup
- Plugin development
- Events
- Listening to events
- Creating custom events
- Commands
- Creating a command
- Custom arguments
- Worlds
- Creating and configuring a world
- Chunk section providers
- Events