update readme / upgrade game log server packages to work with latest python release
This commit is contained in:
parent
6aa6af526a
commit
19f5f557bd
1
.gitignore
vendored
1
.gitignore
vendored
@ -243,3 +243,4 @@ launchSettings.json
|
|||||||
/Plugins/Tests/TestSourceFiles
|
/Plugins/Tests/TestSourceFiles
|
||||||
/Tests/ApplicationTests/Files/GameEvents.json
|
/Tests/ApplicationTests/Files/GameEvents.json
|
||||||
/Tests/ApplicationTests/Files/replay.json
|
/Tests/ApplicationTests/Files/replay.json
|
||||||
|
/GameLogServer/game_log_server_env
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<SuppressCollectPythonCloudServiceFiles>true</SuppressCollectPythonCloudServiceFiles>
|
<SuppressCollectPythonCloudServiceFiles>true</SuppressCollectPythonCloudServiceFiles>
|
||||||
<Name>GameLogServer</Name>
|
<Name>GameLogServer</Name>
|
||||||
<RootNamespace>GameLogServer</RootNamespace>
|
<RootNamespace>GameLogServer</RootNamespace>
|
||||||
<InterpreterId>MSBuild|log_env|$(MSBuildProjectFullPath)</InterpreterId>
|
<InterpreterId>MSBuild|game_log_server_env|$(MSBuildProjectFullPath)</InterpreterId>
|
||||||
<EnableNativeCodeDebugging>False</EnableNativeCodeDebugging>
|
<EnableNativeCodeDebugging>False</EnableNativeCodeDebugging>
|
||||||
<Environment>DEBUG=True</Environment>
|
<Environment>DEBUG=True</Environment>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@ -62,10 +62,10 @@
|
|||||||
<PathEnvironmentVariable>PYTHONPATH</PathEnvironmentVariable>
|
<PathEnvironmentVariable>PYTHONPATH</PathEnvironmentVariable>
|
||||||
<Architecture>X64</Architecture>
|
<Architecture>X64</Architecture>
|
||||||
</Interpreter>
|
</Interpreter>
|
||||||
<Interpreter Include="log_env\">
|
<Interpreter Include="game_log_server_env\">
|
||||||
<Id>log_env</Id>
|
<Id>game_log_server_env</Id>
|
||||||
<Version>3.6</Version>
|
<Version>3.8</Version>
|
||||||
<Description>log_env (Python 3.6 (64-bit))</Description>
|
<Description>game_log_server_env (Python 3.8 (64-bit))</Description>
|
||||||
<InterpreterPath>Scripts\python.exe</InterpreterPath>
|
<InterpreterPath>Scripts\python.exe</InterpreterPath>
|
||||||
<WindowsInterpreterPath>Scripts\pythonw.exe</WindowsInterpreterPath>
|
<WindowsInterpreterPath>Scripts\pythonw.exe</WindowsInterpreterPath>
|
||||||
<PathEnvironmentVariable>PYTHONPATH</PathEnvironmentVariable>
|
<PathEnvironmentVariable>PYTHONPATH</PathEnvironmentVariable>
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
aniso8601==6.0.0
|
aniso8601==8.0.0
|
||||||
Click==7.0
|
click==7.1.2
|
||||||
Flask==1.0.2
|
Flask==1.1.2
|
||||||
Flask-RESTful==0.3.7
|
|
||||||
itsdangerous==1.1.0
|
itsdangerous==1.1.0
|
||||||
Jinja2==2.10
|
Jinja2==2.11.2
|
||||||
MarkupSafe==1.1.1
|
MarkupSafe==1.1.1
|
||||||
pip==10.0.1
|
pip==20.1
|
||||||
pytz==2018.9
|
pytz==2020.1
|
||||||
setuptools==39.0.1
|
setuptools==46.4.0
|
||||||
six==1.12.0
|
six==1.14.0
|
||||||
Werkzeug==0.16.0
|
Werkzeug==1.0.1
|
||||||
|
44
README.md
44
README.md
@ -1,20 +1,22 @@
|
|||||||
|
|
||||||
# IW4MAdmin
|
# IW4MAdmin
|
||||||
### Quick Start Guide
|
### Quick Start Guide
|
||||||
### Version 2.3
|
### Version 2.4
|
||||||
_______
|
_______
|
||||||
### About
|
### About
|
||||||
**IW4MAdmin** is an administration tool for [IW4x](https://iw4xcachep26muba.onion.link/), [Pluto T6](https://forum.plutonium.pw/category/33/plutonium-t6), [CoD4x](https://cod4x.me/), [TeknoMW3](https://www.teknomw3.pw/), and most Call of Duty® dedicated servers. It allows complete control of your server; from changing maps, to banning players, **IW4MAdmin** monitors and records activity on your server(s). With plugin support, extending its functionality is a breeze.
|
**IW4MAdmin** is an administration tool for [IW4x](https://iw4xcachep26muba.onion.link/), [Pluto T6](https://forum.plutonium.pw/category/6/plutonium-t6), [Pluto IW5](https://forum.plutonium.pw/category/14/plutonium-iw5), [CoD4x](https://cod4x.me/), [TeknoMW3](https://www.teknomw3.pw/), and most Call of Duty® dedicated servers. It allows complete control of your server; from changing maps, to banning players, **IW4MAdmin** monitors and records activity on your server(s). With plugin support, extending its functionality is a breeze.
|
||||||
### Download
|
### Download
|
||||||
Latest binary builds are always available at:
|
Latest binary builds are always available at:
|
||||||
- [RaidMax](https://raidmax.org/IW4MAdmin)
|
|
||||||
- [GitHub](https://github.com/RaidMax/IW4M-Admin/releases)
|
- [GitHub](https://github.com/RaidMax/IW4M-Admin/releases)
|
||||||
|
- [RaidMax](https://raidmax.org/IW4MAdmin)
|
||||||
|
|
||||||
---
|
---
|
||||||
### Setup
|
### Setup
|
||||||
**IW4MAdmin** requires minimal effort to get up and running.
|
**IW4MAdmin** requires minimal effort to get up and running.
|
||||||
#### Prerequisites
|
#### Prerequisites
|
||||||
* [.NET Core 2.2.2 Runtime](https://www.microsoft.com/net/download) *or newer*
|
* [.NET Core 3.1.x Runtime](https://www.microsoft.com/net/download) *or newer*
|
||||||
|
* [Direct Download (Windows)](https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-3.1.4-windows-hosting-bundle-installer)
|
||||||
|
* [Package Installation (Linux)](https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-manager-ubuntu-1910)
|
||||||
#### Installation
|
#### Installation
|
||||||
1. Install .NET Core Runtime
|
1. Install .NET Core Runtime
|
||||||
2. Extract `IW4MAdmin-<version>.zip`
|
2. Extract `IW4MAdmin-<version>.zip`
|
||||||
@ -25,9 +27,14 @@ Windows
|
|||||||
|
|
||||||
Linux
|
Linux
|
||||||
1. Execute `chmod +x StartIW4MAdmin.sh`
|
1. Execute `chmod +x StartIW4MAdmin.sh`
|
||||||
2. Run `StartIW4MAdmin.sh`
|
2. Run `./StartIW4MAdmin.sh`
|
||||||
3. Configure **IW4MAdmin**
|
3. Configure **IW4MAdmin**
|
||||||
|
|
||||||
|
### First Steps
|
||||||
|
1. Go ingame and type via the **ingame chat** `!owner` to claim ownership (full admin permissions) of the server
|
||||||
|
2. Login to the webfront by accessing http://<machine_ip_here>:1624 and clicking on the key icon
|
||||||
|
* You will need to retrieve your login credentials by typing `!rt` ingame
|
||||||
|
|
||||||
### Updating
|
### Updating
|
||||||
1. Download the latest version of **IW4MAdmin**
|
1. Download the latest version of **IW4MAdmin**
|
||||||
2. Extract the newer version of **IW4MAdmin** into pre-existing **IW4MAdmin** folder and overwrite existing files
|
2. Extract the newer version of **IW4MAdmin** into pre-existing **IW4MAdmin** folder and overwrite existing files
|
||||||
@ -59,6 +66,7 @@ When **IW4MAdmin** is launched for the _first time_, you will be prompted to set
|
|||||||
`Enable custom say name`
|
`Enable custom say name`
|
||||||
* Shows a prefix to every message send by **IW4MAdmin** -- `[Admin] message`
|
* Shows a prefix to every message send by **IW4MAdmin** -- `[Admin] message`
|
||||||
* _This feature requires you specify a custom say name_
|
* _This feature requires you specify a custom say name_
|
||||||
|
* _This feature only works on games that support the `sv_sayName` dvar_
|
||||||
* Default — `false`
|
* Default — `false`
|
||||||
|
|
||||||
`Enable social link`
|
`Enable social link`
|
||||||
@ -343,26 +351,13 @@ ___
|
|||||||
* Allows logged in privileged users to execute commands as if they are in-game
|
* Allows logged in privileged users to execute commands as if they are in-game
|
||||||
---
|
---
|
||||||
### Game Log Server
|
### Game Log Server
|
||||||
The game log server provides a way to remotely host your server's log over a http rest api.
|
The game log server provides a way to remotely host your server's log over a http rest-ful api.
|
||||||
This server is useful if you plan on running IW4MAdmin on a different machine than the game server
|
This feature is useful if you plan on running IW4MAdmin on a different machine than the game server.
|
||||||
#### Requirements
|
#### Requirements
|
||||||
- [Python 3.6](https://www.python.org/downloads/) or newer
|
- [Python 3.8.x](https://www.python.org/downloads/) or newer
|
||||||
- The following [PIP](https://pypi.org/project/pip/) packages (provided in `requirements.txt`)
|
|
||||||
```Flask>=1.0.2
|
|
||||||
aniso8601>=3.0.2
|
|
||||||
click>=6.7
|
|
||||||
Flask-RESTful>=0.3.6
|
|
||||||
itsdangerous>=0.24
|
|
||||||
Jinja2>=2.10
|
|
||||||
MarkupSafe>=1.0
|
|
||||||
pip>=9.0.3
|
|
||||||
pytz>=2018.5
|
|
||||||
setuptools>=39.0.1
|
|
||||||
six>=1.11.0
|
|
||||||
Werkzeug>=0.14.1
|
|
||||||
```
|
|
||||||
#### Installation
|
#### Installation
|
||||||
1. With Python 3 installed, open up a terminal/command prompt window in the `GameLogServer` folder and execute:
|
1. With Python 3.x installed, open up a terminal/command prompt window in the `GameLogServer` folder and execute:
|
||||||
```console
|
```console
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
@ -380,6 +375,9 @@ python runserver.py
|
|||||||
```
|
```
|
||||||
The Game Log Server window will need to remain running/open as long as **IW4MAdmin** is running
|
The Game Log Server window will need to remain running/open as long as **IW4MAdmin** is running
|
||||||
|
|
||||||
|
#### Configuring
|
||||||
|
* Update your `IW4MAdminSettings.json` by changing the value of `GameLogServerUrl` to "http://<remote_server_ip>:1625"
|
||||||
|
* Example — `"GameLogServerUrl": "http://192.168.1.123:1625",`
|
||||||
---
|
---
|
||||||
### Extending Plugins
|
### Extending Plugins
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user