Add middle click event
AlliSite opened this issue ยท 7 comments
Suggestion
Add middle click event
Why?
More Features
Example:
on middleclick on player:
execute player command "/invsee %clicked player%
Other
Middle click to inventory
Agreement
- I have read the guidelines above and affirm I am following them with this suggestion.
I don't believe there's a server event called when a player middle clicks on an entity, only on a block. For that reason I'm unsure if this is possible to implement.
Edit: actually, I can't even find an event for middle clicking a block (pick block)
I don't believe there's a server event called when a player middle clicks on an entity, only on a block. For that reason I'm unsure if this is possible to implement.
Edit: actually, I can't even find an event for middle clicking a block (pick block)What if
(example) on middleclick: if name of player's tool is "Example": broadcast "&cExample"
That is the same thing? There no event for middle click we can listen to.
I don't believe there's a server event called when a player middle clicks on an entity, only on a block. For that reason I'm unsure if this is possible to implement.
Edit: actually, I can't even find an event for middle clicking a block (pick block)
What if
(example)
on middleclick:
if name of player's tool is "Example":
broadcast "&cExample"
I don't believe there's a server event called when a player middle clicks on an entity, only on a block. For that reason I'm unsure if this is possible to implement.
Edit: actually, I can't even find an event for middle clicking a block (pick block)What if
(example) on middleclick: if name of player's tool is "Example": broadcast "&cExample"That is the same thing? There no event for middle click we can listen to.
But skript has types for each click, which includes middle mouse button
That is the same thing? There no event for middle click we can listen to.
But skript has types for each click, which includes middle mouse button
Unfortunately that's completely unrelated. That's for the inventory click event.