README tweaks

Resolves https://github.com/craftycodie/OnlineModeFix/issues/8
This commit is contained in:
Evan Goode 2024-08-21 15:41:01 -04:00
parent b40e39eea5
commit face154372

View File

@ -1,19 +1,30 @@
# OnlineModeFix
A Bukkit, hMod and Vanilla plugin to fix online-mode for old Minecraft servers.
A Bukkit, hMod, and Vanilla plugin to fix online-mode for old Minecraft servers.
[Download](https://github.com/craftycodie/OnlineModeFix/releases/latest/download/OnlineModeFix.jar)
## Bukkit
1. Move the jar into your server's plugin folder.
2. Set online-mode to true in the server.properties file.
2. Set `online-mode=true` in the `server.properties` file.
## hMod
1. Move the jar into your server's plugin folder.
2. Add the plugin to the plugins list in server.properties (ex. plugins=OnlineModeFix).
3. Set online-mode to true in the server.properties file.
2. Add the plugin to the plugins list in `server.properties` (ex. `plugins=OnlineModeFix`).
3. Set `online-mode=true` in the `server.properties` file.
## Vanilla (and any other modded servers)
1. Move the jar next to your server jar.
2. Launch the server using this command:
`java -Djava.protocol.handler.pkgs=gg.codie.mineonline.protocol -cp minecraft_server.jar;OnlineModeFix.jar net.minecraft.server.MinecraftServer`
Windows:
```
java -Djava.protocol.handler.pkgs=gg.codie.mineonline.protocol -cp minecraft_server.jar;OnlineModeFix.jar net.minecraft.server.MinecraftServer
```
All other platforms:
```
java -Djava.protocol.handler.pkgs=gg.codie.mineonline.protocol -cp minecraft_server.jar:OnlineModeFix.jar net.minecraft.server.MinecraftServer
```