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

Feature request: Lua hooks for clicks in the player inventory #5519

Open
sleirsgoevy opened this issue Jun 24, 2023 · 0 comments
Open

Feature request: Lua hooks for clicks in the player inventory #5519

sleirsgoevy opened this issue Jun 24, 2023 · 0 comments

Comments

@sleirsgoevy
Copy link
Contributor

sleirsgoevy commented Jun 24, 2023

Cuberite allows setting hooks to inventory clicks, but only for plugin-created windows (cLuaWindow). It would be nice to have this for the player's main inventory, and for vanilla container windows (without having to emulate their entire behavior in Lua).

I want to use it to create "cursed" armor that can't be removed from its armor slot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant