@@ -0,0 +1,804 @@
+package yushijinhun.authlibagent.web.servlet;%0A%0Aimport java.util.UUID;%0Aimport javax.servlet.annotation.WebServlet;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport org.json.JSONObject;%0Aimport yushijinhun.authlibagent.web.YggdrasilPostServlet;%0Aimport static yushijinhun.authlibagent.commons.UUIDUtils.toUUID;%0A%0A@WebServlet(%22/session/joinserver%22)%0Apublic class JoinServerServlet extends YggdrasilPostServlet %7B%0A%0A%09private static final long serialVersionUID = 1L;%0A%0A%09@Override%0A%09protected JSONObject process(JSONObject req, HttpServletRequest rawReq) throws Exception %7B%0A%09%09UUID accessToken = toUUID(req.getString(%22accessToken%22));%0A%09%09UUID profile = toUUID(req.getString(%22selectedProfile%22));%0A%09%09String serverid = req.getString(%22serverId%22);%0A%09%09backend.joinServer(accessToken, profile, serverid);%0A%09%09return null;%0A%09%7D%0A%0A%7D%0A

add JoinServerServlet