Add Party Slayer Counter & Slayer Carry Calculator#2234
Closed
Akar1881 wants to merge 5 commits intoSkyblockerMod:masterfrom
Closed
Add Party Slayer Counter & Slayer Carry Calculator#2234Akar1881 wants to merge 5 commits intoSkyblockerMod:masterfrom
Akar1881 wants to merge 5 commits intoSkyblockerMod:masterfrom
Conversation
Add PartySlayerCounter inner class to SlayersConfig with enable toggle, counter mode (auto/manual), show widget toggle, and widget position. Add corresponding config UI entries in SlayersCategory.
Add party tracking via HypixelPacketEvents.PARTY_INFO, boss detection by scanning armor stand name tags, and kill confirmation via LOOT SHARE chat messages with timestamp correlation. When a boss entity disappears, the death time is recorded. A kill is only counted if the LOOT SHARE message arrives within 2 seconds of the boss death, preventing false counts. Kill counts are cached to disk and auto-clear on party disband.
Add draggable HUD widget showing per-player kill counts and total. Widget position is stored as normalized 0-1 floats for resolution independence. Add commands for manual kill adjustment, mode switching, and counter management: /skyblocker partyslayercounter [add/remove <player> [amount] | mode <auto|manual> | clear]
Add /skyblocker slayercalculator <type> <tier> <price> <amount> [discount%] for calculating slayer carry prices. Supports all 6 slayer types with aliases, k/m/b price suffixes, and optional discount percentage. Results show a formatted breakdown in chat with a clickable [Click here to share in chat] link that sends the calculation with [Skyblocker] branding.
Add en_us.json entries for config labels, tooltips, widget screen, counter messages, and calculator UI strings.
b10f554 to
9ca471c
Compare
Contributor
|
slopppp |
Author
SYBAU |
|
Very good feature tbh 👌🏻 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR adds two new features that help players who do slayer carries — one of the main ways to make coins in Hypixel SkyBlock.
Party Slayer Counter
When you're carrying multiple people through slayer bosses, keeping track of how many bosses you've killed for each party member is a pain — especially when the boss count gets high. This feature automatically tracks boss kills per party member and shows them in a clean HUD widget.
How it works:
About accuracy: The auto-detection is around 95% accurate. There's a small chance (~5%) it might miss a kill or double-count one, because Hypixel doesn't give us very detailed entity packets — that's just a limitation of what we can work with. But 95% is still really solid and way better than counting manually. You can always use the manual commands to correct any miscounts.
Commands:
/skyblocker partyslayercounter— show current kill counts/skyblocker partyslayercounter add/remove <player> [amount]— manual adjustment/skyblocker partyslayercounter mode <auto|manual>— switch detection mode/skyblocker partyslayercounter clear— reset everythingSlayer Carry Calculator
A quick calculator to figure out how much a slayer carry costs. Supports all 6 slayer types, tiers t1-t5, price with k/m/b shorthand, and an optional discount percentage.
/skyblocker slayercalculator <type> <tier> <price> <amount> [discount%]Example:
/skyblocker slayercalculator voidgloom t4 1m 200 10Shows a nice formatted breakdown in chat and has a clickable [Click here to share in chat] link that sends the result with a
[Skyblocker]prefix so people know it came from the mod.Why this matters
Carrying slayers is one of the main money-making methods in SkyBlock. When you're carrying 3-4 people at once and each one needs 50-200 bosses, you absolutely need a counter. Before this, people were either counting in their head (and losing track), using pen and paper, or relying on third-party tools. Having it built right into the mod with auto-detection makes the whole experience way smoother.
Technical details
HypixelPacketEvents.PARTY_INFO+ periodic pollingNew files
skyblock/slayers/partycounter/— full party counter package (8 files)skyblock/slayers/SlayerCarryCalculator.java— calculator commandSlayersConfig.java,SlayersCategory.java,en_us.jsonPorted and improved from SRE mod by the same author.