(I dont know if this is the correct forum section, so "bear" with me
Now, let me introduce you to Moddius
This a Reflection based, complexly made, simple to use ModLoader that is
compatible with almost any Java game!Installation:
To install this modloader onto a game, you must open its main jar file and insert the files contained in the modloaders jar.How to use this in your game:WARNING: This tutorial uses ECLIPSE!
You must first associate your game with the library so right click on your project
then select "Java Build Path", then you select the Libraries tab then click on
Add External JARs and select the library jar.
When you selected the jar click OK and you have associated the jar with this library!
Next import all Moddius classes using this import: "import org.moddius.*;"
Once imported create an annotation that the ModLoader will use to find mods.
The annotation can have any attributes you want the mod to specify.Warning: The annotation must be annotated with
or else the ModLoader will NOT find any mods and a bunch of exceptions will occur.
Next use the following code to load mods:
ModLoader loader = new ModLoader(MyAnnotation.class);
Set<Class<?>> mods = loader.loadMods();
Replace MyAnnotation with your annotation!
Then modify your game to the way you want the mods to work and
YOU ARE COMPLETE!How it finds mods:
The technique that this library uses is scanning ALL packages that is known to its classpath and search for any classes that use your annotation!Upcoming features:
- Searching by Superclass (v3)
Direct - V1: https://www.mediafire.com/?szoy6w6d2x43dqm
Support - V1: ---
Direct - V2: http://www.mediafire.com/download/yg1kif42yd7uf8m/ModdiusModLoaderV2.jar
Support - V2: ---
Umm... i got notin' else to say...
Oh look a butterfly