Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
243 commits
Select commit Hold shift + click to select a range
104ad87
[GENERAL] Add discord link to modmenu
OffsetMonkey538 Dec 31, 2023
b016fd0
[GENERAL] Add library badge to modmenu
OffsetMonkey538 Dec 31, 2023
24f389d
[CONFIG] Add mod menu
OffsetMonkey538 Jan 1, 2024
89e4951
[CONFIG] Create mod menu initializer. Has methods for registering a c…
OffsetMonkey538 Jan 1, 2024
0629aee
[CONFIG] Add config screen with some buttons and an option list widget
OffsetMonkey538 Jan 1, 2024
e9c3c30
[CONFIG TESTMOD] Add config screen
OffsetMonkey538 Jan 1, 2024
0276d18
[CONFIG] Add text for reset to default button
OffsetMonkey538 Jan 1, 2024
d05330f
Update loader dependency
OffsetMonkey538 Apr 20, 2024
72b895f
Add setResourcePackProperties
OffsetMonkey538 Apr 20, 2024
2dbe375
This should be null
OffsetMonkey538 Apr 20, 2024
ac17389
Mark minecraft version compatibility
OffsetMonkey538 Apr 20, 2024
5deb67f
Bump version
OffsetMonkey538 Apr 20, 2024
2208068
Revert "[CONFIG] Add text for reset to default button"
OffsetMonkey538 Apr 20, 2024
c562ef3
Revert "[CONFIG TESTMOD] Add config screen"
OffsetMonkey538 Apr 20, 2024
301db19
Revert "[CONFIG] Add config screen with some buttons and an option li…
OffsetMonkey538 Apr 20, 2024
5c4bfd2
Revert "[CONFIG] Create mod menu initializer. Has methods for registe…
OffsetMonkey538 Apr 20, 2024
6a8fc03
Revert "[CONFIG] Add mod menu"
OffsetMonkey538 Apr 20, 2024
1cafdf2
Revert "[GENERAL] Add library badge to modmenu"
OffsetMonkey538 Apr 20, 2024
43ee597
Revert "[GENERAL] Add discord link to modmenu"
OffsetMonkey538 Apr 20, 2024
870fd02
[GENERAL] Set up publishing to new maven repo
OffsetMonkey538 Apr 22, 2024
b52de5b
Basic multi version thingy setup
OffsetMonkey538 May 1, 2024
b70debf
Add the text stylizing thingy
OffsetMonkey538 May 1, 2024
3e81ff0
Bump version
OffsetMonkey538 May 1, 2024
045d60a
Delete GitHub actions. Will need to be redone because of the multi ve…
OffsetMonkey538 May 1, 2024
c924c42
Add upload-artifacts.yml github workflow
OffsetMonkey538 May 1, 2024
6ffe92b
Update upload-artifacts.yml
OffsetMonkey538 May 1, 2024
a8dc47a
Update upload-artifacts.yml
OffsetMonkey538 May 1, 2024
7bb8a4b
Update upload-artifacts.yml
OffsetMonkey538 May 1, 2024
e026534
Update upload-artifacts.yml
OffsetMonkey538 May 1, 2024
e86562b
Update upload-artifacts.yml
OffsetMonkey538 May 1, 2024
f20061f
Update upload-artifacts.yml
OffsetMonkey538 May 1, 2024
69372fe
Update upload-artifacts.yml
OffsetMonkey538 May 1, 2024
1bd173b
Update upload-artifacts.yml
OffsetMonkey538 May 1, 2024
0bfadb1
Update upload-artifacts.yml
OffsetMonkey538 May 1, 2024
61f9911
Update upload-artifacts.yml
OffsetMonkey538 May 1, 2024
b4830e1
Create publish.yml
OffsetMonkey538 May 1, 2024
aae270f
Maven publishing
OffsetMonkey538 May 1, 2024
44ee9ec
Maven publishing
OffsetMonkey538 May 1, 2024
696ff78
I left these in????
OffsetMonkey538 May 2, 2024
99fe094
Fix '\' not working correctly in the text styling thingy
OffsetMonkey538 May 2, 2024
cc2e80d
Bump version
OffsetMonkey538 May 2, 2024
3b47a38
s
OffsetMonkey538 Jun 2, 2024
d26cf37
1.21
OffsetMonkey538 Jun 13, 2024
22cf4c5
Readme
OffsetMonkey538 Jun 13, 2024
6dd9a1b
1.20.2 version incorrectly marked as working on 1.20.1
OffsetMonkey538 Jun 13, 2024
d3a3c6f
Update github workflows
OffsetMonkey538 Jun 14, 2024
957e528
Fix not creating the parent directories for a config file
OffsetMonkey538 Jul 24, 2024
6435b23
Bump version
OffsetMonkey538 Jul 24, 2024
aa4740c
Update gradle to 8.9
OffsetMonkey538 Jul 25, 2024
2f605a0
Update loom to 1.7
OffsetMonkey538 Jul 25, 2024
71c6d02
Add javadoc stylesheet
OffsetMonkey538 Jul 25, 2024
1779ccd
[CONFIG] Implement datafixers. Now configs can be automatically updat…
OffsetMonkey538 Oct 4, 2024
faf728d
Bump version
OffsetMonkey538 Oct 4, 2024
316e363
Update README.md
OffsetMonkey538 Feb 3, 2025
1cfa04c
Update Gradle to v8.13
OffsetMonkey538 Apr 3, 2025
2ef1301
Update Loom to v1.10
OffsetMonkey538 Apr 3, 2025
d4a1a69
Use outlet for dependency versions.
OffsetMonkey538 Apr 5, 2025
ab599fc
'buildDir' is deprecated
OffsetMonkey538 Apr 5, 2025
3d36415
Create 1.21.5 project
OffsetMonkey538 Apr 5, 2025
e6c18f9
1.21.5 builds
OffsetMonkey538 Apr 5, 2025
fb73006
Rename 1.21 to 1.21.1, set correct supported version range
OffsetMonkey538 Apr 5, 2025
53b2e91
Set correct supported version range for 1.21.5
OffsetMonkey538 Apr 5, 2025
7a26458
Update build actions
OffsetMonkey538 Jun 21, 2025
9711be8
Did stuff xD
OffsetMonkey538 Jul 24, 2024
8cf2bc1
ever more stuff
OffsetMonkey538 Jul 26, 2024
d40e2b5
Fix suitable argument type not being found for config options with a …
OffsetMonkey538 Jul 26, 2024
496178b
publish to maven repo
OffsetMonkey538 Jul 28, 2024
648ba9e
Only use maven credentials from gradle properties if they exist
OffsetMonkey538 Jul 28, 2024
57920bb
rebase
OffsetMonkey538 Jun 24, 2025
a9b489f
Upload artifacts to maven repo every commit
OffsetMonkey538 Jun 24, 2025
be002d5
Revert config api to be compatible with latest release
OffsetMonkey538 Jun 24, 2025
7ec4d7f
Include OffsetConfig538, remove config api
OffsetMonkey538 Jun 24, 2025
1606656
Implement config command
OffsetMonkey538 Jun 24, 2025
810472d
Implement config command v2
OffsetMonkey538 Jun 24, 2025
221e09c
Implement config command v3
OffsetMonkey538 Jun 24, 2025
54d4200
Bump version, mark mods using current version as broken by this
OffsetMonkey538 Jul 23, 2025
bf6d58f
Update gradle to v8.14.3
OffsetMonkey538 Jul 23, 2025
3a037dc
Update loom to v1.11
OffsetMonkey538 Jul 23, 2025
831339c
Update properties
OffsetMonkey538 Jul 23, 2025
e839eaf
Update build workflow
OffsetMonkey538 Jul 23, 2025
173233c
update LICENSE year
OffsetMonkey538 Jul 23, 2025
87ffebe
Update build workflow 2
OffsetMonkey538 Jul 23, 2025
81e8c0b
Fix build
OffsetMonkey538 Jul 24, 2025
a39b7cb
Merge remote-tracking branch 'origin/v3' into config-command
OffsetMonkey538 Jul 25, 2025
73956cf
Merge pull request #2 from OffsetMods538/config-command
OffsetMonkey538 Jul 25, 2025
1e49608
Delete everythin
OffsetMonkey538 Jul 25, 2025
cd154fd
Stuff
OffsetMonkey538 Jul 26, 2025
6da5bea
update loader
OffsetMonkey538 Aug 3, 2025
fb30ac4
Abstract lots of command stuff into common
OffsetMonkey538 Aug 3, 2025
8bc9baf
fix build workflow
OffsetMonkey538 Aug 3, 2025
a3a15e0
Janvadonk
OffsetMonkey538 Aug 3, 2025
992e97c
fix build workflow again?
OffsetMonkey538 Aug 3, 2025
6baee32
Link offsetconfig538 javadoc
OffsetMonkey538 Aug 4, 2025
7159eb0
Link offsetconfig538 javadoc again
OffsetMonkey538 Aug 4, 2025
0bd2376
Refactor api
OffsetMonkey538 Aug 4, 2025
eb3e2e1
Fix incorrect service name
OffsetMonkey538 Aug 4, 2025
3740962
use 1.21.8
OffsetMonkey538 Aug 4, 2025
c0fdd19
Fabric common?
OffsetMonkey538 Aug 4, 2025
6196bf7
TextApi for fabric for initializing click and hover events
OffsetMonkey538 Aug 5, 2025
2dc7774
Allow accessing platform-specific Text from a MonkeyLibText
OffsetMonkey538 Aug 5, 2025
0cb80d4
Implement most of text formatting api
OffsetMonkey538 Aug 5, 2025
f9cfd59
Argh nvm don't try to link common javadoc to fabric common javadoc
OffsetMonkey538 Aug 5, 2025
5c9d17e
Fix maven publishing
OffsetMonkey538 Aug 6, 2025
30682cc
Fix error when styling text
OffsetMonkey538 Aug 6, 2025
ece595f
List of default colors for style
OffsetMonkey538 Aug 6, 2025
7adde5c
More command abstractions
OffsetMonkey538 Aug 6, 2025
57a8222
i swear it makes more sense in this oreder
OffsetMonkey538 Aug 6, 2025
39cb418
OMG THSI SHIZ WORKSSSS
OffsetMonkey538 Aug 7, 2025
bda2c8a
Implenment the rtun command action tyoo omg tiw WORRKSSSS!
OffsetMonkey538 Aug 7, 2025
bbee672
Implement all the actions (and test none of em)
OffsetMonkey538 Aug 7, 2025
3e7f8f5
Cleanup
OffsetMonkey538 Aug 7, 2025
6345c7b
Keep hover and click events when style is reset
OffsetMonkey538 Aug 10, 2025
e20ac72
Fix only sources jar sent to mdorinth
OffsetMonkey538 Sep 16, 2025
1bc387c
neoforge
OffsetMonkey538 Oct 3, 2025
bf76c05
fix common and version-specific neoforge artifact under same name
OffsetMonkey538 Oct 7, 2025
66c29d2
fix TextApi service not loading
OffsetMonkey538 Oct 7, 2025
10e70ec
include offsetconfig the correct-ish way I think
OffsetMonkey538 Oct 7, 2025
5b8f55c
include offsetconfig the more correct-ish way I think
OffsetMonkey538 Oct 7, 2025
3df936b
make it build
OffsetMonkey538 Oct 7, 2025
9911693
don't crash on reloading
OffsetMonkey538 Oct 11, 2025
7d04b64
redo versioning
OffsetMonkey538 Oct 11, 2025
2230010
Fix github action builds and maven having slightly different versions
OffsetMonkey538 Oct 11, 2025
264b598
Use parseBoolean instead of equalsIgnoreCase in buildscript
OffsetMonkey538 Oct 11, 2025
d70e118
reorder evn vars in action
OffsetMonkey538 Oct 12, 2025
21bc668
add fabric 1.21.9 subproject. Includes FabricPlayerApi to check wheth…
OffsetMonkey538 Oct 12, 2025
4e38515
include offsetconfig538 jij in fabric version
OffsetMonkey538 Oct 12, 2025
a95e31a
include jankson jij in fabric version
OffsetMonkey538 Oct 12, 2025
d3f347d
Add api for running code on server lifecycle events
OffsetMonkey538 Oct 23, 2025
2ef1c8e
update github actions, please tell me this fixes cache not working 🙏
OffsetMonkey538 Oct 23, 2025
fa42ed5
Add files via upload
OffsetMonkey538 Oct 23, 2025
187ae64
only allow op users to use config commands
OffsetMonkey538 Oct 25, 2025
ce7b3ac
Update gradle to v9.1.0
OffsetMonkey538 Oct 25, 2025
bd100da
provide api for getting config dir
OffsetMonkey538 Oct 25, 2025
48e6a80
super important gradle plugin
OffsetMonkey538 Nov 16, 2025
425cf4e
Disable very improtant gradle plugion on github actions
OffsetMonkey538 Dec 13, 2025
1c94b33
Disable very improtant gradle plugion on github actions
OffsetMonkey538 Dec 13, 2025
81117b3
Merge remote-tracking branch 'origin/v3' into v3
OffsetMonkey538 Dec 13, 2025
69565c3
provide api for getting game and mods dir
OffsetMonkey538 Dec 13, 2025
fe2f5c5
rename
OffsetMonkey538 Dec 14, 2025
1289f37
Add 1.21.5 version
OffsetMonkey538 Dec 14, 2025
55f8ca2
Fix 1.21.5 version project name
OffsetMonkey538 Dec 14, 2025
ee6be3b
Update gradle to v9.2.0
OffsetMonkey538 Dec 14, 2025
89ccff8
Update loom to v1.14
OffsetMonkey538 Dec 14, 2025
ce32929
Bump version
OffsetMonkey538 Dec 15, 2025
f04de83
Fix modrinth publish
OffsetMonkey538 Dec 15, 2025
a65dde2
Add method for checking for development environment
OffsetMonkey538 Dec 17, 2025
c93706f
Api for getting game brand, checking if command source is op *or* hos…
OffsetMonkey538 Dec 26, 2025
c63dbc8
Cleanup imports
OffsetMonkey538 Dec 26, 2025
770d6e7
Remove unused code
OffsetMonkey538 Dec 26, 2025
8640163
bump version
OffsetMonkey538 Dec 26, 2025
3a24832
Implement ClientLifecycleApi on neoforge
OffsetMonkey538 Dec 27, 2025
82517ec
Cleanup
OffsetMonkey538 Dec 27, 2025
386684a
jspecify
OffsetMonkey538 Dec 27, 2025
99f04bc
rework buildsystem "a bit"
OffsetMonkey538 Dec 31, 2025
027cb99
add possibly working relocate configuration idk
OffsetMonkey538 Dec 31, 2025
5e2979f
maybe this better way to include?
OffsetMonkey538 Dec 31, 2025
8f6ab54
actually how bout I just force each final loader specific project to …
OffsetMonkey538 Dec 31, 2025
acc3b40
move common code to common package
OffsetMonkey538 Dec 31, 2025
15a75cf
fix modded subprojects having same artifact id as fabric ones
OffsetMonkey538 Dec 31, 2025
af72e12
update github build workflos
OffsetMonkey538 Dec 31, 2025
0abcc8c
fewer versions and more versions?
OffsetMonkey538 Dec 31, 2025
c8d0740
fix icon
OffsetMonkey538 Dec 31, 2025
3295d0f
Neoforge!?
OffsetMonkey538 Jan 1, 2026
f68c5c6
delete non version specific loader specific artifacts in github workf…
OffsetMonkey538 Jan 1, 2026
5d114d0
possibly do correct version range for neoforge?
OffsetMonkey538 Jan 1, 2026
bfb4fea
Implement ServerLifecycleApi
OffsetMonkey538 Jan 1, 2026
1b7785a
Support 1.21.11
OffsetMonkey538 Jan 1, 2026
2267df2
cleanup
OffsetMonkey538 Jan 1, 2026
44f736c
update neoforge.mods.toml
OffsetMonkey538 Jan 1, 2026
af4258c
add mods.toml for older versions of neoforge
OffsetMonkey538 Jan 1, 2026
53a8fc1
replace placeholders in mods.toml
OffsetMonkey538 Jan 1, 2026
7183aec
this can probably be runtimeOnly i think and hope
OffsetMonkey538 Jan 1, 2026
272c6fd
mark offsetconfig and jspecify as api dependencies for all projects
OffsetMonkey538 Jan 1, 2026
1a2d348
tell loom to remap modded when depended on from another porject
OffsetMonkey538 Jan 1, 2026
cb06328
add +local suffix when VERSION_SUFFIX not set
OffsetMonkey538 Jan 1, 2026
61bf4d9
fix crash n some refactoring
OffsetMonkey538 Jan 2, 2026
6a966b4
Neoforge support 1.21+
OffsetMonkey538 Jan 4, 2026
4d6e132
move neoforge and fabric subprojects into loader folder
OffsetMonkey538 Jan 4, 2026
0275d66
update build workflows
OffsetMonkey538 Jan 4, 2026
2d99c53
Bump version
OffsetMonkey538 Jan 9, 2026
45452cd
Identifier wrapper, api for creating ResourceKey from Identifier
OffsetMonkey538 Jan 18, 2026
343f3fe
Add @Internal annotation
OffsetMonkey538 Jan 18, 2026
eb4f496
Implement toString in IdentifierWrapper implementations
OffsetMonkey538 Jan 18, 2026
d39d704
Remove asString from IdentifierWrapper implementations
OffsetMonkey538 Jan 18, 2026
3b738e0
Bump version
OffsetMonkey538 Jan 18, 2026
043eed6
Include only api package in javadoc
OffsetMonkey538 Jan 19, 2026
69738f8
som javaduc
OffsetMonkey538 Jan 19, 2026
a39735c
make javadoc shut the hell up
OffsetMonkey538 Jan 19, 2026
f23ff48
checkstyle
OffsetMonkey538 Jan 20, 2026
04c524a
some refactoring ig
OffsetMonkey538 Jan 21, 2026
51247a8
Update Gradle to v9.3.0
OffsetMonkey538 Jan 21, 2026
2b70654
rm checkstyle
OffsetMonkey538 Jan 21, 2026
595b9f3
Possibly working paper subproject
OffsetMonkey538 Jan 22, 2026
2c89cc4
Remove getGameDirImpl from neoforge LoaderUtilImpl
OffsetMonkey538 Jan 23, 2026
b8bf42d
Use resource-factory to replace neoforge.mods.toml and fabric.mod.json
OffsetMonkey538 Jan 23, 2026
21b8a21
delete multiloader-modded.gradle as previous commit made it obsolete
OffsetMonkey538 Jan 23, 2026
c9aea46
turns out the paper run task adds a `xyz.jpenilla.run-task` system pr…
OffsetMonkey538 Jan 24, 2026
24b1e21
Implement getConfigDir correctly on paper
OffsetMonkey538 Jan 24, 2026
b032519
Define plugin versions in main gradle.properties
OffsetMonkey538 Jan 24, 2026
bbccd31
Change logging stuff
OffsetMonkey538 Jan 24, 2026
4baa4fc
(Mostly) Move buildscripts to buildSrc as plugins
OffsetMonkey538 Jan 24, 2026
fa397f2
remove buildSrc
OffsetMonkey538 Jan 24, 2026
3206740
add buildSrc from new separate repo
OffsetMonkey538 Jan 24, 2026
4d98be8
make sure github actions checkout submodules
OffsetMonkey538 Jan 24, 2026
bc158b6
Move versionPrefix definition to buildSrc
OffsetMonkey538 Jan 24, 2026
b3acca6
update buildSrc
OffsetMonkey538 Jan 24, 2026
a017bdd
update buildSrc
OffsetMonkey538 Jan 24, 2026
b45a077
update buildSrc, add maven publishing to root build.gradle
OffsetMonkey538 Jan 25, 2026
c1868f5
update buildSrc
OffsetMonkey538 Jan 26, 2026
a710cf2
update buildSrc
OffsetMonkey538 Jan 26, 2026
5306bcf
Switch from offsetconfig538 to offsetutils538
OffsetMonkey538 Jan 26, 2026
e0c56ef
Use events for implementing lifecycle api
OffsetMonkey538 Jan 26, 2026
801bc21
update offsetutils538
OffsetMonkey538 Jan 26, 2026
e565306
Remove logging api, update offsetutils
OffsetMonkey538 Jan 26, 2026
f2317ab
Store server reference before calling starting event on fabric and neo
OffsetMonkey538 Jan 27, 2026
170ec79
Run server starting event when it has started on paper
OffsetMonkey538 Jan 27, 2026
c290d3b
add isEpollEnabled method to LoaderUtil
OffsetMonkey538 Jan 27, 2026
daec801
remove fabric server entrypoint (should have removed it in f2317ab6)
OffsetMonkey538 Jan 27, 2026
a57ee8b
Merge commands sharing the same root node
OffsetMonkey538 Jan 27, 2026
7cea8af
Update OffsetUtils538
OffsetMonkey538 Jan 27, 2026
3ed931a
fix no build
OffsetMonkey538 Jan 27, 2026
161c576
does this work I wonder?
OffsetMonkey538 Jan 27, 2026
ed18a67
go back to github hosted runner
OffsetMonkey538 Jan 27, 2026
cc2a0ff
give CommandRegistrationApiImpl public constructor
OffsetMonkey538 Jan 27, 2026
70282a2
optimize imports
OffsetMonkey538 Jan 27, 2026
9e950f8
update copyright notice
OffsetMonkey538 Jan 27, 2026
f624049
replace String.format and .formatted usages with ArgReplacer from Off…
OffsetMonkey538 Jan 29, 2026
bac3247
Delete 1.20.1 subprojects
OffsetMonkey538 Jan 29, 2026
fd520d1
Change min version from 1.21 to 1.21.1
OffsetMonkey538 Jan 29, 2026
919554e
fix 1.21.1 fapi version
OffsetMonkey538 Jan 29, 2026
9f8c860
Update Loom to v1.15
OffsetMonkey538 Jan 29, 2026
4624321
Add dependency on adventure api
OffsetMonkey538 Jan 30, 2026
026f717
Delete custom text wrapper
OffsetMonkey538 Jan 30, 2026
641d54f
Use adventure to replace custom text wrapper
OffsetMonkey538 Jan 30, 2026
b71b2ea
Fix adventure dependency
OffsetMonkey538 Jan 31, 2026
8fcac1b
Revert deleting TextFormattingApi. Only to be used for datafixing old…
OffsetMonkey538 Jan 31, 2026
b61667d
Update buildSrc
OffsetMonkey538 Jan 31, 2026
9b5ebb0
Add api for getting minecraft server port
OffsetMonkey538 Feb 1, 2026
9f3c315
Add location subcommand to config command
OffsetMonkey538 Feb 1, 2026
9183378
Don't send telemetry on first launch to allow time for disabling it
OffsetMonkey538 Feb 1, 2026
86e38a3
Unpack in config command
OffsetMonkey538 Feb 3, 2026
ccec39e
Remove debug logging
OffsetMonkey538 Feb 7, 2026
cddc211
Merge pull request #3 from OffsetMods538/v3
OffsetMonkey538 Feb 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Set update schedule for GitHub Actions

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
43 changes: 30 additions & 13 deletions .github/workflows/build_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,44 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up JDK 17
uses: actions/setup-java@v3
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'

- name: Make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: false

- name: Store short commit hash
run: echo "short_commit_hash=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"

- name: Build with Gradle
uses: gradle/gradle-build-action@v2
run: ./gradlew build
env:
PRESERVE_PRERELEASE_VERSION: true
DISABLE_PROPERTIES_UPDATE: true
with:
arguments: build
DISABLE_MUSIC: true
VERSION_SUFFIX: ${{ env.short_commit_hash }}

- name: Publish to Maven
run: ./gradlew publishMavenPublicationToOffsetMonkey538Repository
env:
PRESERVE_PRERELEASE_VERSION: true
DISABLE_PROPERTIES_UPDATE: true
DISABLE_MUSIC: true
VERSION_SUFFIX: ${{ env.short_commit_hash }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: build/libs/
name: Build Artifacts
path: ./loader/*/*/build/libs/
52 changes: 33 additions & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,52 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up JDK 17
uses: actions/setup-java@v3
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'

- name: Make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: false

- name: Build with Gradle
uses: gradle/gradle-build-action@v2
run: ./gradlew build
env:
IS_RELEASE: true
DISABLE_PROPERTIES_UPDATE: true
with:
arguments: build
DISABLE_MUSIC: true
VERSION_SUFFIX: ""

- name: Upload to Modrinth
uses: gradle/gradle-build-action@v2
run: ./gradlew modrinth
env:
IS_RELEASE: true
DISABLE_PROPERTIES_UPDATE: true
DISABLE_MUSIC: true
VERSION_SUFFIX: ""
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
VERSION_NAME: ${{ github.event.release.name }}
with:
arguments: modrinth
VERSION_IS_PRERELEASE: ${{ github.event.release.prerelease }}
VERSION_CHANGELOG: ${{ github.event.release.body }}

- name: Publish to Maven
run: ./gradlew publishMavenPublicationToOffsetMonkey538Repository
env:
IS_RELEASE: true
DISABLE_PROPERTIES_UPDATE: true
DISABLE_MUSIC: true
VERSION_SUFFIX: ""
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

- name: Upload to GitHub
uses: svenstaro/upload-release-action@v2
uses: softprops/action-gh-release@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/libs/*.jar
tag: ${{ github.ref }}
overwrite: true
file_glob: true
files: ./loader/*/*/build/libs/*.jar
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "buildSrc"]
path = buildSrc
url = https://github.com/OffsetMods538/multiversion-buildscripts
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 OffsetMonkey538
Copyright (c) 2023-2026 OffsetMonkey538

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[![](https://jitpack.io/v/top.offsetmonkey538/monkeylib538.svg)](https://jitpack.io/#top.offsetmonkey538/monkeylib538)

# MonkeyLib538
[![discord-singular](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/social/discord-singular_vector.svg)](https://discord.offsetmonkey538.top/)
[![modrinth](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/monkeylib538)

Make sure to download the correct version for the Minecraft version you're using!

A library mod used by OffsetMonkey538's mods. Required for them to run.
Currently only includes a config library.
Currently includes a config library and abstractions for allowing support of multiple Minecraft versions in one jar.

###### This mod collects anonymous usage information, read more about what's collected [here](https://github.com/OffsetMods538/MonkeyMetrics-Server). No personal data is collected. This can be disabled by modifying the config at `config/monkeylib538/telemetry.json` or by running the `/monkeylib538 telemetry set isEnabled false` command.
Loading