{"action":"created","issue":{"url":"https://api.github.com/repos/RocketFoundation/Rocket/issues/98","labels_url":"https://api.github.com/repos/RocketFoundation/Rocket/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/RocketFoundation/Rocket/issues/98/comments","events_url":"https://api.github.com/repos/RocketFoundation/Rocket/issues/98/events","html_url":"https://github.com/RocketFoundation/Rocket/issues/98","id":75393361,"number":98,"title":"Bug with using empty params in commands.","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-11T23:28:23Z","updated_at":"2015-05-12T07:23:24Z","closed_at":null,"body":"There's a bug with the param's that will cause an empty param to return with a single space if the next param had quotes around it.\r\n\r\nTesting a bans replacement plugin that I wrote for my server on a test server, with debugging stuff added in to show the space returned. This is what it returns in the console.\r\n```\r\n>ban \"\" test\r\nname before.\r\nname before in if.\r\n\"\"\r\n1\r\nError: Invalid player name in ban command.\r\n>ban \"\" \"test\"\r\nname before.\r\nname before in if.\r\n\" \"\r\nname after in if.\r\nname after.\r\nCan't find a player by the name of  , that has played on the server before.\r\n```"},"comment":{"url":"https://api.github.com/repos/RocketFoundation/Rocket/issues/comments/101165153","html_url":"https://github.com/RocketFoundation/Rocket/issues/98#issuecomment-101165153","issue_url":"https://api.github.com/repos/RocketFoundation/Rocket/issues/98","id":101165153,"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},"created_at":"2015-05-12T07:23:24Z","updated_at":"2015-05-12T07:23:24Z","body":"I'm the kind of person that likes to be specific in the error cases in plugins, it means more code, but it would help the person using the plugin to know what they are doing wrong when they are trying to run the command."}}