Skip to content

Instantly share code, notes, and snippets.

View jan-krueger's full-sized avatar
🐢
I am a turtle...

Jan Krüger jan-krueger

🐢
I am a turtle...
View GitHub Profile
package de.YonasCode.TheCore.MultiMap;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Set;
public class MultiMap<A, B, C> implements Cloneable, Iterable<A>, Serializable {
package <your-package>;
import java.util.HashMap;
import java.util.Set;
import org.bukkit.entity.Player;
public class CooldownManager {
private long time;
@jan-krueger
jan-krueger / MessageManager.java
Last active December 31, 2015 03:28
Here is my code for a small MessageManager. You can send Messages to a Player or you can log errors or messages in the console. It's realy simple to use.
package <your-package>;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
public class MessageManager {
private static MessageManager instance = new MessageManager();
public String prefix = "myprefix";