Skip to content

Minecraft

This tutorial explains how to set up a Minecraft server in the Cobalt dashboard.

Changing configs

  1. Open the servers page.

  2. Find the server you want to change settings in the table and click the first button in the actions column.

  3. Open the files tab at the top.


    server.properties

    1. Open the server.properties file in the file editor.

    2. 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.

    KeyTypeDefaultDescription
    accepts-transfersbooleanfalseWhether to accept incoming player transfers via transfer packet.
    allow-flightbooleanfalseAllows flight in Survival mode if the player has a fly mod. Players in air for 5+ seconds get kicked if disabled.
    broadcast-console-to-opsbooleantrueSends console command outputs to all online operators.
    broadcast-rcon-to-opsbooleantrueSends RCON command outputs to all online operators.
    bug-report-linkstring(blank)URL for the report_bug server link. Not sent if empty.
    chat-spam-threshold-secondsinteger10Ticks before a player is kicked for sending too many chat messages. 0 disables.
    command-spam-threshold-secondsinteger10Ticks before a player is kicked for sending too many commands. 0 disables.
    difficultystringeasyServer difficulty: peaceful, easy, normal, hard.
    enable-code-of-conductbooleanfalseWhether to show code of conduct files from the codeofconduct folder to players on join.
    enable-jmx-monitoringbooleanfalseExposes a JMX MBean with tick time metrics. Requires additional JVM flags.
    enable-querybooleanfalseEnables GameSpy4 query protocol for server info.
    enable-rconbooleanfalseEnables remote console access via RCON. Not recommended over untrusted networks.
    enable-statusbooleantrueMakes the server appear online in the server list. If false, still accepts connections but appears offline.
    enforce-secure-profilebooleantrueRequires players to have a Mojang-signed public key. Chat will be unsigned if disabled.
    enforce-whitelistbooleanfalseKicks online players not on the whitelist when it is reloaded.
    entity-broadcast-range-percentageinteger100Percentage of default distance at which entities are sent to clients. Lower = less lag, shorter render distance. Must be between 10 and 1000.
    force-gamemodebooleanfalseForces players to join in the default game mode every time.
    function-permission-levelinteger2Default permission level for functions. Must be between 1 and 4.
    gamemodestringsurvivalDefault game mode: survival, creative, adventure, spectator.
    generate-structuresbooleantrueWhether structures like villages are generated. Dungeons still generate if false.
    generator-settingsstring{}JSON settings for custom world generation. Used with level-type=minecraft:flat.
    hardcorebooleanfalseEnables hardcore mode - players become spectators on death.
    hide-online-playersbooleanfalseDisables sending the player list in status requests.
    initial-disabled-packsstring(blank)Comma-separated list of datapacks disabled on world creation.
    initial-enabled-packsstringvanillaComma-separated list of datapacks enabled on world creation. Feature packs must be explicitly listed.
    level-namestringworldWorld name and folder path. Can be absolute or relative.
    level-seedstring(blank)World seed. Random if blank.
    level-typestringminecraft:normalWorld preset: minecraft:normal, minecraft:flat, minecraft:large_biomes, minecraft:amplified, minecraft:single_biome_surface.
    log-ipsbooleantrueWhether client IPs are shown in console and log output.
    management-server-allowed-originsstring(blank)Allowed origins for the Minecraft Server Management Protocol.
    management-server-enabledbooleanfalseWhether the Minecraft Server Management Protocol is enabled.
    management-server-hoststringlocalhostHost the management server listens on.
    management-server-portinteger0Port the management server listens on.
    management-server-secretstring(random)Secret for management server client authorization. Auto-generated if blank.
    management-server-tls-enabledbooleantrueWhether 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-updatesinteger1000000Max consecutive neighbor updates before skipping. Negative = no limit.
    max-playersinteger20Maximum players on the server at once.
    max-tick-timeinteger60000Max milliseconds per tick before the watchdog shuts down the server. -1 disables.
    max-world-sizeinteger29999984Max world border radius in blocks. Must be between 1 and 29999984.
    motdstringA Minecraft ServerMessage shown in the server list. Supports color/formatting codes.
    network-compression-thresholdinteger256Minimum packet size in bytes to compress. -1 disables, 0 compresses all.
    online-modebooleantrueVerifies players against Mojang account database. Disable only for offline/LAN servers.
    op-permission-levelinteger4Default permission level assigned when using /op. Must be between 0 and 4.
    pause-when-empty-secondsinteger60Seconds after all players leave before the server pauses.
    player-idle-timeoutinteger0Minutes before idle players are kicked. 0 = never.
    prevent-proxy-connectionsbooleanfalseKicks players whose ISP differs from Mojang's auth server.
    query.portinteger25565UDP port for the query server (requires enable-query).
    rate-limitinteger0Max packets per second per player before kick. 0 disables.
    rcon.passwordstring(blank)RCON password. RCON won't start if blank and enabled.
    rcon.portinteger25575TCP port for RCON.
    region-file-compressionstringdeflateChunk compression algorithm: deflate, lz4, or none.
    require-resource-packbooleanfalseDisconnects 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-portinteger25565TCP port the server listens on. Must be forwarded if behind NAT.
    simulation-distanceinteger10Chunk radius in which entities are ticked by the server. Must be between 3 and 32.
    spawn-protectioninteger16Spawn protection radius as 2x+1 blocks. 0 disables.
    status-heartbeat-intervalinteger0Interval in seconds for management server heartbeat notifications. 0 disables.
    sync-chunk-writesbooleantrueEnables 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-versioninteger0Config format version for text-filtering-config. Valid values: 0, 1.
    use-native-transportbooleantrueEnables Linux-optimized packet handling (Linux only).
    view-distanceinteger10Server-side view distance in chunks (radius). Must be between 3 and 32.
    white-listbooleanfalseEnables whitelist. Players not on it cannot connect. Ops are automatically whitelisted.

    WARNING

    Do not change the server-port and server-ip settings.

    1. Click the save button in the bottom left corner.

  4. Open the overview tab at the top.

  5. Click the restart button in the control block.

Adding plugins

WARNING

Plugins can only be added for the Paper loader.

  1. Open the servers page.

  2. Find the server you want to add plugins in the table and click the first button in the actions column.

  3. Upload plugins using one of the following methods:

File manager
  1. Open the files tab at the top.

  2. Open the plugins folder in the file manager.

  3. Click the upload button in the bottom left corner.

  4. Select the plugins files from your device.

TIP

You can find plugins on Hangar or SpigotMC.

  1. Click the upload button in the bottom right corner.
  1. Open the overview tab at the top.

  2. Click the restart button in the control block.

Adding mods

WARNING

Mods can only be added for the Fabric and Forge loaders.

  1. Open the servers page.

  2. Find the server you want to add mods in the table and click the first button in the actions column.

  3. Upload mods using one of the following methods:

File manager
  1. Open the files tab at the top.

  2. Open the mods folder in the file manager.

  3. Click the upload button in the bottom left corner.

  4. Select the mods files from your device.

TIP

You can find mods on Modrinth or CurseForge.

  1. Click the upload button in the bottom right corner.
  1. Open the overview tab at the top.

  2. Click the restart button in the control block.