Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.bukkit.plugin.java.*;
- import org.bukkit.event.*;
- import org.bukkit.configuration.file.*;
- import org.bukkit.command.*;
- import de.server.teamler.cmds.*;
- import eu.lequitfreezy.falcionsystem.clearlag.*;
- import org.bukkit.plugin.*;
- import de.server.verknpf.*;
- import de.server.events.*;
- import eu.lequitfreezy.falcionsystem.globalmute.*;
- import com.comphenix.protocol.*;
- import eu.lequitfreezy.falcionsystem.enterhaken.*;
- import eu.lequitfreezy.falcionsystem.rangcmd.*;
- import eu.lequitfreezy.falcionsystem.coloredsigns.*;
- import eu.lequitfreezy.falcionsystem.titleapi.*;
- import eu.lequitfreezy.falcionsystem.antiplugin.*;
- import java.io.*;
- import org.bukkit.*;
- import java.util.*;
- import eu.lequitfreezy.falcionsystem.verify.*;
- import eu.lequitfreezy.falcionsystem.main.*;
- import eu.lequitfreezy.falcionsystem.anticrash.*;
- import org.bukkit.entity.*;
- import org.bukkit.scheduler.*;
- public class main extends JavaPlugin implements Listener
- {
- private static main plugin;
- public static HashMap<String, String> messages;
- public static ArrayList<String> onlineplayers;
- private boolean isglobalmute;
- private static main instance;
- public ProtocolManager protocolManager;
- public static File file;
- public static YamlConfiguration cfg;
- public static File file2;
- public static YamlConfiguration cfg2;
- private MySQL mySQL;
- private File file1;
- private FileConfiguration configuration;
- private static String verifyTag;
- private static String unVerifyTag;
- static {
- main.messages = new HashMap<String, String>();
- main.onlineplayers = new ArrayList<String>();
- main.file = new File("plugins//FalcionSystem//ActionBar//config.yml");
- main.cfg = YamlConfiguration.loadConfiguration(main.file);
- main.file2 = new File("plugins//FalcionSystem//YouTube//messages.yml");
- main.cfg2 = YamlConfiguration.loadConfiguration(main.file2);
- }
- public main() {
- this.file1 = new File("plugins//FalcionSystem//TSVerify-Tag//config.yml");
- this.configuration = (FileConfiguration)YamlConfiguration.loadConfiguration(main.file);
- }
- public static main getPlugin() {
- return main.plugin;
- }
- public void onEnable() {
- this.getCommand("CW").setExecutor((CommandExecutor)new CW_CMD());
- this.getCommand("Commandwatch").setExecutor((CommandExecutor)new CW_CMD());
- this.getCommand("TP").setExecutor((CommandExecutor)new TP_CMD());
- this.getCommand("Teleport").setExecutor((CommandExecutor)new TP_CMD());
- this.getCommand("TPH").setExecutor((CommandExecutor)new TP_CMD());
- this.getCommand("Tphere").setExecutor((CommandExecutor)new TP_CMD());
- this.getCommand("TPtoggle").setExecutor((CommandExecutor)new TP_CMD());
- this.getCommand("ICC").setExecutor((CommandExecutor)new ClearChat());
- this.getCommand("Nacht").setExecutor((CommandExecutor)new NACHT_CMD());
- this.getCommand("Tag").setExecutor((CommandExecutor)new TAG_CMD());
- this.getCommand("MSG").setExecutor((CommandExecutor)new MSG_CMD());
- this.getCommand("Gamemode").setExecutor((CommandExecutor)new GAMEMODE_CMD());
- this.getCommand("GM").setExecutor((CommandExecutor)new GAMEMODE_CMD());
- this.getCommand("EC").setExecutor((CommandExecutor)new EC_CMD());
- this.getCommand("Enderchest").setExecutor((CommandExecutor)new EC_CMD());
- this.getCommand("CI").setExecutor((CommandExecutor)new INV_CLEAR_CMD());
- this.getCommand("Clear").setExecutor((CommandExecutor)new INV_CLEAR_CMD());
- this.getCommand("Rename").setExecutor((CommandExecutor)new RENAME_CMD());
- this.getCommand("Repair").setExecutor((CommandExecutor)new REPAIR_CMD());
- this.getCommand("Invsee").setExecutor((CommandExecutor)new INVSEE_CMD());
- this.getCommand("clearlag").setExecutor((CommandExecutor)new ClearLag());
- Bukkit.getPluginManager().registerEvents((Listener)new To_CW_CMD(), (Plugin)this);
- Bukkit.getPluginManager().registerEvents((Listener)new To_CHAT_CMD(), (Plugin)this);
- Bukkit.getPluginManager().registerEvents((Listener)new IPTrack_Event((Plugin)this), (Plugin)this);
- Bukkit.getPluginManager().registerEvents((Listener)new JoinQuitMotd_Event(), (Plugin)this);
- Bukkit.getPluginManager().registerEvents((Listener)new OreGenerator(), (Plugin)this);
- this.LoadConfig();
- this.LoadConfig_Settinsg();
- this.getCommand("yt").setExecutor((CommandExecutor)new YouTube());
- this.getCommand("teamchat").setExecutor((CommandExecutor)new TeamChat());
- this.getCommand("ts").setExecutor((CommandExecutor)new TeamSpeak());
- this.getCommand("clearchat").setExecutor((CommandExecutor)new ClearChat());
- this.getCommand("setspawn").setExecutor((CommandExecutor)new Setspawn());
- this.getCommand("spawn").setExecutor((CommandExecutor)new Spawn());
- this.getCommand("vanish").setExecutor((CommandExecutor)new Vanish());
- this.getCommand("broadcast").setExecutor((CommandExecutor)new Broadcast());
- this.getCommand("fly").setExecutor((CommandExecutor)new Fly());
- this.getCommand("kopf").setExecutor((CommandExecutor)new Kopf());
- this.getCommand("feed").setExecutor((CommandExecutor)new Feed());
- this.getCommand("heal").setExecutor((CommandExecutor)new Feed());
- this.getCommand("teamhelp").setExecutor((CommandExecutor)new Teamhelp());
- this.getCommand("warps").setExecutor((CommandExecutor)new WarpList());
- this.getCommand("kick").setExecutor((CommandExecutor)new Kick());
- this.getCommand("bewerben").setExecutor((CommandExecutor)new Bewerbung());
- this.getCommand("cock").setExecutor((CommandExecutor)new Cock());
- this.getCommand("ping").setExecutor((CommandExecutor)new Ping());
- this.getCommand("store").setExecutor((CommandExecutor)new Store());
- this.getCommand("falke").setExecutor((CommandExecutor)new Store());
- this.getCommand("premium").setExecutor((CommandExecutor)new Store());
- this.getCommand("help").setExecutor((CommandExecutor)new Help());
- this.getCommand("rang").setExecutor((CommandExecutor)new RangSystem());
- this.getCommand("action1").setExecutor((CommandExecutor)new TitleCMD());
- this.getCommand("action2").setExecutor((CommandExecutor)new TitleCMD());
- this.getCommand("action3").setExecutor((CommandExecutor)new TitleCMD());
- this.getCommand("action4").setExecutor((CommandExecutor)new TitleCMD());
- this.getCommand("action5").setExecutor((CommandExecutor)new TitleCMD());
- this.getCommand("action6").setExecutor((CommandExecutor)new TitleCMD());
- this.getCommand("action7").setExecutor((CommandExecutor)new TitleCMD());
- this.getCommand("action8").setExecutor((CommandExecutor)new TitleCMD());
- this.getCommand("action9").setExecutor((CommandExecutor)new TitleCMD());
- this.getCommand("action10").setExecutor((CommandExecutor)new TitleCMD());
- this.isglobalmute = false;
- this.getCommand("globalmute").setExecutor((CommandExecutor)new GlobalMute_CMD());
- Bukkit.getPluginManager().registerEvents((Listener)new Message_LISTENER(), (Plugin)this);
- main.instance = this;
- this.protocolManager = ProtocolLibrary.getProtocolManager();
- this.initPrevents();
- Bukkit.getPluginManager().registerEvents((Listener)new GrapplingHook(), (Plugin)this);
- Bukkit.getPluginManager().registerEvents((Listener)new JoinQuitRang(), (Plugin)this);
- Bukkit.getPluginManager().registerEvents((Listener)new WrongCommand(), (Plugin)this);
- Bukkit.getPluginManager().registerEvents((Listener)new ColorSigns(), (Plugin)this);
- Bukkit.getPluginManager().registerEvents((Listener)new TitleAPI(), (Plugin)this);
- Bukkit.getPluginManager().registerEvents((Listener)new AntiPL_Listener(), (Plugin)this);
- main.cfg.options().header("====================\nProgrammiert mit: ActionBarAPI-1.5.4\n====================");
- main.cfg.options().copyHeader();
- main.cfg.addDefault("ActionBar.CMD1", (Object)"&7Updates: &b&l+System recode!");
- main.cfg.addDefault("ActionBar.CMD2", (Object)"&7Updates: &c&l+System recode!");
- main.cfg.addDefault("ActionBar.CMD3", (Object)"&7Updates: &e&l+System recode!");
- main.cfg.addDefault("ActionBar.CMD4", (Object)"&7Updates: &3&l+System recode!");
- main.cfg.addDefault("ActionBar.CMD5", (Object)"&7Updates: &4&l+System recode!");
- main.cfg.addDefault("ActionBar.CMD6", (Object)"&7Updates: &5&l+System recode!");
- main.cfg.addDefault("ActionBar.CMD7", (Object)"&7Updates: &6&l+System recode!");
- main.cfg.addDefault("ActionBar.CMD8", (Object)"&7Updates: &1&l+System recode!");
- main.cfg.addDefault("ActionBar.CMD9", (Object)"&7Updates: &9&l+System recode!");
- main.cfg.addDefault("ActionBar.CMD10", (Object)"&7Updates: &a&l+System recode!");
- main.cfg.options().copyDefaults(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement