# Agenta
A authserver and skin fix for legacy versions of minecraft.
# Compatibility
Requires Java 7. (In theory this can be built for Java 5, but I lack the build tools required for that.)
If running this on Java 12 and newer, please add the following JVM argument: `--add-exports java.base/sun.net.www.protocol.http=ALL-UNNAMED`
1. As a mod: The same Jar will run on forge, bukkit and Risugami's modloader for Minecaft versions Alpha 1.0.4 to Minecraft release 1.7.10 (These are merely the versions I tested)
2. As a JavaAgent: Add the following JVM argument: `-javaagent:{path}/agent.jar` (replace path with the location of the agent.jar)
3. Inline/static: In this setup, Agenta is essentially taking over the role of Launching minecraft. Add the following JVM argument and change out `{mainClass}` as needed depending on which minecraft version you are launching: `-Dagenta.main.class={mainClass}`
4. As a Bukkit plugin (Tested with bukkit for Minecraft Beta 1.2_01)
# JVM/Congig settings
Non of these are needed to launch Agenta. The available contexts are <br>
"\*" => ALL<br>
"static" => When Agenta is launched as the main class with the expectation of chainloading another class manually. <br>
"config" => Only appears in the config file.
<table>
<tr>
<th>Context</th><th>property</th><th>Argument</th><th>description</th>
</tr>
<tr>
<tr>
<td>*</td><td>agenta.assets.fml</td><td>-Dagenta.assets.fml={value}</td><td>A link to an archive Agenta should forward legacy forge download requests to</td>
</tr>
<tr>
<td>*</td><td>agenta.assets.index</td><td>-Dagenta.assets.index={value}</td><td>The URL for the asset index Agenta should use as a base</td>
</tr>
<tr>
<td>*</td><td>agenta.assets.routing</td><td>-Dagenta.assets.routing=true</td><td>Should agenta reroute requests the mojang's asset servers? (default: "true")</td>
</tr>
<tr>
<td>*</td><td>agenta.assets.url</td><td>-Dagenta.assets.url={value}</td><td>The URL for the resource server Agenta should pull assets from</td>
</tr>
<td>*</td><td>agenta.prt.color</td><td>-Dagenta.prt.color=false</td><td>Pass the value 'false' to disable colour printing.</td>
</tr>
<tr>
<td>*</td><td>agenta.prt.debug</td><td>-Dagenta.prt.debug=false</td><td>Should agenta show debug messages?</td>
</tr>
<tr>
<td>*</td><td>agenta.save.file</td><td>-Dagenta.save.file=saves.json</td><td>When handling saving for certain versions of old Minecraft that relied on long dead mojang endpoints, what should agenta call the save file? (default: "saves.json")</td>
</tr>
<tr>
<td>*</td><td>agenta.skin.resize</td><td>-Dagenta.skin.resize=true</td><td>Should agenta try to resize skins from 64x64 to 64x32 for better compatibility? (default: "true")</td>
</tr>
<tr>
<tr>
<td>*</td><td>agenta.skin.merge</td><td>-Dagenta.skin.merge=true</td><td>Should Agenta take multi layered skins and attempt to flatten the layers down? (default: "true")</td>
</tr>
<tr>
<tr>
<td>*</td><td>agenta.skin.cache</td><td>-Dagenta.skin.cache=true</td><td>Should agenta cache skin lookups? (default: "true")</td>
</tr>
<tr>
<td>config</td><td>agenta.config.version</td><td></td><td>The version of agenta that generated a set config file. Will be used to detect if agenta should upgrade a set config file</td>
</tr>
<tr>
<tr>
<td>static</td><td>agenta.main.class</td><td>-Dagenta.main.class={value}</td><td>The class Agenta should try to load next when running in static/inline mode</td>
</tr>
</table>
# Fixes
- Skin support for pre 1.7.10 versions
- Cape support for pre 1.7.10 versions
- Sound for versions of the game that predate 1.6
- World savings for certain pre-alpha builds (experimental)
- Forge 1.5.2 being unable to fetch it's library files (experimental)
# Note
- The same jar will work for almost every version of minecraft that predates Release 1.8
- Any miscellaneous fabric based modloader _should_ be supported.
- NilLoader can load Agenta. (Agenta doesn't meet the criteria of a [NilLoader mod](https://git.sleeping.town/Nil/NilLoader#:~:text=A%20NilLoader%20mod%20includes%20a%20complete%20copy%20of%20NilLoader%20within%20itself))
- Some ancient versions of Forge/modloader may require you to load Agenta as a jar mod.
- LiteLoader inforces compatibility checks and so can never be fully supported
Скриншоти та зображення з оригінальної сторінки Modrinth.
1.6.4
Agenta can be loaded as a forge mod (1.2.5-1.7.10), fabric mod (Legacy fabric and cursed legacy), java agent (classic-1.7.10), modloader mod (a1.2.4_01-1.5.2), bukkit plugin (b1.0-b1.8.1).
1.3.2
Different versions, 1 jar. The same jar will work on everything from classic to release 1.7.10
1.2.5 (modded)
Throw Agenta in your mods folder and forget about it. Agenta takes care to interface with Minecraft as little as possible. Hence most mods should just work with it.
alpha 1.2.4_01
Restores sound to ancient versions of the game. Enjoy the game more or less as it was in 2010.
1.2.5
What obscure version will you test it on?
c0.30_01c
Load and saving support in classic versions that wouldn't be able to do so otherwise!
Beta 1.7.3
Fixes skins and caps in multiplayer. It also updates the authentication calls for beta and alpha versions of the game! You can load up agenta as a bukkit plugin to facilitate this!
Список змін
Версії проєкту
Опубліковані версії та оригінальні файли Modrinth.
- OrnitheMC (and legacy Ornithe) support
- Additional auth fixes for Indev and Infdev versions of mc (WiP)
- Skin caching (Won't redownload your skin each time you die)
- Skin layer merging.
- Bug-fix, Agenta was using "gmll.main.class" instead of "agenta.main.class" when running in static mode
- Fixed bug where skins did not show for users without capes.
- Fixed potential crash bug where users without a skin, but who had a cape, could result in a null pointer exception.
- Added the ability to load a configuration file (only available when not in static or agent mode)
- Made sure no JVM features beyond JAVA 8 was used.
- Added more config options
Note: This version slightly broke compatibility with modloader for release 1.6.2. If forge is available it will still work, otherwise you can add "-Dagenta.onesix.config.fallback=true" to your java arguments if you happened to need that exact setup.
Reforge was also tested and it appears to work.