LobbyAPI
LobbyAPI
general
This plugin is simply an API for minigames. I´m going to code some nice minigames and this is going to help me create lobbys, etc. Without this plugin my minigames won´t work. This plugin alone does NOTHING. As a server owner you don´t have to download it if you don´t use a plugin which requires this API.
for developers
Hi! Thank you for reading this. You can use this API, too. First you have to add it as a repository. You have to add it as a dependency in your plugin.yml, too. In your code you just have to create an instance of Lobby. You can import this. With this instance you can do many things like change prefix, change the countdown time, set the lobby locations, set maximum and minimum players, etc. The plugin automatically starts a countdown when the player minimum is reached. When the game starts, a custom event(StartEvent) is called. Most of the methods are self-explaining, but feel free to ask me if you have any questions.
Here is a little tutorial: http://dev.bukkit.org/bukkit-plugins/lobbyapibymr01luki/pages/api-tutorial/
bugs
I recommend not to use the multipleGameLocations feature because it can be very buggy.
Comments