Originally Posted by
BlackVodka
Dear Runeserver,
I am making a tutorial for my private server but i want to disable the chat, so you cant do ;;home or something.
I've seen a Dialogue in the chat, you cant click away. i tried SendDialogue, but you can click it away.
Does somebody know how to do this?
Greetz,
If your looking to make interface not click through as in for example if you missed the option and clicked on the space in the interface and you don't want it to close the interface and walk there
go to InterfaceManager.java
search for
Code:
sendChatBoxInterface
replace
Code:
player.getPackets().sendInterface(true, 752, CHAT_BOX_TAB, interfaceId);
with
Code:
player.getPackets().sendInterface(false, 752, CHAT_BOX_TAB, interfaceId);
Now if you miss the option by clicking on the space in the dialogue interface it won't close and walk there where you clicked
If that helped leave a thanks pl0x