{"action":"created","issue":{"url":"https://api.github.com/repos/TheGreyGhost/MinecraftByExample/issues/43","repository_url":"https://api.github.com/repos/TheGreyGhost/MinecraftByExample","labels_url":"https://api.github.com/repos/TheGreyGhost/MinecraftByExample/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/TheGreyGhost/MinecraftByExample/issues/43/comments","events_url":"https://api.github.com/repos/TheGreyGhost/MinecraftByExample/issues/43/events","html_url":"https://github.com/TheGreyGhost/MinecraftByExample/issues/43","id":343452302,"node_id":"MDU6SXNzdWUzNDM0NTIzMDI=","number":43,"title":"Need advice on how to make a minigame-style plugin","user":{"login":"uglycoyote","id":2461007,"node_id":"MDQ6VXNlcjI0NjEwMDc=","avatar_url":"https://avatars0.githubusercontent.com/u/2461007?v=4","gravatar_id":"","url":"https://api.github.com/users/uglycoyote","html_url":"https://github.com/uglycoyote","followers_url":"https://api.github.com/users/uglycoyote/followers","following_url":"https://api.github.com/users/uglycoyote/following{/other_user}","gists_url":"https://api.github.com/users/uglycoyote/gists{/gist_id}","starred_url":"https://api.github.com/users/uglycoyote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uglycoyote/subscriptions","organizations_url":"https://api.github.com/users/uglycoyote/orgs","repos_url":"https://api.github.com/users/uglycoyote/repos","events_url":"https://api.github.com/users/uglycoyote/events{/privacy}","received_events_url":"https://api.github.com/users/uglycoyote/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-23T00:16:01Z","updated_at":"2018-07-24T07:05:08Z","closed_at":"2018-07-23T14:50:34Z","author_association":"NONE","body":"I am a professional game developer, but new to minecraft modding.  I'm trying to help my kids make some ideas of theirs come to reality.\r\n\r\nI was very glad to find this repository with great examples on how to get started on modding.   But unfortunately none of the examples seem to fit with the kinds of ideas that we have, so I was hoping for a bit of advice on where to get started.   We want to make some kind of a minigame, so what I am looking for is a way to add on my own \"update loop\" where our minigame can contain its own logic.  Most of the samples here seem to revolve around creating new types of entities/blocks/recipes for the game which have a specific pattern to them, but it is not clear to me what the correct pattern is for adding in general-purpose code that runs all of the time in the background.\r\n\r\nHere are some of the kinds of things I was thinking we would want the mod to be able to do:\r\n* Allow several players to connect and join a minigame\r\n* Present messages on each users screen so they know the state of the minigame (e.g. whether they have joined, what their current score is, etc.)\r\n* Being able to teleport players to a new location and programmatically create some kind of arena\r\n* Trading -- some way to alter the contents of players inventory\r\n\r\nWe are hoping to make this run on a server where several clients can connect and I don't think we actually need to create new block types etc, so possibly the mod  we want to make will be server-only.  (We play on hypixel, and the minigames on there don't seem to require a client side mod, they all work just by connecting to their server).  I have heard of Bukkit, which seems like it is an alternative way to create server-only mods, but Forge seems like it is more flexible and i get the impression it is more recent/modern, so it would be the way to go even if we were only doing something server side.\r\n\r\nAre there any samples you can point me to of how to create a mod/server like in my examples above?   Are there are samples like that in this repo that I missed?  Or other resources elsewhere?  \r\n\r\nI have already looked at the forge documentation, but it seems a bit slim and I couldn't find any direct answers there for my questions.   I have also done a lot of googling and reading random forums populated by 12 year olds that banter back and forth without arriving at helpful conclusions.  \r\n\r\nApologies if this is not the right forum for this question, I just thought I would ask since you have excellent tutorials and you seem to know what is going on."},"comment":{"url":"https://api.github.com/repos/TheGreyGhost/MinecraftByExample/issues/comments/407303589","html_url":"https://github.com/TheGreyGhost/MinecraftByExample/issues/43#issuecomment-407303589","issue_url":"https://api.github.com/repos/TheGreyGhost/MinecraftByExample/issues/43","id":407303589,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzMwMzU4OQ==","user":{"login":"ryantheleach","id":141554,"node_id":"MDQ6VXNlcjE0MTU1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/141554?v=4","gravatar_id":"","url":"https://api.github.com/users/ryantheleach","html_url":"https://github.com/ryantheleach","followers_url":"https://api.github.com/users/ryantheleach/followers","following_url":"https://api.github.com/users/ryantheleach/following{/other_user}","gists_url":"https://api.github.com/users/ryantheleach/gists{/gist_id}","starred_url":"https://api.github.com/users/ryantheleach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryantheleach/subscriptions","organizations_url":"https://api.github.com/users/ryantheleach/orgs","repos_url":"https://api.github.com/users/ryantheleach/repos","events_url":"https://api.github.com/users/ryantheleach/events{/privacy}","received_events_url":"https://api.github.com/users/ryantheleach/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T07:05:08Z","updated_at":"2018-07-24T07:05:08Z","author_association":"NONE","body":"@uglycoyote I missed your post in the SpongePowered discord, and didn't have a better way of contacting you.\r\n\r\nOur community is **usually** pretty friendly, but gets tired of kids learning to program for the first time, trying to learn Java, then not understanding even basic loops, scope, etc.\r\n\r\nhttps://plugins.jetbrains.com/plugin/8327-minecraft-development if you are using IntelliJ helps create a template Sponge plugin, and will setup a test plugin for you to try. It's the best way to get started IMO.\r\n\r\nOtherwise checkout https://github.com/SpongePowered/Cookbook/ for the official example plugins, or https://github.com/RTLSponge/chatclear for my personal, example plugin."}}
{"actor":{"display_login":"ryantheleach"}}