Minecraft PC IP: play.cubecraft.net

Do you want to this be added to CubeCraft

  • Yes

    Votes: 2 50.0%
  • No

    Votes: 0 0.0%
  • I give a tomato and a cookie for you

    Votes: 2 50.0%

  • Total voters
    4

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,166
518
Kepler-452b
Have you ever dreamed WHY developers say "Soon"? Have you ever wanted to say soon in Minecraft? With colors? I am enough silly to make a plugin of that?

This is the answer:

PS: This was made in 3 minutes ;)

do not kill me pls
 
  • Like
Reactions: Anmazing

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,166
518
Kepler-452b
Forgot to add source :p

Code:
import org.bukkit.Bukkit;
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 Soon extends JavaPlugin {
  
    public void onEnable() {
        System.out.println("Soon");
      
    }
     public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args)
      {
        if (cmd.getName().equalsIgnoreCase("soon")) {
          Player player = (Player)sender;
          player.getInventory().clear();
          player.sendMessage(ChatColor.GOLD + "Soon™");
          player.sendMessage(ChatColor.RED + "Soon™");
          player.sendMessage(ChatColor.DARK_RED+ "Soon™");  
          player.sendMessage(ChatColor.BLUE + "Soon™");
          player.sendMessage(ChatColor.DARK_BLUE + "Soon™");
          player.sendMessage(ChatColor.GREEN + "Soon™");
          player.sendMessage(ChatColor.DARK_GREEN + "Soon™");
          return true;
              
            
        }
      
        if (cmd.getName().equalsIgnoreCase("clearsoon")) {
              Player player = (Player)sender;
              player.getInventory().clear();
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("");
              player.sendMessage("Too much spam, right?");
              player.sendMessage("Remember, Soon™ is a trademark of CubeCraft");
              player.sendMessage("© Tech Media Tree");
              return true;
        }
        return false;
      }
    
}
 
Members Online

Team online

Latest profile posts

ItzJuan wrote on Axwi's profile.
thank you for following!
remio wrote on Cathie's profile.
beste cathie,
bij deze hartelijk gefeliciteerd met het behalen van de helper functie
warme groet,
remi
jamesthesignificant wrote on Axwi's profile.
Calm down replying to my daily questions! :)
Verbramdt wrote on Axwi's profile.
Thanks for the follow :D
Dreamer wrote on Shainted's profile.
Thanks for the follow :O <3
Top Bottom