Skip to content

Commit

Permalink
1.0.63
Browse files Browse the repository at this point in the history
  • Loading branch information
ZombieStriker committed Feb 2, 2020
1 parent b68476a commit 0808160
Show file tree
Hide file tree
Showing 9 changed files with 100 additions and 287 deletions.
9 changes: 9 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

256 changes: 65 additions & 191 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>me.zombie_striker</groupId>
<artifactId>NPCAuctions</artifactId>
<version>1.0.62</version>
<version>1.0.63</version>
<repositories>
<repository>
<id>spigot-repo</id>
Expand Down Expand Up @@ -32,7 +32,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.14.2-R0.1-SNAPSHOT</version>
<version>1.15-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>

Expand Down
4 changes: 4 additions & 0 deletions resources/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.0.63
Updated to 1.15.2
Cleaned-up code.

1.0.62
Fixed error for CCE

Expand Down
29 changes: 0 additions & 29 deletions src/me/zombie_striker/npcauctions/GithubDependDownloader.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,6 @@

public class GithubDependDownloader {

/*
* public void update(Player p){ String version = Main.version; String
* parsedVersion = version.replace(".", "");
*
* try { URL api = new
* URL("https://api.github.com/repos/greeves12/COD/releases/latest");
* URLConnection con = api.openConnection(); con.setConnectTimeout(15000);
* con.setReadTimeout(15000);
*
* String tagName = null;
*
* try{ JsonObject json = new JsonParser().parse(new
* InputStreamReader(con.getInputStream())).getAsJsonObject(); tagName =
* json.get("tag_name").getAsString();
*
* String finalTagName = tagName.replace(".", ""); int latestVersion =
* Integer.parseInt(finalTagName.substring(1, finalTagName.length()));
*
* if(latestVersion > Integer.parseInt(parsedVersion)) {
*
* p.sendMessage("§8*** [COD] §bThere is a new version available §a" + tagName +
* "§8***"); p.sendMessage("§8*** §dDownload the new build from here §8***");
* p.sendMessage("§8*** §6§6https://github.com/greeves12/COD/releases §8***");
* p.sendMessage("§bOnly Admins can see this message!"); }
*
* }catch(JsonIOException e){ e.printStackTrace(); } } catch (IOException e) {
* e.printStackTrace(); } }
*/

public static boolean autoUpdate(final Plugin main, final File output, String author, String githubProject,
String jarname) {
try {
Expand Down
Loading

0 comments on commit 0808160

Please sign in to comment.