-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
264 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 0 additions & 76 deletions
76
src/main/java/me/xginko/betterworldstats/PAPIExpansion.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
package me.xginko.betterworldstats; | ||
|
||
import me.xginko.betterworldstats.stats.FileStats; | ||
import me.xginko.betterworldstats.stats.MapAge; | ||
import me.xginko.betterworldstats.stats.Players; | ||
import org.bukkit.event.HandlerList; | ||
import me.xginko.betterworldstats.stats.WorldStats; | ||
import me.xginko.betterworldstats.stats.BirthCalendar; | ||
import me.xginko.betterworldstats.stats.PlayerStats; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
public class Statistics { | ||
public final class Statistics { | ||
|
||
public final @NotNull MapAge mapAge; | ||
public final @NotNull FileStats fileStats; | ||
public final @NotNull Players players; | ||
public final @NotNull BirthCalendar birthCalendar; | ||
public final @NotNull WorldStats worldStats; | ||
public final @NotNull PlayerStats playerStats; | ||
|
||
public Statistics() { | ||
this.fileStats = new FileStats(); | ||
this.mapAge = new MapAge(); | ||
this.players = new Players(); | ||
this.worldStats = new WorldStats(); | ||
this.birthCalendar = new BirthCalendar(); | ||
this.playerStats = new PlayerStats(); | ||
} | ||
|
||
public void shutdown() { | ||
HandlerList.unregisterAll(players); | ||
playerStats.disable(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.