[Register] [771912 Members] [93398 Online; 478 Members, 92920 Guests]  
Crysis
File Search





Crysis Downloads > Utilities:
Crysis / Crysis Wars Web Admin (0.1.0)
Filename: crysiswebadminv0.1.0.1.zip


Size:
Version:
Developer:
Homepage:
Downloads:
Date Added:
Requirements:
Type / Category:
779.52 KB
0.1.0
Waking Hour
http://webadmin.wakinghour.org
1798
07-11-2009
.NET Framework 2.0
Utilities


Average User Rating: 8.2
Number of Votes: 19
Related Files:
Latest 4 Utilities:
- EasyLog (1)
- Crysis Jungle Warfare (Demo)
- Rconnect (2.0 beta 4)
- Crytools Launcher (v1.0 Beta)

Other Files by Waking Hour:
  No Files Found!


 Crysis
 » System Requirements
 » Overview
 » Crysis Downloads
    - Crysis Demo
    - Maps
    - Mods
    - Media
    - Crysis Patches
    - Skins
    - Utilities
 » File Search
 » Submit Files
 » Controls
 » Screenshots

 The News
 » Crysis News
 » News Archive
 » Submit News

 The Community
 » Submit PotD
 » PotD Archive
 » Links
 » Crysis Forums
    - General Discussion
    - Modding and Editing
    - Problems, Errors, Help
    - Clan Forums

 The Site
 » Latest Poll
 » About
 » Staff
 » Apply To Volunteer
 » Contact





Crysis / Crysis Wars Web Admin (0.1.0) - File Description  


Description:
Here we have an excellent tool for all you server admins out there. The server admins and programmers from the Waking Hour mod team (responsible for developing Project Rise) have recently released this utility, originally intended for use in Rise, deeming it to be a valuable asset to the community. To summarise it, it lets you "manage all server settings from a simple, fully customisable web site". Here's the full list of features:

Quote:
Features:
Multi-admin high secure web interface (IP range restriction, HTTPS, Sandboxing)
Individual admin privileges
Works for Crysis and Crysis Wars
Server anti crash and scheduled auto restart
Does not require any modifications to server files (apart from autoexec.cfg)
Fast template engine for customizable HTML pages
Automatic updates
Runs on Windows and Linux

With the web interface you can:
Kick and ban players (bans can be given a note/reason which is logged)
Set game/server settings
Manage level rotation
Upload new maps/map packs (ZIP & RAR) from you local machine or an URL (HTTP & FTP)
Use the chat and view the console
Restart the server
Manage web administrators and much more.


Instructions on installing this tool are provided in the download. If you need help or wish to share some thoughts on this asset, a small forum has been set up here. Also available is a demo implementation of the utility, located here (the username and password are both "test").



Crysis / Crysis Wars Web Admin (0.1.0) - Screenshots  
Screenshots:
Click to enlarge Click to enlarge


Crysis / Crysis Wars Web Admin (0.1.0) - File Download Options  

Primary Download Locations:
  Name:
Location:
Provided by:
Worldwide Mirror by FileFront
usa - USA Central USA Central
FileFront.com
 

Download from Worldwide Mirror by FileFront Download Crysis / Crysis Wars Web Admin!



Crysis / Crysis Wars Web Admin (0.1.0) - Readme  
Readme File:
Crysis WebAdmin

A Server Web Administration Interface

By Fabian ‘Fabifott’ Schlieper

fabi.me











1. Introduction 2

Features 2

2. Setup 3

Crysis Server 3

Web Interface 3

Windows 3

Linux 3

WebAdmin Settings 4

WebAdmin Console 4

3. Creating Templates 5

Special Expressions 5

Environment Variables 5

Public Classes Declarations 6

public class TemplateBindings 6

public class TemplateBindingsRequest 6

public class TemplateBindingsServer 6

public sealed class WebUserInfo 7

public enum WebUserPrivileges 7

public class CrysisServerInfo 7

public class CrysisServerStatus 8

public class CrysisMapInfo 8

public class CrysisLevelRotationListEntry 8

public class CrysisPlayerInfo 9

public class CrysisServerConnectionInfo 9

public class CrysisServerBanInfo 9

public class CrysisChatEntry 9







1. Introduction
Crysis WebAdmin is a Web Administration Interface allowing you to administer your Crysis or Crysis Wars Server with a web browser.

It's a small standalone application that can either run on the game server machine or (with restricted functionalities) remotely on another server.



Features
§ multi-admin high secure web interface (IP range restriction, HTTPS, Sandboxing)

§ individual admin privileges

§ for Crysis and Crysis Wars

§ server anti crash and scheduled auto restart[1]

§ does not require any modifications to server files (apart from autoexec.cfg)

§ fast template engine for customizable HTML pages

§ automatic updates

§ runs on Windows and Linux



With the web interface you can …

… kick and ban players (bans can be given a note/reason)

… set game/server settings

… manage level rotation1

… upload new maps/map packs (ZIP & RAR[2]) from you local machine or an URL (HTTP & FTP) 1

… use the chat and view the console1

… restart the server1

… manage web administrators and much more.







2. Setup
Crysis Server
The web admin requires access to the external RCon HTTP Interface.

To enable the interface add the following two lines to your autoexec.cfg:



http_password <password>

http_startserver port:8080



Replace <password> with a password that you later define in the WebAdmin Settings. Instead of port 8080 you can choose any port you like, except the Crysis game ports and ports already in use by you server.



For Linux: Commands like g_nextlevel or map <map> in your autoexec.cfg may cause trouble when the RCon HTTP Interface is enabled. The WebAdmin will call g_nextlevel automatically at the first connect, so just leave them out.



Web Interface
Windows
Make sure you have at least .NET Framework 2.0 installed. Run CrysisWebAdmin.exe and proceed to WebAdmin Settings.



Linux
To run Crysis Server Web Admin Interface under Linux the Mono Framework has to be installed.

The following packages are required:



mono-jit

mono-gmcs

libmono-i18n2.0-cil



If you want to run the WebAdmin Interface in GUI mode you additionally need the Winforms package:

libmono-winforms2.0-cil





On Debian or Ubuntu you can get them with apt-get:



$ apt-get install mono-jit mono-gmcs libmono-i18n2.0-cil



On Suse you can use Yast. Visit http://www.mono-project.com/ for more information.

Once you have installed Mono, make the files start-gui and start-console exectuable:



$ chmod 755 start-gui

$ chmod 755 start-console



That&apos;s it. Now you can either run the interface in GUI or console mode.

To start it with a nice GUI:



$ ./start-gui



Or to run in the shell:



$ ./start-console



See WebAdmin Console for information about the console mode.



WebAdmin Settings


Crysis Server Settings

In the Application GUI click on the tab "Crysis Server Settings".

Enter the game server IP address or hostname (if the web interface is running on the same machine it&apos;s localhost) and the RCon details you set in the autoexec.cfg.

If your game server is running on Linux, you should enable Always keep RCon Connection alive, since it doesn’t accept RCon connection after the first one was closed.

Set the right server type and check the path settings.

The path of the server start file can be either set to the server’s executable (e.g CrysisWarsDedicatedServer.exe or CrysisDedicatedServer.exe) or a batch file (for Linux: a shell script).

If you specify the executable path you can additionally define start arguments.

Note that there is no server log file before the game server run the first time. So if cannot find a Server.log (on linux fp_log.txt) just run server’s executable and close it after it finished loading.



For Linux: the start file should be a shell script including a cd to the Crysis root path. For example:

#! /bin/sh

cd /path/to/CrysisWars

./Bin32/crysiswars-lnxserver -root "/path/to/CrysisWars" +exec "server.cfg"



If you want allow users to edit server.cfg or autoexec.cfg you can add these files to the text editor settings.





Web Interface Settings

Now click the tab "Web Interface Settings". Define the desired web interface port (default HTTP port is 80). Only enable SSL if you have a valid SSL certificate installed! (Otherwise you’ll get a blank page in your browser.)

Last step is to add web admin accounts. Click "Add admin..." and enter the admin details.

To test your server settings click "Test Crysis Server connection" after having started the game server.

If the test succeeds, click "Start WebAdmin Interface" and change to the "Log" tab to see what is going on.

Open your web browser and browse to http://localhost/ or http://localhost:[port]/ if your HTTP listening port is not set to default 80.



Common Settings

Here you can define the path to the WinRar extractor command line executable (usually unrar.exe). If provided it is possible to upload maps and map packs in RAR archives. Otherwise, only ZIP is supported.

The option Disable template cache is useful for template creation since the templates will be compiled each request. Do not enable this when running on a live server, as it might cause security flaws.

If you want to test your template without running a game server enable Template test mode.

Clicking on the button View registered WebAdminActions… opens a dialog showing all registered admin actions and their required privileges. This is useful for template creation as well.

WebAdmin Console
When running in GUI mode, all settings are easily accessible. In console mode (run WebAdmin with the –console parameter) it’s not that comfortable:

With the first run of the WebAdmin the file WebAdminSettings.xml is created in the folder of the executable. This file stores all settings of the interface, including admin accounts.

You can either edit the file with a text editor or you can run the Web Interface in GUI mode (on Windows or Linux), adjust the settings and use the created WebAdminSettings.xml.



Console commands

start Start the Web Interface

stop Stop the Web Interface

adduser Add a user. Usage: adduser username password [privileges]

quit, exit Exit the web interface



3. Creating Templates
First create a folder with a name of your choice in the templates directory. The name of the folder will appear in the template list. The easiest way to start is to copy all files from the default template to the new folder and building your templates on the existing one. (Warning: Do not edit the default template if you have automatic update enabled! The updater will overwrite all changed files the next time you start the interface.)

Don’t forget to disable the template cache, as this offers a fast way to test the output.



The template language is based on C# using ASP-like code tags. Experiences in C-like programming language are recommended. A code tag looks like <% [the C# code] %>.



Code sections "{ ...code... }" can go across code tags, e.g.



<% if(trueOrFalse) { %>

... HTML Code ...

<% } %>

Special Expressions
To include a template into another use the following code line:



<%@ Include File="file.inc.html" %>



To print a value in the HTML-code use this tag:



<%=someValue%>



someValue can be a variable of any type and will be converted into a string.

Environment Variables
There are four environment variables accessible from the template code:



Name
Type
Description

Interface
TemplateBindings
Provides common output functions

Request
TemplateBindingsRequest
Information about the HTTP request

Admin
WebUserInfo
Represents the logged in web administrator

Server
TemplateBindingsServer
Provides functions to get data from the game server




All these variables are pointers to objects, so use the following syntax to access their members:



<%=Server.GetName()%> (This tag prints the server name)



Since this document does not explain the functions of the public class members it is best you take a look at the default template files before creating your own. Most of the member names are self-explanatory.







Public Classes Declarations


Here you find the public declaration extracts of all classes accessible by the template code.



public class TemplateBindings
{

public bool TextEditorEnabled { get; }

public string[] TextEditorFiles { get; }



public UserCommandLogEntry[] GetCommandLog();

public UserCommandLogEntry[] GetCommandLog(WebUserInfo user);

public string GetSupportedArchiveExtensions();

public string GetTextFileContent(string file);

public string HtmlEscape(object data);

public string HtmlEscape(object data, bool parseColorTags);

}




public class TemplateBindingsRequest
{

public string GetTextEditorFile();

public WebUserInfo GetUser();

public string GetVar(string name);

}





public class TemplateBindingsServer
{

public bool AntiCrashEnabled { get; }

public bool AutoRestartEnabled { get; }

public bool IsCrysisWarsServer { get; }

public bool IsResponding { get; }

public bool IsRunningLocally { get; }



public CrysisMapInfo[] GetAllMaps();

public int GetAutoRestartInterval();

public DateTime GetAutoRestartTime();

public bool GetAutoTeamBalance();

public string[] GetAvailableGameTypes();

public CrysisMapInfo[] GetAvailableMaps();

public CrysisServerBanInfo[] GetBans();

public CrysisChatEntry[] GetChat();

public CrysisLevelRotationListEntry[] GetConnections();

public string[] GetConsoleLog();

public byte GetCPUUsage();

public string GetCurrentMapName();

public string GetGameRules();

public CrysisServerInfo GetInfo();

public CrysisLevelRotationListEntry[] GetLevelRotation();

public string[] GetMapDirectories();

public CrysisMapInfo[] GetMapsToAdd();

public string GetMaskedPassword();

public int GetMaxPlayers();

public int GetMemoryUsage();

public int GetMinTeamLimit();

public string GetName();

public CrysisPlayerInfo[] GetPlayerList();

public bool GetRandomizeLevelRotation();

public int GetReviveTime();

public CrysisServerStatus GetStatus();

public CrysisPlayerInfo[] GetTeamPlayers(byte team);

public byte[] GetTeams();

public int GetTimelimit();

public bool GetTKPunish();

public int GetTKPunishLimit();

}





public sealed class WebUserInfo
{

public DateTime LastAccessTime;



public string Name { get; set; }

public byte[] PasswordHash { get; set; }

public WebAdminPrivileges Privileges { get; set; }



public bool CanBan();

public bool CanChangeGameSettings();

public bool CanChangeGameType();

public bool CanChangeMap();

public bool CanChangeServerSettings();

public bool CanDeleteMaps();

public bool CanKick();

public bool CanManageMapRotation();

public bool CanManageUsers();

public bool CanRestartMap();

public bool CanRestartServer();

public bool CanUploadMap();

public bool CanUseConsole();

public bool CanUseTextEditor();

public WebAdminPrivileges[] GetInheritablePrivileges();

public WebUserInfo[] GetJuniorUsers();

public byte GetUploadPercentage();

public TimeSpan GetUploadTimeLeft();

public bool HasPrivilege(WebAdminPrivileges priv);

public override string ToString();

}





[Flags]

public enum WebUserPrivileges
{

None = 0,

KickPlayers = 1,

BanPlayers = 2,

RestartMap = 4,

ChangeGameType = 8,

ChangeMap = 16,

ManageMapRotation = 32,

UploadMap = 64,

DeleteMaps = 128,

ChangeGameSettings = 256,

ChangeServerSettings = 512,

RestartServer = 1024,

UseConsole = 2048,

ManageUsers = 4096,

UseTextEditor = 8192,

All = 16383,

}





public class CrysisServerInfo
{

public bool AntiCheat;

public bool Dedicated;

public bool DirectX10;

public bool FriendlyFire;

public string GameMode;

public bool GamepadsOnly;

public string GameType;

public string GameVersion;

public bool HaveData;

public IPAddress IPAddress;

public Exception LastError;

public string Map;

public byte MaxPlayers;

public string ModName;

public string ModVersion;

public string Name;

public byte NumPlayers;

public bool Official;

public bool PasswordProtected;

public int Ping;

public CrysisPlayerInfo[] Players;

public ushort Port;

public byte[] Teams;

public int TimeLeft;

public int TimeLimit;

public bool Updating;

public bool VoiceComm;

public CrysisPlayerInfo[] GetTeamPlayers(byte team);

}




public class CrysisServerStatus
{

public readonly CrysisServerConnectionInfo[] Connections;

public readonly string GameRules;

public readonly string HostName;

public readonly string LevelPath;

public readonly int MaxPlayers;

public readonly int NumPlayers;

public readonly TimeSpan TimeRemaining;

}





public class CrysisMapInfo
{

public readonly string Description;

public readonly string[] GameTypes;

public readonly string HeaderText;

public readonly string MapPath;

public readonly string Name;



public override string ToString();

}





public class CrysisLevelRotationListEntry
{

public readonly string GameRules;

public int Id;

public readonly CrysisMapInfo MapInfo;

public readonly string MapPath;



public override string ToString();

}


public class CrysisPlayerInfo
{

public readonly int Deaths;

public readonly int Headshots;

public readonly int Id;

public readonly int Kills;

public readonly string Name;

public readonly string Rank;

public readonly byte Team;

}





public class CrysisServerConnectionInfo
{

public readonly int Id;

public readonly string IP;

public readonly string Name;

public readonly int Ping;

public readonly int Profile;

public readonly int State;

}





public class CrysisServerBanInfo
{

public readonly int ProfileId;

public readonly TimeSpan TimeLeft;

}





public class CrysisChatEntry
{

public readonly string Message;

public readonly string Receiver;

public readonly DateTime Time;

public readonly string Username;



public override string ToString();

}



--------------------------------------------------------

[1] This feature is only available if the web interface is running on the game server machine

[2] Uploading RAR archives requires WinRar to be installed (http://www.rarsoft.com/download.htm)


Crysis / Crysis Wars Web Admin (0.1.0) - User Comments  
The following comments are owned by the user that posted them. CrysisGameFiles.com is not responsible for their content.

Total comments: 2 | Last comment: 08-23-2009 at 08:39

 #1 - 5rtgfe4f - 08-23-2009 at 08:39
123456789
Joined: January 24th, 2002
Posts: 18
5rte5rtged

 #2 - 45refdgte5rte - 08-23-2009 at 08:39
123456789
Joined: January 24th, 2002
Posts: 18
rterterterterterterterterterterterterterterterterterte



When posting comments, you must follow these rules:
  1. No "Yay I got First Post!" posts, no exceptions and no matter what other content the post has!
  2. No Pornographic Material. Any sexually oriented imagery or links to such content will not be tolerated.
  3. No Warez or Illegal Software. This includes linking to software, posting about it, and suggesting to get it.
  4. No Cursing or Swear words. We encourage you to use our comment sections as a forum to debate files, news, etc., but please use proper adjectives to express yourself. We will not tolerate abuse upon another member or author.
  5. No Attacks / Retaliation of any kind against a member, or group of members.
  6. Please do not advertise for other sites or forums here.
  7. Maximum of 3 smileys per regular member.
The high interactivity of this site should be considered a luxury, not a right. If you cannot follow these simple rules, you can and will be warned or banned from the comments, site or the entire network for any period of time.
Now enjoy yourself and behave!



  • Register: To get your own Username, click here!
  • Forgot your password? click here!
  • You can use UBB here!
Username:     Password:  
Remember my username and password
Comment Title:
Your comments for this File please:


 Latest Files
 » Meshavis Canals (1.0)
 » Realistico Xtrem.. (2.0)
 » Meshavis Canal.. (1.2.1)
 » MP5 (???)
 » Crysis - Bolivia (1.0)
 » Crysis - Atoll_M.. (1.0)
 » j.muliawan exp 2 - a..
 » Crysis 2 The rea.. (1.0)
 » LeoBlue (1.0)
 » The Final Battl.. (V0.1)

 Latest News
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..

 The Network
 » Gaming News
 » Game Demos
 » Game Patches
 » Trailer Videos
 » Gaming Forums

 Game Portals:
 » Age of Empires 3
 » Aliens vs Predator 2
 » America's Army
 » ArmA 2
 » Armada 2
 » Battlefield 1943
 » Bridge Commander
 » Brothers in Arms 2
 » Call of Duty 4
 » Command & Conquer
 » Company of Heroes
 » Crysis
 » Counter-Strike: Source
 » Dawn of War Series
 » Day of Defeat: Source
 » Diablo 3
 » Doom 3
 » Elite Force
 » Enemy Territory
 » Fallout 3
 » Far Cry 2
 » F.E.A.R.
 » Flight Simulator X
 » GTA San Andreas
 » Half-Life 2
 » Halo
 » Jedi Knight 3
 » Knights of the Old Republic
 » Left 4 Dead 2
 » LOTR: Battle 4 Middle Earth
 » Medal of Honor
 » Operation Flashpoint
 » Quake 4
 » Red Faction: Guerrilla
 » rFactor
 » Silent Hunter 4
 » Sins of a Solar Empire
 » Soldier of Fortune 2
 » S.T.A.L.K.E.R.
 » Star Trek: Legacy
 » Star Wars Battlefront 2
 » Star Wars Empire at War
 » StarCraft II
 » Starfleet Command III
 » Supreme Commander
 » Team Fortress 2
 » The Elder Scrolls IV
 » The Sims 2
 » TrackMania United
 » Unreal Tournament 3
 » Warcraft III
 » World of Warcraft
 » X3: Terran Conflict

You got served by in 0.0339 seconds using 6 MySQL queries and 13 includes
Copyright © 2013 FileFront, Inc. All rights reserved.
Design by Jos Jongejan aka Pro-Filer & FileFront. Use of CrysisGameFiles.com materials is subject to certain Terms & Conditions.
TM & © 2013 Crytek Studios. All rights reserved. Crysis and related marks are trademarks of Crytek Studios