Coder Social home page Coder Social logo

onlinemodefix's Introduction

OnlineModeFix

A Bukkit, hMod, and Vanilla plugin to fix online-mode for old Minecraft servers.

Download

Bukkit

  1. Move the jar into your server's plugin folder.
  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=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:

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

onlinemodefix's People

Contributors

craftycodie avatar rhysb avatar evan-goode avatar daisyuniverse avatar

Stargazers

 avatar  avatar EnZaXD avatar Lilly Rose Berner avatar nora avatar  avatar Obydux avatar FancyEX avatar Larry (Wolfieheart) avatar Marf avatar  avatar

Watchers

 avatar  avatar

Forkers

rhysb unmojang

onlinemodefix's Issues

MOBroadcast not working on 1.2.5

The plugin isn't enabling on 1.2.5 showing this error:

22:11:59 [SEVERE] Error occurred while enabling MineOnlineBroadcast v1.1.5 (Is it up to date?)
java.lang.NoClassDefFoundError: org/bukkit/util/config/Configuration
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:235)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:37)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at gg.codie.mineonline.plugin.bukkit.MineOnlineBroadcastPlugin.initialize(MineOnlineBroadcastPlugin.java:170)
        at gg.codie.mineonline.plugin.bukkit.MineOnlineBroadcastPlugin.onEnable(MineOnlineBroadcastPlugin.java:79)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:257)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:239)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:373)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:360)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:189)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:424)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.ClassNotFoundException: org.bukkit.util.config.Configuration
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        ... 27 more

Consider an open-source license

Hi, I would like to fork this and get it working with my self-hosted authentication server, Drasl. Would you consider publishing it under an open-source license (e.g. MIT, GPLv3), or is this proprietary software?

Regardless, please add a LICENSE file to the repository to make it clear. Thanks!

The command is slightly different on linux but this isn't explained

If you are on linux the command to run onlinemodefix with the server jar will not work. You need to replace the ; with a :. I didn't realise and it took a while to figure out, I think a note about this would be useful because this is such a useful tool

working command for linux

java -Djava.protocol.handler.pkgs=gg.codie.mineonline.protocol -cp minecraft_server.jar:OnlineModeFix.jar net.minecraft.server.MinecraftServer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.