{"action":"created","issue":{"url":"https://api.github.com/repos/zhuowei/RaspberryJuice/issues/74","repository_url":"https://api.github.com/repos/zhuowei/RaspberryJuice","labels_url":"https://api.github.com/repos/zhuowei/RaspberryJuice/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/zhuowei/RaspberryJuice/issues/74/comments","events_url":"https://api.github.com/repos/zhuowei/RaspberryJuice/issues/74/events","html_url":"https://github.com/zhuowei/RaspberryJuice/issues/74","id":381030563,"node_id":"MDU6SXNzdWUzODEwMzA1NjM=","number":74,"title":"Multiple connections on a remote server","user":{"login":"JasonZ321","id":3166699,"node_id":"MDQ6VXNlcjMxNjY2OTk=","avatar_url":"https://avatars2.githubusercontent.com/u/3166699?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonZ321","html_url":"https://github.com/JasonZ321","followers_url":"https://api.github.com/users/JasonZ321/followers","following_url":"https://api.github.com/users/JasonZ321/following{/other_user}","gists_url":"https://api.github.com/users/JasonZ321/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonZ321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonZ321/subscriptions","organizations_url":"https://api.github.com/users/JasonZ321/orgs","repos_url":"https://api.github.com/users/JasonZ321/repos","events_url":"https://api.github.com/users/JasonZ321/events{/privacy}","received_events_url":"https://api.github.com/users/JasonZ321/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-15T07:18:36Z","updated_at":"2018-12-21T07:58:22Z","closed_at":null,"author_association":"NONE","body":"Hi, I 'm programming teacher. Trying to use Spigot + RaspberryJuice to teach students Python.\r\nThe idea is to deploy a spigot server with RaspberryJuice as plugin on my own server, and let students connect and hacking with python scripts on the same server. But I found students' scripts weren't work when multiple connections on the same time.\r\nI wonder if there is a configuration for this or it simply does not allow multiple connections on the same time.\r\nDoes anyone can help with this? "},"comment":{"url":"https://api.github.com/repos/zhuowei/RaspberryJuice/issues/comments/449298108","html_url":"https://github.com/zhuowei/RaspberryJuice/issues/74#issuecomment-449298108","issue_url":"https://api.github.com/repos/zhuowei/RaspberryJuice/issues/74","id":449298108,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTI5ODEwOA==","user":{"login":"martinohanlon","id":2329501,"node_id":"MDQ6VXNlcjIzMjk1MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/2329501?v=4","gravatar_id":"","url":"https://api.github.com/users/martinohanlon","html_url":"https://github.com/martinohanlon","followers_url":"https://api.github.com/users/martinohanlon/followers","following_url":"https://api.github.com/users/martinohanlon/following{/other_user}","gists_url":"https://api.github.com/users/martinohanlon/gists{/gist_id}","starred_url":"https://api.github.com/users/martinohanlon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinohanlon/subscriptions","organizations_url":"https://api.github.com/users/martinohanlon/orgs","repos_url":"https://api.github.com/users/martinohanlon/repos","events_url":"https://api.github.com/users/martinohanlon/events{/privacy}","received_events_url":"https://api.github.com/users/martinohanlon/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T07:58:22Z","updated_at":"2018-12-21T07:58:22Z","author_association":"COLLABORATOR","body":"@JasonZ321 when you say the scripts didnt work can you provide more information? \r\n\r\nThe key thing to be aware of when using multiple connections to the server is that if you use the mc.player.functions (getPos, setPos, etc) it will only work with the \"host\" player (usually the player who connected to the server first).\r\n\r\nTo work with multiple players on the same server your scripts should use the mc.entity.functions so you can specify which player you want to interact with.\r\n\r\nHave a look at the API reference here - https://www.stuffaboutcode.com/p/minecraft-api-reference.html"}}
{"actor":{"display_login":"martinohanlon"}}