my fucking god

This commit is contained in:
Super_ 2019-12-20 19:47:23 -05:00
parent ef9f55f7ad
commit 1dc2bd8518
14 changed files with 0 additions and 436 deletions

View File

@ -256,9 +256,6 @@ public class TotalFreedomMod extends AeroPlugin<TotalFreedomMod>
amp = bridges.registerService(AMP.class);
bridges.start();
// Emotes
// todo
timer.update();
FLog.info("Version " + pluginVersion + " for " + ServerInterface.COMPILE_NMS_VERSION + " enabled in " + timer.getTotal() + "ms");

View File

@ -1,36 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Cheat on a block game", usage = "/<command> [player]")
public class Command_cheat extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length > 1)
{
return false;
}
if (args.length == 1)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " just accused " + ChatColor.RED + player.getName() + ChatColor.AQUA + " of cheating! Everyone call them out!");
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " just cheated on a block game!");
return true;
}
}

View File

@ -1,50 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Dance with one or more people!", usage = "/<command> [player] [player2]")
public class Command_dance extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length > 2)
{
return false;
}
if (args.length == 2)
{
Player player = Bukkit.getPlayer(args[0]);
Player player2 = Bukkit.getPlayer(args[1]);
if (player == null || player2 == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + ", "
+ ChatColor.RED + player.getName() + ChatColor.AQUA + " and "
+ ChatColor.RED + player2.getName() + ChatColor.AQUA + " dance together as a trio!");
return true;
}
if (args.length == 1)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " takes " + ChatColor.RED + player.getName() + ChatColor.AQUA + " up for a waltz!");
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " spins around!");
return true;
}
}

View File

@ -1,25 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Pay your respects..", usage = "/<command>")
public class Command_f extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length != 0)
{
return false;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " just payed their respects! Type " + ChatColor.RED + "F " + ChatColor.AQUA + "to pay your respects!");
return true;
}
}

View File

@ -1,46 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.apache.commons.lang.StringUtils;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Greets a user.", usage = "/<command> [player] [message]")
public class Command_greet extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length >= 2)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " greets "
+ ChatColor.RED + player.getName() + ChatColor.AQUA + " by saying '"
+ ChatColor.RED + StringUtils.join(args, " ", 1, args.length) + ChatColor.AQUA + "'.");
return true;
}
if (args.length == 1)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " takes " + ChatColor.RED + player.getName() + ChatColor.AQUA + " up for a waltz!");
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " spins around!");
return true;
}
}

View File

@ -1,38 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Gives someone a high five!", usage = "/<command> [player]")
public class Command_highfive extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length > 1)
{
return false;
}
if (args.length == 1)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " gives a high five to " + ChatColor.RED + player.getName() + ChatColor.AQUA + "!");
FUtil.bcastMsg(ChatColor.AQUA + "Good job " + ChatColor.RED + sender.getName() + ChatColor.AQUA + "!");
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " raises their palm for a high five");
FUtil.bcastMsg(ChatColor.AQUA + "but there was noone to answer.");
return true;
}
}

View File

@ -1,36 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Hug someone <3", usage = "/<command> [player]")
public class Command_hug extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length > 1)
{
return false;
}
if (args.length == 1)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " hugs " + ChatColor.RED + player.getName() + ChatColor.AQUA + " " + ChatColor.LIGHT_PURPLE + "<3");
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " looks like they really need a hug.");
return true;
}
}

View File

@ -1,39 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Hmm...", usage = "/<command> [player]")
public class Command_ragehayes extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length > 1)
{
return false;
}
if (args.length == 1)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " just accused "
+ ChatColor.RED + player.getName() + ChatColor.AQUA + " of being " + ChatColor.RED + "RageHayes's accomplice!"
+ ChatColor.AQUA + "(RageHayes cheats on SMP) Everyone call them out!");
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " is an accomplice of "
+ ChatColor.RED + "RageHayes" + ChatColor.AQUA + ", the one who cheated on " + ChatColor.RED + "SMP" + ChatColor.AQUA + "!");
return true;
}
}

View File

@ -37,11 +37,6 @@ public class Command_ro extends FreedomCommand
materials.addAll(Groups.SHULKER_BOXES);
names = "shulker boxes";
}
else if (args[0].equalsIgnoreCase("heads"))
{
materials.addAll(Groups.HEADS);
names = "heads";
}
else
{
for (String materialName : StringUtils.split(args[0], ","))

View File

@ -1,37 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Blatantly scream towards yourself or someone else", usage = "/<command> [player]")
public class Command_scream extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length > 1)
{
return false;
}
if (args.length == 1)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " is screaming at "
+ ChatColor.RED + player.getName() + ChatColor.AQUA + "!");
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " is " + ChatColor.RED + "screaming!");
return true;
}
}

View File

@ -1,37 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Smiles!", usage = "/<command> [player]")
public class Command_smile extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length > 1)
{
return false;
}
if (args.length == 1)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " gives "
+ ChatColor.RED + player.getName() + ChatColor.AQUA + " a nice big smile.");
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " is smiling!");
return true;
}
}

View File

@ -1,37 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Give someone a thumbs up.", usage = "/<command> [player]")
public class Command_thumbsup extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length > 1)
{
return false;
}
if (args.length == 1)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " gives a big thumbs up to "
+ ChatColor.RED + player.getName() + ChatColor.AQUA + "!");
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " gives a thumbs up!");
return true;
}
}

View File

@ -1,37 +0,0 @@
package me.totalfreedom.totalfreedommod.command;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH, cooldown = 20)
@CommandParameters(description = "Vore yourself or someone else..", usage = "/<command> [player]")
public class Command_vore extends FreedomCommand
{
@Override
public boolean run(final CommandSender sender, final Player playerSender, final Command cmd, final String commandLabel, final String[] args, final boolean senderIsConsole)
{
if (args.length > 1)
{
return false;
}
if (args.length == 1)
{
Player player = Bukkit.getPlayer(args[0]);
if (player == null)
{
sender.sendMessage(FreedomCommand.PLAYER_NOT_FOUND);
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " just vored "
+ ChatColor.RED + player.getName() + ChatColor.AQUA + "!");
return true;
}
FUtil.bcastMsg(ChatColor.RED + sender.getName() + ChatColor.AQUA + " just vored themselves. They weren't important anyways.");
return true;
}
}

View File

@ -160,14 +160,4 @@ public class Groups
Material.ZOMBIE_HORSE_SPAWN_EGG,
Material.ZOMBIE_PIGMAN_SPAWN_EGG,
Material.ZOMBIE_VILLAGER_SPAWN_EGG);
public static final List<Material> HEADS = Arrays.asList(
Material.CREEPER_HEAD,
Material.CREEPER_WALL_HEAD,
Material.DRAGON_HEAD,
Material.DRAGON_WALL_HEAD,
Material.PLAYER_HEAD,
Material.PLAYER_WALL_HEAD,
Material.ZOMBIE_HEAD,
Material.ZOMBIE_WALL_HEAD);
}