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 Professional
Sep 15, 2015
3,615
4,166
558
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 Professional
Sep 15, 2015
3,615
4,166
558
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 posts

Latest profile posts

AliWarrior wrote on liilianaa's profile.
Thanks for the follow!
AliWarrior wrote on LemonyBreak459!'s profile.
Thanks for the follow!
AliWarrior wrote on qJxny's profile.
Thanks for the follow!
AliWarrior wrote on yurisatori0312's profile.
Thanks for the follow!
Top Bottom