You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
My suggestion is to add a basic API implementation, an CustomImageInteractEvent & Image Names that players can utilize. This is so players can listen to player interaction with loaded images in a official way rather having to use unofficial packet listening. (Below is an example of why the CustomImageInteractEvent would be so useful)
Example Event Code:
@EventHandlerpublicvoidonCustomImageInteract(CustomImageInteractEventevent) {
if (event.getAction() == Action.RIGHT_CLICK) {
CustomImageimage = CustomImage.get(event.getEntityId()); // I am not too familiar with your get method but this is a substituteif (image.getName().equals("Quest Board")) { // If the name of the image is Quest Board// Do things here// In my case would be open the quest board
}
}
}
In my case, this would allow me to detect when players click on my quest board on my server (which can be seen below)
Quest Board:
Let me know what you think of these suggestions and I could possibly help with adding these if needed!
Thanks
RandomTomato
The text was updated successfully, but these errors were encountered:
Hello,
My suggestion is to add a basic API implementation, an CustomImageInteractEvent & Image Names that players can utilize. This is so players can listen to player interaction with loaded images in a official way rather having to use unofficial packet listening. (Below is an example of why the CustomImageInteractEvent would be so useful)
Example Event Code:
In my case, this would allow me to detect when players click on my quest board on my server (which can be seen below)
Quest Board:
Let me know what you think of these suggestions and I could possibly help with adding these if needed!
Thanks
RandomTomato
The text was updated successfully, but these errors were encountered: