Skip to content

Instantly share code, notes, and snippets.

{
"name": "IpTorrents",
"baseUrl": "https://iptorrents.com",
"requireAuthentification": true,
"supportCookiesAuthentification": true,
"supportCredentialsAuthentification": true,
"loginUrl": "/take_login.php",
"loginQueryString": "username={username}&password={password}",
"searchUrl": "/t?{cat}q={query};o=seeders",
"categories": {
package com.AnniStuff.sigler;
import java.util.ArrayDeque;
import java.util.HashSet;
import java.util.List;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.entity.Entity;
package com.AnniStuff.sigler;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import net.minecraft.server.v1_7_R1.NBTTagCompound;
import net.minecraft.server.v1_7_R1.NBTTagList;
import org.bukkit.Location;
package com.AnniStuff.sigler;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Effect;
package com.AnniStuff.sigler;
import java.util.ArrayDeque;
import java.util.HashSet;
import java.util.List;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.entity.Entity;
@97WaterPolo
97WaterPolo / Fisherman
Last active August 29, 2015 13:56
FisherMan Class
//TODO Change the instances for the teams with scoreboard stuff.
/**Hallo Saunders! I really appreciate you giving me the chance to help with anni, I went onto the forums and saw your
* sticky of future classes, the first one was a Fisherman class that CoastinJosh posted. Hopefully this works for you!
*
* I have the teams and board registered in my main class, so if you use this change it to where your scoreboard stuff is.
*
* Most of it is commented, so you can kind of see my train of thought.
*
*
package com.rebelempiremc.sigler.resource;
import java.util.Random;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Color;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory;
//Using config int breadfood = getConfig().getInt("Bread.Food"); Bread is the indent, food is what you need.
//https://gist.github.com/AgentTroll/6382979 Contructosr
package com.rebelempiremc.sigler;
import java.util.ArrayList;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;