Implemented ebeans

This commit is contained in:
Dinnerbone
2011-04-01 16:04:43 +01:00
parent 217eb0c642
commit cf6b46bda9
6 changed files with 82 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
package org.bukkit.plugin;
import com.avaje.ebean.EbeanServer;
import java.io.File;
import org.bukkit.Server;
import org.bukkit.command.CommandExecutor;
@@ -80,4 +81,11 @@ public interface Plugin extends CommandExecutor {
* @param canNag is this plugin still naggable?
*/
public void setNaggable(boolean canNag);
/**
* Gets the {@link EbeanServer} tied to this plugin
*
* @return Ebean server instance
*/
public EbeanServer getDatabase();
}