promotional bannermobile promotional banner

GameAPI

Abandoned
GameAPI-Helps devs make games!

GameAPI

GameAPI is an API to help developers make games, easily!

This is maybe buggy and devotes your whole server to a game.

Feel free to use this in commercial uses, Just remember, give credit! Have fun!

USAGE:

First, extend the Game class in your own custom Game class:

public class MinigameExample extends Game

Then, implement methods. Customize them, no need for anything else.

After that, make your main class!

In onEnable(), register as this:
ArrayList<TeamType> teams = new ArrayList<TeamType>();
		teams.add(TeamType.RED);
		teams.add(TeamType.CYAN);
		Game game = new MinigameExample(Bukkit.getWorld("lobby"), Bukkit.getWorld("game1"), 5, GameType.MINIGAME, 20, 2, this, teams);

Thats it! (Lobby, minigame, max players, type of game, ticks after needed players to start, needed players, main class, team list

You are done!

The GameAPI Team

profile avatar
  • 3
    Projects
  • 5.1K
    Downloads

More from _ForgeUser15472466