Chess in Mindustry.

Overview

ChessDustry

A (Java) Mindustry Mod that adds Chess pieces to the game.

Building for Desktop Testing

  1. Install JDK 17.
  2. Run gradlew jar [1] or preferred [2].
  3. Your mod jar will be in the build/libs directory. Only use this version for testing on desktop. It will not work with Android. To build an Android-compatible version, you need the Android SDK. You can either let Github Actions handle this, or set it up yourself. See steps below.

Building through Github Actions

This repository is set up with Github Actions CI to automatically build the mod for you every commit. This requires a Github repository, for obvious reasons. To get a jar file that works for every platform, do the following:

  1. Make a Github repository with your mod name, and upload the contents of this repo to it. Perform any modifications necessary, then commit and push.
  2. Check the "Actions" tab on your repository page. Select the most recent commit in the list. If it completed successfully, there should be a download link under the "Artifacts" section.
  3. Click the download link (should be the name of your repo). This will download a zipped jar - not the jar file itself [3]! Unzip this file and import the jar contained within in Mindustry. This version should work both on Android and Desktop.

Building Locally

Building locally takes more time to set up, but shouldn't be a problem if you've done Android development before.

  1. Download the Android SDK, unzip it and set the ANDROID_HOME environment variable to its location.
  2. Make sure you have API level 30 installed, as well as any recent version of build tools (e.g. 30.0.1)
  3. Add a build-tools folder to your PATH. For example, if you have 30.0.1 installed, that would be $ANDROID_HOME/build-tools/30.0.1.
  4. Run gradlew deploy or ./preferred. If you did everything correctlly, this will create a jar file in the build/libs directory that can be run on both Android and desktop.

Adding Dependencies

Please note that all dependencies on Mindustry, Arc or its submodules must be declared as compileOnly in Gradle. Never use implementation for core Mindustry or Arc dependencies.

  • implementation places the entire dependency in the jar, which is, in most mod dependencies, very undesirable. You do not want the entirety of the Mindustry API included with your mod.
  • compileOnly means that the dependency is only around at compile time, and not included in the jar.

Only use implementation if you want to package another Java library with your mod, and that library is not present in Mindustry already.


[1] On Linux/Mac it's ./gradlew, but if you're using Linux I assume you know how to run executables properly anyway. [2] *On Linux/Mac it's ./preferred. [3]: Yes, I know this is stupid. It's a Github UI limitation - while the jar itself is uploaded unzipped, there is currently no way to download it as a single file.

You might also like...

Mindustry 2 - Among Us 2, but it's Mindustry instead of Among Us

Mindustry 2 Among Us 2, but it's Mindustry instead of Among Us. Download a precompiled build here Building for Desktop Testing Install JDK 17 and curl

Sep 3, 2022

Java UCI Protocol implementation (Universal Chess Engine)

Java UCI Protocol implementation (Universal Chess Engine)

A simple UCI (Universal Chess Interface) Client written in Java. Tested with Stockfish 13. Documentation Starting / Closing the client By using the st

Jan 2, 2023

Chess made as an assignment project for OOP course 2021/22

Chess made as an assignment project for OOP course 2021/22

chess Chess made as an assignment project for OOP course 2021/22 Installation Project is built with Clone the repository In the directory containing p

May 1, 2022

An example of mindustry plugin

Плагин-пример. If you want an English version of this plugin, DM me: Даркнесс#3729 Чтобы увидеть, как работает плагин, заходи в папку src/darkdustry и

Oct 18, 2022

Mindustry java mod that adds a redstone-like wire-based logic system, tailored for making circuits.

Mindustry java mod that adds a redstone-like wire-based logic system, tailored for making circuits.

See Esoterum-Solutions for builds 0.0-1.2 A small Mindustry Java mod that adds a wire-based logic system tailored for building circuits. New content s

Oct 25, 2022

A mindustry plugin that checks if a image is banned. No more nsfw (hopefully)

A mindustry plugin that checks if a image is banned. No more nsfw (hopefully)

GlobalImageBan A mindustry plugin that checks if a image is banned. No more nsfw (hopefully) ATTENTION: We need people to submit NSFW Schematics in th

Nov 15, 2022

A mod adding radiation-related items to Mindustry (radioactive materials, new guns, etc.)

Nuclear Mines (VERY EARLY BUILD) A Mindustry mod adding more radiation-based items to the game. THIS IS A VERY EARLY VERSION. NOT EVERYTHING IS FINISH

Sep 3, 2022

Nuclear-Mines-Mod - A mod adding radiation-related items to Mindustry (radioactive materials, new guns, etc.)

Nuclear Mines (VERY EARLY BUILD) A Mindustry mod adding more radiation-based items to the game. THIS IS A VERY EARLY VERSION. NOT EVERYTHING IS FINISH

Sep 3, 2022

A public, stripped down workspace of the Project Unity mod, a mega-collaboration Mindustry mod

A public, stripped down workspace of the Project Unity mod, a mega-collaboration Mindustry mod

A public, stripped down workspace of the Project Unity mod, a mega-collaboration Mindustry mod. Not intended to be played yet; this is purely for code publicity and healthy competition reasons.

Jan 1, 2023

A Java Mindustry mod template that works on Android and PC. The Kotlin version of this mod can be seen here.

Mindustry Java Mod Template A Java Mindustry mod template that works on Android and PC. The Kotlin version of this mod can be seen here. Building for

Jan 22, 2022

A template for Mindustry modding.

A template for Mindustry modding.

Mindustry Mod Template A template for Mindustry modding. English | 中文 Requirements Java: Java 8 SDK Functions Auto-release Every commit started with "

Dec 21, 2022

a mindustry v7 mod written in java. made by 12three7#5723.

Binary0011 a binary themed mod for mindustry v7. the "Java port" and complete rework of my old (hjson) mod "Binary0011". the way you can compile/imple

Sep 1, 2022

Mindustry v7 experimental mod.

Confictura A Mindustry v7 experimental mod. Features "Shockwave" effect, distorting the screen pixels. Slash trail effect. Building for Desktop Testin

Sep 3, 2022

Mindustry Java Mod Template

Mindustry Java Mod Template A Java Mindustry mod template that works on Android and PC. The Kotlin version of this mod can be seen here. Building for

Oct 3, 2022

A Mindustry mod library provides a multiple-recipe crafter to produce items, fluids, power or even heat for Json and JavaScript mods.

A Mindustry mod library provides a multiple-recipe crafter to produce items, fluids, power or even heat for Json and JavaScript mods.

MultiCrafter Lib A Mindustry MultiCrafter lib-mod for Json and JavaScript mods. Please check the instruction. How to Use Please check the instruction

Dec 27, 2022

Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Dec 30, 2022
Releases(v0.1)
Owner
I do stuff.
null
Chess made as an assignment project for OOP course 2021/22

chess Chess made as an assignment project for OOP course 2021/22 Installation Project is built with Clone the repository In the directory containing p

Michał Horodecki 3 May 1, 2022
A mindustry plugin that checks if a image is banned. No more nsfw (hopefully)

GlobalImageBan A mindustry plugin that checks if a image is banned. No more nsfw (hopefully) ATTENTION: We need people to submit NSFW Schematics in th

null 2 Nov 15, 2022
A mod adding radiation-related items to Mindustry (radioactive materials, new guns, etc.)

Nuclear Mines (VERY EARLY BUILD) A Mindustry mod adding more radiation-based items to the game. THIS IS A VERY EARLY VERSION. NOT EVERYTHING IS FINISH

null 6 Sep 3, 2022
Nuclear-Mines-Mod - A mod adding radiation-related items to Mindustry (radioactive materials, new guns, etc.)

Nuclear Mines (VERY EARLY BUILD) A Mindustry mod adding more radiation-based items to the game. THIS IS A VERY EARLY VERSION. NOT EVERYTHING IS FINISH

null 6 Sep 3, 2022
A template for Mindustry modding.

Mindustry Mod Template A template for Mindustry modding. English | 中文 Requirements Java: Java 8 SDK Functions Auto-release Every commit started with "

Li Plum 8 Dec 21, 2022
Mindustry v7 experimental mod.

Confictura A Mindustry v7 experimental mod. Features "Shockwave" effect, distorting the screen pixels. Slash trail effect. Building for Desktop Testin

null 15 Sep 3, 2022
A Mindustry mod library provides a multiple-recipe crafter to produce items, fluids, power or even heat for Json and JavaScript mods.

MultiCrafter Lib A Mindustry MultiCrafter lib-mod for Json and JavaScript mods. Please check the instruction. How to Use Please check the instruction

Li plum 24 Dec 27, 2022
Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Eschatologue 78 Dec 30, 2022
Chess in Mindustry.

ChessDustry A (Java) Mindustry Mod that adds Chess pieces to the game. Building for Desktop Testing Install JDK 17. Run gradlew jar [1] or preferred [

null 14 Aug 6, 2022
A beta mindustry mod, this mod not uploaded on mindustry until a new release has been released

Project EPL A beta mindustry mod, this mod not uploaded on mindustry until a new release has been released. the way you can compile/implement it is in

ExplerHD 2 Feb 4, 2022