diff --git a/examplemods/minecraft_on_2x_speed.js b/examplemods/minecraft_on_2x_speed.js new file mode 100644 index 0000000..131b29e --- /dev/null +++ b/examplemods/minecraft_on_2x_speed.js @@ -0,0 +1,5 @@ +//Very much WIP, still firguring out how to poke the dedicated server. +(()=>{ + //PluginAPI.javaClient.$timer.$timerSpeed = 4; + ModAPI.dedicatedServer.appendCode(`console.log(ModAPI.hooks._rippedStaticProperties[ModAPI.util.getCompiledNameFromPackage("net.lax1dude.eaglercraft.v1_8.sp.server.EaglerIntegratedServerWorker")].currentProcess)`); +})(); \ No newline at end of file diff --git a/injector.html b/injector.html index 8d5aeaa..1ebca7d 100644 --- a/injector.html +++ b/injector.html @@ -26,7 +26,7 @@