Guest User

Untitled

a guest
Dec 9th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. package com.kingpulse.plugins;
  2.  
  3. import java.util.logging.Logger;
  4.  
  5. import org.bukkit.ChatColor;
  6. import org.bukkit.command.Command;
  7. import org.bukkit.command.CommandSender;
  8. import org.bukkit.entity.Player;
  9. import org.bukkit.plugin.PluginDescriptionFile;
  10. import org.bukkit.plugin.java.JavaPlugin;
  11.  
  12. public class promoreq extends JavaPlugin {
  13. public final Logger logger = Logger.getLogger("Minecraft");
  14. public static promoreq plugin;
  15.  
  16. @Override
  17. public void onEnable(){
  18. PluginDescriptionFile pdfFile = this.getDescription();
  19. this.logger.info(pdfFile.getName() + "Has Been Enabled." + pdfFile.getVersion());
  20. }
  21.  
  22.  
  23. public void ONDisable(){
  24. PluginDescriptionFile pdfFile = this.getDescription();
  25. this.logger.info(pdfFile.getName() + "Has Been Disabled.");
  26. }
  27.  
  28. public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){
  29. Player player = (Player) sender;
  30.  
  31. if (cmd.getName().equalsIgnoreCase("rank"))
  32. {
  33. if (args[0].equalsIgnoreCase("jr"))
  34. {
  35. player.sendMessage(ChatColor.GREEN + "Requirements: " + ChatColor.RED + "To get Jr simply ask a staff member from a promotion to visitor " + ChatColor.GREEN +
  36.  
  37. "Unlocks:" + ChatColor.RED + "This unlocks the ability to build, placeblocks and to majority of commands. Though all of EE is banned for Jr's");
  38. }
  39. else if (args[0].equalsIgnoreCase("Int"))
  40. {
  41. player.sendMessage(ChatColor.GREEN + "Requirements: " + ChatColor.RED + "To get the rank Int you need to have a 64 eu/t input of power and full nano armor. We suggest that you make a Mv SolarArray to get the 64 eu/t input. Use a eu reader to check your eu/t in your wires. " + ChatColor.GREEN + "Unlocks" + ChatColor.RED + "Int Unlocks the ability to wear Nano-Armor, craft quantum and place neuclear reactors.");
  42. }
  43. else if (args[0].equalsIgnoreCase("sr"))
  44. {
  45. player.sendMessage(ChatColor.GREEN + "Requirements: " + ChatColor.RED + "To get Sr You need to have full quantum armor and 512 eu/t input of power. We suggest for the eu/t you use a neuclear reactor or make an Hv SolarArray " + ChatColor.GREEN + "Unlocks" + ChatColor.RED + "Sr Rank unlocks the ability to weild a Nano-Saber, wear Quantum Armor, use the Philosophers stone, and the ability to use the transmutation table. The rest of the EE is banned untill Master");
  46. }
  47. else if (args[0].equalsIgnoreCase("Master"))
  48. {
  49. player.sendMessage(ChatColor.GREEN + "Requirements: " + ChatColor.RED + "To get Master you need to complete/master three mods of tekkit, commonly used mods for master is: RedPower, RailCraft, Idustrial Craft, Buildcraft. You need to create something in those mods that will impress one of the Executives to have mastered that mod. Or you can take an easy rout and pay $20 to the server and get Master Rank " + ChatColor.GREEN + "Unlocks" + ChatColor.RED + "Master unlocks the basics of EE you can craft DarkMatter and DarkMatter Items, can use energy condensers, can craft all EE rings (apart from banned ones) ");
  50. }
  51. else if (args[0].equalsIgnoreCase("DM"))
  52. {
  53. player.sendMessage(ChatColor.GREEN + "Requirements: " + ChatColor.RED + "To get DM (DarkMaster) You need to have all DarkMatter tools and DarkMatter armor." + ChatColor.GREEN + "Unlocks" + ChatColor.RED + "DM unlocks the ability to weild darkmatter items and wear darkmatter armor ");
  54. }
  55. else if (args[0].equalsIgnoreCase("RM"))
  56. {
  57. player.sendMessage(ChatColor.GREEN + "Requirements: " + ChatColor.RED + "To get RM (RedMaster) You need to have all RedMatter tools and RedMatter armor" + ChatColor.GREEN + "Unlocks" + ChatColor.RED + "RM unlocks the ability to weild RedMatter items and wear RedMatter armor ");
  58. }
  59. else if (args[0].equalsIgnoreCase("GM"))
  60. {
  61. player.sendMessage(ChatColor.GREEN + "Requirements: " + ChatColor.RED + "To get GM (GrandMaster) you need to have every obtainable item in the game in order in chests, or a much easier option is you can buy GM for $50 saving weeks of work. " + ChatColor.GREEN + "Unlocks" + ChatColor.RED + "This unlocks the RedMatter Furnace, Void rings, BlackHole band, Gem armor, mercural eye");
  62. }
  63. return true;
  64. }
  65.  
  66.  
  67. return false;
  68. }
  69.  
  70. }
Add Comment
Please, Sign In to add comment