mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-12 00:38:48 -07:00
Update ConsoleFunctions.cs
This commit is contained in:
parent
ce8e8b29ac
commit
77871fd514
@ -8,15 +8,11 @@ namespace sodoff.Utils;
|
|||||||
|
|
||||||
public class ConsoleFunctions {
|
public class ConsoleFunctions {
|
||||||
//function to log when the server start and when the server is ready
|
//function to log when the server start and when the server is ready
|
||||||
public static void log(string Option) {
|
public static void log(string Option, int AssetPort) {
|
||||||
if (Option == "Server Start")
|
if (Option == "Server Running")
|
||||||
{
|
|
||||||
Console.WriteLine("Server is starting");
|
|
||||||
}
|
|
||||||
else if (Option == "Server Running")
|
|
||||||
{
|
{
|
||||||
Console.WriteLine("Server is running");
|
Console.WriteLine("Server is running");
|
||||||
Console.WriteLine("Server is running at Asset Server: http://localhost:5001 and Api Server: http://localhost:5000");
|
Console.WriteLine("Server is running at Asset Server: http://localhost:" + AssetPort + "and Api Server: http://localhost:5000");
|
||||||
Console.WriteLine("You can start the game now");
|
Console.WriteLine("You can start the game now");
|
||||||
Console.WriteLine("Press Ctrl + C to close the server");
|
Console.WriteLine("Press Ctrl + C to close the server");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user