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

Latest profile posts

aienmg9 wrote on SfenKer's profile.
Hi, can I be your first friend?
starblade9603 wrote on AnolTongi's profile.
Sr.mod when?
Marcenator wrote on Auri's profile.
And happy birthday if it's your birthday 🎊🎊.I wish you some good coding skills and health. Also happiness obviously
Marcenator wrote on Auri's profile.
Thank you very much
Marcenator wrote on Auri's profile.
At least eliminate the obvios cheaters, pleaseeas. The 50 block reach isnt beatable. THinking
Top Bottom