Skip to content

Commit

Permalink
new nexia update wooo
Browse files Browse the repository at this point in the history
  • Loading branch information
Inf1nityy committed Aug 19, 2024
2 parents 05a5fee + 809d373 commit ce66013
Show file tree
Hide file tree
Showing 282 changed files with 7,145 additions and 9,253 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/buíld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/${{ github.ref_name }}/libs
path: build/${{ github.ref_name }}/libs
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<br>

# Nexia
using **Nexus API**

The mod for the Nexia CTS server.

Expand All @@ -14,9 +15,6 @@ The mod for the Nexia CTS server.
- Java 21
- Gradle 8.7

### Documentation
- Read [documentation](https://github.com/nexia-cts/Nexia-Mod/tree/documentation)

### Build
- Clone the repository
- `git clone https://github.com/nexia-cts/Nexia-Mod`
Expand Down
51 changes: 22 additions & 29 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,53 +50,46 @@ repositories {
}

dependencies {
//to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings loom.officialMojangMappings()
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

modImplementation("com.combatreforged.factory:factory-api:${project.factory_version}-full")
modImplementation("com.combatreforged.factory:factory-builder:${project.factory_version}-1.16_combat-6")

include(implementation("com.google.code.gson:gson:${project.gson_version}"))

include(implementation(annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-fabric:${project.mixin_extras_version}")))
// Important!
modImplementation("com.nexia.nexus:nexus-api:${project.nexus_version}-full")
modImplementation("com.nexia.nexus:nexus-builder:${project.nexus_version}-${project.minecraft_version}-full")
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
include(implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:${project.mixin_extras_version}")))

//include(modApi("eu.pb4:hologram-api:0.1.0") { exclude(group: "net.fabricmc.fabric-api") })
//include(modApi("eu.pb4:sidebar-api:0.0.2") { exclude(group: "net.fabricmc.fabric-api") })

modImplementation("com.natamus:saveandloadinventories_fabric:${project.saveandloadinventories_version}")
modApi("com.natamus.collective:collective-fabric:${project.collective_version}")
// MongoDB
include(implementation("org.mongodb:mongodb-driver-sync:${project.mongodb_version}"))
include(implementation("org.mongodb:mongodb-driver-core:${project.mongodb_version}"))
include(implementation("org.mongodb:bson:${project.mongodb_version}"))

// Will be replaced by Nexus
include(modApi("eu.pb4:sgui:${project.sgui_version}") { exclude(group: "net.fabricmc.fabric-api") })
modApi("xyz.nucleoid:fantasy:${project.fantasy_version}") {exclude(group: "net.fabricmc.fabric-api") }
include(modApi("io.github.blumbo:inventory-merger:${project.inventory_merger_version}"))

include(modApi("eu.pb4:sgui:${project.sgui_version}") { exclude(group: "net.fabricmc.fabric-api") })
// Should probably be removed/replaced
include(modApi("me.sargunvohra.mcmods:autoconfig1u:${project.autoconfig1u_version}") { exclude(group: "net.fabricmc.fabric-api") })
//include(modApi("xyz.nucleoid:plasmid:${project.plasmid_version}"))

modApi("com.natamus.collective:collective-fabric:${project.collective_version}")

include(implementation("com.googlecode.json-simple:json-simple:${project.json_simple_version}"))
// somewhat useful stuff
modApi("me.lucko:fabric-permissions-api:${project.fabric_permissions_api_version}")


modApi("com.nexia:gato-anticheat:${project.gato_anticheat_version}+${project.minecraft_version}")

include(modApi("net.blumbo:blfscheduler:${project.blfscheduler_version}"))
include(modApi("io.github.blumbo:inventory-merger:${project.inventory_merger_version}"))
include(modApi("net.notcoded:codelib:${project.codelib_version}+${project.minecraft_version}"))

include(implementation("net.kyori:adventure-text-minimessage:4.1.0-SNAPSHOT"))
include(implementation("net.kyori:adventure-text-serializer-gson:4.1.0-SNAPSHOT"))
include(compileOnly("de.themoep:minedown-adventure:1.7.3-SNAPSHOT"))
include(implementation("net.kyori:adventure-text-minimessage:${project.adventure_version}"))
include(implementation("net.kyori:adventure-text-serializer-gson:${project.adventure_version}"))
include(compileOnly("de.themoep:minedown-adventure:${project.minedown_adventure_version}"))
compileOnly("net.luckperms:api:${project.luckperms_api_version}")

// discord shit
include(api("net.dv8tion:JDA:${project.jda_version}"))
include(api("club.minnced:discord-webhooks:${project.discord_webhooks_version}") { exclude(group: "org.json") })
include(api("org.json:json:${project.json_version}"))

// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
// You may need to force-disable transitiveness on them.
// useless libraries
include(implementation("com.google.code.gson:gson:${project.gson_version}"))
include(implementation("com.googlecode.json-simple:json-simple:${project.json_simple_version}"))

}

// Custom Manifest and Intermediary mappings declaration
Expand Down
21 changes: 10 additions & 11 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,31 @@ yarn_mappings=1.16_combat-6+build.2
loader_version=0.14.21

# Mod Properties
mod_version = 1.2.1
mod_version = 2.0.0
maven_group = com.nexia
archives_base_name = nexia

# Dependencies
fabric_version= 0.42.0+1.16
plasmid_version=0.4.0
fabric_version=0.42.0+1.16
mongodb_version=5.1.2
jda_version=5.0.0-beta.20
mixin_extras_version=0.2.0-beta.9
factory_version=0.1.13
gson_version=2.10.1
saveandloadinventories_version=1.16.5-2.4
mixin_extras_version=0.4.0
nexus_version=0.1.15
collective_version=1.16.5-5.50
fantasy_version=0.4.2
fantasy_version=0.4.3
sgui_version=0.5.0
autoconfig1u_version=3.3.1
fabric_permissions_api_version=0.2-SNAPSHOT
blfscheduler_version=1.0.0-1.16_combat-6
inventory_merger_version=1.3.1-1.16_combat-6
codelib_version=1.0.3
gato_anticheat_version=1.0.4
luckperms_api_version=5.4
adventure_version=4.1.0-SNAPSHOT
minedown_adventure_version=1.7.3-SNAPSHOT

# Useless dependencies
json_simple_version=1.1.1
discord_webhooks_version=0.8.4
json_version=20230227
gson_version=2.10.1



Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
Binary file removed libraries/codelib-1.0.3+1.16_combat-6.jar
Binary file not shown.
Binary file removed libraries/factory-api-0.1.13-full.jar
Binary file not shown.
Binary file removed libraries/factory-builder-0.1.13-1.16_combat-6.jar
Binary file not shown.
Binary file removed libraries/fantasy-0.4.2.jar
Binary file not shown.
Binary file added libraries/fantasy-0.4.3.jar
Binary file not shown.
Binary file removed libraries/gato-anticheat-1.0.4+1.16_combat-6.jar
Binary file not shown.
Binary file added libraries/nexus-api-0.1.15-full.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit ce66013

Please sign in to comment.