Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.RainbowCreeeper.compliment.java;
- import org.bukkit.command.Command;
- import org.bukkit.command.CommandSender;
- import org.bukkit.entity.Player;
- import org.bukkit.plugin.java.JavaPlugin;
- public class ComplimentMe extends JavaPlugin {
- @Override
- public void onEnable(){
- }
- @Override
- public void onDisable(){
- }
- String[] randomString = new String[16];{
- randomString[0] = "Your skin is looking particularly amazing today!";
- randomString[1] = "Wow! You look amazing holding those diamonds!";
- randomString[2] = "I can't craft a world without you!";
- randomString[3] = "You are the coolest player on this server!";
- randomString[4] = "I bet zombies swoon over you!";
- randomString[5] = "I bet you and creepers have a blast!";
- randomString[6] = "I love it when you sprint like that";
- randomString[7] = "Wow you are such a hard worker!";
- randomString[8] = "I dig your style!";
- randomString[9] = "Your potion brew me away!";
- randomString[10] = "I bet people call you big miner!";
- randomString[11] = "Are you a ghast cause you blew me away";
- randomString[12] = "I wanna stick to you like slimes";
- randomString[13] = "You are proably great a riding horses!";
- randomString[14] = "your oresome!";
- randomString[15] = "You probably listen to bed rock!";
- public boolean onCommand (CommandSender sender, Command cmd, String label, String[] args){
- if (cmd.getName().equalsIgnoreCase("praise")) {
- }
- Player player = (Player) sender;
- Player.sendMessage(randomString[(int)(Math.random()*15)]);
- return true;
- }
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement