01-13-2015, 08:55 PM
I've been working on a Minigame API to be used on Minigame servers, like Mineplex & the Overcast Network (the 2 biggest infulences). I may look like a copy, but more features are coming to set it apart from others.
It uses Game objects to manage the games, each Game object has Arena objects in them, along with Listeners specific for that game. Each Arena has Map objects, which handles loading & unloading of maps. After each game, all the players are teleported to a lobby, where the old map is unloaded, and the new map is loaded . Soon I'll make each Map go to different Areans, by checking if it's loaded or not. (Took me forever to find out how to unload the map w/out saving, so I'm proud of it :3)
Link: https://github.com/Phasesaber/GameAPI
Example: Coming soon, check repo for code example.
It uses Game objects to manage the games, each Game object has Arena objects in them, along with Listeners specific for that game. Each Arena has Map objects, which handles loading & unloading of maps. After each game, all the players are teleported to a lobby, where the old map is unloaded, and the new map is loaded . Soon I'll make each Map go to different Areans, by checking if it's loaded or not. (Took me forever to find out how to unload the map w/out saving, so I'm proud of it :3)
Link: https://github.com/Phasesaber/GameAPI
Example: Coming soon, check repo for code example.