Just some small utilities for sandbox/modding

Overview

Testing Utilities

Just some small utilities for sandbox/modding

  • Team Changer: Change teams easilty. (Disabled in campaign)
  • Seppuku Button: Kill yourself. Press and hold to commit crawler. A setting to make the death instant can be found in game settings.
  • Clone Button: Instantly clones your player unit. Press and hold to mass clone. (Disabled in campaign)
  • Heal Button: Sets your player unit's hp to its max. (Disabled in campaign)
  • Invincibility Button: Sets your player unit's hp to infinity. (Disabled in campaign)
  • Sandbox/Survival Button: Toggles infinite resources. (Disabled in campaign)
  • Fill/Dump Core: Fill or empty your core of all items. Hold to swap. (Disabled in campaign)
  • Status Menu: Apply/clear status effects to yourself. (Disabled in campaign)
  • Unit Menu: Allows you to both spawn units and transform into a different unit. (Disabled in campaign)

A setting for making the menu folded by default can be found in game settings.

Also enables devmode and increases zooming range.

Original repo here: MEEPofFaith/testing-utilities-js.

Building for Desktop Testing

  1. Install JDK 16.
  2. Run gradlew jar [1].
  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 [2]! 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 testing, if you have 30.0.1 installed, that would be $ANDROID_HOME/build-tools/30.0.1.
  4. Run gradlew deploy. 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]: 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.

Comments
  • Bring back to build 135

    Bring back to build 135

    Platform: Windows 11

    Build: 135

    Mod Version: Mod version in menus. If you download from actions, which action did you download from.

    Issue: make a testing utilities for build 135

    Steps to reproduce: testing utils is now supported for 136 and above it suck

    Last log: The last_log.txt from your game folder (.../Mindustry). REQUIRED if a certain button is not working at ALL, usually the case in headless servers.

    Crash logs: Either crash reports from the crash folder, or the file you get when you go into Settings -> Game Data -> Export Crash logs. REQUIRED if you are reporting a crash.


    Place an X (no spaces) between the brackets to confirm that you have read the line below.

    • [ ] I have searched the closed and open issues to make sure that this problem has not already been reported.
      • [ ] I am playing with the latest release (https://github.com/MEEPofFaith/testing-utilities-java/releases) to make sure my issue has not been fixed.

        or

      • [ ] I am playing with the latest action (https://github.com/MEEPofFaith/testing-utilities-java/actions) to make sure my issue has not been fixed.


    The original template is by Anuke, modified by sk7725, modified by MEEPofFaith.

    bug 
    opened by rylid-umil 4
  • i hate building (not ingame)

    i hate building (not ingame)

    Platform: Android/Windows/Linux N/A Build: The build number under the title in the main menu. Required. N/A Mod Version: Mod version in menus. If you download from actions, which action did you download from. N/A Issue: Explain your issue in detail. Building gives me "Could not resolve all files for configuration ':compileClasspath'" Steps to reproduce: How you happened across the issue, and what exactly you did to make the bug happen.

    1. clone repo
    2. ./gradlew build
    3. profit Last log: The last_log.txt from your game folder (.../Mindustry). REQUIRED if a certain button is not working at ALL, usually the case in headless servers. N/A Crash logs: Either crash reports from the crash folder, or the file you get when you go into Settings -> Game Data -> Export Crash logs. REQUIRED if you are reporting a crash. N/A

    Place an X (no spaces) between the brackets to confirm that you have read the line below.

    • [X] I have searched the closed and open issues to make sure that this problem has not already been reported.
      • [X] I am playing with the latest release (https://github.com/MEEPofFaith/testing-utilities-java/releases) to make sure my issue has not been fixed.

        or

      • [x] I am playing with the latest action (https://github.com/MEEPofFaith/testing-utilities-java/actions) to make sure my issue has not been fixed.


    The original template is by Anuke, modified by sk7725, modified by MEEPofFaith.

    bug 
    opened by jacklolidk 2
  • Unable to unisntalk the mod completely

    Unable to unisntalk the mod completely

    Platform:Android

    Build:23017 Mod version: The latest, I think is Minor things 2 2

    Issue: When I uninstall the mod, doesn't uninstall completely and stay and that functios are usable

    Steps to reproduce: Uninstall the mod

    Last log: I think isn't necessary but I don't know

    Place an X (no spaces) between the brackets to confirm that you have read the line below.

    • [ x] I have searched the closed and open issues to make sure that this problem has not already been reported.
      • [ x] I am playing with the latest release (https://github.com/MEEPofFaith/testing-utilities-java/releases) to make sure my issue has not been fixed.
    bug 
    opened by Cordsito 2
  • Unable to use mod

    Unable to use mod

    Platform: Windows

    Build: Bleeding Edge 22624

    Mod Version: Latest release and latest action

    Issue: Trying to download testing utilities from the mod browser gives an error, but downloads the mod anyway Screenshot_4608 However due to an error that can be seen in last_log the mod doesnt actually appear in the mods menu after downloading it and doesnt work at all. This happens on both the latest release as of writing this and the latest action as of writing this

    Steps to reproduce: Download testing utilities and try to play mindustry with it

    Last log: last_log.txt

    Crash logs: N/A


    Place an X (no spaces) between the brackets to confirm that you have read the line below.

    • [X] I have searched the closed and open issues to make sure that this problem has not already been reported.
      • [X] I am playing with the latest release (https://github.com/MEEPofFaith/testing-utilities-java/releases) to make sure my issue has not been fixed.

        or

      • [X] I am playing with the latest action (https://github.com/MEEPofFaith/testing-utilities-java/actions) to make sure my issue has not been fixed.


    The original template is by Anuke, modified by sk7725, modified by MEEPofFaith.

    bug 
    opened by TheRealIvyX 2
  • aaaaaaaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

    aaaaaaaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

    Platform: Android//Windows/Linux Android Build: The build number under the title in the main menu. Required. The new one Mod Version: Mod version in menus. If you download from actions, which action did you download from. V27 mod browser Issue: Explain your issue in detail. If i reload the game it will crash and not load to the menu Steps to reproduce: How you happened across the issue, and what exactly you did to make the bug happen. Reload the game

    Last log: The last_log.txt from your game folder (.../Mindustry). REQUIRED if a certain button is not working at ALL, usually the case in headless servers.

    Crash logs: Either crash reports from the crash folder, or the file you get when you go into Settings -> Game Data -> Export Crash logs. REQUIRED if you are reporting a crash.


    Place an X (no spaces) between the brackets to confirm that you have read the line below.

    • [ ] I have searched the closed and open issues to make sure that this problem has not already been reported.
      • [ ] I am playing with the latest release (https://github.com/MEEPofFaith/testing-utilities-java/releases) to make sure my issue has not been fixed.

        or

      • [ ] I am playing with the latest action (https://github.com/MEEPofFaith/testing-utilities-java/actions) to make sure my issue has not been fixed.


    The original template is by Anuke, modified by sk7725, modified by MEEPofFaith.

    bug 
    opened by N0Ii 2
  • does not play well with v133

    does not play well with v133

    Platform: android

    Build: v133

    Mod Version: v23

    Issue: image

    Steps to reproduce: tried to use on a server Save file: The (zipped) save file you were playing on when the bug happened. Not required, but you will be asked for it in certain bugs.

    Last log: The last_log.txt from your game folder (.../Mindustry). REQUIRED if a certain block is not working at ALL, usually the case in headless servers.

    Crash logs: Either crash reports from the crash folder, or the file you get when you go into Settings -> Game Data -> Export Crash logs. REQUIRED if you are reporting a crash.


    Place an X (no spaces) between the brackets to confirm that you have read the line below.

    • [x ] I have searched the closed and open issues to make sure that this problem has not already been reported.
      • [ x] I am playing with the latest release (https://github.com/MEEPofFaith/testing-utilities-java/releases) to make sure my issue has not been fixed.

        or

      • [ ] I am playing with the latest action (https://github.com/MEEPofFaith/testing-utilities-java/actions) to make sure my issue has not been fixed.


    The original template is by Anuke, modified by sk7725, modified by MEEPofFaith.

    bug 
    opened by USMP-lancer 2
Releases(v48)
Owner
dead inside
Doesn't do much lol MEEP of Faith#7277
dead inside
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
Apron: Classic Modding APIs on Babric

Apron Apron adds a compatibility layer between Fabric and several legacy modding APIs. In essence, it is a complete reimplementation of the API mods o

Better Than Updates 9 Dec 4, 2022
just a fabric mod that gives you the ability to change your viewmodel. done for volker1 on discord.

viewmodel-changer just a fabric mod that gives you the ability to change your viewmodel. done for volker1 on discord. how-to-use to open the gui, pres

null 21 Dec 30, 2022
just another wurstplustwo skid

Huzuni+ 2 I'm spanish sorry for my incredible professional english. Discord: https://discord.gg/AJTy8ZtGjh god NullName Clan because ies: https://disc

Huzuni+ 10 Dec 2, 2022
Community Mod. Just for fun.

CommunityMod Developed by members of the Discord server "TurtyWurty's Productions" over the span of 2 weeks, Community Mod is made up of a bunch of un

null 21 Aug 3, 2022
Minecraft spigot plugin for.... spits (just for fun) [1.16+]

Easy-to-use fun plugin that just adds ability to... spit :3 How to spit? Just use /funnyspits spit command! You can also use /spit, which is more fast

Adi Salimgereev 3 Jul 6, 2022
A Hypixel Skyblock Utilities mod

SkytilsMod A Hypixel Skyblock Utilities mod. Features General Client Side Custom Armor Colors Custom Command Aliases Griffin Burrow Locator and Waypoi

null 220 Jan 5, 2023
An efficient map viewer for Minecraft seed in a nice GUI with utilities without ever needing to install Minecraft.

To download it head to the Releases section. To run it: either double click it on it if you have the Java Runtime (JRE) or use the command line (shift

Neil 127 Dec 24, 2022
A proxy hack utilities for Minecraft: Bedrock Edition

BedrockProxy A proxy hack utilities for Minecraft: Bedrock Edition Download Releases Run Proxy java -jar BedrockProxy-1.0-SNAPSHOT.jar Hack Utilities

null 18 Dec 15, 2022
A Minecraft mod on the Fabric modloader which aims to add some useful vehicles.

Automobility A Minecraft vehicle mod adding customizable cars. Made for ModFest 1.17 Screenshots Try it out! Recommended to use along with LambdaContr

null 31 Dec 15, 2022
🚀Small java eventing library created to developer familiar with Bukkit,Nukkit and PowerNukkit...

FestivalKit ???? Small event library for developers familiar with Bukkit,PowerNukkit and Nukkit ???? Pequena libraria de eventos para desenvolvedores

Rick M. 2 Jan 2, 2022
A small game written in Java to review words.

这是一个实现网络连接的助记单词游戏 项目的具体功能: 实现多个用户通过网络连机进行游戏 通过对随机下落的六级词汇的补全,在游戏中提高用户的单词水平 记录每次游戏的成绩和情况(答对、答错、未答) 运用的技术及难点: 技术: 运用JavaSwing对游戏进行图形化开发,运用JavaSocket实现C/S

JavaW 2 Feb 2, 2022
Small mod for Minecraft Forge 1.16.5 that sends messages of in-game events to a channel in your Discord server. This mod also enables cross-chatting between Minecraft and Discord.

DiscordSync Small mod for Minecraft Forge 1.16.5 that sends messages of in-game events to a channel in your Discord server. This mod also enables cros

AeonLucid 4 Dec 20, 2022
A small Reactive API with RxJava for Minecraft Paper Plugins.

RxPaper A small Reactive API with RxJava for Minecraft Paper Plugins. Usage RxPaper.io() When you want to return something back in the Minecraft Threa

Julian Haag 7 Dec 9, 2021
Kotlin/LibGDX port of my Unity 2D Sandbox

TileRPG Kotlin port/continuation of my Unity TileRPG game, which was in itself a rewrite of my first attempt at making a 2D sandbox game. A libGDX pro

null 1 Jan 23, 2022
Just-In-Time Access is an AppEngine application that lets you manage just-in-time privileged access to Google Cloud projects.

Just-In-Time Access Just-In-Time Access is an AppEngine application that lets you manage just-in-time privileged access to Google Cloud projects. Syno

Google Cloud Platform 36 Jan 3, 2023
Reactive Streams Utilities - Future standard utilities library for Reactive Streams.

Reactive Streams Utilities This is an exploration of what a utilities library for Reactive Streams in the JDK might look like. Glossary: A short gloss

Lightbend 61 May 27, 2021
"Some" Utilities you can use for your Java projects "freely"! Files are compiled with Java-8 and above, but mostly Java-11.

✨ Java-SomeUtils ?? "Some" Utilities you can use for your Java projects "freely"! *"Freely"* forcing you to include the license into your program. Fil

JumperBot_ 2 Jan 6, 2023
An IDE built specifically for Modding Minecraft Java Edition, containing many useful features that will be helpful for modders.

Modding-IDE An IDE built specifically for Modding Minecraft Java Edition, containing many useful features that will be helpful for modders. Trello: ht

null 11 Jul 16, 2022