{"action":"closed","issue":{"url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/issues/1555","repository_url":"https://api.github.com/repos/GameServerManagers/LinuxGSM","labels_url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/issues/1555/labels{/name}","comments_url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/issues/1555/comments","events_url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/issues/1555/events","html_url":"https://github.com/GameServerManagers/LinuxGSM/issues/1555","id":246809701,"node_id":"MDU6SXNzdWUyNDY4MDk3MDE=","number":1555,"title":"lightgreen not defined/printf does not like colours","user":{"login":"drphlux","id":12169494,"node_id":"MDQ6VXNlcjEyMTY5NDk0","avatar_url":"https://avatars2.githubusercontent.com/u/12169494?v=4","gravatar_id":"","url":"https://api.github.com/users/drphlux","html_url":"https://github.com/drphlux","followers_url":"https://api.github.com/users/drphlux/followers","following_url":"https://api.github.com/users/drphlux/following{/other_user}","gists_url":"https://api.github.com/users/drphlux/gists{/gist_id}","starred_url":"https://api.github.com/users/drphlux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drphlux/subscriptions","organizations_url":"https://api.github.com/users/drphlux/orgs","repos_url":"https://api.github.com/users/drphlux/repos","events_url":"https://api.github.com/users/drphlux/events{/privacy}","received_events_url":"https://api.github.com/users/drphlux/received_events","type":"User","site_admin":false},"labels":[{"id":302777506,"node_id":"MDU6TGFiZWwzMDI3Nzc1MDY=","url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/labels/Status:%20dev%20queue","name":"Status: dev queue","color":"FBCA04","default":false},{"id":51384215,"node_id":"MDU6TGFiZWw1MTM4NDIxNQ==","url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/labels/Type:%20bug","name":"Type: bug","color":"d73a4a","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/milestones/1","html_url":"https://github.com/GameServerManagers/LinuxGSM/milestone/1","labels_url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/milestones/1/labels","id":2002226,"node_id":"MDk6TWlsZXN0b25lMjAwMjIyNg==","number":1,"title":"180720","description":"What is planned for the next release","creator":{"login":"dgibbs64","id":4478206,"node_id":"MDQ6VXNlcjQ0NzgyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4478206?v=4","gravatar_id":"","url":"https://api.github.com/users/dgibbs64","html_url":"https://github.com/dgibbs64","followers_url":"https://api.github.com/users/dgibbs64/followers","following_url":"https://api.github.com/users/dgibbs64/following{/other_user}","gists_url":"https://api.github.com/users/dgibbs64/gists{/gist_id}","starred_url":"https://api.github.com/users/dgibbs64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgibbs64/subscriptions","organizations_url":"https://api.github.com/users/dgibbs64/orgs","repos_url":"https://api.github.com/users/dgibbs64/repos","events_url":"https://api.github.com/users/dgibbs64/events{/privacy}","received_events_url":"https://api.github.com/users/dgibbs64/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":13,"state":"open","created_at":"2016-09-13T19:02:29Z","updated_at":"2018-08-13T20:59:02Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-07-31T16:08:37Z","updated_at":"2018-08-13T20:59:02Z","closed_at":"2018-08-13T20:59:02Z","author_association":"NONE","body":"- [x] lightgreen is not defined\r\n- [x] printf does not like colours\r\n\r\nExample: \r\n```\r\n[sdtdserver@mynuc ~]$ grep lightgreen lgsm/functions/command_details.sh \r\n\techo -e \"${lightgreen}${gamename} Server Details${default}\"\r\n\techo -e \"${lightgreen}${selfname} Script Details${default}\"\r\n\techo -e \"${lightgreen}Backups${default}\"\r\n\techo -e \"${lightgreen}Command-line Parameters${default}\"\r\n\techo -e \"${lightgreen}Ports${default}\"\r\n\techo -e \"${lightgreen}${servername} WebAdmin${default}\"\r\n\techo -e \"${lightgreen}${servername} Telnet${default}\"\r\n\techo -e \"${lightgreen}${servername} WebAdmin${default}\"\r\n\techo -e \"${lightgreen}${servername} WebAdmin${default}\"\r\n```\r\nBut lightgreen is not defined:\r\n```\r\n[sdtdserver@mynuc ~]$ grep light lgsm/functions/core_messages.sh \r\n\tlightyellow=\"\\e[93m\"\r\n\tlightblue=\"\\e[94m\"\r\n```\r\nAlso, printf seems to mess up the color coding: \r\n\r\n```\r\nPerformance\r\n========================\r\n\\x1b[34mUptime:    \\x1b[0m6d, 6h, 39m\r\n\\x1b[34mAvg Load:  \\x1b[0m0.45, 0.62, 0.73\r\n\r\n\\x1b[34mMem:       \\x1b[34mtotal   used   free        cached\\x1b[0m\r\n\\x1b[34mPhysical:  \\x1b[0m31G     1.9G   16G         47M\\x1b[0m\r\n\\x1b[34mSwap:      \\x1b[0m15G     0B     15G\\x1b[0m  \r\n```"}}
{"actor":{"display_login":"dgibbs64"}}