---
title: "How to enable offline mode on a Java server"
icon: lucide/user-round-x
description: "How to set online-mode to false in server.properties, plus the risks and tips for switching back to online mode."
---

# How to enable offline mode on a Java server

Offline mode lets a Java server accept players without verifying their Mojang/Microsoft account. This setting is often used with non-premium launchers, but it carries higher security risks.

!!! warning "Important risk"
    `online-mode=false` means the server does not verify account identity with the official Minecraft services. Only use it if you understand the risks, and consider adding an extra login plugin if needed.

## Steps

1. Open `https://panel.nexuscloud.id/`.
2. Select your Java server.
3. Open the **Files** menu.
4. Open the `server.properties` file.
5. Find the line below and change the value:

```properties
online-mode=false
```

6. Click **Save Content**.
7. Go back to **Console**.
8. Restart the server.

## After the change

- Non-premium players can try to join the server.
- Plugins that depend on premium UUIDs may need adjustments.
- For public servers, an additional authentication plugin is strongly recommended.

## If you want to go back to online mode

Change the value back to:

```properties
online-mode=true
```

Then restart the server.

---

!!! tip "Help us out"
    If you found this tutorial useful, please leave a review on [Trustpilot](https://www.trustpilot.com/evaluate/nexuscloud.id)! Your rating helps us make more useful guides :sparkles:

**Cheers, Team NexusCloud**

---
