{"action":"created","issue":{"url":"https://api.github.com/repos/RocketMod/Rocket/issues/613","repository_url":"https://api.github.com/repos/RocketMod/Rocket","labels_url":"https://api.github.com/repos/RocketMod/Rocket/issues/613/labels{/name}","comments_url":"https://api.github.com/repos/RocketMod/Rocket/issues/613/comments","events_url":"https://api.github.com/repos/RocketMod/Rocket/issues/613/events","html_url":"https://github.com/RocketMod/Rocket/issues/613","id":133377010,"number":613,"title":"New CommandMapping feature doesn't work properly with multiple attribute based commands in a plugin.","user":{"login":"cartman-2000","id":1218990,"avatar_url":"https://avatars.githubusercontent.com/u/1218990?v=3","gravatar_id":"","url":"https://api.github.com/users/cartman-2000","html_url":"https://github.com/cartman-2000","followers_url":"https://api.github.com/users/cartman-2000/followers","following_url":"https://api.github.com/users/cartman-2000/following{/other_user}","gists_url":"https://api.github.com/users/cartman-2000/gists{/gist_id}","starred_url":"https://api.github.com/users/cartman-2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartman-2000/subscriptions","organizations_url":"https://api.github.com/users/cartman-2000/orgs","repos_url":"https://api.github.com/users/cartman-2000/repos","events_url":"https://api.github.com/users/cartman-2000/events{/privacy}","received_events_url":"https://api.github.com/users/cartman-2000/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RocketMod/Rocket/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/RocketMod/Rocket/labels/investigating","name":"investigating","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-13T00:27:40Z","updated_at":"2016-02-14T21:28:14Z","closed_at":null,"body":"The first command name entry it has for the class in the CommandMapping list will be used for any other attribute commands that are registered under the same class.\r\n\r\n(By default, only one of the attribute commands in the class is added to the list, the first one set in the plugin. I added the second one, which is the name of the other attribute command in the class.)\r\n```\r\n    <CommandMapping Name=\"w\" Enabled=\"true\">ApokPT.RocketPlugins.WreckingBall</CommandMapping>\r\n    <CommandMapping Name=\"wreck\" Enabled=\"false\">ApokPT.RocketPlugins.WreckingBall</CommandMapping>\r\n```\r\n\r\n(It only uses the first one it sees in the list when registering the commands.)\r\n```\r\nRegistering ApokPT.RocketPlugins.WreckingBall (w)\r\nRegistering ApokPT.RocketPlugins.WreckingBall (w)\r\n```"},"comment":{"url":"https://api.github.com/repos/RocketMod/Rocket/issues/comments/183980560","html_url":"https://github.com/RocketMod/Rocket/issues/613#issuecomment-183980560","issue_url":"https://api.github.com/repos/RocketMod/Rocket/issues/613","id":183980560,"user":{"login":"elfl0rd","id":4980243,"avatar_url":"https://avatars.githubusercontent.com/u/4980243?v=3","gravatar_id":"","url":"https://api.github.com/users/elfl0rd","html_url":"https://github.com/elfl0rd","followers_url":"https://api.github.com/users/elfl0rd/followers","following_url":"https://api.github.com/users/elfl0rd/following{/other_user}","gists_url":"https://api.github.com/users/elfl0rd/gists{/gist_id}","starred_url":"https://api.github.com/users/elfl0rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfl0rd/subscriptions","organizations_url":"https://api.github.com/users/elfl0rd/orgs","repos_url":"https://api.github.com/users/elfl0rd/repos","events_url":"https://api.github.com/users/elfl0rd/events{/privacy}","received_events_url":"https://api.github.com/users/elfl0rd/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T21:28:14Z","updated_at":"2016-02-14T21:28:14Z","body":"Thx you! I will wait fix."}}