Implemented ebeans

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-04-01 16:04:43 +01:00
parent 41bcf14b27
commit 0373e53844
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();
}