Skip to content

Conversation

@PuddingPants
Copy link
Contributor

Request to have Unique NPC KC Tracker added to the plugin hub. Name was updated to only be lower case and use "-" instead of "_" or " ".

Plugin creates and assigns a unique ID based on NPC ID & death location (or unique location if a duplicate unique ID would be created). Entities assigned a unique ID can be hidden, tagged, or have menu entries changed via config.

@runelite-github-app
Copy link

runelite-github-app bot commented Jan 12, 2026

@tylerwgrass
Copy link
Member

you don't need to close a reopen prs to address feedback, just push your changes to the existing pr

@PuddingPants
Copy link
Contributor Author

Apologies, I am pretty new to this, and when I went to try and rename things it seemed to close the PR.

@riktenx
Copy link
Member

riktenx commented Jan 14, 2026

IDK what your LLM did but it completely defiled your build.gradle, it should look exactly like the one from the template, fix that please

@riktenx riktenx added the waiting for author waiting for the pr author to make changes or respond to questions label Jan 14, 2026
My fault for believing in the LLM. This should work properly now.
@runelite-github-app runelite-github-app bot removed the waiting for author waiting for the pr author to make changes or respond to questions label Jan 14, 2026
@riktenx riktenx added the waiting for author waiting for the pr author to make changes or respond to questions label Jan 17, 2026
@PuddingPants
Copy link
Contributor Author

Pardon my ignorance, but are the deprecated APIs the reason the build is failing? I updated the code on my end to Inject rather than create the Gson, but I want to make sure I correct everything before I push a new commit to this PR.

If the issue is stemming from something else can someone please help explain what needs to be changed.

@runelite-github-app runelite-github-app bot removed the waiting for author waiting for the pr author to make changes or respond to questions label Jan 17, 2026
@coopermor
Copy link
Contributor

package failed
net.runelite.pluginhub.packager.PluginBuildException: unique-npc-kc-tracker: plugin uses terminally deprecated APIs:
Do not create fresh Gson instances, always @Inject the client's Gson.
You can customize it by calling .newBuilder() on it
	at net.runelite.pluginhub.packager.PluginBuildException.of(PluginBuildException.java:54)
	at net.runelite.pluginhub.packager.Plugin.assembleDisplayData(Plugin.java:771)
	at net.runelite.pluginhub.packager.Plugin.build(Plugin.java:550)
	at net.runelite.pluginhub.packager.Packager.buildPlugin(Packager.java:215)
	at net.runelite.pluginhub.packager.Packager.lambda$buildPlugins$0(Packager.java:155)
	at java.base/java.lang.Thread.run(Thread.java:829)


unique-npc-kc-tracker: plugin uses terminally deprecated APIs:
Do not create fresh Gson instances, always @Inject the client's Gson.
You can customize it by calling .newBuilder() on it

@runelite-github-app
Copy link

runelite-github-app bot commented Jan 17, 2026

Internal use only: Reviewer details Maintainer details

@riktenx
Copy link
Member

riktenx commented Jan 18, 2026

this is not allowed

https://github.com/runelite/runelite/wiki/Rejected-or-Rolled-Back-Features

ID based plugins: Plugins that use player provided IDs for the entirety of their functionality can cause moderation issues and outcomes that break Jagex's plugin rules. Due to this fact we will not be accepting any new ID based plugins. Plugins that use a specific set of IDs but do not allow user input will still be accepted. (e.g. plugins like Vardorvis Projectiles which only allows you to change a specific projectile to a set list of projectiles.)

@riktenx riktenx added the waiting for author waiting for the pr author to make changes or respond to questions label Jan 18, 2026
@PuddingPants
Copy link
Contributor Author

To make sure I'm understanding correctly. Is the whole plugin not going to be allowed or just the piece below?

@configitem(
keyName = "npcMatchRadiusOverrides",
name = "NPC Match Radius Overrides",
description = "Override match radius per NPC ID. Format: npcId=radius,npcId=radius"
)
default String npcMatchRadiusOverrides()
{
return "";
}
}

Main reason I put this in the config was so that NPCs like imps that wander far would be reassigned a unique ID on client restart. If I make specific NPC match radius for imps fixed and delete everything above would this be allowed?

@runelite-github-app runelite-github-app bot removed the waiting for author waiting for the pr author to make changes or respond to questions label Jan 18, 2026
@riktenx riktenx merged commit 85d1a61 into runelite:master Jan 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants