{"action":"created","issue":{"url":"https://api.github.com/repos/BanManagement/BanManager/issues/282","labels_url":"https://api.github.com/repos/BanManagement/BanManager/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/BanManagement/BanManager/issues/282/comments","events_url":"https://api.github.com/repos/BanManagement/BanManager/issues/282/events","html_url":"https://github.com/BanManagement/BanManager/issues/282","id":80080889,"number":282,"title":"Enhance warnings","user":{"login":"EvilOlaf","id":3305006,"avatar_url":"https://avatars.githubusercontent.com/u/3305006?v=3","gravatar_id":"","url":"https://api.github.com/users/EvilOlaf","html_url":"https://github.com/EvilOlaf","followers_url":"https://api.github.com/users/EvilOlaf/followers","following_url":"https://api.github.com/users/EvilOlaf/following{/other_user}","gists_url":"https://api.github.com/users/EvilOlaf/gists{/gist_id}","starred_url":"https://api.github.com/users/EvilOlaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvilOlaf/subscriptions","organizations_url":"https://api.github.com/users/EvilOlaf/orgs","repos_url":"https://api.github.com/users/EvilOlaf/repos","events_url":"https://api.github.com/users/EvilOlaf/events{/privacy}","received_events_url":"https://api.github.com/users/EvilOlaf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-24T07:19:04Z","updated_at":"2015-05-24T09:52:34Z","closed_at":null,"body":"Hey there,\r\n\r\nI recently had a small discussion with one of my faithful players about warnings and that made me thinking about how to enhance this.\r\n\r\nAs it is for now a player keeps his warnings forever if no entitled person uses `/dwarn` or `/bmclear`.\r\n\r\nMy first idea was to either reverse the logic of dwarn so it will delete the oldest warning instead of the most recent one or enhance the `dwarn` command at all so that a specific warning can be deleted.\r\nLike\r\n`/bminfo -warns` (see https://github.com/BanManagement/BanManager/issues/244)\r\nAnd then\r\n`/dwarn 3` (for the 3rd warning after the recent one).\r\n\r\nAnother idea was to create a so called timed warning so there is a new command called `/tempwarn` and basically acts like a `tempban` or `tempmute`.\r\n\r\nI am actually not sure how to handle the `warningActions` punishments at timed warnings. Either these could be split up in `permwarningActions` and `timedwarningActions` or use the same punishments for both. Need to think about a little further....assumed you like it :D"},"comment":{"url":"https://api.github.com/repos/BanManagement/BanManager/issues/comments/104997265","html_url":"https://github.com/BanManagement/BanManager/issues/282#issuecomment-104997265","issue_url":"https://api.github.com/repos/BanManagement/BanManager/issues/282","id":104997265,"user":{"login":"EvilOlaf","id":3305006,"avatar_url":"https://avatars.githubusercontent.com/u/3305006?v=3","gravatar_id":"","url":"https://api.github.com/users/EvilOlaf","html_url":"https://github.com/EvilOlaf","followers_url":"https://api.github.com/users/EvilOlaf/followers","following_url":"https://api.github.com/users/EvilOlaf/following{/other_user}","gists_url":"https://api.github.com/users/EvilOlaf/gists{/gist_id}","starred_url":"https://api.github.com/users/EvilOlaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvilOlaf/subscriptions","organizations_url":"https://api.github.com/users/EvilOlaf/orgs","repos_url":"https://api.github.com/users/EvilOlaf/repos","events_url":"https://api.github.com/users/EvilOlaf/events{/privacy}","received_events_url":"https://api.github.com/users/EvilOlaf/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T09:52:33Z","updated_at":"2015-05-24T09:52:33Z","body":"Well I think it is at the discretion of each individual owner/staff to use a timed warning or not.\r\nYou can temporarily warn a player giving offense  but you don't want that the player is marked with this warning forever and also don't want to kick/ban/mute/whatever him. \r\nIt is some kind like in real live. You need to go to the court and suspended sentence that can be basically seen as temporarily warning.\r\n\r\nHm isn't it possible to combine both the `dwarn x` and id in the database? Listing the warnings with `bminfo`will also show the unique id of each warning which can later on be used at `dwarn`."}}