Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
This version improves the integration of MITM into CWSRestart and CWSWeb. This is pre-release and should be used for testing purposes only. If you find bugs, please report them to the bug tracker.
- The location of the logfile is now saved (closes #6).
- External programs can register for blacklist/whitelist handling. When they do so, CWSRestart will no longer enforce the lists by itself. This way, you don't need to run CWSRestart as administrator.
- Small bits and pieces, to enable premium slots, see below.
- Added support for premium slots. Premium players need to authenticate through the login page.
- Style changes.
- Changed the 403 page. It will display a link to the premium login, in case premium slots are enabled.
- Added internal user role handling. This makes previous userlists incompatible with this release.
- Cosmetic changes, console now looks like the MITM console.
- Added support for premium slots. Premium slots do not count towards the maximum player limit.
- Changed error handling. You can specify the verbosity in the config file. In addition, a logfile is saved to disc (closes #4).
- multiple code changes
- Improved the performance of player name identification.
The main feature in this version is the player identification in CWSRestart and CWSWeb. I also added userbars and some other new options in the config files.
See http://chrisk91.github.io/CWSRestart/news/2013/08/12/Changes-in-the-upcoming-version.html for more information.
Update 2013-08-14: The MITM server has been updated to fix an issue with palyeridentification
This release should iron out some more issues.
- Added a bunch of options, to enable autostarting the Statistics, the Watcher and CWSProtocol
- Statistics are now saved to a SQLite database, and will "append" to any previous files
- CWSRestart will not send keypresses, if the PC is logged out, or if no Remote Connection is active. If you are autostarting CWSRestart on a machine with no active session, change the
falsein the ServerService.dll.config file in your CWSRestart folder
- Added option to bypass key sending
- Small bits and pieces, no bigger changes
- Some more error handling
- Added ability to specify a minimum level, maximum level and a maximum number of players. Players that are not in the specified range will be kicked, if the number of players reaches the specified player limit, new connections will be dropped.
Special thanks to Milla who contributed to this release.
I commited a small PowerShell script, that should help you to unblock the dll's and executables. You can find it in the tools folder.
Follow these steps to use the script:
- Save it to either the CWSRestart or CWSWeb folder.
- Start PowerShell (preferably as Administrator if you want to add FireWall rules as well)
cdto the CWSRestart or CWSWeb folder
- Start the script with
.\Setup.ps1and follow the directions onscreen.
This version includes more changes in the kicking code. You should now see proper success/failure messages as well.
The MITM server has been updated (CWSRestart and CWSWeb are the same as before and can be found below).
- Added more error handling
- Added message, if anything else is currently listening on the specified port
- Made ports and IPs configurable
You can now use the command line parameter
[port 1] [port 2] [mitm ip] [cw ip] to configure the MITM server.
port 1 - the port on which the MITM server should listen
port 2 - the port on which the CubeWorld server is listening
mitm ip - the ip on which the MITM server should listen
cw ip - the ip on which the CubeWorld server is listening
Every parameter is optional.
This update improves the usability of the web interface and fixes minor issues with the graphs. The player activity graph did weird stuff, when it was zoomed in. Also, you can now kick users (and manage the access list) through the web interface.
Here is the current featureset of the web administration:
- Restart, Stop, Start and Kill the server
- View and clear the log
- View memory usage in comparison to the amount of players
- Kick players and manage your access lists
- Configure the watcher
You will also find a new build of the MITM server. It would be awesome if you could test this. More information here: http://chrisk91.github.io/CWSRestart/mitm.html
The manual on the website will be updated in the coming days
- Fixed an issue, where white- and blacklist would not work as intended
- Fixed an issue, where the server.exe would not be killed after the 10 second timeout
- Added management for your access lists
- Users will now see a 403 page, if you disable statistics
- Cosmetic changes
- Fixed an issue, where testing a connection would leave the connection to CWSRestart open
- minor changes
This is a testing release, to allow you see if the Man-in-the-Middle server is working. For more information head over to
- Initial release
- IP-Lists (for the blacklist/whitelist) can now be saved and restored to/from txt files
- Added support for IP ranges. Enter them as
127.0.0.1 - 127.0.0.255.
- The process to process communication will now only log communication tests to reduce the clutter on the log
- Various other small fixes and changes
- Added a small administrator backend to allow a few administrative tasks. The feature list will grow in the next few days.
- Administrators are managed from the server console (
removecommand) and will be saved to a binary file. The password is a salted SHA256. The salt is stored along with the password.
- Added custom error pages. Internal server errors will now print messages to the console to help debugging
- Various bugfixes and minor changes to improve stability
- Statistics will update every five seconds, so you don't have to hammer F5
- Ironed out a few bugs and improved error handling
- Fixed an issue, where process to process would not work, when CWSRestart was running as administrator
- Improved the standard page. It shows some stats and a graph of recent activity.
- Made recent activity graph zoomable
This development build has some changes to the web API. Most changes are regarding CWSWeb:
- added default page, to serve basic statistics.
- The following routes are available to get data:
/API/statsto get the current statistics
/API/stats/playeractivityto get the amount of players, read from the logfile
To receive statistics over a timespan, you need to save your statistics to a logfile. You can do this by selecting a folder.