Skip to content

Instantly share code, notes, and snippets.

Last active Sep 2, 2017
What would you like to do?
Tab complete permission plugin
import java.util.logging.Logger;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.server.TabCompleteEvent;
import org.bukkit.plugin.PluginManager;
import org.bukkit.scheduler.BukkitScheduler;
public class TCP extends JavaPlugin implements Listener{
Logger logger = getLogger();
PluginManager pm = getServer().getPluginManager();
BukkitScheduler scheduler = getServer().getScheduler();
public void onEnable(){
pm.registerEvents(this, this);
public void onDisable(){
public void onTCE(TabCompleteEvent tce){
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment