Index: binary-improvements/MapRendering/ModInfo.xml
===================================================================
--- binary-improvements/MapRendering/ModInfo.xml	(revision 359)
+++ binary-improvements/MapRendering/ModInfo.xml	(revision 360)
@@ -5,5 +5,5 @@
 		<Description value="Render the game map to image map tiles as it is uncovered" />
 		<Author value="Christian 'Alloc' Illy" />
-		<Version value="33" />
+		<Version value="35" />
 		<Website value="http://7dtd.illy.bz" />
 	</ModInfo>
Index: binary-improvements/MapRendering/Web/API/ExecuteConsoleCommand.cs
===================================================================
--- binary-improvements/MapRendering/Web/API/ExecuteConsoleCommand.cs	(revision 359)
+++ binary-improvements/MapRendering/Web/API/ExecuteConsoleCommand.cs	(revision 360)
@@ -31,8 +31,7 @@
 			}
 
-			AdminToolsCommandPermissions atcp =
-				GameManager.Instance.adminTools.GetAdminToolsCommandPermission (command.GetCommands ());
+			int commandPermissionLevel = GameManager.Instance.adminTools.GetCommandPermissionLevel (command.GetCommands ());
 
-			if (_permissionLevel > atcp.PermissionLevel) {
+			if (_permissionLevel > commandPermissionLevel) {
 				_resp.StatusCode = (int) HttpStatusCode.Forbidden;
 				Web.SetResponseTextContent (_resp, "You are not allowed to execute this command");
Index: binary-improvements/MapRendering/Web/API/GetAllowedCommands.cs
===================================================================
--- binary-improvements/MapRendering/Web/API/GetAllowedCommands.cs	(revision 359)
+++ binary-improvements/MapRendering/Web/API/GetAllowedCommands.cs	(revision 360)
@@ -9,7 +9,6 @@
 			JSONArray entries = new JSONArray ();
 			foreach (IConsoleCommand cc in SdtdConsole.Instance.GetCommands ()) {
-				AdminToolsCommandPermissions atcp =
-					GameManager.Instance.adminTools.GetAdminToolsCommandPermission (cc.GetCommands ());
-				if (_permissionLevel <= atcp.PermissionLevel) {
+				int commandPermissionLevel = GameManager.Instance.adminTools.GetCommandPermissionLevel (cc.GetCommands ());
+				if (_permissionLevel <= commandPermissionLevel) {
 					string cmd = string.Empty;
 					foreach (string s in cc.GetCommands ()) {
Index: binary-improvements/MapRendering/Web/API/GetServerInfo.cs
===================================================================
--- binary-improvements/MapRendering/Web/API/GetServerInfo.cs	(revision 359)
+++ binary-improvements/MapRendering/Web/API/GetServerInfo.cs	(revision 360)
@@ -9,5 +9,5 @@
 			JSONObject serverInfo = new JSONObject ();
 
-			GameServerInfo gsi = Steam.Masterserver.Server.LocalGameInfo;
+			GameServerInfo gsi = ConnectionManager.Instance.LocalServerInfo;
 
 			foreach (string stringGamePref in Enum.GetNames (typeof (GameInfoString))) {
Index: binary-improvements/MapRendering/Web/Web.cs
===================================================================
--- binary-improvements/MapRendering/Web/Web.cs	(revision 359)
+++ binary-improvements/MapRendering/Web/Web.cs	(revision 360)
@@ -245,5 +245,6 @@
 				}
 			} catch (Exception e) {
-				Log.Out ("Error in Web.HandleRequest(): " + e);
+				Log.Error ("Error in Web.HandleRequest(): ");
+				Log.Exception (e);
 			} finally {
 				if (ctx != null && !ctx.Response.SendChunked) {
@@ -276,6 +277,5 @@
 				if (con != null) {
 					_con = con;
-					return GameManager.Instance.adminTools.GetAdminToolsClientInfo (_con.SteamID.ToString ())
-						.PermissionLevel;
+					return GameManager.Instance.adminTools.GetUserPermissionLevel (_con.SteamID.ToString ());
 				}
 			}
@@ -297,6 +297,5 @@
 						WebConnection con = connectionHandler.LogIn (id, _req.RemoteEndPoint.Address);
 						_con = con;
-						int level = GameManager.Instance.adminTools.GetAdminToolsClientInfo (id.ToString ())
-							.PermissionLevel;
+						int level = GameManager.Instance.adminTools.GetUserPermissionLevel (id.ToString ());
 						Log.Out ("Steam OpenID login from {0} with ID {1}, permission level {2}",
 							_req.RemoteEndPoint.ToString (), con.SteamID, level);
