GameAPI

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

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!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    94564
  • Created
    Aug 25, 2015
  • Last Released File
    Aug 25, 2015
  • Total Downloads
    814
  • License

Categories

Members

Recent Files

Bukkit