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 #49

Merged
merged 296 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
296 commits
Select commit Hold shift + click to select a range
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
93986db
Hide "Locked" from locked garden plots
j10a1n15 Dec 8, 2023
bfcf6ed
Added voting lines
j10a1n15 Dec 8, 2023
954cb83
Added cookie buff
j10a1n15 Dec 8, 2023
cb52717
Fixed that weird redstone line
j10a1n15 Dec 8, 2023
5934f67
Fixed that weird redstone line, but regex
j10a1n15 Dec 8, 2023
eaa721f
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 9, 2023
18ee82c
fixed IndexOutOfBoundsException when empty event list
j10a1n15 Dec 9, 2023
4006781
fixed wrong color in dungeon teammate
j10a1n15 Dec 9, 2023
8767d96
maybe fixed all future color code problems in scoreboard lines
j10a1n15 Dec 9, 2023
5500761
fixed extra lines not working
j10a1n15 Dec 9, 2023
d296c98
fixed StringIndexOutOfBoundsException in new scoreboard color code re…
j10a1n15 Dec 9, 2023
b5d30cb
Added trapper to events
j10a1n15 Dec 9, 2023
7c8fb8b
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 9, 2023
65fcbfa
Apparently powder has two different lines
j10a1n15 Dec 9, 2023
0f61985
Merge branch 'beta' into customscoreboard
j10a1n15 Dec 10, 2023
b404a15
Fixed winter event lines
j10a1n15 Dec 10, 2023
74af1ce
Merged two lines in CopyActionBar
j10a1n15 Dec 10, 2023
d7874e5
Resolved walkers suggestion
j10a1n15 Dec 11, 2023
e63b09d
Time till next mayor
j10a1n15 Dec 11, 2023
7288833
fixed double prefix in CopyActionBar
j10a1n15 Dec 11, 2023
b119de2
Removed Next Wave soon! bc hypixel wont
j10a1n15 Dec 11, 2023
629ca22
Added magmaboss
j10a1n15 Dec 11, 2023
08b3706
Fixed PartyAPI not working with dungeon join msgs
j10a1n15 Dec 11, 2023
038ba26
Teeny tiny bit of formatting
j10a1n15 Dec 11, 2023
aebd02c
Changed Unknown Lines Error Message
j10a1n15 Dec 11, 2023
125bbd2
fixed pattern names
j10a1n15 Dec 11, 2023
62d11b5
fixed time to next mayor when date is after election in the same year
j10a1n15 Dec 11, 2023
20700a5
removed old import
j10a1n15 Dec 11, 2023
79b23b1
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 12, 2023
28a81c7
Added option to color months
j10a1n15 Dec 12, 2023
0e341f7
Fixed maxwellapi with new power
j10a1n15 Dec 12, 2023
b76b01b
Changed season colors to the colors of the atmospheric filter
j10a1n15 Dec 12, 2023
117f8f6
Added dark auction
j10a1n15 Dec 13, 2023
39da051
Fixed unknown lines causing fps drops
j10a1n15 Dec 14, 2023
1428433
Added effigies
j10a1n15 Dec 14, 2023
7aa2999
Merge remote-tracking branch 'origin/customscoreboard' into customsco…
j10a1n15 Dec 14, 2023
1c5657d
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 14, 2023
cddf5b2
small changes
j10a1n15 Dec 14, 2023
4d6652c
Redid whole config layout
j10a1n15 Dec 14, 2023
e15f14a
Fixed weird scoreboard lines when server closing
j10a1n15 Dec 15, 2023
626000f
Fixed magma boss detection
j10a1n15 Dec 15, 2023
354d5c6
The boss is reforming!
j10a1n15 Dec 16, 2023
c45c203
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 16, 2023
b119616
Multiline objective in kuudra
j10a1n15 Dec 16, 2023
b450fe2
Merge remote-tracking branch 'origin/customscoreboard' into customsco…
j10a1n15 Dec 16, 2023
fc8c2d9
renamed extra -> unknown
j10a1n15 Dec 16, 2023
817e555
Refactor Events enum in Events.kt and InformationGetter class
j10a1n15 Dec 16, 2023
850a648
Refactor getEventsDisplayPair function to handle empty Events list
j10a1n15 Dec 17, 2023
8b8a67f
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 17, 2023
acfba82
Added garden pasting
j10a1n15 Dec 17, 2023
74e71c9
Merge remote-tracking branch 'origin/customscoreboard' into customsco…
j10a1n15 Dec 17, 2023
f9da8c7
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 18, 2023
1600157
Hypixel is smoking
j10a1n15 Dec 18, 2023
cf115d9
Merge remote-tracking branch 'origin/customscoreboard' into customsco…
j10a1n15 Dec 18, 2023
2edaa9b
Update EXTRA display message
j10a1n15 Dec 18, 2023
98eddbf
Added barn pasting
j10a1n15 Dec 21, 2023
4c2e4dc
Merge branch 'hannibal002:beta' into customscoreboard
j10a1n15 Dec 21, 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 @@ -252,6 +253,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 @@ -434,6 +436,7 @@ class SkyHanniMod {
loadModule(SackAPI)
loadModule(BingoAPI)
loadModule(FishingAPI)
loadModule(MaxwellAPI)

// features
loadModule(BazaarOrderHelper())
Expand Down Expand Up @@ -678,6 +681,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.bingo.card.goals.BingoGoal;
import at.hannibal2.skyhanni.features.combat.endernodetracker.EnderNodeTracker;
Expand Down Expand Up @@ -117,6 +118,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 @@ -49,6 +49,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.WorldEdit
import at.hannibal2.skyhanni.test.command.CopyItemCommand
import at.hannibal2.skyhanni.test.command.CopyNearbyEntitiesCommand
Expand Down Expand Up @@ -361,6 +362,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,9 +2,11 @@

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;
import io.github.moulberry.moulconfig.annotations.Category;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorButton;
import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind;
Expand Down Expand Up @@ -38,6 +40,10 @@ public class GUIConfig {
@Accordion
public TextBoxConfig customTextBox = new TextBoxConfig();

@Expose
@Category(name = "Custom Scoreboard", desc = "Custom Scoreboard Settings")
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,20 @@
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 AlignmentConfig {
@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 = "Align to the center vertically", desc = "Align the scoreboard to the center of the screen vertically.")
@ConfigEditorBoolean
@FeatureToggle
public boolean alignCenterVertically = false;
}
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,67 @@
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 = "Mayor Options", desc = "")
@Accordion
public MayorConfig mayorConfig = new MayorConfig();

@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,38 @@
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.Accordion;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigOption;

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 = "Show all active events", desc = "Show all active events in the scoreboard instead of one.")
@ConfigEditorBoolean
@FeatureToggle
public boolean showAllActiveEvents = false;

@Expose
@ConfigOption(name = "Alignment Options", desc = "")
@Accordion
public AlignmentConfig alignment = new AlignmentConfig();

@Expose
@ConfigOption(name = "Title and Footer Options", desc = "")
@Accordion
public TitleAndFooterConfig titleAndFooter = new TitleAndFooterConfig();
}
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,20 @@
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 MayorConfig {
@Expose
@ConfigOption(name = "Show Mayor Perks", desc = "Show the perks of the current mayor.")
@ConfigEditorBoolean
@FeatureToggle
public boolean showMayorPerks = true;

@Expose
@ConfigOption(name = "Show Time till next mayor", desc = "Show the time till the next mayor is elected.")
@ConfigEditorBoolean
@FeatureToggle
public boolean showTimeTillNextMayor = 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
@@ -0,0 +1,32 @@
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 TitleAndFooterConfig {
@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
Expand Up @@ -20,7 +20,7 @@ public class MiscConfig {
@ConfigOption(name = "Hide Armor", desc = "")
@Accordion
@Expose
// TOOD maybe we can migrate this already
// TODO maybe we can migrate this already
public HideArmorConfig hideArmor2 = new HideArmorConfig();

@Expose
Expand Down Expand Up @@ -120,6 +120,12 @@ public class MiscConfig {
@FeatureToggle
public boolean hidePiggyScoreboard = true;

@Expose
@ConfigOption(name = "Color Month Names", desc = "Color the month names in the Scoreboard.\nAlso applies to the Custom Scoreboard")
@ConfigEditorBoolean
@FeatureToggle
public boolean colorMonthNames = false;

@Expose
@ConfigOption(name = "Explosions Hider", desc = "Hide explosions.")
@ConfigEditorBoolean
Expand Down
Loading
Loading