Skip to content

Commit

Permalink
v0.0.5 - Another test for Travis... Removed Server Name from config
Browse files Browse the repository at this point in the history
  • Loading branch information
Fido2603 committed May 25, 2019
1 parent 4169377 commit eb00a0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ jdk:
- oraclejdk8
deploy:
provider: releases
api_key: $GITHUB_TOKEN
api_key:
secure: qsS6Zl57gmOjXqaVuDb7RmyVZ9MGRo4DVXQsyR6FCNStWY/UMRXVeTYjG1IMKI78L8xuAXAB2LSbZoIjB7mezIAtRRfXI5fz/eOsHXpBoOwK3c+042V2MYNDkWubt9mvO10u7nyZ6hpAqKTJ2maEbCva7/tA8v1e/nimtR6JiyysmupLT8UWIA5qT35wkX4VNUz35cazfzRyarAejcw87/IA6ihqLr4uExUva0/IjEjW9Px7CZADvgPQDLzQOvuJ8wBOPM3mXEVZ18DPwoa5j40cFdY4ilxKpv7V860jMCyGS7yAxBUJ077VDwoZdHAmx390xHDEh4Tad2VumhWA8FU3OBO0y30ZX0bufrrOhBEBXFbPIyX/5TAHdwNywAS2cJTsboB04lc/ngAHcSDuVFrQlQdX59R7wmWWU6Vfxr1TIqhKUA1GeWg1NILyI6440U12xYA0ZNrktrHOEg8S5rQAGqfKvWIkGLtY3mtvq3RaSTt6Fj+ZJxv2A/+etHiU+kh233jLg2e0z5ZrM2flTECzF407yPXitNvB97XKsOu2enfgMUKEulK3MOCx+augHFGE7QYfXrV/HE8wvYp3ytoWNL4cfh3TZ/oWub5v38AI332spNzrgnyaGZsuJFrKH0ATAoLnVaztwLuG0qcGquupXETykMzoErnguJHfpUk=
file: target/Semi-Hardcore-*.jar
skip_cleanup: true
on:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>dk.fido2603</groupId>
<artifactId>semihardcore</artifactId>
<version>0.0.4</version>
<version>0.0.5</version>
<name>Semi-Hardcore</name>
<repositories>
<!-- Spigot Repo for Spigot and Bukkit -->
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/dk/fido2603/semihardcore/SemiHardcore.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public class SemiHardcore extends JavaPlugin

private static Economy economy = null;
private Commands commands = null;
public String serverName = "Your Server";

private static SemiHardcore plugin;

Expand Down Expand Up @@ -138,14 +137,12 @@ public void loadSettings()
{
config = getConfig();

this.serverName = config.getString("Settings.ServerName", "Your Server");
this.debug = config.getBoolean("Settings.Debug", false);
this.timeToBan = config.getInt("Settings.TimeToBan", 24);
}

public void saveSettings()
{
config.set("Settings.ServerName", this.serverName);
config.set("Settings.Debug", Boolean.valueOf(this.debug));
config.set("Settings.TimeToBan", this.timeToBan);

Expand Down

0 comments on commit eb00a0c

Please sign in to comment.