{"action":"opened","issue":{"url":"https://api.github.com/repos/JorelAli/1.13-Command-API/issues/28","repository_url":"https://api.github.com/repos/JorelAli/1.13-Command-API","labels_url":"https://api.github.com/repos/JorelAli/1.13-Command-API/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/JorelAli/1.13-Command-API/issues/28/comments","events_url":"https://api.github.com/repos/JorelAli/1.13-Command-API/issues/28/events","html_url":"https://github.com/JorelAli/1.13-Command-API/issues/28","id":384088421,"node_id":"MDU6SXNzdWUzODQwODg0MjE=","number":28,"title":"[Enhancement] Set result and success of command","user":{"login":"HielkePlugins","id":42968178,"node_id":"MDQ6VXNlcjQyOTY4MTc4","avatar_url":"https://avatars2.githubusercontent.com/u/42968178?v=4","gravatar_id":"","url":"https://api.github.com/users/HielkePlugins","html_url":"https://github.com/HielkePlugins","followers_url":"https://api.github.com/users/HielkePlugins/followers","following_url":"https://api.github.com/users/HielkePlugins/following{/other_user}","gists_url":"https://api.github.com/users/HielkePlugins/gists{/gist_id}","starred_url":"https://api.github.com/users/HielkePlugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HielkePlugins/subscriptions","organizations_url":"https://api.github.com/users/HielkePlugins/orgs","repos_url":"https://api.github.com/users/HielkePlugins/repos","events_url":"https://api.github.com/users/HielkePlugins/events{/privacy}","received_events_url":"https://api.github.com/users/HielkePlugins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-25T15:18:17Z","updated_at":"2018-11-25T15:18:17Z","closed_at":null,"author_association":"NONE","body":"Vanilla commands outputs whether the command has successfully executed or not. It also keeps outputs its result.\r\n\r\n**Example:**\r\n`/tp @a[name=Notch] @s`\r\n\r\nThis command will only be successfully run if there is a player named Notch in the world. Otherwise the success score will be 0. \r\n\r\n![2018-11-25_14 58 58](https://user-images.githubusercontent.com/42968178/48979953-b1140100-f0c2-11e8-8d18-b9516abd5118.png)\r\n\r\nThe success is always either 0 or 1. In the picture above it's 0, as there is no player named Notch online.\r\n\r\nVanilla commands also output their result, which can be more than 0 or 1.\r\n\r\n**Example:**\r\n![2018-11-25_15 01 30](https://user-images.githubusercontent.com/42968178/48979968-03552200-f0c3-11e8-907d-13b080fe6e36.png)\r\nThe success of this command is 1. The result is 35, as there are 35 entities in the world.\r\n\r\nRight now, every commandAPI command will always be successfully run, so the success of every command will always be 1. The result is 1 too.\r\n\r\nIt would be awesome if we could do this with commandAPI commands too :D"}}
{"actor":{"display_login":"HielkePlugins"}}