Wash4

Main

Apr 1st, 2015
5
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package me.xtreame.BungeeNetwork.System;
  2.  
  3. import java.util.ArrayList;
  4. import java.util.HashMap;
  5.  
  6. import me.xtreame.BungeeNetwork.Commands.CMD_gamemode;
  7. import me.xtreame.BungeeNetwork.Commands.CMD_set;
  8. import me.xtreame.BungeeNetwork.Commands.CMD_teleport;
  9. import me.xtreame.BungeeNetwork.ItemManager.Item_flugstab;
  10. import me.xtreame.BungeeNetwork.ItemManager.Item_hider;
  11. import me.xtreame.BungeeNetwork.ItemManager.Item_lobbyswitcher;
  12. import me.xtreame.BungeeNetwork.ItemManager.Item_navigator;
  13. import me.xtreame.BungeeNetwork.ItemManager.Item_schild;
  14. import me.xtreame.BungeeNetwork.Listener.AsyncPlayerChatEvent_Listener;
  15. import me.xtreame.BungeeNetwork.Listener.BlockBreakEvent_Listener;
  16. import me.xtreame.BungeeNetwork.Listener.BlockPlaceEvent_Listener;
  17. import me.xtreame.BungeeNetwork.Listener.BrewEvent_Listener;
  18. import me.xtreame.BungeeNetwork.Listener.CraftItemEvent_Listener;
  19. import me.xtreame.BungeeNetwork.Listener.CreatureSpawnEvent_Listener;
  20. import me.xtreame.BungeeNetwork.Listener.EntityDamageByBlockEvent_Listener;
  21. import me.xtreame.BungeeNetwork.Listener.EntityDamageByEntityEvent_Listener;
  22. import me.xtreame.BungeeNetwork.Listener.EntityDamageEvent_Listener;
  23. import me.xtreame.BungeeNetwork.Listener.EntityDeathEvent_Listener;
  24. import me.xtreame.BungeeNetwork.Listener.EntityExplodeEvent_Listener;
  25. import me.xtreame.BungeeNetwork.Listener.EntityPortalEvent_Listener;
  26. import me.xtreame.BungeeNetwork.Listener.EntityShootBowEvent_Listener;
  27. import me.xtreame.BungeeNetwork.Listener.ExpBottleEvent_Listener;
  28. import me.xtreame.BungeeNetwork.Listener.ExplosionPrimeEvent_Listener;
  29. import me.xtreame.BungeeNetwork.Listener.FoodLevelChangeEvent_Listener;
  30. import me.xtreame.BungeeNetwork.Listener.FurnaceBurnEvent_Listener;
  31. import me.xtreame.BungeeNetwork.Listener.FurnaceSmeltEvent_Listener;
  32. import me.xtreame.BungeeNetwork.Listener.InventoryClickEvent_Listener;
  33. import me.xtreame.BungeeNetwork.Listener.LeavesDecayEvent_Listener;
  34. import me.xtreame.BungeeNetwork.Listener.PlayerBedEnterEvent_Listener;
  35. import me.xtreame.BungeeNetwork.Listener.PlayerBucketEmptyEvent_Listener;
  36. import me.xtreame.BungeeNetwork.Listener.PlayerCommandPreprocessEvent_Listener;
  37. import me.xtreame.BungeeNetwork.Listener.PlayerDeathEvent_Listener;
  38. import me.xtreame.BungeeNetwork.Listener.PlayerDropItemEvent_Listener;
  39. import me.xtreame.BungeeNetwork.Listener.PlayerEggThrowEvent_Listener;
  40. import me.xtreame.BungeeNetwork.Listener.PlayerExpChangeEvent_Listener;
  41. import me.xtreame.BungeeNetwork.Listener.PlayerFishEvent_Listener;
  42. import me.xtreame.BungeeNetwork.Listener.PlayerInteractEntityEvent_Listener;
  43. import me.xtreame.BungeeNetwork.Listener.PlayerJoinEvent_Listener;
  44. import me.xtreame.BungeeNetwork.Listener.PlayerKickEvent_Listener;
  45. import me.xtreame.BungeeNetwork.Listener.PlayerMoveEvent_Listener;
  46. import me.xtreame.BungeeNetwork.Listener.PlayerPortalEvent_Listener;
  47. import me.xtreame.BungeeNetwork.Listener.PlayerQuitEvent_Listener;
  48. import me.xtreame.BungeeNetwork.Listener.PotionSplashEvent_Listener;
  49. import me.xtreame.BungeeNetwork.Listener.PrepareItemEnchantEvent_Listener;
  50. import me.xtreame.BungeeNetwork.Listener.ProjectileLaunchEvent_Listener;
  51. import me.xtreame.BungeeNetwork.Listener.SlimeSplitEvent_Listener;
  52. import me.xtreame.BungeeNetwork.Listener.WeatherChangeEvent_Listener;
  53. import me.xtreame.BungeeNetwork.features.Feature_Druckplatte;
  54.  
  55. //import org.bukkit.Bukkit;
  56. import org.bukkit.plugin.java.JavaPlugin;
  57. import org.bukkit.scheduler.BukkitRunnable;
  58.  
  59. import de.slikey.effectlib.EffectLib;
  60. import de.slikey.effectlib.EffectManager;
  61.  
  62. public class main extends JavaPlugin {
  63.  
  64. /*
  65. * Permissions
  66. *
  67. * server.join.message
  68. * server.quit.message
  69. *
  70. * server.getitem.schutzschild
  71. * server.getitem.autonick
  72. * server.getitem.silentlobby
  73. * server.getitem.flugstab
  74. * server.location.set
  75. * server.build
  76. * server.see.death
  77. * server.tp
  78. * server.pl.command
  79. * server.gamemode.command
  80. *
  81. * server.visible
  82. * server.inv.remove
  83. *
  84. * server.bypass.schild
  85. *
  86. * server.chat.team
  87. * server.perm.team
  88. */
  89.  
  90. //==========[Hashmap]==========
  91. public HashMap<String, BukkitRunnable> jumper = new HashMap<String, BukkitRunnable>();
  92. public HashMap<String, BukkitRunnable> schild = new HashMap<String, BukkitRunnable>();
  93.  
  94. //==========[ArrayList]==========
  95. public ArrayList<String> flying = new ArrayList<String>();
  96. public ArrayList<String> saving = new ArrayList<String>();
  97.  
  98. public ArrayList<String> hidden1 = new ArrayList <String>();
  99. public ArrayList<String> hidden2 = new ArrayList <String>();
  100.  
  101. //==========[String]==========
  102. public String prefix = "§f[§6Server§f] ";
  103. public String ver1 = "§6This Server§r is running with §4Spigot§r version §21.8";
  104. public String ver2 = "§6Copyright by md_5. §c§kN§r§c§l§nModified by xTreame§kN";
  105. public String noperm = "§cDu hast keine Permissions!";
  106.  
  107. //==========[EffektManager]==========
  108. public EffectManager em;
  109.  
  110.  
  111. public void onEnable() {
  112.  
  113. em = new EffectManager(EffectLib.instance());
  114.  
  115. new PlayerJoinEvent_Listener(this);
  116. new Item_navigator(this);
  117. new BlockBreakEvent_Listener(this);
  118. new BlockPlaceEvent_Listener(this);
  119. new EntityDamageByEntityEvent_Listener(this);
  120. new EntityDamageByBlockEvent_Listener(this);
  121. new EntityDamageEvent_Listener(this);
  122. new PotionSplashEvent_Listener(this);
  123. new EntityDeathEvent_Listener(this);
  124. new FoodLevelChangeEvent_Listener(this);
  125. new PlayerDeathEvent_Listener(this);
  126. new PlayerPortalEvent_Listener(this);
  127. new PlayerKickEvent_Listener(this);
  128. new PlayerQuitEvent_Listener(this);
  129. new PrepareItemEnchantEvent_Listener(this);
  130. new CreatureSpawnEvent_Listener(this);
  131. new EntityExplodeEvent_Listener(this);
  132. new EntityPortalEvent_Listener(this);
  133. new EntityShootBowEvent_Listener(this);
  134. new ExpBottleEvent_Listener(this);
  135. new ProjectileLaunchEvent_Listener(this);
  136. new SlimeSplitEvent_Listener(this);
  137. new PlayerBedEnterEvent_Listener(this);
  138. new PlayerBucketEmptyEvent_Listener(this);
  139. new PlayerCommandPreprocessEvent_Listener(this);
  140. new PlayerDropItemEvent_Listener(this);
  141. new PlayerEggThrowEvent_Listener(this);
  142. new PlayerExpChangeEvent_Listener(this);
  143. new PlayerMoveEvent_Listener(this);
  144. new BrewEvent_Listener(this);
  145. new CraftItemEvent_Listener(this);
  146. new InventoryClickEvent_Listener(this);
  147. new ExplosionPrimeEvent_Listener(this);
  148. new PlayerFishEvent_Listener(this);
  149. new WeatherChangeEvent_Listener(this);
  150. new PlayerInteractEntityEvent_Listener(this);
  151. new LeavesDecayEvent_Listener(this);
  152. new FurnaceBurnEvent_Listener(this);
  153. new FurnaceSmeltEvent_Listener(this);
  154. new AsyncPlayerChatEvent_Listener(this);
  155.  
  156. new Feature_Druckplatte(this);
  157.  
  158. new Item_flugstab(this);
  159. new Item_hider(this);
  160. new Item_schild(this);
  161. new Item_lobbyswitcher(this);
  162.  
  163. getCommand("set").setExecutor(new CMD_set(this));
  164. getCommand("tp").setExecutor(new CMD_teleport(this));
  165. getCommand("gm").setExecutor(new CMD_gamemode(this));
  166.  
  167. //Bukkit.getMessenger().registerOutgoingPluginChannel(this, "BungeeCord");
  168. }
  169.  
  170. }
RAW Paste Data