6 Commits
Author SHA1 Message Date
RednedEpic 697015bd18 BattleTracker v2.5.11.0 w/ full 1.15 support 2019-12-12 18:35:58 -06:00
Redned 196e4daed4 Update repo in Jenkinsfile 2019-10-13 16:23:14 -05:00
Redned 2831179915 Update README.md 2019-08-16 18:11:32 -05:00
RednedEpic 7d1d72e60b Add in missing shaded library 2019-08-10 15:57:17 -05:00
RednedEpic c35c8d6101 Add support to retrieve name of player from top stats 2019-08-02 16:38:17 -05:00
Redned 735b11d308 Add stats to README
- Add stats image from bStats to README
2019-07-04 16:16:17 -05:00
5 changed files with 30 additions and 10 deletions

No files matched your search

Vendored
+2 -2
View File
@@ -4,5 +4,5 @@ library identifier: 'BattlePipelineLib@master', retriever: modernSCM(
credentialsId: 'github-login'])
compileAndDeployMaven {
repo = 'BattleTracker'
}
repo = 'BattleTracker-Legacy'
}
+10 -4
View File
@@ -1,6 +1,8 @@
![BattleTracker](https://wiki.battleplugins.org/images/0/0c/BattleTracker.png "BattleTracker")
==========
### Please note, this is a legacy repository for the upcoming [BattleTracker rewrite](https://github.com/BattlePlugins/BattleTracker/). As of right now, this repository is still being maintained and is the main version of BattleTracker, but in the future please redirect all issues and reports [here](https://github.com/BattlePlugins/BattleTracker/).
An SQL tracker for Minecraft and [BattleArena](https://github.com/BattlePlugins/BattleArena). Allows overall stats, tallies, and individual records.
Reporting Issues:
@@ -29,15 +31,15 @@ you have a good amount of information about it, creating a new issue might be a
Links
------------
Live Chat on Discord:
* [BattlePlugins Dev](https://discord.gg/tMVPVJf): Join our Discord server to get support, talk about dev stuff, or just say hi!
* [BattlePlugins Discord](https://discord.gg/tMVPVJf): Join our Discord server to get support, talk about dev stuff, or just say hi!
Battle Arena Links:
* [Bukkit Page](http://dev.bukkit.org/bukkit-plugins/battlearena2/) (BattleArena on Bukkit!)
* [Spigot Page](http://spigotmc.org/resources/battle-arena.2164/) (BattleArena on Spigot!)
* [Bukkit Page](http://dev.bukkit.org/bukkit-plugins/battlearena/) (BattleArena on Bukkit!)
* [Spigot Page](http://spigotmc.org/resources/battlearena.2164/) (BattleArena on Spigot!)
Battle Tracker Links:
* [Bukkit Page](http://dev.bukkit.org/bukkit-plugins/battletracker2/) (BattleTracker on Bukkit!)
* [Bukkit Page](http://dev.bukkit.org/bukkit-plugins/battletracker/) (BattleTracker on Bukkit!)
* [Spigot Page](http://spigotmc.org/resources/battletracker.2165/) (BattleTracker on Spigot!)
Other Links:
@@ -45,3 +47,7 @@ Other Links:
* [Ci Server](http://ci.battleplugins.org/job/BattlePlugins/job/BattleTracker/) (Jenkins Build Server)
* [Battle Plugin Donations] (Donation link, coming soon)
* [JavaDocs](http://rainbowcraft.sytes.net/javadocs/battletracker/apidocs/) (WIP)
Stats
------------
![Plugin Stats](https://bstats.org/signatures/bukkit/BattleTracker.svg "Plugin Stats")
+13 -2
View File
@@ -4,7 +4,7 @@
<groupId>mc.alk</groupId>
<artifactId>BattleTracker</artifactId>
<packaging>jar</packaging>
<version>2.5.10.4</version>
<version>2.5.11.0</version>
<name>BattleTracker</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -55,6 +55,12 @@
<version>1.2.7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>mc.euro</groupId>
<artifactId>BukkitInterface</artifactId>
<version>4.0.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>mc.alk</groupId>
<artifactId>BattleCore</artifactId>
@@ -64,7 +70,7 @@
<dependency>
<groupId>mc.alk</groupId>
<artifactId>BattleBukkitLib</artifactId>
<version>4.3.6</version>
<version>4.5.1</version>
<scope>compile</scope>
</dependency>
<dependency>
@@ -150,6 +156,10 @@
<pattern>mc.euro.bukkitadapter</pattern>
<shadedPattern>mc.alk.tracker.alib.bukkitadapter</shadedPattern>
</relocation>
<relocation>
<pattern>mc.euro.bukkitinterface</pattern>
<shadedPattern>mc.alk.tracker.alib.bukkitinterface</shadedPattern>
</relocation>
<relocation>
<pattern>mc.alk.v1r7</pattern>
<shadedPattern>mc.alk.tracker.battlecore</shadedPattern>
@@ -172,6 +182,7 @@
<includes>
<include>mc.euro:Version</include>
<include>mc.euro:BukkitAdapter</include>
<include>mc.euro:BukkitInterface</include>
<include>mc.alk:BattleCore</include>
<include>mc.alk:BattleBukkitLib</include>
<include>mc.alk:BattlePluginUpdater</include>
+1 -2
View File
@@ -1,6 +1,5 @@
package mc.alk.tracker;
import mc.alk.battlepluginupdater.PluginUpdater;
import mc.alk.tracker.controllers.ConfigController;
import mc.alk.tracker.controllers.MessageController;
import mc.alk.tracker.controllers.SignController;
@@ -54,7 +53,7 @@ public class Tracker extends MCPlugin {
getCommand("btpvp").setExecutor(new TrackerExecutor(getInterface(Defaults.PVP_INTERFACE)));
getCommand("btpve").setExecutor(new TrackerExecutor(getInterface(Defaults.PVE_INTERFACE)));
PluginUpdater.update(this, bukkitId, this.getFile(), Defaults.AUTO_UPDATE, Defaults.ANNOUNCE_UPDATE);
// PluginUpdater.update(this, bukkitId, this.getFile(), Defaults.AUTO_UPDATE, Defaults.ANNOUNCE_UPDATE);
BTPluginListener.loadPlugins();
new Metrics(this);
@@ -55,6 +55,10 @@ public class BTPlaceholderExtension extends PlaceholderExpansion {
int i = Integer.parseInt(split[3]);
Stat top = tracker.getTopX(type, i).get(i-1);
if (split.length >= 5 && split[4].equalsIgnoreCase("name")) {
return top.getName();
}
return String.valueOf(top.getStat(type));
}
}