Compare commits

..

No commits in common. "master" and "72abe87d5347909af7ad577392e85272e3b5911a" have entirely different histories.

17 changed files with 87 additions and 94 deletions

20
pom.xml Executable file → Normal file
View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>net.krakatoa.lobbysystem</groupId> <groupId>net.krakatoa.lobbysystem</groupId>
<artifactId>KraLobbySystem</artifactId> <artifactId>KrakatoaLobbySystem</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<properties> <properties>
@ -62,12 +62,6 @@
<groupId>org.mongodb</groupId> <groupId>org.mongodb</groupId>
<version>3.12.10</version> <version>3.12.10</version>
</dependency> </dependency>
<dependency>
<groupId>net.krakatoaapi</groupId>
<artifactId>KrakatoaAPI</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- <dependency> <!-- <dependency>
<groupId>earth.krakatoa</groupId> <groupId>earth.krakatoa</groupId>
<artifactId>test</artifactId> <artifactId>test</artifactId>
@ -85,16 +79,6 @@
<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>krakatoa-earth</id>
<name>Krakatoa Repository</name>
<url>https://repo.krakatoa.umbach.dev/repository/krakatoa-earth/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories> </repositories>
</project> </project>

10
src/main/java/net/krakatoa/lobbysystem/LobbySystem.java Executable file → Normal file
View File

@ -1,6 +1,8 @@
package net.krakatoa.lobbysystem; package net.krakatoa.lobbysystem;
import lombok.Getter; import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
@Getter @Getter
@ -12,7 +14,7 @@ public class LobbySystem extends JavaPlugin {
/* private KraSocketClient kraSocketClient; /* private KraSocketClient kraSocketClient;
private KraSocketClientProtocol kraSocketClientProtocol; private KraSocketClientProtocol kraSocketClientProtocol;
private SocketEventListener socketEventListener; private SocketEventListener socketEventListener;
aaaa ui ui aa das aaa add
KrakatoaAPI krakatoaAPI = (KrakatoaAPI) Bukkit.getServer().getPluginManager() KrakatoaAPI krakatoaAPI = (KrakatoaAPI) Bukkit.getServer().getPluginManager()
.getPlugin("KrakatoaAPI"); */ .getPlugin("KrakatoaAPI"); */
@ -25,6 +27,12 @@ public class LobbySystem extends JavaPlugin {
instance = this; instance = this;
Bukkit.getScheduler().runTaskTimerAsynchronously(getInstance(), () -> {
for (Player player : Bukkit.getOnlinePlayers()) {
player.sendMessage("§2naaaaa §4im here §4Car loooo! test");
}
}, 1L, 2 * 60L);
//loadListeners(); //loadListeners();
/* /*
players = krakatoaAPI.getMongoManager().getMongoDatabase() players = krakatoaAPI.getMongoManager().getMongoDatabase()

View File

View File

@ -3,6 +3,7 @@ package net.krakatoa.lobbysystem.listener;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
public class PlayerJoinListener implements Listener { public class PlayerJoinListener implements Listener {
/* /*
@EventHandler @EventHandler
public void onJoin(PlayerJoinEvent event) { public void onJoin(PlayerJoinEvent event) {

View File

2
src/main/resources/plugin.yml Executable file → Normal file
View File

@ -1,4 +1,4 @@
name: KraLobbySystem name: KrakatoaLobbySystem
version: 1.0 version: 1.0
author: AlexanderRoese author: AlexanderRoese
main: net.krakatoa.lobbysystem.LobbySystem main: net.krakatoa.lobbysystem.LobbySystem

View File

View File

View File

0
target/classes/plugin.yml Executable file → Normal file
View File

0
target/maven-archiver/pom.properties Executable file → Normal file
View File