Minecraft
This tutorial explains how to set up a Minecraft server in the Cobalt dashboard.
Changing configs
Open the servers page.
Find the server you want to change settings in the table and click the first button in the actions column.
Open the files tab at the top.
server.propertiesOpen the
server.propertiesfile in the file editor.Update the settings.
List of settings
This table refers to version
26.2. Some settings may not be available in earlier versions. Cobalt overrides some default values when a server is created.Key Type Default Description accepts-transfersboolean falseWhether to accept incoming player transfers via transfer packet. allow-flightboolean falseAllows flight in Survival mode if the player has a fly mod. Players in air for 5+ seconds get kicked if disabled. broadcast-console-to-opsboolean trueSends console command outputs to all online operators. broadcast-rcon-to-opsboolean trueSends RCON command outputs to all online operators. bug-report-linkstring (blank) URL for the report_bugserver link. Not sent if empty.chat-spam-threshold-secondsinteger 10Ticks before a player is kicked for sending too many chat messages. 0disables.command-spam-threshold-secondsinteger 10Ticks before a player is kicked for sending too many commands. 0disables.difficultystring easyServer difficulty: peaceful,easy,normal,hard.enable-code-of-conductboolean falseWhether to show code of conduct files from the codeofconductfolder to players on join.enable-jmx-monitoringboolean falseExposes a JMX MBean with tick time metrics. Requires additional JVM flags. enable-queryboolean falseEnables GameSpy4 query protocol for server info. enable-rconboolean falseEnables remote console access via RCON. Not recommended over untrusted networks. enable-statusboolean trueMakes the server appear online in the server list. If false, still accepts connections but appears offline.enforce-secure-profileboolean trueRequires players to have a Mojang-signed public key. Chat will be unsigned if disabled. enforce-whitelistboolean falseKicks online players not on the whitelist when it is reloaded. entity-broadcast-range-percentageinteger 100Percentage of default distance at which entities are sent to clients. Lower = less lag, shorter render distance. Must be between 10and1000.force-gamemodeboolean falseForces players to join in the default game mode every time. function-permission-levelinteger 2Default permission level for functions. Must be between 1and4.gamemodestring survivalDefault game mode: survival,creative,adventure,spectator.generate-structuresboolean trueWhether structures like villages are generated. Dungeons still generate if false.generator-settingsstring {}JSON settings for custom world generation. Used with level-type=minecraft:flat.hardcoreboolean falseEnables hardcore mode - players become spectators on death. hide-online-playersboolean falseDisables sending the player list in status requests. initial-disabled-packsstring (blank) Comma-separated list of datapacks disabled on world creation. initial-enabled-packsstring vanillaComma-separated list of datapacks enabled on world creation. Feature packs must be explicitly listed. level-namestring worldWorld name and folder path. Can be absolute or relative. level-seedstring (blank) World seed. Random if blank. level-typestring minecraft:normalWorld preset: minecraft:normal,minecraft:flat,minecraft:large_biomes,minecraft:amplified,minecraft:single_biome_surface.log-ipsboolean trueWhether client IPs are shown in console and log output. management-server-allowed-originsstring (blank) Allowed origins for the Minecraft Server Management Protocol. management-server-enabledboolean falseWhether the Minecraft Server Management Protocol is enabled. management-server-hoststring localhostHost the management server listens on. management-server-portinteger 0Port the management server listens on. management-server-secretstring (random) Secret for management server client authorization. Auto-generated if blank. management-server-tls-enabledboolean trueWhether the management server uses TLS. management-server-tls-keystorestring (blank) Path to the TLS keystore file. Required if TLS is enabled. management-server-tls-keystore-passwordstring (blank) Password for the TLS keystore. Can also be set via env var or JVM flag. max-chained-neighbor-updatesinteger 1000000Max consecutive neighbor updates before skipping. Negative = no limit. max-playersinteger 20Maximum players on the server at once. max-tick-timeinteger 60000Max milliseconds per tick before the watchdog shuts down the server. -1disables.max-world-sizeinteger 29999984Max world border radius in blocks. Must be between 1and29999984.motdstring A Minecraft ServerMessage shown in the server list. Supports color/formatting codes. network-compression-thresholdinteger 256Minimum packet size in bytes to compress. -1disables,0compresses all.online-modeboolean trueVerifies players against Mojang account database. Disable only for offline/LAN servers. op-permission-levelinteger 4Default permission level assigned when using /op. Must be between0and4.pause-when-empty-secondsinteger 60Seconds after all players leave before the server pauses. player-idle-timeoutinteger 0Minutes before idle players are kicked. 0= never.prevent-proxy-connectionsboolean falseKicks players whose ISP differs from Mojang's auth server. query.portinteger 25565UDP port for the query server (requires enable-query).rate-limitinteger 0Max packets per second per player before kick. 0disables.rcon.passwordstring (blank) RCON password. RCON won't start if blank and enabled. rcon.portinteger 25575TCP port for RCON. region-file-compressionstring deflateChunk compression algorithm: deflate,lz4, ornone.require-resource-packboolean falseDisconnects players who decline the resource pack. resource-packstring (blank) URL to an optional resource pack. Max 250 MiB. resource-pack-idUUID (blank) Optional UUID to identify the resource pack with clients. resource-pack-promptstring (blank) Custom message shown on the resource pack prompt. resource-pack-sha1string (blank) SHA-1 hash of the resource pack for integrity verification. server-ipstring (blank) IP the server binds to. Leave blank to listen on all interfaces. server-portinteger 25565TCP port the server listens on. Must be forwarded if behind NAT. simulation-distanceinteger 10Chunk radius in which entities are ticked by the server. Must be between 3and32.spawn-protectioninteger 16Spawn protection radius as 2x+1blocks.0disables.status-heartbeat-intervalinteger 0Interval in seconds for management server heartbeat notifications. 0disables.sync-chunk-writesboolean trueEnables synchronous chunk writes to prevent data loss on crash. May slow down I/O. text-filtering-configstring (blank) Chat filtering config. Used internally by Realms. text-filtering-versioninteger 0Config format version for text-filtering-config. Valid values:0,1.use-native-transportboolean trueEnables Linux-optimized packet handling (Linux only). view-distanceinteger 10Server-side view distance in chunks (radius). Must be between 3and32.white-listboolean falseEnables whitelist. Players not on it cannot connect. Ops are automatically whitelisted. WARNING
Do not change the
server-portandserver-ipsettings.- Click the save button in the bottom left corner.
Open the overview tab at the top.
Click the restart button in the control block.
Adding plugins
WARNING
Plugins can only be added for the Paper loader.
Open the servers page.
Find the server you want to add plugins in the table and click the first button in the actions column.
Upload plugins using one of the following methods:
File manager
Open the files tab at the top.
Open the
pluginsfolder in the file manager.Click the upload button in the bottom left corner.
Select the plugins files from your device.
- Click the upload button in the bottom right corner.
Open the overview tab at the top.
Click the restart button in the control block.
Adding mods
WARNING
Mods can only be added for the Fabric and Forge loaders.
Open the servers page.
Find the server you want to add mods in the table and click the first button in the actions column.
Upload mods using one of the following methods:
File manager
Open the files tab at the top.
Open the
modsfolder in the file manager.Click the upload button in the bottom left corner.
Select the mods files from your device.
TIP
You can find mods on Modrinth or CurseForge.
- Click the upload button in the bottom right corner.
Open the overview tab at the top.
Click the restart button in the control block.