Skip to content

Conversation

@NorbsCode
Copy link
Contributor

Item Link Plugin

Link items in chat like WoW - Shift+right-click items to share them with detailed tooltips showing GE price, HA value, equipment stats, and more.

Features

  • Share items by Shift+right-clicking and selecting "Link Item"
  • Hover over item links to see detailed tooltips with:
    • Grand Exchange price
    • High Alchemy value
    • Equipment stats (for equippable items)
    • Item weight
  • WoW-style rarity colors based on item value
  • Works in all chat types including friends chat, clan chat, and private messages
  • Live formatting while typing (shows colored item name instead of raw tokens)
  • Formats item links in overhead text (speech bubbles)

Repository

https://github.com/NorbsCode/item-link

@runelite-github-app
Copy link

runelite-github-app bot commented Dec 15, 2025

@raiyni
Copy link
Member

raiyni commented Dec 15, 2025

This would be considered auto typing

@runelite-github-app
Copy link

runelite-github-app bot commented Dec 15, 2025

Internal use only: Reviewer details Maintainer details

@NorbsCode
Copy link
Contributor Author

NorbsCode commented Dec 15, 2025

This would be considered auto typing

It just links an item in chat, it does not auto type the whole sentence and you cannot abuse it in any way. It's a plugin that is much needed in the Runelite community as people would love to be able to link items in chat like in other popular MMO's

@riktenx
Copy link
Member

riktenx commented Dec 15, 2025

You are programmatically setting the chatbox input text here - that is autotyping. Plugins are not allowed to modify the content of the chat input buffer whatsoever. The only way in which characters can make it into the input buffer is from users manually typing.

What would be allowed instead, if you wanted to accomplish this, is if you instead supported some sort of shorthand that the user typed in, that your plugin then expanded client-side only (again, you cannot modify outgoing messages as that is autotyping).

So something like the user entering foo bar baz !i500, and then if you receive a chat message with that macro pattern, you could expand it client side into foo bar baz [whatever item name] and add your tooltip.

If you are otherwise unwilling to modify your submission to comply with 3rd-party client guidelines then we'll need to close this PR.

@riktenx riktenx added the waiting for author waiting for the pr author to make changes or respond to questions label Dec 15, 2025
@NorbsCode
Copy link
Contributor Author

You are programmatically setting the chatbox input text here - that is autotyping. Plugins are not allowed to modify the content of the chat input buffer whatsoever. The only way in which characters can make it into the input buffer is from users manually typing.

What would be allowed instead, if you wanted to accomplish this, is if you instead supported some sort of shorthand that the user typed in, that your plugin then expanded client-side only (again, you cannot modify outgoing messages as that is autotyping).

So something like the user entering foo bar baz !i500, and then if you receive a chat message with that macro pattern, you could expand it client side into foo bar baz [whatever item name] and add your tooltip.

If you are otherwise unwilling to modify your submission to comply with 3rd-party client guidelines then we'll need to close this PR.

Okay, thanks. Let me think of another way and I'll resubmit.

@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 Dec 15, 2025
@riktenx
Copy link
Member

riktenx commented Dec 15, 2025

You are welcome to leave this pull request open and just update the commit hash.

@riktenx riktenx added the waiting for author waiting for the pr author to make changes or respond to questions label Dec 15, 2025
@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 Dec 15, 2025
@NorbsCode
Copy link
Contributor Author

@riktenx Found a better way. I removed the automatic insert of text into the chatbox. The item will be highlighted automatically when the user sends a message, for example. Hey, I just got an Abyssal Whip!

The tooltip will automatically appear in the message (as before) just without breaking the auto typing rule, everything is manual now. Hope this is better! Thanks again.

@riktenx
Copy link
Member

riktenx commented Dec 20, 2025

this startup bulk read from cache may cause you some performance issues but there's not really a better way to do it that i'm aware of so i'm gonna merge this for now

@riktenx riktenx merged commit 70b2338 into runelite:master Dec 20, 2025
3 checks passed
@Koslas1
Copy link

Koslas1 commented Dec 22, 2025

this startup bulk read from cache may cause you some performance issues but there's not really a better way to do it that i'm aware of so i'm gonna merge this for now

Would this be the cause of enabling the plugin and typing something in the chat to make it take effect making my game sit at a constant 60 fps to drop down to 7-8 fps even persisting after restarting RuneLite? Disabling the plugin restored my fps

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