MarketShark is a Java-based Forge mod designed to automate interactions within the Minecraft Hypixel server. Built upon the Forge1.8.9Template, this mod includes automated purchasing and other remote-controlled functionalities for users connected to Hypixel, leveraging a backend for additional features.
MarketShark was built using Forge1.8.9Template, a template repository by nea89o. This template provides the foundational setup for Forge mods targeting Minecraft version 1.8.9.
Original template features:
- Architectury Loom integration for Forge modding
- DevAuth for Minecraft account authentication
- Customizable Mod ID on template usage
- JDK 1.8 and JDK 17 compatibility for development
- Gradle build system with support for mixins
Special thanks to nea89o for providing a streamlined template for legacy Minecraft modding.
- Automated item purchasing on Hypixel using the CoflNet websocket
- Backend server integration for remote control
- Remote Start/Stop functionality
- Discord bot integration for command and control
- CLI tool for easy configuration (optional)
- AutoList feature for managing in-game listings
To build and run MarketShark, you will need:
- Java 1.8 JDK for the project SDK
- Java 17 JDK for Gradle JVM
- IntelliJ IDEA for development
Download the required JDKs from Adoptium.
-
Configuring env variables
- Open gradle.properties
- Edit the basegroup, modid if appliciable
- Set your domain for your MarketSharkServer host
-
Switching to Unsecure (Not Reccomended)
- Only required if using an IP or Domain that has no SSL Certifciates Served
- Replace "wss" in DiscordIntegration.java with "ws"
-
Clone the Repository
git clone https://github.com/JackTYM/MarketShark cd MarketShark -
Run
build.shScriptchmod +x build.sh ./build.sh
This script executes Gradle tasks for building different MarketShark versions:
buildHammerheadbuildWobbegongbuildGreatWhitebuildMegalodon
-
Automatic Obfuscation
- During the build, each version automatically passes through Grunt for minor obfuscation, ensuring code security and reducing readability for external users.
-
Single Codebase with Version-Specific Features
- MarketShark is designed to maintain a single codebase that supports multiple feature sets, which are customized per build type (e.g., Hammerhead, Wobbegong, GreatWhite, Megalodon). This emulates C++ preprocessor directives by using Regex patterns to include or exclude specific code sections based on the build type.
-
Configure IntelliJ IDEA
- Set the Gradle JVM to the Java 17 JDK.
- Set the Project SDK to the Java 1.8 JDK.
- Synchronize Gradle and ensure the
Minecraft Clientrun task appears.
-
Exporting the Mod
- Run the
gradle buildtask, or executebuild.sh. - The compiled mod files can be found at
build/libs/<modid>-<version>-<BuildType>.jar. - Ignore the jars in the
build/badjarsfolder, as these are intermediary files.
- Run the
-
Optional Configuration for Mac Users
- Remove the
-XStartOnFirstThreadVM argument in your run configuration if you encounter issues running the client.
- Remove the
- None
- None reported
- Error when rejoining island after limbo.
- CrashPatch does not work properly
Contributions are welcome! To contribute:
- Fork the repository.
- Clone your fork:
git clone https://github.com/JackTYM/MarketShark.git - Create a new branch for your feature or bug fix:
git checkout -b feature-name - Commit your changes:
git commit -m "Add new feature" - Push to your fork:
git push origin feature-name - Submit a pull request with a description of your changes.
Pull requests will be reviewed and accepted if applicable to the project goals.
Thank you for your interest in MarketShark!