-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit dd8cf89
Showing
32 changed files
with
2,373 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This is the universal Text Editor Configuration | ||
# for all GTNewHorizons projects | ||
# See: https://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{bat,ini}] | ||
end_of_line = crlf | ||
|
||
[*.{dtd,json,info,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}] | ||
indent_size = 2 | ||
|
||
[*.lang] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
* text eol=lf | ||
|
||
*.[jJ][aA][rR] binary | ||
|
||
*.[pP][nN][gG] binary | ||
*.[jJ][pP][gG] binary | ||
*.[jJ][pP][eE][gG] binary | ||
*.[gG][iI][fF] binary | ||
*.[tT][iI][fF] binary | ||
*.[tT][iI][fF][fF] binary | ||
*.[iI][cC][oO] binary | ||
*.[sS][vV][gG] text | ||
*.[eE][pP][sS] binary | ||
*.[xX][cC][fF] binary | ||
|
||
*.[kK][aA][rR] binary | ||
*.[mM]4[aA] binary | ||
*.[mM][iI][dD] binary | ||
*.[mM][iI][dD][iI] binary | ||
*.[mM][pP]3 binary | ||
*.[oO][gG][gG] binary | ||
*.[rR][aA] binary | ||
|
||
*.7[zZ] binary | ||
*.[gG][zZ] binary | ||
*.[tT][aA][rR] binary | ||
*.[tT][gG][zZ] binary | ||
*.[zZ][iI][pP] binary | ||
|
||
*.[tT][cC][nN] binary | ||
*.[sS][oO] binary | ||
*.[dD][lL][lL] binary | ||
*.[dD][yY][lL][iI][bB] binary | ||
*.[pP][sS][dD] binary | ||
*.[tT][tT][fF] binary | ||
*.[oO][tT][fF] binary | ||
|
||
*.[pP][aA][tT][cC][hH] -text | ||
|
||
*.[bB][aA][tT] text eol=crlf | ||
*.[cC][mM][dD] text eol=crlf | ||
*.[pP][sS]1 text eol=crlf | ||
|
||
*[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[exclude] | ||
"src/main/java/**/*.java" = "import scala." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
name: Build and test | ||
|
||
on: | ||
pull_request: | ||
branches: [ master, main ] | ||
push: | ||
branches: [ master, main ] | ||
|
||
jobs: | ||
build-and-test: | ||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/build-and-test.yml@master | ||
secrets: inherit | ||
with: | ||
timeout: 150 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
name: Release tagged build | ||
|
||
on: | ||
push: | ||
tags: [ '*' ] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
release-tags: | ||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/release-tags.yml@master | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Test Scala Presence | ||
|
||
on: | ||
pull_request: | ||
branches: [ master, main ] | ||
push: | ||
branches: [ master, main ] | ||
|
||
jobs: | ||
test-scala-presence: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Check file content | ||
uses: mattsb42-meta/[email protected] | ||
with: | ||
config-file: ./.github/test-scala-presence.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.gradle | ||
.settings | ||
/.idea/ | ||
/.vscode/ | ||
/run/ | ||
/build/ | ||
/eclipse/ | ||
.classpath | ||
.project | ||
/bin/ | ||
/config/ | ||
/crash-reports/ | ||
/logs/ | ||
options.txt | ||
/saves/ | ||
usernamecache.json | ||
banned-ips.json | ||
banned-players.json | ||
eula.txt | ||
ops.json | ||
server.properties | ||
servers.dat | ||
usercache.json | ||
whitelist.json | ||
/out/ | ||
*.iml | ||
*.ipr | ||
*.iws | ||
src/main/resources/mixins.*([!.]).json | ||
*.bat | ||
*.DS_Store | ||
!gradlew.bat | ||
.factorypath | ||
addon.local.gradle | ||
addon.local.gradle.kts | ||
addon.late.local.gradle | ||
addon.late.local.gradle.kts | ||
layout.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* @kuba6000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
AE2 Web Integration - Minecraft addon | ||
Copyright (C) 2024 kuba6000 | ||
|
||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 3 of the License, or (at your option) any later version. | ||
|
||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public License | ||
along with this library. If not, see <https://www.gnu.org/licenses/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# AE2 Web Integration - 1.7.10 minecraft addon | ||
|
||
### Host your AE2 terminal on web to quickly check on your storage/orders when not in game! | ||
### THIS MOD IS ONLY FOR PRIVATE SERVERS, SUPPORTS ONLY ONE AE SYSTEM AND SERVER-SIDED ONLY | ||
|
||
## Current features: | ||
- AE2 terminal (item list) | ||
- Start a new order | ||
- Check any CPU status | ||
- Cancel any CPU order | ||
- Password protection on the website | ||
|
||
 | ||
|
||
## Requirements: | ||
- An open port (configurable, terminal will be hosted at http://your-server-ip-or-domain:configured-port/ for example: http://server.kuba6000.pl:2324/) | ||
- Have only one big AE2 system on the server (REQUIRED: more than 5 crafting CPUs + 1+ NORMAL AE Terminal) | ||
|
||
## How to use: | ||
- Download the latest version from releases page | ||
- Drop the mod in your server mods folder (only on the server!) | ||
- Start the server | ||
- You can now find the config in /configs/ae2webintegration.cfg. Edit the port number and password protection for your needs | ||
- Restart the server | ||
- Make sure you have opened the configured port (firewall, redirections) if you want to use it on public internet | ||
- Now you can visit http://your-server-ip-or-domain:configured-port/ and login popup should appear on your browser! | ||
- Only password is verified, you can put anything in the username ;) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
plugins { | ||
id 'com.gtnewhorizons.gtnhconvention' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Add your dependencies here. Supported configurations: | ||
* - api("group:name:version:classifier"): if you use the types from this dependency in the public API of this mod | ||
* Available at runtime and compiletime for mods depending on this mod | ||
* - implementation("g:n:v:c"): if you need this for internal implementation details of the mod, but none of it is visible via the public API | ||
* Available at runtime but not compiletime for mods depending on this mod | ||
* - compileOnly("g:n:v:c"): if the mod you're building doesn't need this dependency during runtime at all, e.g. for optional mods | ||
* Not available at all for mods depending on this mod, only visible at compiletime for this mod | ||
* - compileOnlyApi("g:n:v:c"): like compileOnly, but also visible at compiletime for mods depending on this mod | ||
* Available at compiletime but not runtime for mods depending on this mod | ||
* - runtimeOnlyNonPublishable("g:n:v:c"): if you want to include a mod in this mod's runClient/runServer runs, but not publish it as a dependency | ||
* Not available at all for mods depending on this mod, only visible at runtime for this mod | ||
* - devOnlyNonPublishable("g:n:v:c"): a combination of runtimeOnlyNonPublishable and compileOnly for dependencies present at both compiletime and runtime, | ||
* but not published as Maven dependencies - useful for RFG-deobfuscated dependencies or local testing | ||
* - runtimeOnly("g:n:v:c"): if you don't need this at compile time, but want it to be present at runtime | ||
* Available at runtime for mods depending on this mod | ||
* - annotationProcessor("g:n:v:c"): mostly for java compiler plugins, if you know you need this, use it, otherwise don't worry | ||
* - testCONFIG("g:n:v:c") - replace CONFIG by one of the above (except api), same as above but for the test sources instead of main | ||
* | ||
* - shadowImplementation("g:n:v:c"): effectively the same as API, but the dependency is included in your jar under a renamed package name | ||
* Requires you to enable usesShadowedDependencies in gradle.properties | ||
* | ||
* - compile("g:n:v:c"): deprecated, replace with "api" (works like the old "compile") or "implementation" (can be more efficient) | ||
* | ||
* You can exclude transitive dependencies (dependencies of the chosen dependency) by appending { transitive = false } if needed, | ||
* but use this sparingly as it can break using your mod as another mod's dependency if you're not careful. | ||
* | ||
* To depend on obfuscated jars you can use `devOnlyNonPublishable(rfg.deobf("dep:spec:1.2.3"))` to fetch an obfuscated jar from maven, | ||
* or `devOnlyNonPublishable(rfg.deobf(project.files("libs/my-mod-jar.jar")))` to use a file. | ||
* | ||
* Gradle names for some of the configuration can be misleading, compileOnlyApi and runtimeOnly both get published as dependencies in Maven, but compileOnly does not. | ||
* The buildscript adds runtimeOnlyNonPublishable to also have a runtime dependency that's not published. | ||
* | ||
* For more details, see https://docs.gradle.org/8.0.1/userguide/java_library_plugin.html#sec:java_library_configurations_graph | ||
*/ | ||
dependencies { | ||
api("com.github.GTNewHorizons:GTNHLib:0.3.3:dev") | ||
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-415-GTNH:dev") | ||
api("com.github.GTNewHorizons:AE2FluidCraft-Rework:1.3.21-gtnh:dev") | ||
runtimeOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.5.4-GTNH:dev") | ||
} |
Oops, something went wrong.