Skip to content

Instantly share code, notes, and snippets.

View GabrielAtlas's full-sized avatar
🏠
Working from home

João Gabriel Costa GabrielAtlas

🏠
Working from home
View GitHub Profile
package com.atlasplugins.atlasfactionsv2.utils;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Base64;
import java.util.HashMap;
import java.util.List;
import java.util.UUID;
import java.util.function.Consumer;
package com.atlasplugins.atlassms;
import java.util.Optional;
import org.bukkit.entity.Player;
import com.atlasplugins.atlassms.objects.AtlasSMSUser;
import com.atlasplugins.atlassms.storage.DataTable;
import com.atlasplugins.atlassms.storage.handlers.DataTableHandler;
import com.atlasplugins.atlassms.storage.interfaces.Storable;
@GabrielAtlas
GabrielAtlas / CooldownAPI.java
Last active June 13, 2021 19:08
Simple Cooldown api for spigot plugins
package com.atlasplugins.atlasfactionsv2.utils;
import java.util.Map;
import org.bukkit.command.CommandSender;
import com.google.common.collect.Maps;
public class CooldownAPI {
package com.atlasplugins.atlastempoonline.apis;
import java.sql.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.concurrent.TimeUnit;
public class TimeUtils {
private static DateFormat dayFormater;
@GabrielAtlas
GabrielAtlas / Confirmar.java
Last active December 16, 2020 17:31
Confirmation Builder Inventory for Spigot
package com.atlasplugins.atlasmarket.apis;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.TimeUnit;
import java.util.function.Consumer;
import java.util.stream.Collectors;
package com.factions.atlasfactions.hooks;
import org.bukkit.Material;
import org.bukkit.entity.EntityType;
import org.bukkit.inventory.ItemStack;
import com.dont.simplespawners.Terminal;
import com.dont.simplespawners.bukkit.GiveSpawnerCommand;
import com.factions.Main;
import com.factions.atlasfactions.apis.HiddenStringUtils;
package com.magenetwork.buyer.apis;
import java.util.regex.*;
import java.text.*;
import java.util.stream.*;
import org.apache.commons.lang.*;
import java.util.*;
public class Formater
{
import com.google.gson.*;
import org.bukkit.Color;
import org.bukkit.DyeColor;
import org.bukkit.FireworkEffect;
import org.bukkit.Material;
import org.bukkit.block.banner.Pattern;
import org.bukkit.block.banner.PatternType;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemFlag;
import org.bukkit.inventory.ItemStack;