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,165
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,165
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

Latest posts

Latest profile posts

Maybe a bit of a dumb question, but do chat prefixes exist on Cubecraft Java like they do on Bedrock?
Eli wrote on llvqs's profile.
I declare your profile officially inaugurated
1000048966.png
i stole this from Reesle
Eli wrote on Flxen's profile.
Flxen appreciation post :)
coolzombiee wrote on Darwin7's profile.
Thank you for the follow! I didn’t notice lol take one back
Top Bottom