{"action":"created","issue":{"url":"https://api.github.com/repos/Dasfaust/GlobalMarket/issues/95","repository_url":"https://api.github.com/repos/Dasfaust/GlobalMarket","labels_url":"https://api.github.com/repos/Dasfaust/GlobalMarket/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/Dasfaust/GlobalMarket/issues/95/comments","events_url":"https://api.github.com/repos/Dasfaust/GlobalMarket/issues/95/events","html_url":"https://github.com/Dasfaust/GlobalMarket/issues/95","id":152133472,"number":95,"title":"Request: Console command to force open market interface ","user":{"login":"DraksterAU","id":9921203,"avatar_url":"https://avatars.githubusercontent.com/u/9921203?v=3","gravatar_id":"","url":"https://api.github.com/users/DraksterAU","html_url":"https://github.com/DraksterAU","followers_url":"https://api.github.com/users/DraksterAU/followers","following_url":"https://api.github.com/users/DraksterAU/following{/other_user}","gists_url":"https://api.github.com/users/DraksterAU/gists{/gist_id}","starred_url":"https://api.github.com/users/DraksterAU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DraksterAU/subscriptions","organizations_url":"https://api.github.com/users/DraksterAU/orgs","repos_url":"https://api.github.com/users/DraksterAU/repos","events_url":"https://api.github.com/users/DraksterAU/events{/privacy}","received_events_url":"https://api.github.com/users/DraksterAU/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-01T05:56:27Z","updated_at":"2016-05-01T06:48:45Z","closed_at":null,"body":"Hi Dasfaust,\r\n\r\nHoping you can help.\r\n\r\nI'm after a console command to force open a market interface for the specified player if they are online.\r\n\r\nAnd an ability to disable the actual market command (permissions is fine if you want to do it that way).\r\n\r\nReason is so I can have my npcs calling the market interface and disallow players not need a market NPC access to the market.\r\n\r\nThis could be done with a combination of plugins to restrict commands to a specific area - but that is really complex.\r\n\r\nI used to just place a chest under the NPC and make it so the command could only be used within 10 blocks of it, but it looks like you've removed that in 2.0.\r\n\r\nHope you can help.\r\n\r\nRegards\r\nDraksterAU"},"comment":{"url":"https://api.github.com/repos/Dasfaust/GlobalMarket/issues/comments/216020143","html_url":"https://github.com/Dasfaust/GlobalMarket/issues/95#issuecomment-216020143","issue_url":"https://api.github.com/repos/Dasfaust/GlobalMarket/issues/95","id":216020143,"user":{"login":"Dasfaust","id":1920307,"avatar_url":"https://avatars.githubusercontent.com/u/1920307?v=3","gravatar_id":"","url":"https://api.github.com/users/Dasfaust","html_url":"https://github.com/Dasfaust","followers_url":"https://api.github.com/users/Dasfaust/followers","following_url":"https://api.github.com/users/Dasfaust/following{/other_user}","gists_url":"https://api.github.com/users/Dasfaust/gists{/gist_id}","starred_url":"https://api.github.com/users/Dasfaust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dasfaust/subscriptions","organizations_url":"https://api.github.com/users/Dasfaust/orgs","repos_url":"https://api.github.com/users/Dasfaust/repos","events_url":"https://api.github.com/users/Dasfaust/events{/privacy}","received_events_url":"https://api.github.com/users/Dasfaust/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T06:48:45Z","updated_at":"2016-05-01T06:48:45Z","body":"Ok, done! I added a config option to disable /market going directly to the GUI. There's now `/market browse` with console support. Usages:\r\n`/market browse` opens the GUI\r\n`/market browse stock` opens the Stock GUI\r\n`/market browse <player>` opens the GUI for a player\r\n`/market browse stock <player>` opens the Stock GUI for a player"}}