Skip to content

Instantly share code, notes, and snippets.

package io.github.Dinner1111.ServerUtils.Misc;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.logging.Level;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.Plugin;
package me.dinner1111.league.effects;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.bukkit.ChatColor;
import com.google.common.collect.BiMap;
<?xml version="1.0"?>
<map proto="1.3.1">
<name>Mini Avalanche</name>
<version>1.0.0</version>
<objective>Leak lava from the enemy's mountain obsidian core.</objective>
<authors>
<author contribution="map design">oib5</author>
</authors>
<contributors>
<contributor contribution="feedback">Stealth5061</contributor>
package io.github.Dinner1111.ServerUtils.Listeners;
import java.lang.reflect.InvocationTargetException;
import java.util.Set;
import java.util.logging.Level;
import io.github.Dinner1111.ServerUtils.Startup;
import io.github.Dinner1111.ServerUtils.ChatThemes.ChatThemes;
import io.github.Dinner1111.ServerUtils.ChatThemes.ChatThemes.ThemeType;
import io.github.Dinner1111.ServerUtils.ChatThemes.ThemeColors;
package io.github.Dinner1111.Hangman.Utils;
import java.util.List;
import com.google.common.collect.BiMap;
import com.google.common.collect.Lists;
public class WordUtils {
char[] letters;
char[] unsanatizedLetters;
package me.Dinner1111;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.AsyncPlayerChatEvent;
public class GuessListener implements Listener {
String word;
@EventHandler
private void onAsyncPlayerChat(AsyncPlayerChatEvent e) {
package io.github.Dinner1111.Items.ToolAdditions.Utils;
import org.bukkit.inventory.meta.ItemMeta;
public class NameUtils {
/**
* @param meta: The ItemMeta you check for lore
*
* @return boolean: If the ItemMeta has lore
*/
package me.Dinner1111.Friends;
import org.bukkit.ChatColor;
import org.bukkit.command.*;
public class Friends implements CommandExecutor {
public boolean onCommand(CommandSender sender, Command cmd, String cmdLine, String[] args) {
if (cmd.getName().equalsIgnoreCase("friend") || cmd.getName().equalsIgnoreCase("fr")) {
if (sender.hasPermission("Friend")) {
switch (args.length) {
package io.github.Dinner1111.ServerUtils;
import io.github.Dinner1111.ServerUtils.Listeners.DeathListener;
import io.github.Dinner1111.ServerUtils.Listeners.InventoryClickListener;
import io.github.Dinner1111.ServerUtils.Listeners.JoinListener;
import io.github.Dinner1111.ServerUtils.Listeners.LeaveListener;
import io.github.Dinner1111.ServerUtils.Listeners.MuteListener;
import io.github.Dinner1111.ServerUtils.Logger.CommandLogger;
import io.github.Dinner1111.ServerUtils.Logger.LoggerUtils;
import io.github.Dinner1111.ServerUtils.Logger.MiscLogger;
package io.github.Dinner1111.ServerUtils.ProjectBuilder;
import io.github.Dinner1111.ServerUtils.Misc.SharedVariables;
import java.io.IOException;
import java.util.logging.Level;
import nu.xom.*;
import org.bukkit.Bukkit;