Skip to content

Commit

Permalink
Merge branch 'beta' into DungeonDeathCounter-regex
Browse files Browse the repository at this point in the history
  • Loading branch information
walkerselby committed Dec 2, 2023
2 parents 043e0e0 + 514ca68 commit e064d27
Show file tree
Hide file tree
Showing 629 changed files with 20,006 additions and 12,512 deletions.
2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ max_line_length = 120
# Java files should not use wildcard imports
ij_java_names_count_to_use_import_on_demand = 999
ij_java_class_count_to_use_import_on_demand = 999
ij_java_packages_to_use_import_on_demand =

[*.kt]
# Kotlin files should not use wildcard imports
ij_kotlin_name_count_to_use_star_import = 999
ij_kotlin_name_count_to_use_star_import_for_members = 999
ij_kotlin_packages_to_use_import_on_demand =
26 changes: 26 additions & 0 deletions .github/workflows/label-merge-conflict.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Merge Conflict Label"
on:
# So that PRs touching the same files as the push are updated
push:
branches: [ beta ]
# So that the `dirtyLabel` is removed if conflicts are resolve
# We recommend `pull_request_target` so that GitHub secrets are available.
# In `pull_request` we wouldn't be able to change labels of fork PRs
pull_request_target:
types: [ opened, synchronize ]

jobs:
conflicts:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Update PRs with conflict labels
uses: eps1lon/actions-label-merge-conflict@releases/2.x
with:
dirtyLabel: "Merge Conflicts"
#removeOnDirtyLabel: "PR: ready to ship"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts with the base branch \"beta\". Please resolve those so we can test out your changes."
commentOnClean: "Conflicts have been resolved! 🎉"
16 changes: 16 additions & 0 deletions .github/workflows/remove-labels-on-pr-close.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://github.com/marketplace/actions/label-remover

name: "Remove All Labels"

on:
pull_request_target:
types: [closed]

jobs:
remove_very_soon:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: rogerluan/[email protected]
with:
github_token: ${{ secrets.github_token }}
476 changes: 447 additions & 29 deletions CHANGELOG.md

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ You can write in the description of the pr the wording for the changelog as well
- All new classes should be written in Kotlin, with a few exceptions:
- Config files in `at.hannibal2.skyhanni.config.features`
- Mixin classes in `at.hannibal2.skyhanni.mixins.transformers`
- Java classes that represent JSON data objects in `at.hannibal2.skyhanni.utils.jsonobjects`
- Java classes that represent JSON data objects in `at.hannibal2.skyhanni.data.jsonobjects`
- Please use the existing event system, or expand on it. Do not use Forge events.
- (We inject the calls with Mixin)
- Please use existing utils methods.
Expand Down Expand Up @@ -125,13 +125,14 @@ SkyHanni uses a repo system to easily change static variables without the need f
The repo is located at https://github.com/hannibal002/SkyHanni-REPO.
A copy of all json files is stored on the computer under `.minecraft\config\skyhanni\repo`.
On every game start, the copy gets updated (if outdated and if not manually disabled).
If you add stuff to the repo make sure it gets serialised. See the [jsonobjects](src/main/java/at/hannibal2/skyhanni/utils/jsonobjects)
If you add stuff to the repo make sure it gets serialised. See
the [jsonobjects](src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo)
folder for how to properly do this. You also may have to disable repo auto update in game.

### Discord IPC

DiscordIPC is a service that SkyHanni uses to send information from SkyBlock to Discord in Rich Presence. <br>
Specifically, we use [TirelessTraveler's Fork](https://github.com/ILikePlayingGames/DiscordIPC) of a fork of a fork of
Specifically, we use [NetheriteMiner's Fork](https://github.com/NetheriteMiner/DiscordIPC) of a fork of a fork of a fork of
the [original](https://github.com/jagrosh/DiscordIPC).
For info on usage, look
at [DiscordRPCManager.kt](https://github.com/hannibal002/SkyHanni/blob/beta/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordRPCManager.kt)
Expand Down
63 changes: 62 additions & 1 deletion FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Will not break with emblems.
+ Optional if left or right side of name.
+ Should not break with other mods.
+ Hide the repeating fire sale reminder chat messages. - hannibal2

#### Chat Filter

Expand Down Expand Up @@ -174,6 +175,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
- Minion name display with minion tier.
- **Minion Craft Helper** - Show how many more items you need to upgrade the minion in your inventory. Especially useful
for bingo.
+ Shows how much skill experience you will get when picking up items from the minion storage. - Thunderblade73
</details>
<details open><summary>

Expand Down Expand Up @@ -224,6 +226,10 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Display the Hypixel timer until the fishing hook can be pulled out of the water/lava, only bigger and on your
screen.
+ Alerts when the player catches a Legendary Sea Creature. - Cad
+ **Fishing Bait Warnings.** - cimbraien
+ Option to warn when no bait is used.
+ Option to warn when used bait is changed.

</details>
<details open><summary>

Expand All @@ -241,6 +247,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
- Option to show the health of Voidgloom Seraph 4 during the laser phase (useful when trying to phase skip)
- Show when Revenant Horror 5 is about to BOOM.
- Hide the vanilla nametag of damage indicator bosses.
- Garden Pests in Damage Indicator
- **Time to Kill**
- Show the time it takes to kill the Slayer boss.

Expand Down Expand Up @@ -335,6 +342,9 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.

+ Shortens chat messages about skill level ups, collection gains and new area discoveries while on bingo.
+ Bingo Card
+ Show the duration until the next hidden bingo goal tip gets revealed. - hannibal2
+ Support for tips in hidden bingo card display. - hannibal2
+ Support for 'found by' info in bingo card. - hannibal2
</details>
<details open><summary>

Expand Down Expand Up @@ -436,7 +446,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
is empty when fully filled and show a preview how these stats change when hovering over an upgrade
+ Hide crop money display, crop milestone display and garden visitor list while inside anita show, SkyMart or the
composter inventory
+ Hide chat messages from the visitors in garden. (Except Beth and Spaceman)
+ Hide chat messages from the visitors in the garden. (Except Beth, Jacob and Spaceman)
+ Show the average crop milestone in the crop milestone inventory.
+ **FF for Contest** - Show the minimum needed Farming Fortune for reaching a medal in the Jacob's Farming Contest
inventory.
Expand Down Expand Up @@ -480,6 +490,40 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ **Visual garden plot borders** - VixidDev
+ Press F3 + G to enable/disable the view.
+ /shmouselock command to lock mouse rotation for farming. - Cad
+ Added Highlight Visitors in SkyBlock. - nea
+ Highlights Visitors outside the Garden.
+ Block Interacting with Visitors. - nea
+ Blocks you from interacting with / unlocking Visitors to allow for Dedication Cycling.
+ Wrong crop milestone step detection. - hannibal2
+ When opening the crop milestone menu, a chat message is sent if Hypixel's crops per milestone level data is
different from SkyHanni's.
+ You can use this to share your hypixel data with SkyHanni via the discord.
+ This will allow us to fix the crop milestone features quicker, as we currently do not have accurate data for this.
+ If you don't want to share anything, you can disable the chat message in the config with /sh copy milestone data.
+ Garden Vacuum Pests in Pest bag to item number as stack size. - hannibal2
+ Enable via /sh vacuum.

### Garden Pests

+ Added Garden Vacuum Pests in Pest bag to item number as stack size. - hannibal2
+ Enable via /sh vacuum.
+ Added Pests to Damage Indicator. - hannibal2
+ Enable Damage Indicator and select Garden Pests.
+ Change how the pest spawn chat message should be formatted. - hannibal2
+ Unchanged, compact or hide the message entirely.
+ Show a Title when a pest spawns. - hannibal2
+ Show the time since the last pest spawned in your garden. - hannibal2
+ Option to only show the time while holding vacuum in the hand.
+ Show the pests that are attracted when changing the selected material of the Sprayanator. - hannibal2
+ Added Garden only commands /home, /barn and /tp, and hotkeys. - hannibal2
+ Showing a better plot name in the scoreboard. Updates faster and doesn't hide when pests are spawned. - hannibal2
+ Show a display with all known pest locations. - hannibal2
+ Click to warp to the plot.
+ Option to only show the time while holding vacuum in the hand.
+ Mark the plots with pests on them in the world. - hannibal2
+ Press the key to warp to the nearest plot with pests on it. - hannibal2
+ Draw plot borders when holding the Sprayonator. - HiZe

</details>
<details open><summary>

Expand Down Expand Up @@ -582,6 +626,15 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Help with the 2023 Halloween visitor challenge (ephemeral dingsibumsi or something) - nea
+ New Visitor Ping: Pings you when you are less than 10 seconds away from getting a new visitor.
+ Accept Hotkey: Accept a visitor when you press this keybind while in the visitor GUI.
+ Added support for showing the primal fear data from tab list as GUI elements. - Erymanthus
+ Play warning sound when the next Primal Fear can spawn. - thunderblade73
+ Unique Gifting Opportunities. - nea
+ Highlight players who you haven't given gifts to yet.
+ Only highlight ungifted players while holding a gift.
+ Make use of armor stands to stop highlighting players. This is a bit inaccurate, but it can help with people you gifted before this feature was used.
+ Unique Gifted users counter. - hannibal2
+ Show in a display how many unique players you have given gifts to in the winter 2023 event.
+ Run command /opengenerowmenu to sync up.
</details>
<details open><summary>

Expand Down Expand Up @@ -624,6 +677,8 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Quest Item Helper. (Crimson Isle) - NetheriteMiner
+ When you open the fetch item quest in the town board, it shows a clickable chat message that will grab the items
needed from the sacks.
+ Crimson Isle **Pablo NPC Helper**. - NetheriteMiner
+ Similar to Quest Item Helper, shows a clickable message that grabs the flower needed from sacks.
+ Red Scoreboard Numbers - Hides the red numbers in the scoreboard sidebar on the right side of the screen.
+ **Tia Relay Waypoint** - Show the next Relay waypoint for Tia The Fairy, where maintenance for the abiphone network
needs to be done.
Expand Down Expand Up @@ -774,6 +829,8 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Option to hide other/wrong/fake Livids (try this out and see if you really want this, it can be counter-productive
in some cases).
+ Added AFK time to Discord RPC. - NetheriteMiner
+ Added the option to change Hypixel Wiki to the fandom Wiki in more areas than just the /wiki command. - Erymanthus
+ E.g. inside the SkyBlock leveling guide.
</details>
<details open><summary>

Expand All @@ -783,4 +840,8 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ **Following Line** - hannibal2
+ Draws a colored line behind the player.
+ Change the color, width, and duration of the line.
+ **Arrow Trail cosmetic** - Thunderblade73
+ Draw a colored line behind the arrows in the air.
+ Options to change the color of the line, to only show own arrows or every arrow, to have own arrows in a different
color, to change the time alive, and the line width.
</details>
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


<h1 align = "center">
SkyHanni: Mod for Hypixel SkyBlock
</h1>
Expand All @@ -11,7 +13,7 @@

SkyHanni is a Forge mod for Minecraft 1.8.9. It adds many features to Hypixel SkyBlock.
The mod is filled with GUIs, extra chat messages, reminders, message hiders and entity highlighters.
The majority of these features are centered on the Garden, Slayer, Bingo, Diana, and Rift.
The majority of these features are centered in the Garden, Slayer, Bingo, Diana, and Rift.

We have a [tutorial](https://github.com/hannibal002/SkyHanni/blob/beta/INSTALLING.md)
for how to download and install the mod.
Expand All @@ -24,4 +26,6 @@ For bug reports, feature requests, and other feedback, please visit
our [Discord](https://discord.gg/skyhanni-997079228510117908).

If you are interested in the technical side of SkyHanni, read
the [Contributing Guide](https://github.com/hannibal002/SkyHanni/blob/beta/CONTRIBUTING.md).
the [Contributing Guide](https://github.com/hannibal002/SkyHanni/blob/beta/CONTRIBUTING.md).

*Check out some other really cool 1.8.9 mods [here](https://sbmw.ca/mod-lists/skyblock-mod-list/)*
15 changes: 9 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}

group = "at.hannibal2.skyhanni"
version = "0.21.Beta.13"
version = "0.22.Beta.6"

// Toolchains:
java {
Expand Down Expand Up @@ -57,7 +57,7 @@ dependencies {
forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9")

// Discord RPC client
shadowImpl("com.github.ILikePlayingGames:DiscordIPC:f91ed4b") {
shadowImpl("com.github.NetheriteMiner:DiscordIPC:3106be5") {
exclude(module = "log4j")
because("Different version conflicts with Minecraft's Log4J")
exclude(module = "gson")
Expand All @@ -81,18 +81,20 @@ dependencies {
exclude(module = "unspecified")
isTransitive = false
}
devenvMod("com.github.NotEnoughUpdates:NotEnoughUpdates:v2.1.1-alpha22:all") {
devenvMod("com.github.NotEnoughUpdates:NotEnoughUpdates:v2.1.1-pre4:all") {
exclude(module = "unspecified")
isTransitive = false
}

shadowModImpl(libs.moulconfig)
devenvMod(variantOf(libs.moulconfig) { classifier("test") })

shadowImpl(libs.libautoupdate)
shadowImpl("org.jetbrains.kotlin:kotlin-reflect:1.9.0")

// testImplementation(kotlin("test"))
testImplementation("com.github.NotEnoughUpdates:NotEnoughUpdates:v2.1.1-pre4:all") {
exclude(module = "unspecified")
isTransitive = false
}
testImplementation("org.junit.jupiter:junit-jupiter:5.10.0")
testImplementation("io.mockk:mockk:1.12.5")
}
Expand Down Expand Up @@ -120,6 +122,7 @@ loom {
property("mixin.debug", "true")
property("asmhelper.verbose", "true")
arg("--tweakClass", "org.spongepowered.asm.launch.MixinTweaker")
arg("--tweakClass", "io.github.moulberry.moulconfig.tweaker.DevelopmentResourceTweaker")
arg("--mods", devenvMod.resolve().joinToString(",") { it.relativeTo(file("run")).path })
}
}
Expand Down Expand Up @@ -184,7 +187,7 @@ tasks.shadowJar {
}
}
exclude("META-INF/versions/**")

mergeServiceFiles()
relocate("io.github.moulberry.moulconfig", "at.hannibal2.skyhanni.deps.moulconfig")
relocate("moe.nea.libautoupdate", "at.hannibal2.skyhanni.deps.libautoupdate")
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
libautoupdate = "1.0.3"
moulconfig = "1.3.0"
moulconfig = "2.5.0"

[libraries]
moulconfig = { module = "org.notenoughupdates.moulconfig:MoulConfig", version.ref = "moulconfig" }
moulconfig = { module = "org.notenoughupdates.moulconfig:legacy", version.ref = "moulconfig" }
libautoupdate = { module = "moe.nea:libautoupdate", version.ref = "libautoupdate" }
Loading

0 comments on commit e064d27

Please sign in to comment.