Skip to content

Mod to improve the performance of the Hytale Server while adding developer APIs

License

Notifications You must be signed in to change notification settings

Fox2Code/Hypertale

Repository files navigation

Hypertale

Optimization mod and API extender for Hytale

Note: This is early development, bugs might happen.

An example mod is available at: https://github.com/Fox2Code/HypertaleExampleMod

About

This mod improve performance and reduce memory pressure on Hytale server!

Memory pressure is how much memory is allocated per second, when high this makes the java garbage collector slow the server down a lot!

Used spark a lot to help with performance profiling.

Hypertale should be compatible with existing performance mods for Hytale!

Building

Hypertale will try to locate Hytale client/launcher to allow to build it without issues, with a fallback to ./HypertaleServer.jar if you do not have Hytale installed on the building machine!

Running ./gradlew build should then provide a file in launcher/build/libs for you to grab!

Mod support

Hypertale should not cause any compatibility issues with any mod!

Hypertale currently have custom support code the following mods:

  • Mod List Mods -> add icon (Icon by ColdLavenderSun aka. Fluttershy)
  • ModSync -> Support bootstrap (ModTale | CurseForge)

New APIs and changes:

Add new fields to manifest.json hypertale will read:

  • HypertalePreLoad if true it will load your mod in the same ClassLoader as the HytaleServer.jar
  • HypertaleJavaAgent class in your mod to add as a java agent.

Add new APIs with the .hypertale() extension for:

  • com.hypixel.hytale.server.core.plugin.PluginBase
  • com.hypixel.hytale.server.core.universe.PlayerRef
  • com.hypixel.hytale.server.core.universe.world.World

About

Mod to improve the performance of the Hytale Server while adding developer APIs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published