{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/2198","labels_url":"https://api.github.com/repos/minetest/minetest/issues/2198/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/2198/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/2198/events","html_url":"https://github.com/minetest/minetest/pull/2198","id":55387531,"number":2198,"title":"Allow any mod to be explicitly disabled in world.mt","user":{"login":"sofar","id":1880041,"avatar_url":"https://avatars.githubusercontent.com/u/1880041?v=3","gravatar_id":"","url":"https://api.github.com/users/sofar","html_url":"https://github.com/sofar","followers_url":"https://api.github.com/users/sofar/followers","following_url":"https://api.github.com/users/sofar/following{/other_user}","gists_url":"https://api.github.com/users/sofar/gists{/gist_id}","starred_url":"https://api.github.com/users/sofar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofar/subscriptions","organizations_url":"https://api.github.com/users/sofar/orgs","repos_url":"https://api.github.com/users/sofar/repos","events_url":"https://api.github.com/users/sofar/events{/privacy}","received_events_url":"https://api.github.com/users/sofar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/minetest/minetest/labels/@%20Server%20/%20Client%20/%20Env.","name":"@ Server / Client / Env.","color":"009800"},{"url":"https://api.github.com/repos/minetest/minetest/labels/@%20Startup%20/%20Config%20/%20Util","name":"@ Startup / Config / Util","color":"009800"},{"url":"https://api.github.com/repos/minetest/minetest/labels/low-priority%20enhancement","name":"low-priority enhancement","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-24T22:38:50Z","updated_at":"2015-01-30T07:46:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/2198","html_url":"https://github.com/minetest/minetest/pull/2198","diff_url":"https://github.com/minetest/minetest/pull/2198.diff","patch_url":"https://github.com/minetest/minetest/pull/2198.patch"},"body":"Without this patch, only worldmods and modpath mods can be\r\ndisabled, but you can never disable default game mods, like\r\nfire, tnt, bucket, bones, which are likely to be disabled\r\nby server admins to prevent griefing.\r\n\r\nA message that the mod is explicitly disabled is printed out. Any\r\nother mod remains enabled by default as usual.\r\n\r\nThe alternative solutions were insufficient for people who run\r\nmultiple servers, as updating minetest_game would overwrite the\r\nremoval of default mods.\r\n\r\nv2: typo fix, move world.mt reading out of loop, remove debug msg."},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/72165489","html_url":"https://github.com/minetest/minetest/pull/2198#issuecomment-72165489","issue_url":"https://api.github.com/repos/minetest/minetest/issues/2198","id":72165489,"user":{"login":"rubenwardy","id":2122943,"avatar_url":"https://avatars.githubusercontent.com/u/2122943?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwardy","html_url":"https://github.com/rubenwardy","followers_url":"https://api.github.com/users/rubenwardy/followers","following_url":"https://api.github.com/users/rubenwardy/following{/other_user}","gists_url":"https://api.github.com/users/rubenwardy/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwardy/subscriptions","organizations_url":"https://api.github.com/users/rubenwardy/orgs","repos_url":"https://api.github.com/users/rubenwardy/repos","events_url":"https://api.github.com/users/rubenwardy/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwardy/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T07:46:19Z","updated_at":"2015-01-30T07:46:19Z","body":"It is perfectly legal for a mod in mods/ to have the same name as a mod in\ngame mods. The current behaviour is that the mod in mods/ overrides the mod\nin game mods, when enabled."}}