Giter Club home page Giter Club logo

deadmatterservermanager's Introduction

Dead Matter Server Manager

A GUI server manager for Dead Matter dedicated servers. Idea was to create a simple and clean interface for managing dedicated servers and the associated configurations without manually needing to locate and edit different ini files. The application is constantly being updated and I welcome any ideas/suggestions for improvements along with bug reports.

IMPORTANT INFO

Due to lack of time at the moment I recommend just using batch files as per the guide provided here to run a server until I can find some time to clean up most of the unused/incorrect stuff in the current application.

Features

  • Configure server settings from within the application - no manual editing of ini files required
  • Set your maximum memory limit - if the server goes above your limit the application will restart your server
  • Set up timer or schedule based restarts
  • Log each time your server restarts and record the previous uptimes and player counts
  • Integrate with Discord web hooks to notify your community when the server is restarting
  • Send email notifications via your preferred SMTP server
  • Back up your data in case of corruption
  • Get the world location of characters on your server

You can submit requests and/or issues here, or drop me a message on Discord @winglessraven#4334

GitHub All Releases Screenshot

Installer File

  • Installation file can be found under releases
  • Grab the latest .msi file and run to install the application
  • If you are greeted with a 'Windows Smart Screen' pop-up, click 'more info' and 'run anyway'. Only way for me to get rid of this pop-up is to pay a fortune to get certified
  • Once the application is installed follow the 'first run steps' to get up and running

First run steps

If you plan to install via SteamCMD

  • Set your SteamCMD path (if you don't have it, choose a folder to install to)
  • Update SteamCMD
  • Set your Server Folder path (if you don't have it, choose a folder to install to)
  • Enter your Steam ID and Password (these are used for getting the server files via SteamCMD and are not stored anywhere)
  • Update Server

If you plan to install via Steam Client (note, currently this seems to cause less issues when running the server)

  • Locate 'Dead Matter Dedicated Server' in your Steam library under Tools
  • Install and run once from your library. Once the server has fully loaded, close it down
  • Open up the Server Manager and point the Server Folder path to your install location

Configuration

  • If you already have a server configuration click Get Config to populate the settings table with your current settings
  • Modify the settings as required
  • Add admins/whitelist players via the Admin/Whitelist tab
  • Save Config to write your changes to the server configuration files
  • Enter your maximum memory for the server, when the server reaches this value it will restart. If you do not set a value the server will just run until it crashes and will automatically restart
  • If you wish to restart the server on a timer, set the number of minutes you want your server to run for before restarting
  • If you want to restart on a schedule, enable the option and click 'Configure Restart Schedule' to add the times you want the server to restart
  • For email notifications, input your smtp server details and test. Note, some providers have an extra layer of security that could block connections.
  • Enable backups to take a scheuled backup of your data (ini files and server database), configure your schedule and retention policy as required. Restore files selectively by choosing your options before clicking 'restore now'.

Start Server

  • Starting the server will launch a new window with the server output.
  • If the server crashes for any reason the application will automatically start it again.
  • If you want to stop the server, click Stop Server

How to Configure Discord Integration

  • In your Discord server, go to Server Settings -> Integrations -> Webhooks
  • Create a new Webhook and call it what you want your bot to be called, e.g. Screenshot
  • Choose which channel you want the bot to post in
  • Save your changes in Discord
  • Click Copy Webhook URL
  • Paste your URL into the appropriate box in the application
  • Click Test Webhook and you should see the test message appear in your channel
  • Configure which alerts you want to see and change the text if required

Screenshot

deadmatterservermanager's People

Contributors

evopulsegaming avatar winglessraven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

evopulsegaming

deadmatterservermanager's Issues

When reaching the restart timer, might be the same problem as before.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Dead_Matter_Server_Manager.ServerManager.b__37_0()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Dead_Matter_Server_Manager.ServerManager.d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3661.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

Dead Matter Server Manager
Assembly Version: 1.6.16.0
Win32 Version: 1.6.16.0
CodeBase: file:///E:/Dead%20Matter%20Server%20Manager/Dead%20Matter%20Server%20Manager.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3580.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3640.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3630.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3661.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

FR Automated Server Messages

The ability to schedule automated messages, whether by timed increments , ie x minutes or scheduled time, ie 3pm.

Does not even open

Program does not open after install. It lets me click it and then nothing happens.

FR Email integration for Admin Support tick

The ability to have the sm send an email to the owner/admins per a chat command request for help or technical issues. ie quick way to send for help if hackers start messing with the server.

FR Backup on server restart/File being used by another process

When attempting to backup while the server is running, this gets logged: "Backup Failed! The process cannot access the file %DM PATH%\deadmatter\Saved\Database\Database.db3' because it is being used by another process."
Could a checkbox be added to run a backup whenever the server does a scheduled restart?

FR: Send email on crash

Have the SM send an email when it crashes/errors out. People aren't always on discord and it would be good to know if the SM crashes as it kills the server too.

Crash .net

.net crash log:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Dead_Matter_Server_Manager.ServerManager.b__47_0()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Dead_Matter_Server_Manager.ServerManager.d__47.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3750.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

Dead Matter Server Manager
Assembly Version: 1.10.10.0
Win32 Version: 1.10.10.0
CodeBase: file:///C:/Program%20Files/winglessraven/Dead%20Matter%20Server%20Manager/Dead%20Matter%20Server%20Manager.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3701.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3650.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3062.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3630.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3770.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3062.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

discord-webhook-client
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files/winglessraven/Dead%20Matter%20Server%20Manager/discord-webhook-client.DLL

netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.7.3062.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll

notifique-me
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0
CodeBase: file:///C:/Program%20Files/winglessraven/Dead%20Matter%20Server%20Manager/notifique-me.DLL

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

FR Custom Commands

The ability to create custom commands via the chat box, and if possible to execute through sm console or discord.

This has been popping up all day. At restart time, it seems.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): Access is denied
at System.Windows.Forms.SendKeys.SendInput(Byte[] oldKeyboardState, Queue previousEvents)
at System.Windows.Forms.SendKeys.Send(String keys, Control control, Boolean wait)
at System.Windows.Forms.SendKeys.SendWait(String keys)
at Dead_Matter_Server_Manager.Form1.b__36_0()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Dead_Matter_Server_Manager.Form1.d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3661.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

Dead Matter Server Manager
Assembly Version: 1.6.15.0
Win32 Version: 1.6.15.0
CodeBase: file:///E:/Dead%20Matter%20Server%20Manager/Dead%20Matter%20Server%20Manager.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3580.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3640.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3630.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3661.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

FR Chat box

A chat box to be able to chat with players in game from the server manager.

FR Custom Hooks

The ability to trigger commands via log event, ie player joins server for the first time, dies, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.