{"action":"created","issue":{"url":"https://api.github.com/repos/TotalFreedom/TotalFreedomMod/issues/317","labels_url":"https://api.github.com/repos/TotalFreedom/TotalFreedomMod/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/TotalFreedom/TotalFreedomMod/issues/317/comments","events_url":"https://api.github.com/repos/TotalFreedom/TotalFreedomMod/issues/317/events","html_url":"https://github.com/TotalFreedom/TotalFreedomMod/issues/317","id":42699795,"number":317,"title":"New Command: /infomsg <identifier> [<playerName>]","user":{"login":"StevenLawson","id":338062,"avatar_url":"https://avatars.githubusercontent.com/u/338062?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenLawson","html_url":"https://github.com/StevenLawson","followers_url":"https://api.github.com/users/StevenLawson/followers","following_url":"https://api.github.com/users/StevenLawson/following{/other_user}","gists_url":"https://api.github.com/users/StevenLawson/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenLawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenLawson/subscriptions","organizations_url":"https://api.github.com/users/StevenLawson/orgs","repos_url":"https://api.github.com/users/StevenLawson/repos","events_url":"https://api.github.com/users/StevenLawson/events{/privacy}","received_events_url":"https://api.github.com/users/StevenLawson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TotalFreedom/TotalFreedomMod/labels/Issue:%20Accepted","name":"Issue: Accepted","color":"207de5"},{"url":"https://api.github.com/repos/TotalFreedom/TotalFreedomMod/labels/Issue:%20Enhancement","name":"Issue: Enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-13T16:31:36Z","updated_at":"2015-04-22T11:04:39Z","closed_at":null,"body":"We've avoided adding commands like */ai* (which is part of a separate plugin that shows information about how to apply for super admin status) directly to TFM because they don't transfer well to other servers wanting to run TFM.\r\n\r\nMy suggestion is to add a command that can send a formatted block of text to a player. These blocks of text will have a textual identifier, and be stored in the config.yml file. For example, a user may type */infomsg admin*, resulting in the \"admin\" text block being sent to them. Superadmins may also add a player name to have the text sent to someone else.\r\n\r\nDoing this will allow us to reduce memory usage by getting rid of an extra running plugin.\r\n\r\nI also suggest that we look in to how to add command aliases \"on the fly\". For example, an alias for */infomsg admin* to be set dynamically in the config.yml as */ai*."},"comment":{"url":"https://api.github.com/repos/TotalFreedom/TotalFreedomMod/issues/comments/95138377","html_url":"https://github.com/TotalFreedom/TotalFreedomMod/issues/317#issuecomment-95138377","issue_url":"https://api.github.com/repos/TotalFreedom/TotalFreedomMod/issues/317","id":95138377,"user":{"login":"AlexFreedomMod","id":8379108,"avatar_url":"https://avatars.githubusercontent.com/u/8379108?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexFreedomMod","html_url":"https://github.com/AlexFreedomMod","followers_url":"https://api.github.com/users/AlexFreedomMod/followers","following_url":"https://api.github.com/users/AlexFreedomMod/following{/other_user}","gists_url":"https://api.github.com/users/AlexFreedomMod/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexFreedomMod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexFreedomMod/subscriptions","organizations_url":"https://api.github.com/users/AlexFreedomMod/orgs","repos_url":"https://api.github.com/users/AlexFreedomMod/repos","events_url":"https://api.github.com/users/AlexFreedomMod/events{/privacy}","received_events_url":"https://api.github.com/users/AlexFreedomMod/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T11:04:39Z","updated_at":"2015-04-22T11:04:39Z","body":"So, the config is splitting up?"}}