background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Категорії

Minecraft Java Server Setup Guide

minecraft java paper spigot setup 0 вважають це корисним
Доступно мовами: ESPAÑOL PORTUGUÊS (BRASIL)

This guide walks you through setting up a Minecraft Java Edition server on Legion Hosting -- from choosing a server type to configuring your world and connecting with friends.

1. Choosing a Server Type

When you first set up your Minecraft server, one of the most important decisions is which server software to run. Each type offers different capabilities depending on whether you want plugins, mods, or a clean vanilla experience.

Server Type Best For Plugin Support Mod Support Notes
Vanilla Pure, unmodified Minecraft None None Official Mojang server JAR. No customisation beyond server.properties.
Paper Performance-optimised survival/SMP Bukkit & Spigot plugins None Fork of Spigot with significant performance patches. Recommended for most servers.
Spigot Plugin-based servers Bukkit & Spigot plugins None The original high-performance Bukkit fork. Paper is generally preferred over Spigot today.
Forge Modded Minecraft (large modpacks) Limited (some via Sponge) Forge mods The classic mod loader. Clients must install the same Forge version and mods.
Fabric Lightweight modding, newer mods Limited Fabric mods Faster updates to new Minecraft versions. Growing mod ecosystem. Clients need Fabric + matching mods.
Tip: If you are unsure which to pick, start with Paper. It is backwards-compatible with Bukkit/Spigot plugins, offers the best performance out of the box, and is the most widely supported option for Java Edition servers.

2. First Start

  1. Log in to GPanel.
  2. Select your Minecraft server from the server list.
  3. Navigate to the Startup tab.
  4. Choose your desired Server Type (Paper, Vanilla, Forge, etc.) and Minecraft Version from the dropdown menus.
    Important: Make sure the version you select matches the version your players will be running. Mismatched versions will prevent clients from connecting.
  5. Click Start on the Console tab to launch the server for the first time.
  6. The first startup will automatically:
    • Download the selected server JAR
    • Generate server.properties, eula.txt, and other default configuration files
    • Generate the initial world (this may take a minute or two)
  7. Once you see Done! in the console, your server is running and ready to configure.
Note: The EULA is automatically accepted on Legion Hosting servers. You do not need to manually edit eula.txt.

3. Configuring server.properties

The server.properties file controls most of your server's core behaviour. You can edit it directly from GPanel's File Manager -- click on the file in the root directory to open the built-in editor.

Important: Always stop your server before editing server.properties. Changes made while the server is running will be overwritten when it shuts down.
Property Default Description
server-name A Minecraft Server The name displayed in the server list (Bedrock only; Java uses motd instead).
gamemode survival Default game mode for new players. Options: survival, creative, adventure, spectator.
difficulty easy Server difficulty. Options: peaceful, easy, normal, hard.
max-players 20 Maximum number of players that can be connected simultaneously. Set this to match your hosting plan's player slot limit.
pvp true Whether players can damage each other. Set to false for PvE-only servers.
online-mode true Verifies player accounts with Mojang. Keep this set to true unless you have a specific reason to disable it -- disabling it allows cracked clients to join.
motd A Minecraft Server Message of the Day shown in the Java Edition server list. Supports colour codes with \u00A7 (section sign).
view-distance 10 Render distance in chunks (1 chunk = 16 blocks). Lower values (6-8) improve performance; higher values (12-16) give a better visual experience at the cost of more RAM and CPU.
spawn-protection 16 Radius (in blocks) around the world spawn where non-operators cannot build or break blocks. Set to 0 to disable.
level-seed (blank) World generation seed. Leave blank for a random seed, or enter a specific seed to generate a particular world. Only applies when a new world is created.
level-type minecraft\:normal World type. Options: minecraft\:normal, minecraft\:flat, minecraft\:large_biomes, minecraft\:amplified, minecraft\:single_biome_surface.
white-list false When true, only players listed in whitelist.json can join. See the Whitelist section below.
enable-command-block false Whether command blocks can be used. Required for many adventure maps and some minigame setups.

After editing, save the file and start your server. The new settings will take effect immediately on startup.

4. Operator (Admin) Access

Operators (ops) have access to server commands such as /gamemode, /tp, /ban, /kick, and more. There are two ways to grant operator status.

Method 1: GPanel Console (Recommended)

From the Console tab in GPanel, type the following command while the server is running:

op YourPlayerName

You will see a confirmation message in the console. The player is now an operator.

Method 2: Editing ops.json

You can also manually edit the ops.json file in the server's root directory. Each entry looks like this:

[
  {
    "uuid": "player-uuid-here",
    "name": "YourPlayerName",
    "level": 4,
    "bypassesPlayerLimit": false
  }
]

The level field controls what the operator can do:

Level Permissions
1 Can bypass spawn protection
2 Can use cheat commands (/gamemode, /tp, etc.) and command blocks
3 Can use player management commands (/ban, /kick, /op)
4 Full access, including /stop and /save-all
Tip: Using the console command op grants level 4 by default. If you need a lower permission level, edit ops.json directly.

To remove operator status, use the console command:

deop YourPlayerName

5. Whitelist

The whitelist restricts your server to only approved players. This is useful for private servers or communities where you want to control who can join.

Enabling the Whitelist

Set the following in server.properties:

white-list=true
enforce-whitelist=true

The enforce-whitelist setting will kick any currently connected players who are not on the whitelist when it is reloaded.

Managing the Whitelist

Use these commands in the GPanel console while the server is running:

Command Description
whitelist add PlayerName Add a player to the whitelist
whitelist remove PlayerName Remove a player from the whitelist
whitelist list Show all whitelisted players
whitelist reload Reload the whitelist from whitelist.json
Note: You can also manually edit whitelist.json in the server's root directory via GPanel's File Manager. Remember to run whitelist reload from the console after making manual changes.

6. How to Connect

Once your server is running, follow these steps to connect from Minecraft Java Edition:

  1. Find your server's IP address and port in GPanel under the Network tab.
  2. Open Minecraft Java Edition and click Multiplayer.
  3. Click Add Server.
  4. Enter a name for your server in the Server Name field (this is just a label for your server list).
  5. In the Server Address field, enter your IP and port in the format:
    your.server.ip:port

    For example: 192.168.1.100:25565

  6. Click Done, then select the server from your list and click Join Server.
Connection issues? Make sure the Minecraft version on your client matches the server version exactly. If you are still having trouble, check that the server is running in GPanel and verify the correct IP and port on the Network tab.
Cannot connect? If you have verified the address and version but still cannot join, open a support ticket and we will help you troubleshoot.

7. World Management

World Save Location

By default, the Minecraft world is stored in a folder called world in your server's root directory. This folder contains all of the world data including terrain, player data, and structures. You will also see world_nether and world_the_end folders for those dimensions (on Paper/Spigot servers; Vanilla stores them as subfolders inside world).

Uploading an Existing World

To upload a world from singleplayer or another server:

  1. Stop your server in GPanel.
  2. Delete or rename the existing world folder using GPanel's File Manager (or via SFTP).
  3. Upload your world folder via SFTP. Make sure the folder is named world (or update the level-name property in server.properties to match your folder name).
    Tip: For large world uploads, SFTP is much faster than the browser-based File Manager. See our SFTP guide for setup instructions.
  4. Ensure the world folder structure is correct -- the level.dat file should be directly inside the world folder, not nested in a subfolder.
  5. Start the server. It will load your uploaded world.
Singleplayer worlds: When uploading a singleplayer world, your save is typically located at %appdata%\.minecraft\saves\YourWorldName on Windows. Rename the folder to world before uploading.

Backups

It is strongly recommended to keep regular backups of your world, especially before making major changes like updating the server version or installing new mods/plugins.

To create a manual backup:

  1. Run save-all in the GPanel console to flush all data to disk.
  2. Stop the server.
  3. Download the world folder (and world_nether / world_the_end if they exist) via SFTP or the File Manager.
  4. Store the backup in a safe location on your computer or cloud storage.
Warning: Updating your Minecraft version can sometimes cause world corruption or incompatibilities. Always back up your world before changing the server version.

Related Articles

Чи була ця стаття корисною?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.