diff --git a/config/config.go b/config/config.go index 7f28d8f..137b921 100644 --- a/config/config.go +++ b/config/config.go @@ -247,6 +247,8 @@ type Configuration struct { // if the debug flag is passed through the command line arguments. Debug bool + AppName string `json:"app_name" yaml:"app_name"` + // A unique identifier for this node in the Panel. Uuid string diff --git a/server/console.go b/server/console.go index 1a41f2b..23043a4 100644 --- a/server/console.go +++ b/server/console.go @@ -127,6 +127,6 @@ func (s *Server) Throttler() *ConsoleThrottler { func (s *Server) PublishConsoleOutputFromDaemon(data string) { s.Events().Publish( ConsoleOutputEvent, - colorstring.Color(fmt.Sprintf("[yellow][bold][Pterodactyl Daemon]:[default] %s", data)), + colorstring.Color(fmt.Sprintf("[yellow][bold][%s Daemon]:[default] %s", config.Get().AppName, data)), ) }