Advertisement
TNT_Block

antiversion plugin

Apr 24th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. package de.tnt_block_unkown.antiversion.main;
  2.  
  3. import org.bukkit.command.Command;
  4. import org.bukkit.command.CommandSender;
  5. import org.bukkit.entity.Player;
  6. import org.bukkit.plugin.java.JavaPlugin;
  7.  
  8. public class Start extends JavaPlugin {
  9. public boolean onCommand(CommandSender sender, Command command, String cmdlabel, String[] args) {
  10. if (sender instanceof Player) {
  11. sender.sendMessage(
  12. "This server is running S4MSpigot version git-S4MSpigot-4238ef21 (MC: 1.8.8) (Implementing API version TacoSpigot 1.8.8-R0.2-SNAPSHOT)");
  13. sender.sendMessage("Checking version, please wait...");
  14. sender.sendMessage("You are running the latest version");
  15. }
  16. return true;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement