mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Small Update (#687)
* Adds GlowAPI as a maven resource * Implement credit on player join
This commit is contained in:
parent
bdaa68ede1
commit
fd03d8d863
2 changed files with 12 additions and 1 deletions
9
pom.xml
9
pom.xml
|
@ -13,6 +13,10 @@
|
||||||
<id>spigot-repo</id>
|
<id>spigot-repo</id>
|
||||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>inventive-repo</id>
|
||||||
|
<url>https://repo.inventivetalent.org/content/groups/public/</url>
|
||||||
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -143,6 +147,11 @@
|
||||||
<scope>system</scope>
|
<scope>system</scope>
|
||||||
<systemPath>${project.basedir}/lib/GLib.jar</systemPath>
|
<systemPath>${project.basedir}/lib/GLib.jar</systemPath>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.inventivetalent</groupId>
|
||||||
|
<artifactId>glowapi</artifactId>
|
||||||
|
<version>1.4.4</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
|
@ -1065,6 +1065,8 @@ public class PKListener implements Listener {
|
||||||
final Player player = event.getPlayer();
|
final Player player = event.getPlayer();
|
||||||
JUMPS.put(player, player.getStatistic(Statistic.JUMP));
|
JUMPS.put(player, player.getStatistic(Statistic.JUMP));
|
||||||
|
|
||||||
|
player.sendMessage(ChatColor.GREEN + "This server is running ProjectKorra version " + ProjectKorra.plugin.getDescription().getVersion() + " for bending! Find out more at http://www.projectkorra.com!");
|
||||||
|
|
||||||
GeneralMethods.createBendingPlayer(player.getUniqueId(), player.getName());
|
GeneralMethods.createBendingPlayer(player.getUniqueId(), player.getName());
|
||||||
Bukkit.getScheduler().runTaskLater(ProjectKorra.plugin, new Runnable() {
|
Bukkit.getScheduler().runTaskLater(ProjectKorra.plugin, new Runnable() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue