-
Notifications
You must be signed in to change notification settings - Fork 9
User Disconnect
Ta Van Dung edited this page Aug 18, 2016
·
3 revisions
import com.tvd12.ezyfox.core.annotation.ServerEventHandler;
import com.tvd12.ezyfox.core.command.Log;
import com.tvd12.ezyfox.core.config.ServerEvent;
import com.tvd12.ezyfox.core.content.AppContext;
@ServerEventHandler(event = ServerEvent.USER_DISCONNECT)
public class UserDisconnectHandler {
public void handle(AppContext context, ApiDisconnection disconnection) {
// Your business
}
}
Hello World