Package de.codolith.Cinema

Examples of de.codolith.Cinema.Version


    if(cinema.getConfig().getBoolean("Plugin.ShowApiKeyInInfo") && cinema.getConfig().contains("Plugin.ApiKey")){
      sender.sendMessage("ApiKey: "+cinema.getConfig().getString("Plugin.ApiKey"));
    }
    sender.sendMessage("Cinema Version: "+Cinema.version);
    if(cinema.getConfig().getBoolean("Plugin.CheckForNewVersion")){
      Version newest = cinema.getNewestVersion();
      if(newest.isNewerThan(Cinema.version)){
        sender.sendMessage("NEW VERSION AVAILABLE FOR CINEMA PLUGIN! You have \""+ Cinema.version + "\" and the newest version is \"" + newest+"\"");
        sender.sendMessage("Get Cinema here: http://dev.bukkit.org/server-mods/cinema/files/");
      }
    }
    return true;
View Full Code Here

TOP

Related Classes of de.codolith.Cinema.Version

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.