{"action":"created","issue":{"url":"https://api.github.com/repos/Rocologo/MobHunting/issues/315","repository_url":"https://api.github.com/repos/Rocologo/MobHunting","labels_url":"https://api.github.com/repos/Rocologo/MobHunting/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/Rocologo/MobHunting/issues/315/comments","events_url":"https://api.github.com/repos/Rocologo/MobHunting/issues/315/events","html_url":"https://github.com/Rocologo/MobHunting/issues/315","id":266801703,"number":315,"title":"[request] Complete overhaul of config design and per-command percentage.","user":{"login":"FrozenBeard","id":144046,"avatar_url":"https://avatars1.githubusercontent.com/u/144046?v=4","gravatar_id":"","url":"https://api.github.com/users/FrozenBeard","html_url":"https://github.com/FrozenBeard","followers_url":"https://api.github.com/users/FrozenBeard/followers","following_url":"https://api.github.com/users/FrozenBeard/following{/other_user}","gists_url":"https://api.github.com/users/FrozenBeard/gists{/gist_id}","starred_url":"https://api.github.com/users/FrozenBeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrozenBeard/subscriptions","organizations_url":"https://api.github.com/users/FrozenBeard/orgs","repos_url":"https://api.github.com/users/FrozenBeard/repos","events_url":"https://api.github.com/users/FrozenBeard/events{/privacy}","received_events_url":"https://api.github.com/users/FrozenBeard/received_events","type":"User","site_admin":false},"labels":[{"id":150370771,"url":"https://api.github.com/repos/Rocologo/MobHunting/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"Rocologo","id":1008133,"avatar_url":"https://avatars0.githubusercontent.com/u/1008133?v=4","gravatar_id":"","url":"https://api.github.com/users/Rocologo","html_url":"https://github.com/Rocologo","followers_url":"https://api.github.com/users/Rocologo/followers","following_url":"https://api.github.com/users/Rocologo/following{/other_user}","gists_url":"https://api.github.com/users/Rocologo/gists{/gist_id}","starred_url":"https://api.github.com/users/Rocologo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rocologo/subscriptions","organizations_url":"https://api.github.com/users/Rocologo/orgs","repos_url":"https://api.github.com/users/Rocologo/repos","events_url":"https://api.github.com/users/Rocologo/events{/privacy}","received_events_url":"https://api.github.com/users/Rocologo/received_events","type":"User","site_admin":false},"assignees":[{"login":"Rocologo","id":1008133,"avatar_url":"https://avatars0.githubusercontent.com/u/1008133?v=4","gravatar_id":"","url":"https://api.github.com/users/Rocologo","html_url":"https://github.com/Rocologo","followers_url":"https://api.github.com/users/Rocologo/followers","following_url":"https://api.github.com/users/Rocologo/following{/other_user}","gists_url":"https://api.github.com/users/Rocologo/gists{/gist_id}","starred_url":"https://api.github.com/users/Rocologo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rocologo/subscriptions","organizations_url":"https://api.github.com/users/Rocologo/orgs","repos_url":"https://api.github.com/users/Rocologo/repos","events_url":"https://api.github.com/users/Rocologo/events{/privacy}","received_events_url":"https://api.github.com/users/Rocologo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":55,"created_at":"2017-10-19T10:56:44Z","updated_at":"2018-03-03T14:08:06Z","closed_at":null,"author_association":"NONE","body":"The configs a mess (sorry). I am proposing a better layout using proper YAML layout.\r\nThis is my proposition:\r\n```\r\nmobs:\r\n   # Each mob has its own section\r\n   creeper:\r\n      enabled: true\r\n      money: '10'\r\n      commands:\r\n        - 'mobhunt head give {player} Creeper Creeper 1 silent|0.5' #Each command run has its own percentage!\r\n        - 'bcast {player} smashed a creepers head in!|1.0'\r\n        - 'give {player} diamond 1|0.1'\r\n        - 'bcast {player} got given a diamond!|0.1'\r\n      message: You got a Creeper skull.\r\n      headWorth: '0'\r\n   slime:\r\n      enabled: true\r\n      money: '8'\r\n      commands:\r\n        - 'mobhunt head give {player} Slime Slime 1 silent|0.5'\r\n        - 'bcast {player} smashed a Slime head in!|1.0'\r\n        - 'give {player} diamond 1|0.1'\r\n        - 'bcast {player} got given a diamond!|0.1'\r\n      message: You got a Slime skull.\r\n      headWorth: '0'\r\n```\r\nThis layout is much easier to understand, you can enable/disable each mob by itself, and you can set multiple commands PER LINE! this way you can also have a percentage per command.\r\n\r\nIf players kill the End Dragon, I want them to have 0.05 (5%) chance in getting an animated head, but I want the normal head to drop 100% of the time. At present we can only have 1 percentage something may drop for all commands set."},"comment":{"url":"https://api.github.com/repos/Rocologo/MobHunting/issues/comments/370149928","html_url":"https://github.com/Rocologo/MobHunting/issues/315#issuecomment-370149928","issue_url":"https://api.github.com/repos/Rocologo/MobHunting/issues/315","id":370149928,"user":{"login":"Sikatsu","id":5664135,"avatar_url":"https://avatars0.githubusercontent.com/u/5664135?v=4","gravatar_id":"","url":"https://api.github.com/users/Sikatsu","html_url":"https://github.com/Sikatsu","followers_url":"https://api.github.com/users/Sikatsu/followers","following_url":"https://api.github.com/users/Sikatsu/following{/other_user}","gists_url":"https://api.github.com/users/Sikatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Sikatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sikatsu/subscriptions","organizations_url":"https://api.github.com/users/Sikatsu/orgs","repos_url":"https://api.github.com/users/Sikatsu/repos","events_url":"https://api.github.com/users/Sikatsu/events{/privacy}","received_events_url":"https://api.github.com/users/Sikatsu/received_events","type":"User","site_admin":false},"created_at":"2018-03-03T14:08:06Z","updated_at":"2018-03-03T14:08:06Z","author_association":"NONE","body":"Spigot release? :)"}}
{"actor":{"display_login":"Sikatsu"}}