Added app name
This commit is contained in:
parent
471886dd34
commit
0c17e240f4
|
@ -247,6 +247,8 @@ type Configuration struct {
|
||||||
// if the debug flag is passed through the command line arguments.
|
// if the debug flag is passed through the command line arguments.
|
||||||
Debug bool
|
Debug bool
|
||||||
|
|
||||||
|
AppName string `json:"app_name" yaml:"app_name"`
|
||||||
|
|
||||||
// A unique identifier for this node in the Panel.
|
// A unique identifier for this node in the Panel.
|
||||||
Uuid string
|
Uuid string
|
||||||
|
|
||||||
|
|
|
@ -127,6 +127,6 @@ func (s *Server) Throttler() *ConsoleThrottler {
|
||||||
func (s *Server) PublishConsoleOutputFromDaemon(data string) {
|
func (s *Server) PublishConsoleOutputFromDaemon(data string) {
|
||||||
s.Events().Publish(
|
s.Events().Publish(
|
||||||
ConsoleOutputEvent,
|
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)),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user