Skip to content

Conversation

@itsseth3
Copy link

@itsseth3 itsseth3 commented Feb 2, 2026

@NopoTheGamer pls help

@github-actions github-actions bot added the Wrong Title/Changelog There is an error in the title or changelog label Feb 2, 2026
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

I have detected some issues with your pull request:

Body issues:
No changes detected in this pull request

Please fix these issues. For the correct format, refer to the pull request template.

Copy link
Collaborator

@NopoTheGamer NopoTheGamer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the whole file needs to be formatted (do ctrl alt l in intellij)

Comment on lines 11 to 30
//Share vanquisher spawns
@Expose
@ConfigOption(name = "Enabled", desc = "Share your Vanquisher spawns and receive other Vanquisher spawns via Party Chat")
@ConfigEditorBoolean
@FeatureToggle
var enabled: Boolean = true

//Instant share w/o keybind
@Expose
@ConfigOption(name = "Instant Share", desc = "Instantly share your Vanquisher spawns via Party Chat")
@ConfigEditorBoolean
var instantShare: Boolean = true

//Manually share with keybind
@Expose
@ConfigOption(name = "Keybind Share", desc = "Manually share your Vanquisher spawns with a keybind")
@ConfigEditorKeybind(defaultKey = GLFW.GLFW_KEY_Y)
var keybindSharing: Int = GLFW.GLFW_KEY_Y

//Read global chat to recognize non-party members' Vanquisher spawns
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the chat gpt comments

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thos are my comments ;[

Comment on lines 44 to 57
@Suppress("MaxLineLength")
private val vanquisherSharedPattern by patternGroup.list(
"coords",
"(?<party>§9Party §8> )?(?<playerName>.+)§f: (?<x>[^ ]+): (?<y>[^ ]+): (?<z>[^ ]+): | Vanquisher"
)

private val vanquisherDiedPattern by patternGroup.pattern(
"died",
"(?<party>§9Party §8> )?(?<playerName>.*)§f: §rVanquisher dead!",
)
private val vanquisherSpawnedPattern by patternGroup.pattern(
"spawned",
".*§aA §r§cVanquisher §r§ais spawning nearby!"
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove colour codes

}

@HandleEvent
fun onRawEntityJoin(event: EntityEnterWorldEvent<Entity>) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can change Entity to the one you need (armour stand im guessing?)

Comment on lines 216 to 217
if (entity !is LivingEntity) return
if (entity is RemotePlayer) return
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and then you can remove this

@HandleEvent(onlyOnIsland = IslandType.CRIMSON_ISLE, receiveCancelled = true)
fun readChat(event: SkyHanniChatEvent.Allow) {
if(!isEnabled()) return
val message = event.message
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use cleanMessage instead

@github-actions github-actions bot added the Detekt Has detekt problem label Feb 2, 2026
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

53 Detekt Failures

Rules flagged (7): RepoPatternRegexTestMissing, NoUnusedImports, SpacingAroundKeyword, SpacingAroundCurly, FunctionStartOfBodySpacing, SpacingAroundComma (+ 1 more)
Files flagged (2): VanquisherWaypointShare.kt, CrimsonIsleConfig.kt

Rule violations

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

57 Detekt Failures

Rules flagged (7): RepoPatternRegexTestMissing, NoUnusedImports, Wrapping, SpacingAroundComma, SpacingAroundKeyword, FunctionStartOfBodySpacing (+ 1 more)
Files flagged (2): VanquisherWaypointShare.kt, CrimsonIsleConfig.kt

Rule violations

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

58 Detekt Failures

Rules flagged (7): RepoPatternRegexTestMissing, NoUnusedImports, Wrapping, SpacingAroundKeyword, SpacingAroundComma, SpacingAroundCurly (+ 1 more)
Files flagged (2): VanquisherWaypointShare.kt, CrimsonIsleConfig.kt

Rule violations

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

58 Detekt Failures

Rules flagged (7): RepoPatternRegexTestMissing, NoUnusedImports, SpacingAroundKeyword, SpacingAroundCurly, FunctionStartOfBodySpacing, Wrapping (+ 1 more)
Files flagged (2): VanquisherWaypointShare.kt, CrimsonIsleConfig.kt

Rule violations

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

31 Detekt Failures

Rules flagged (8): CustomAnnotationSpacing, RepoPatternRegexTestFailed, NoUnusedImports, SpacingAroundCurly, FunctionStartOfBodySpacing, SpacingAroundComma (+ 2 more)
Files flagged (2): VanquisherWaypointShare.kt, CrimsonIsleConfig.kt

Rule violations

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

12 Detekt Failures

Rules flagged (3): CustomAnnotationSpacing, SpacingAroundCurly, Indentation

Rule violations

@github-actions github-actions bot removed the Detekt Has detekt problem label Feb 4, 2026

class VanquisherWaypointShareConfig {
@Expose
@ConfigOption(name = "Enabled", desc = "Share your Vanquisher spawns and receive other Vanquisher spawns via Party Chat")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@ConfigOption(name = "Enabled", desc = "Share your Vanquisher spawns and receive other Vanquisher spawns via Party Chat")
@ConfigOption(name = "Enabled", desc = "Share your Vanquisher spawns and receive other Vanquisher spawns via Party Chat.")

var enabled: Boolean = true

@Expose
@ConfigOption(name = "Instant Share", desc = "Instantly share your Vanquisher spawns via Party Chat")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@ConfigOption(name = "Instant Share", desc = "Instantly share your Vanquisher spawns via Party Chat")
@ConfigOption(name = "Instant Share", desc = "Instantly share your Vanquisher spawns via Party Chat.")

var instantShare: Boolean = true

@Expose
@ConfigOption(name = "Keybind Share", desc = "Manually share your Vanquisher spawns with a keybind")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@ConfigOption(name = "Keybind Share", desc = "Manually share your Vanquisher spawns with a keybind")
@ConfigOption(name = "Keybind Share", desc = "Manually share your Vanquisher spawns with a keybind.")

var keybindSharing: Int = GLFW.GLFW_KEY_Y

@Expose
@ConfigOption(name = "Read Global Chat", desc = "Register Vanquisher spawns from All Chat and Party Chat")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@ConfigOption(name = "Read Global Chat", desc = "Register Vanquisher spawns from All Chat and Party Chat")
@ConfigOption(name = "Read Global Chat", desc = "Register Vanquisher spawns from All Chat and Party Chat.")

)

/**
* REGEX-TEST: .*A Vanquisher is spawning nearby!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think the message on hypixel has a .* infront



/**
* REGEX-TEST: §9Party §8> User Name§f: x: 2.3, y: 4.5, z: -6.7 | Vanquisher
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regex tests are meant to test real messages, not messages made to fit the regex


TitleManager.sendTitle(
"§5§lVanquisher Spawned!",
"§r§7You found one nearby!",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the reset does nothing

for (waypoint in waypoints.values) {
if (waypoint.spawnTime.passedSince() > 30.seconds) continue

val beaconColor = java.awt.Color(160, 37, 191)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should just be Color(..)

val y = location.y.toInt()
val z = location.z.toInt()

HypixelCommands.partyChat("x: $x, y: $y, z: $z | Vanquisher")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this check if you are a party

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Wrong Title/Changelog There is an error in the title or changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants