The WailaManager allows you to enable / disable the WAILA overlay for players.
// Get the current statevalenabled=wailaManager.getState(player)// Enable the WAILA overlaywailaManager.setState(player,true)// Disable the WAILA overlaywailaManager.setState(player,false)
// Get the current statebooleanenabled=wailaManager.getState(player);// Enable the WAILA overlaywailaManager.setState(player,true);// Disable the WAILA overlaywailaManager.setState(player,false);