Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customscoreboard #33

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
663f454
Added the ground structure
j10a1n15 Oct 17, 2023
4b7f52a
New way of drawing scoreboard
j10a1n15 Oct 18, 2023
622b5d3
Added max party list
j10a1n15 Oct 18, 2023
47a8997
Removed useless imports
j10a1n15 Oct 18, 2023
57dfa4e
Added more elements
j10a1n15 Oct 19, 2023
3a4e485
Fixed issues with new elements
j10a1n15 Oct 19, 2023
d24d833
Made PurseAPI public
j10a1n15 Oct 19, 2023
18f6a89
added purse, bank, bits, copper & gems
j10a1n15 Oct 19, 2023
9dd5237
Added option to hide lines with no info
j10a1n15 Oct 19, 2023
4be6f5c
Fixed white screen issue with max party list count (hopefully)
j10a1n15 Oct 19, 2023
2e765c8
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Oct 19, 2023
d669b64
Added ingame time
j10a1n15 Oct 19, 2023
ad0739b
Added Skyblock location
j10a1n15 Oct 19, 2023
456a6eb
Made comments a lot better
j10a1n15 Oct 19, 2023
a1e3a0a
Added rift to location & changed some formatting
j10a1n15 Oct 20, 2023
9a1c40c
Added motes (which auto hides purse, bank, bits & copper)
j10a1n15 Oct 20, 2023
a283bdd
Added real time
j10a1n15 Oct 21, 2023
125d34a
Added lobby code
j10a1n15 Oct 21, 2023
130fdb4
Fixed issue with lobby code extraction
j10a1n15 Oct 21, 2023
0169939
Fixed motes detection
j10a1n15 Oct 21, 2023
dee4509
Added Heat
j10a1n15 Oct 21, 2023
5226e5a
Added current mayor option
j10a1n15 Oct 21, 2023
c58ff46
Added Pets, fixed heat
j10a1n15 Oct 21, 2023
af2f0a4
Added mayor stuff & fixed some stuff🔥🔥
j10a1n15 Oct 21, 2023
1c066bd
Added an option to hide irrelevant lines
j10a1n15 Oct 22, 2023
19a1156
Hotfix for isInIsland not working for catacombs
j10a1n15 Oct 22, 2023
e4be3d6
Fixed dungeon detection not working (ty hanni)
j10a1n15 Oct 22, 2023
2ba6d7f
Merge branch 'customscoreboard' into beta
j10a1n15 Oct 22, 2023
3db3397
Merge pull request #1 from j10a1n15/beta
j10a1n15 Oct 22, 2023
7b68c60
Added indexes instead of plain numbers
j10a1n15 Oct 22, 2023
69e9937
Changes the way of getting copper & bits
j10a1n15 Oct 22, 2023
9ed44f3
Changed some code structure (small change)
j10a1n15 Oct 22, 2023
8f2604b
Added todolist
j10a1n15 Oct 24, 2023
f36c091
Added sblevel, Removed Pet
j10a1n15 Oct 25, 2023
aafa656
Added copy actionbar command
j10a1n15 Oct 26, 2023
d6ab98b
Changed some elements
j10a1n15 Oct 26, 2023
b974107
Added skyblocklevelAPI
j10a1n15 Oct 26, 2023
8ac6938
Added sblevel to scoreboard
j10a1n15 Oct 26, 2023
65be938
removed import
j10a1n15 Oct 26, 2023
b3b06fa
fixed some issues, sb level not working
j10a1n15 Oct 26, 2023
0903b6c
Added empty line indexes
j10a1n15 Oct 26, 2023
95af71b
fixed sb lvl multiline
j10a1n15 Oct 26, 2023
c57c955
Removed sb level for a future update
j10a1n15 Oct 26, 2023
fa267a9
Merge branch 'hannibal002:beta' into beta
j10a1n15 Oct 27, 2023
2d842c2
Merge pull request #2 from j10a1n15/beta
j10a1n15 Oct 27, 2023
d08cc8a
Added powder!
j10a1n15 Oct 28, 2023
93b8138
Changed Powder text color
j10a1n15 Oct 28, 2023
53ccab6
Moved scoreboard config loc up
j10a1n15 Oct 28, 2023
63b20f2
Tried smth with enums, doesnt update
j10a1n15 Oct 29, 2023
7f2e22e
Merge branch 'customscoreboard' into beta
j10a1n15 Oct 30, 2023
abb77b9
Merge pull request #3 from j10a1n15/beta
j10a1n15 Oct 30, 2023
83d3275
Merge pull request #4 from j10a1n15/beta
j10a1n15 Nov 1, 2023
9797015
fixed cmd
j10a1n15 Nov 1, 2023
617a6e2
Works really good now!
j10a1n15 Nov 1, 2023
728faec
Added custom footer & title, fixed one missing thing
j10a1n15 Nov 1, 2023
f38f616
"redundant lambda arrow"
j10a1n15 Nov 1, 2023
e900407
"smth smth could be private"
j10a1n15 Nov 1, 2023
9cae4b4
Added visibilty thingy
j10a1n15 Nov 1, 2023
7529950
Changed the look of the draggable list elements
j10a1n15 Nov 1, 2023
eab4441
oh forgot that
j10a1n15 Nov 1, 2023
2902511
fixed hide empty lines not hiding empty party list
j10a1n15 Nov 1, 2023
aa0142c
added hide vanilla scoreboard
j10a1n15 Nov 1, 2023
7fbc73d
added slayer, fixed hide van sb bug
j10a1n15 Nov 1, 2023
3e80b90
Changed the priority of hidding or multilining
j10a1n15 Nov 1, 2023
3414864
added cool bingo rank color
j10a1n15 Nov 2, 2023
311ffb8
removed that space
j10a1n15 Nov 2, 2023
12aca2f
ADDED MAXWELLAPI WOOO I AM PROUD OF MYSELF
j10a1n15 Nov 2, 2023
93f69a1
Merge pull request #5 from j10a1n15/beta
j10a1n15 Nov 2, 2023
88bce51
updated bit of todolist
j10a1n15 Nov 2, 2023
e875ff8
Merge branch 'customscoreboard' into beta
j10a1n15 Nov 8, 2023
84cc25f
Merge pull request #6 from j10a1n15/beta
j10a1n15 Nov 8, 2023
ee8bb79
Added missing rift slayer loc
j10a1n15 Nov 8, 2023
93479d3
Now using lorenzTickEvent, removed old imports
j10a1n15 Nov 8, 2023
498b9cd
Fixed yellow maxwell power name
j10a1n15 Nov 8, 2023
b84082f
Fixed yellow maxwell power name v2
j10a1n15 Nov 8, 2023
2847b01
Added an option to hide consecutive empty lines
j10a1n15 Nov 9, 2023
228687f
Fixed power not having a good config value thingy
j10a1n15 Nov 9, 2023
a982440
Fixed special mayors not getting colored
j10a1n15 Nov 10, 2023
4841e5d
Vanilla sb only hidden in sb now
j10a1n15 Nov 11, 2023
ef03882
Merge pull request #7 from j10a1n15/beta
j10a1n15 Nov 11, 2023
e1a2636
fix typo
j10a1n15 Nov 11, 2023
96ed891
events (not working yet)
j10a1n15 Nov 12, 2023
8393ea9
Merge branch 'beta' into customscoreboard
j10a1n15 Nov 12, 2023
05a1da5
moved funni feature to gui config
j10a1n15 Nov 12, 2023
878682b
+ Cool new files
j10a1n15 Nov 12, 2023
20c1644
Merge pull request #8 from j10a1n15/beta
j10a1n15 Nov 12, 2023
5bd5233
shorter enabled commands
j10a1n15 Nov 12, 2023
92bc6bb
added debug cmd, typos
j10a1n15 Nov 12, 2023
3f3baaf
No longer getting stuff when config is disabled
j10a1n15 Nov 12, 2023
787fa43
clean up
j10a1n15 Nov 12, 2023
40fbd5d
todo update
j10a1n15 Nov 12, 2023
6cef0f4
fixed a lot of things
j10a1n15 Nov 13, 2023
7f1186a
i want to find the creator of regex rn and do smth to them
j10a1n15 Nov 13, 2023
ccd1def
obv kidding I would never do bad things
j10a1n15 Nov 13, 2023
1bb4b37
WHY THE FUCK DOES THE ! DO SMTH FUNKY WITH .STARTSWITH
j10a1n15 Nov 14, 2023
a47a5de
Merge pull request #9 from j10a1n15/beta
j10a1n15 Nov 15, 2023
4ae6529
bing bong, contains gone
j10a1n15 Nov 15, 2023
fd698fd
now using better method for rendering
j10a1n15 Nov 16, 2023
5cd7b7f
resolved conflicts im pretty sure
j10a1n15 Nov 16, 2023
813e1ed
fixed https://github.com/hannibal002/SkyHanni/pull/699#discussion_r13…
j10a1n15 Nov 16, 2023
60578af
(festplatte) formatieren
j10a1n15 Nov 16, 2023
cd9acb5
what was that comment
j10a1n15 Nov 16, 2023
52bb7e2
fixed mining fiesta
j10a1n15 Nov 17, 2023
c4e8525
Merge pull request #11 from j10a1n15/beta
j10a1n15 Nov 18, 2023
72b4eb6
More not working jacob tries
j10a1n15 Nov 18, 2023
23c7bef
jacob now works!!
j10a1n15 Nov 18, 2023
fa92192
contest also works (ty hanniii)
j10a1n15 Nov 18, 2023
a435b82
Added dungeon "events"
j10a1n15 Nov 19, 2023
1351fc7
Added objective
j10a1n15 Nov 19, 2023
200eaf8
reordered config
j10a1n15 Nov 19, 2023
b301bcc
fixed some issues
j10a1n15 Nov 19, 2023
0d50308
Merge branch 'beta' into customscoreboard
j10a1n15 Nov 19, 2023
e5cd299
Merge branch 'beta' into customscoreboard
j10a1n15 Nov 19, 2023
33f0223
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Nov 20, 2023
a35fc6a
Added Kuudra fight
j10a1n15 Nov 20, 2023
dfe968e
Added server close & winter island event
j10a1n15 Nov 20, 2023
d8d38f3
Idk seems to be done
j10a1n15 Nov 21, 2023
5d97470
Removed !!
j10a1n15 Nov 21, 2023
c91bfc1
Made the time shorter
j10a1n15 Nov 21, 2023
b597d25
Added background
j10a1n15 Nov 21, 2023
e0746e0
Option to align sb to the right
j10a1n15 Nov 23, 2023
d1dec56
Added customizeable background color
j10a1n15 Nov 23, 2023
5f58ba8
Added accordions
j10a1n15 Nov 24, 2023
c5675da
smaller changes
j10a1n15 Nov 24, 2023
cd24666
updated some things
j10a1n15 Nov 25, 2023
5b9e41b
Improved element showwhen
j10a1n15 Nov 25, 2023
e529624
Added title animation
j10a1n15 Nov 25, 2023
664b90d
Renamed/Changed some things
j10a1n15 Nov 25, 2023
3cad62e
Removed useless command
j10a1n15 Nov 25, 2023
fc1f06c
Added Center vertically
j10a1n15 Nov 25, 2023
ee1f956
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Nov 25, 2023
2136647
Fixed line break in Mining events
j10a1n15 Nov 25, 2023
0bc1a8c
Smaller changes
j10a1n15 Nov 25, 2023
4eb7859
added show party everywhere
j10a1n15 Nov 25, 2023
fb6d92f
smthsmth shader
j10a1n15 Nov 25, 2023
f4401e8
Tried rounded rectangles with shaders
j10a1n15 Nov 26, 2023
9680233
Merge branch 'beta' into customscoreboard
j10a1n15 Nov 26, 2023
75bb483
Ability to use a custom image as background
j10a1n15 Nov 26, 2023
f5e309c
added funny rare texture when custom img bg is enabled
j10a1n15 Nov 26, 2023
0947945
Fixed kuudra island detection
j10a1n15 Nov 26, 2023
fb243c9
Fixed secret bg always being shown
j10a1n15 Nov 26, 2023
f92c440
Cleanup
j10a1n15 Nov 26, 2023
21c3540
Fixed draggable list design
j10a1n15 Nov 26, 2023
ee6d510
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Nov 26, 2023
0c28298
Maybe fixed dungeon teammate event
j10a1n15 Nov 27, 2023
31a7521
Fixed image getting colored weird (ty nea!)
j10a1n15 Nov 27, 2023
b7a035f
Now using new pest scoreboard location thing
j10a1n15 Nov 27, 2023
21e4436
Moved some things to a better location
j10a1n15 Nov 28, 2023
99f78be
Maybe fixed a bug that happens on start up
j10a1n15 Nov 28, 2023
6a1c728
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Nov 28, 2023
61568eb
Candy now is 0 lines; changed Event NONE
j10a1n15 Nov 28, 2023
c44aed2
did ugly things in Events
j10a1n15 Nov 28, 2023
195ff56
Changed some config text
j10a1n15 Nov 28, 2023
f05b1af
Maybe fixed untransparent rendering of other elements
j10a1n15 Nov 28, 2023
1e8dc75
Maybe fixed untransparent rendering of other elements Part2
j10a1n15 Nov 28, 2023
bc3344d
Removed rare texture, added default texture
j10a1n15 Nov 28, 2023
c22e18c
forgot that
j10a1n15 Nov 28, 2023
657b9d8
Fixed background things
j10a1n15 Nov 28, 2023
c74d09f
Maybe fixed untransparent bg in guieditmanager
j10a1n15 Nov 30, 2023
e7ee17f
Added ingame time
j10a1n15 Nov 30, 2023
d8ff8b9
Merge remote-tracking branch 'origin/customscoreboard' into customsco…
j10a1n15 Nov 30, 2023
a92c925
beta 4 update
j10a1n15 Nov 30, 2023
f433161
fixed int limit in coins
j10a1n15 Nov 30, 2023
54cc34f
Revert "beta 4 update"
j10a1n15 Nov 30, 2023
ec5ae44
first try new config systen
j10a1n15 Nov 30, 2023
889c09f
removed remnant
j10a1n15 Nov 30, 2023
e492b97
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Nov 30, 2023
202e827
added/removed empty space
j10a1n15 Nov 30, 2023
006c3c6
Fixed goblin raid name
j10a1n15 Nov 30, 2023
20ac6de
Fixed bottom being too low
j10a1n15 Nov 30, 2023
a7ef2a9
changed 1 small config thing
j10a1n15 Nov 30, 2023
1f1185b
added a bit more funny comments
j10a1n15 Nov 30, 2023
04e8ba7
Removed party count reset
j10a1n15 Dec 1, 2023
06d4c5e
Added back party count
j10a1n15 Dec 1, 2023
371bf19
Resetting bits on profile switch
j10a1n15 Dec 1, 2023
346cdb1
Merge remote-tracking branch 'origin/customscoreboard' into customsco…
j10a1n15 Dec 1, 2023
8c163a0
Maybe added extra lines? Idk cant test it
j10a1n15 Dec 1, 2023
1afada5
Fixed configeditor flickering
j10a1n15 Dec 1, 2023
4cb2a06
Fixed "cleared" line support for hypixel style
j10a1n15 Dec 1, 2023
913f813
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 2, 2023
f2821b7
changed show party everywhere desc
j10a1n15 Dec 2, 2023
fdc4e2b
fixed bits on bingo, fixed extra information
j10a1n15 Dec 2, 2023
fbfa178
added broodmother, fixed mining event names
j10a1n15 Dec 2, 2023
cd3c2c9
added more gourmand lines
j10a1n15 Dec 2, 2023
aa33350
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 2, 2023
db918ed
fixed more extra lines
j10a1n15 Dec 2, 2023
719b92d
Fixed heat, fixed month in extra lines
j10a1n15 Dec 3, 2023
8bd9e86
Removed useless imports
j10a1n15 Dec 3, 2023
d408951
Fixed objective in extra lines
j10a1n15 Dec 3, 2023
b91ed7c
Hard coded color back to better together
j10a1n15 Dec 3, 2023
e188b33
fixed party list limit
j10a1n15 Dec 3, 2023
375c7ff
fixed skyblock time when rain, added symbols
j10a1n15 Dec 3, 2023
bc99d9b
Added villager count to objective
j10a1n15 Dec 3, 2023
21ef09b
Added villager line to filter
j10a1n15 Dec 3, 2023
5ec6635
fixed heat not disappearing
j10a1n15 Dec 3, 2023
8a23e1a
Added a better way for multiline objectives
j10a1n15 Dec 3, 2023
ce6f234
Added string centering
j10a1n15 Dec 3, 2023
83644f4
Revert "Added string centering"
j10a1n15 Dec 3, 2023
110c5ca
Fixed objective being null
j10a1n15 Dec 3, 2023
700e42c
cleanup
j10a1n15 Dec 3, 2023
aed9c5a
Fixed new motes color?? Wth hypixel
j10a1n15 Dec 4, 2023
3ca479b
Updated motes color in config
j10a1n15 Dec 4, 2023
572f278
Added option to center title + footer
j10a1n15 Dec 4, 2023
a6a3e83
Merge remote-tracking branch 'origin/customscoreboard' into customsco…
j10a1n15 Dec 4, 2023
ab33e6f
removed gemstone & mithril powder from extra lines
j10a1n15 Dec 4, 2023
709b12c
fixed objective line when funny arrows
j10a1n15 Dec 4, 2023
84d4769
fixed green ) in villager line
j10a1n15 Dec 4, 2023
bd98e14
maybe fixed some issues with the scoreboard lines letter removing
j10a1n15 Dec 4, 2023
42472c7
better error handling when NoSuchElementException in getPair()
j10a1n15 Dec 4, 2023
5c0c2c4
fixed slayers
j10a1n15 Dec 5, 2023
64cd8c4
Added flight duration
j10a1n15 Dec 5, 2023
b770a30
Added cleanup
j10a1n15 Dec 5, 2023
c7286cf
Added visiting
j10a1n15 Dec 5, 2023
4347a3a
fixed wind time
j10a1n15 Dec 5, 2023
c01fbd0
fixed some issues in getter
j10a1n15 Dec 5, 2023
cadefbf
now supporting both §d and §5 as motes color
j10a1n15 Dec 5, 2023
3b5f452
fixed getter lag
j10a1n15 Dec 5, 2023
c61c1b9
moved a dot around
j10a1n15 Dec 5, 2023
030eb69
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 6, 2023
2bbacd1
No longer rendering bg in guieditmanager
j10a1n15 Dec 6, 2023
00399df
Merge remote-tracking branch 'origin/customscoreboard' into customsco…
j10a1n15 Dec 6, 2023
9b1262d
New draggable list config system
j10a1n15 Dec 6, 2023
e8f2ead
cleanup
j10a1n15 Dec 6, 2023
35ae08a
Todo for later
j10a1n15 Dec 7, 2023
15deb08
New Elements name
j10a1n15 Dec 7, 2023
1c2fe9e
Added chat warning when unknown line
j10a1n15 Dec 7, 2023
597e9b1
Finally added thunder
j10a1n15 Dec 7, 2023
f3283a7
Added faq for custom background
j10a1n15 Dec 7, 2023
720be46
New loc for faq
j10a1n15 Dec 7, 2023
eb6a16c
Options to show all active events
j10a1n15 Dec 7, 2023
e4f7993
Merge branch 'beta' into customscoreboard
j10a1n15 Dec 8, 2023
a0d302c
Curious how that happened
j10a1n15 Dec 8, 2023
3f2a734
Added dojo
j10a1n15 Dec 8, 2023
912b9ce
Added current island
j10a1n15 Dec 8, 2023
36b2d7b
Small note
j10a1n15 Dec 8, 2023
09dbddc
Fixed dungeon teammates
j10a1n15 Dec 8, 2023
27f7c3a
Show vanilla sb when custom is disabled
j10a1n15 Dec 8, 2023
83e1424
Added globe symbol infront of island
j10a1n15 Dec 8, 2023
5283fea
Also to the config
j10a1n15 Dec 8, 2023
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
4 changes: 4 additions & 0 deletions src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import at.hannibal2.skyhanni.data.ItemAddManager
import at.hannibal2.skyhanni.data.ItemClickData
import at.hannibal2.skyhanni.data.ItemRenderBackground
import at.hannibal2.skyhanni.data.ItemTipHelper
import at.hannibal2.skyhanni.data.MaxwellAPI
import at.hannibal2.skyhanni.data.LocationFixData
import at.hannibal2.skyhanni.data.MayorElection
import at.hannibal2.skyhanni.data.MinecraftData
Expand Down Expand Up @@ -246,6 +247,7 @@ import at.hannibal2.skyhanni.features.misc.SkyBlockKickDuration
import at.hannibal2.skyhanni.features.misc.SuperpairsClicksAlert
import at.hannibal2.skyhanni.features.misc.TimeFeatures
import at.hannibal2.skyhanni.features.misc.TpsCounter
import at.hannibal2.skyhanni.features.misc.customscoreboard.CustomScoreboard
import at.hannibal2.skyhanni.features.misc.compacttablist.AdvancedPlayerList
import at.hannibal2.skyhanni.features.misc.compacttablist.TabListReader
import at.hannibal2.skyhanni.features.misc.compacttablist.TabListRenderer
Expand Down Expand Up @@ -422,6 +424,7 @@ class SkyHanniMod {
loadModule(SackAPI)
loadModule(BingoAPI)
loadModule(FishingAPI)
loadModule(MaxwellAPI)

// features
loadModule(BazaarOrderHelper())
Expand Down Expand Up @@ -663,6 +666,7 @@ class SkyHanniMod {
loadModule(DungeonFinderFeatures())
loadModule(PabloHelper())
loadModule(FishingBaitWarnings())
loadModule(CustomScoreboard())
loadModule(RepoPatternManager)
loadModule(PestSpawn())
loadModule(PestSpawnTimer)
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/at/hannibal2/skyhanni/config/Storage.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package at.hannibal2.skyhanni.config;

import at.hannibal2.skyhanni.data.Powers;
import at.hannibal2.skyhanni.data.model.ComposterUpgrade;
import at.hannibal2.skyhanni.features.combat.endernodetracker.EnderNodeTracker;
import at.hannibal2.skyhanni.features.combat.ghostcounter.GhostData;
Expand Down Expand Up @@ -99,6 +100,9 @@ public static class ProfileSpecific {
@Expose
public String currentPet = "";

@Expose
public Powers currentPower = null;

@Expose
public Map<LorenzVec, MinionConfig> minions = new HashMap<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import at.hannibal2.skyhanni.features.minion.MinionFeatures
import at.hannibal2.skyhanni.features.misc.CollectionTracker
import at.hannibal2.skyhanni.features.misc.LockMouseLook
import at.hannibal2.skyhanni.features.misc.MarkedPlayerManager
import at.hannibal2.skyhanni.features.misc.customscoreboard.CustomScoreboard
import at.hannibal2.skyhanni.features.misc.discordrpc.DiscordRPCManager
import at.hannibal2.skyhanni.features.misc.massconfiguration.DefaultConfigFeatures
import at.hannibal2.skyhanni.features.misc.visualwords.VisualWordGui
Expand All @@ -45,6 +46,7 @@ import at.hannibal2.skyhanni.test.PacketTest
import at.hannibal2.skyhanni.test.SkyHanniConfigSearchResetCommand
import at.hannibal2.skyhanni.test.SkyHanniDebugsAndTests
import at.hannibal2.skyhanni.test.TestBingo
import at.hannibal2.skyhanni.test.command.CopyActionBar
import at.hannibal2.skyhanni.test.command.CopyItemCommand
import at.hannibal2.skyhanni.test.command.CopyNearbyEntitiesCommand
import at.hannibal2.skyhanni.test.command.CopyNearbyParticlesCommand
Expand Down Expand Up @@ -322,6 +324,10 @@ object Commands {
"shconfigmanagerreset",
"Reloads the config manager and rendering processors of MoulConfig. This §cWILL RESET §7your config, but also updating the java config files (names, description, orderings and stuff)."
) { SkyHanniDebugsAndTests.configManagerResetCommand(it) }
registerCommand(
"shcopyactionbar",
"Copies the actionbar to the clipboard"
) { CopyActionBar.command(it) }
registerCommand(
"readcropmilestonefromclipboard",
"Read crop milestone from clipboard. This helps fixing wrong crop milestone data"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import at.hannibal2.skyhanni.config.FeatureToggle;
import at.hannibal2.skyhanni.config.core.config.Position;
import at.hannibal2.skyhanni.config.features.gui.customscoreboard.CustomScoreboardConfig;
import at.hannibal2.skyhanni.data.GuiEditManager;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.Accordion;
Expand Down Expand Up @@ -38,6 +39,12 @@ public class GUIConfig {
@Accordion
public TextBoxConfig customTextBox = new TextBoxConfig();


@Expose
@ConfigOption(name = "Custom Scoreboard", desc = "")
@Accordion
public CustomScoreboardConfig customScoreboard = new CustomScoreboardConfig();

@Expose
@ConfigOption(name = "Real Time", desc = "Display the current computer time, a handy feature when playing in full-screen mode.")
@ConfigEditorBoolean
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
package at.hannibal2.skyhanni.config.features.gui.customscoreboard;

import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorColour;
import io.github.moulberry.moulconfig.annotations.ConfigEditorInfoText;
import io.github.moulberry.moulconfig.annotations.ConfigOption;

public class BackgroundConfig {
@Expose
@ConfigOption(
name = "Enabled",
desc = "Show a background behind the scoreboard."
)
@ConfigEditorBoolean
@FeatureToggle
public boolean enabled = true;

@Expose
@ConfigOption(
name = "Background Color",
desc = "The color of the background."
)
@ConfigEditorColour
public String color = "0:102:0:0:0";

@Expose
@ConfigOption(
name = "Use Custom Background Image",
desc = "Put that image into a resource pack, using the path \"skyhanni/scoreboard.png\"."
)
@ConfigEditorBoolean
@FeatureToggle
public boolean useCustomBackgroundImage = false;

@Expose
@ConfigOption(
name = "Custom Background",
desc = "Add an image named \"scoreboard.png\" to your texture pack at \"\\assets\\skyhanni\\scoreboard.png.\" Activate the texture pack in Minecraft, then reload the game."
)
@ConfigEditorInfoText
public String useless;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
package at.hannibal2.skyhanni.config.features.gui.customscoreboard;

import at.hannibal2.skyhanni.config.FeatureToggle;
import at.hannibal2.skyhanni.config.core.config.Position;
import at.hannibal2.skyhanni.features.misc.customscoreboard.ScoreboardElements;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.Accordion;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorDraggableList;
import io.github.moulberry.moulconfig.annotations.ConfigOption;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class CustomScoreboardConfig {
@Expose
@ConfigOption(
name = "Enabled",
desc = "Show a custom scoreboard instead of the vanilla one."
)
@ConfigEditorBoolean
@FeatureToggle
public boolean enabled = false;

@Expose
@ConfigOption(
name = "Appearance",
desc = "Drag text to change the appearance of the advanced scoreboard." // supporting both custom & advanced search
)
@ConfigEditorDraggableList()
public List<ScoreboardElements> scoreboardEntries = new ArrayList<>(Arrays.asList(ScoreboardElements.values()));

@Expose
@ConfigOption(name = "Display Options", desc = "")
@Accordion
public DisplayConfig displayConfig = new DisplayConfig();

@Expose
@ConfigOption(name = "Information Filtering", desc = "")
@Accordion
public InformationFilteringConfig informationFilteringConfig = new InformationFilteringConfig();

@Expose
@ConfigOption(name = "Background Options", desc = "")
@Accordion
public BackgroundConfig backgroundConfig = new BackgroundConfig();

@Expose
@ConfigOption(name = "Party Options", desc = "")
@Accordion
public PartyConfig partyConfig = new PartyConfig();

@Expose
@ConfigOption(name = "Show Mayor Perks", desc = "Show the perks of the current mayor.")
@ConfigEditorBoolean
@FeatureToggle
public boolean showMayorPerks = true;

@Expose
@ConfigOption(name = "Unknown Lines warning", desc = "Gives a chat warning when unknown lines are found in the scoreboard.")
@ConfigEditorBoolean
@FeatureToggle
public boolean unknownLinesWarning = true;

@Expose
public Position position = new Position(10, 80, false, true);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
package at.hannibal2.skyhanni.config.features.gui.customscoreboard;

import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorText;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
import io.github.moulberry.moulconfig.observer.Property;

public class DisplayConfig {
@Expose
@ConfigOption(name = "Hide Vanilla Scoreboard", desc = "Hide the vanilla scoreboard.")
@ConfigEditorBoolean
@FeatureToggle
public boolean hideVanillaScoreboard = false;

@Expose
@ConfigOption(name = "Display Numbers First", desc = "Determines whether the number or line name displays first. " +
"§eNote: Will not update the preview above!")
@ConfigEditorBoolean
@FeatureToggle
public boolean displayNumbersFirst = false;

@Expose
@ConfigOption(name = "Align to the right", desc = "Align the scoreboard to the right side of the screen.")
@ConfigEditorBoolean
@FeatureToggle
public boolean alignRight = false;

@Expose
@ConfigOption(name = "Show all active events", desc = "Show all active events in the scoreboard instead of one.")
@ConfigEditorBoolean
@FeatureToggle
public boolean showAllActiveEvents = false;

@Expose
@ConfigOption(name = "Align to the center vertically", desc = "Align the scoreboard to the center of the screen vertically.")
@ConfigEditorBoolean
@FeatureToggle
public boolean alignCenterVertically = false;

@Expose
@ConfigOption(name = "Center Title and Footer", desc = "Center the title and footer to the scoreboard width.")
@ConfigEditorBoolean
@FeatureToggle
public boolean centerTitleAndFooter = false;

@Expose
@ConfigOption(name = "Custom Title", desc = "What should be displayed as the title of the scoreboard.\nUse & for colors.")
@ConfigEditorText
public Property<String> customTitle = Property.of("&6&lSKYBLOCK");

@Expose
@ConfigOption(name = "Use Hypixel's Title Animation", desc = "Will overwrite the custom title with Hypixel's title animation.")
@ConfigEditorBoolean
@FeatureToggle
public boolean useHypixelTitleAnimation = false;

@Expose
@ConfigOption(name = "Custom Footer", desc = "What should be displayed as the footer of the scoreboard.\nUse & for colors.")
@ConfigEditorText
public Property<String> customFooter = Property.of("&ewww.hypixel.net");
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package at.hannibal2.skyhanni.config.features.gui.customscoreboard;

import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigOption;

public class InformationFilteringConfig {
@Expose
@ConfigOption(name = "Hide lines with no info", desc = "Hide lines that have no info to display, like hiding the party when not being in one.")
@ConfigEditorBoolean
@FeatureToggle
public boolean hideEmptyLines = true;

@Expose
@ConfigOption(name = "Hide Info not relevant to location", desc = "Hide lines that are not relevant to the current location, like hiding copper while not in garden.")
@ConfigEditorBoolean
@FeatureToggle
public boolean hideIrrelevantLines = true;

@Expose
@ConfigOption(name = "Hide consecutive empty lines", desc = "Hide lines that are empty and have an empty line above them.")
@ConfigEditorBoolean
@FeatureToggle
public boolean hideConsecutiveEmptyLines = true;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package at.hannibal2.skyhanni.config.features.gui.customscoreboard;

import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorSlider;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
import io.github.moulberry.moulconfig.observer.Property;

public class PartyConfig {
@Expose
@ConfigOption(name = "Max Party List", desc = "Max number of party members to show in the party list. (You are not included)")
@ConfigEditorSlider(
minValue = 0,
maxValue = 25, // why do I even set it so high
minStep = 1
)
public Property<Integer> maxPartyList = Property.of(4);

@Expose
@ConfigOption(name = "Show Party everywhere", desc = "Show the party list everywhere.\nIf disabled, it will only show in Dungeon hub, Crimson Isle & Kuudra")
@ConfigEditorBoolean
@FeatureToggle
public boolean showPartyEverywhere = false;
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ object ActionBarStatsData {
)

var groups = mutableMapOf("health" to "", "riftTime" to "", "defense" to "", "mana" to "")
var actionBar = ""

@SubscribeEvent
fun onActionBar(event: LorenzActionBarEvent) {
if (!LorenzUtils.inSkyBlock) return

actionBar = event.message

for ((groupName, pattern) in patterns) {
pattern.matchMatcher(event.message) {
groups[groupName] = group(groupName)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/at/hannibal2/skyhanni/data/IslandType.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ enum class IslandType(val displayName: String, val modeName: String = "null") {
PRIVATE_ISLAND("Private Island"),
PRIVATE_ISLAND_GUEST("Private Island Guest"),
THE_END("The End"),
KUUDRA_ARENA("Instanced"),
KUUDRA_ARENA("Kuudra"),
CRIMSON_ISLE("Crimson Isle"),
DWARVEN_MINES("Dwarven Mines"),
DUNGEON_HUB("Dungeon Hub", "dungeon_hub"),
Expand Down
Loading
Loading