Skip to content

Instantly share code, notes, and snippets.

View effective-light's full-sized avatar
🎯
Focusing

Effective Light effective-light

🎯
Focusing
View GitHub Profile
public class AcceptCommand implements CommandExecutor
{
private ChallengeMain plugin;
public AcceptCommand(ChallengeMain plugin)
{
this.plugin = plugin;
}
@effective-light
effective-light / Database.java
Last active June 20, 2017 07:12
NoSQL connection pooling
package net.atomiccloud.acndatabase.bungee;
import net.atomiccloud.acndatabase.GameMode;
import net.atomiccloud.acndatabase.bungee.data.Statistics;
import net.md_5.bungee.api.connection.ProxiedPlayer;
public interface Database {
Statistics getStatistics(GameMode game, ProxiedPlayer player);
}