seppuku/readme.md

53 lines
3.0 KiB
Markdown
Raw Normal View History

2019-10-27 23:32:26 +00:00
# ![Seppuku](res/seppuku_full.png)
2019-10-27 23:30:38 +00:00
2020-12-28 21:26:42 +00:00
![Website](https://img.shields.io/website?down_color=lightgrey&down_message=offline&up_color=darkgreen&up_message=online&url=https%3A%2F%2Fseppuku.pw%2F)
![Discord](https://img.shields.io/discord/579516739092480000?color=lightblue)
![License](https://img.shields.io/github/license/seppukudevelopment/seppuku)
![GitHub Version](https://img.shields.io/github/v/release/seppukudevelopment/seppuku)
![GitHub Lines](https://img.shields.io/tokei/lines/github/seppukudevelopment/seppuku)
![GitHub Contributors](https://img.shields.io/github/contributors/seppukudevelopment/seppuku?color=lightgrey)
![GitHub Language](https://img.shields.io/github/languages/top/seppukudevelopment/seppuku?color=9900ee)
![Downloads](https://img.shields.io/github/downloads/seppukudevelopment/seppuku/total?color=9900ee)
2020-12-25 23:36:43 +00:00
Seppuku is a free, lightweight, open-source [_Minecraft Forge_](https://files.minecraftforge.net/) mod for Minecraft 1.12.2, and soon to be for recent versions...
Originally oriented towards the 9B9T and 2B2T anarchy servers; it is a fully featured client-side mod with an external plugin API, unique exploits, and a [solid Discord community](https://discord.gg/UzWBZPe).
2019-11-03 18:12:06 +00:00
2020-12-28 23:14:21 +00:00
Check the [guide](https://seppuku.pw/guide.html) for help.
2019-11-03 18:12:06 +00:00
# Requirements
- **JDK 8** (https://adoptopenjdk.net/, https://aws.amazon.com/corretto/)
2019-11-03 18:12:06 +00:00
- __(optional)__ **Git**
# Building
### Linux / Mac
1. Clone the repository: `git clone git@github.com:seppukudevelopment/seppuku.git`
2020-12-29 21:42:20 +00:00
2. Run `./gradlew clean`
3. Run `./gradlew setupDecompWorkspace`
4. Edit `build.gradle` and change field `buildmode` to `RELEASE`. (e.g. `def
buildmode = "RELEASE"`)
2020-12-29 21:42:20 +00:00
5. Run `./gradlew build`.
Your .jar file is in `build/libs/`.
2019-11-03 18:12:06 +00:00
2019-11-25 02:20:41 +00:00
#### Windows
> Using a git shell for Windows and using the linux guide above is highly recommended. (https://git-scm.com/downloads)
2020-12-29 21:42:20 +00:00
1. **Clone** the repository.
2. **Import** the project through Gradle via `build.gradle`. *(simple tutorials online for
[intellij](https://stackoverflow.com/questions/31256356/how-to-import-gradle-projects-in-intellij),
2020-12-29 21:42:20 +00:00
[eclipse](https://stackoverflow.com/questions/10722773/import-existing-gradle-git-project-into-eclipse), etc...)*
3. Run the Gradle command `clean` via the IDE or the gradlew.bat file. *(via command prompt: `./gradlew.bat clean`)*
4. Run the Gradle command `setupDecompWorkspace` via the IDE or gradlew.bat file. *(via command prompt: `./gradlew.bat setupDecompWorkspace`)*
5. *(for IDE building only <IntelliJ / Eclipse / etc...> )*: **Refresh the project** *(reload ide or refresh gradle workspace)*
6. **Edit** `build.gradle` and change field `buildmode` to `RELEASE` ex: `def
2019-12-18 20:46:39 +00:00
buildmode = "RELEASE"`
2020-12-29 21:42:20 +00:00
7. **Run** the gradle command `build` via the IDE or gradlew.bat file. *(via
command prompt: `gradlew.bat build`)*
Your .jar file is in `build/libs/`.
2019-11-03 18:27:59 +00:00
# Debugging
- Use VM arg `-Dfml.coreMods.load=me.rigamortis.seppuku.impl.fml.core.SeppukuLoadingPlugin`
2019-11-21 03:32:43 +00:00
- Ensure field `buildmode` in **build.gradle** is set to `IDE` ex: `def buildmode = "IDE"`
2020-12-29 21:42:20 +00:00
- Repeat the steps from `step #2` in the **Building** guide written above to fix errors.