Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.mc_myster.Frens;
- import java.util.logging.Logger;
- import org.bukkit.ChatColor;
- import org.bukkit.command.Command;
- import org.bukkit.command.CommandSender;
- import org.bukkit.entity.Player;
- import org.bukkit.plugin.java.JavaPlugin;
- public class Main extends JavaPlugin {
- public final Logger logger = Logger.getLogger("Minecraft");
- public void onEnable() {
- logger.info("Frens plugin enabled!");
- }
- public void onDisable() {
- logger.info("Frens Plugin Disabled!");
- }
- public boolean onCommand (CommandSender sender, Command cmd, String commandlabel, String[] args) {
- Player player = (Player) sender;
- if (commandlabel.equalsIgnoreCase("fversion")) {
- player.sendMessage(ChatColor.AQUA + "Frens V1.0 by mc_myster");
- }
- if(commandlabel.equalsIgnoreCase("fren"))
- player.sendMessage(ChatColor.BLUE + "Jaffle_crack and Ghosthowler_apex :3");
- if(commandlabel.equalsIgnoreCase("minigames"))
- player.sendMessage(ChatColor.AQUA + "Skywars, Kitpvp, Hungergames, Paintball, Parkour, Tntrun, Quake, Spleef, Dropper, Sumo, CTF, Super Smash bros");
- if(commandlabel.equalsIgnoreCase("people"))
- player.sendMessage(ChatColor.AQUA + "[Owner]mc_myster, [Co-Owner]Jaffle_crack, [Co-Owner]Ghosthowler_apex");
- if(commandlabel.equalsIgnoreCase("contact"))
- player.sendMessage(ChatColor.AQUA + "Skype usernames: mc_myster= mc_myster, jaffle_crack= jake heir");
- if(commandlabel.equalsIgnoreCase("spawnhelp"))
- player.sendMessage(ChatColor.AQUA + "The spawn system has spawns set in each minigame world, to use this do /spawn (minigame), for a list of minigame world names do /fspawn.");
- else if(commandlabel.equalsIgnoreCase("fspawn"))
- player.sendMessage(ChatColor.AQUA + "Skywars, kitpvp, hungergames, paintball, parkour, tntrun, quake, spleef, dropper, sumo, ctf, scb");
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement