Hi...Help Me How To Make Kit Selector.....Example....When I Join SkyWars And Select Kit.....When Start The Kit Will Given To Me....How To Do That?? Help Me
I guess, you have some of kind of function called when a player joins the SkyWars arena. You may implement your forms in some separate classes that will be shown to players in the function mentioned before. When player chooses the kit, store its name in some array, e.g. [name => kit name]. Also, I suggest that you have a function that starts the game. When it’s called, use “foreach” to go through players’ array and access your kits’ array, giving each player his kit based on its name.