lishid / OpenInv

Open anyone's inventory as a chest, real-time!
GNU General Public License v3.0
119 stars 94 forks source link

Introducing barrier blocks for the inventory slots that are not part of the inventory #172

Closed baailey closed 2 months ago

baailey commented 3 years ago

Implementing this feature will support a more user-friendly interface for all. My thoughts are that the barriers will go here, though if you have a different item in mind, it's your decision.

Currently if an Admin, Mod etc. try to place an item in those slots, the item will just be dropped in front of you. For those who may not be aware of this, it could result in a possibly expensive item being dropped on accident when they wanted to place it in another staff members inventory.

I hope to see this introduced!

Aurelien30000 commented 3 years ago

On a hand I agree, however, this is a feature of the plugin:

Drop items as the other player (by putting it in the unused slots in the bottom right)

You should wait for the opinion of maintainers ;)

Jikoo commented 3 years ago

I do plan to add this eventually, but it will need to be done with #150 and some internal changes to allow translations to be obtained for barrier info.

Medium complexity, low priority. See you all in 2024 when I get around to this. Just kidding. I hope.

RoboMWM commented 3 years ago

Github supports sub/superscript? ^test

hmm im dum wut r ur secrets

Edit: ah figured it'd be HTML tags just a minute after thinking about it. Meh. Better than nothing I guess.

Jikoo commented 3 years ago

GitHub supports some HTML, good ol' \<sub> tags.

Jikoo commented 2 months ago

The drop slot is now a client-side dropper renamed to the translation key "key.drop" which is "Drop Selected Item" in en_us. Other unused slots are a white stained glass pane with no tooltip. In the future this will be configurable.

/e: Also, wow, 2024, just as predicted. I know myself too well.