Compare commits
7 Commits
72abe87d53
...
master
Author | SHA1 | Date |
---|---|---|
|
2bb77c6eab | |
|
b3520a1687 | |
|
59e8f1a5e8 | |
|
6b81d06f55 | |
|
5b89692800 | |
|
90f7be788e | |
|
8cf67e0baa |
|
@ -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>KrakatoaLobbySystem</artifactId>
|
<artifactId>KraLobbySystem</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -62,6 +62,12 @@
|
||||||
<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>
|
||||||
|
@ -79,6 +85,16 @@
|
||||||
<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>
|
|
@ -1,8 +1,6 @@
|
||||||
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
|
||||||
|
@ -14,7 +12,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"); */
|
||||||
|
|
||||||
|
@ -27,12 +25,6 @@ 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()
|
||||||
|
|
1
src/main/java/net/krakatoa/lobbysystem/listener/PlayerJoinListener.java
Normal file → Executable file
1
src/main/java/net/krakatoa/lobbysystem/listener/PlayerJoinListener.java
Normal file → Executable file
|
@ -3,7 +3,6 @@ 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) {
|
||||||
|
|
0
src/main/java/net/krakatoa/lobbysystem/listener/SocketMessageListener.java
Normal file → Executable file
0
src/main/java/net/krakatoa/lobbysystem/listener/SocketMessageListener.java
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
||||||
name: KrakatoaLobbySystem
|
name: KraLobbySystem
|
||||||
version: 1.0
|
version: 1.0
|
||||||
author: AlexanderRoese
|
author: AlexanderRoese
|
||||||
main: net.krakatoa.lobbysystem.LobbySystem
|
main: net.krakatoa.lobbysystem.LobbySystem
|
||||||
|
|
0
target/classes/net/krakatoa/lobbysystem/listener/PlayerJoinListener.class
Normal file → Executable file
0
target/classes/net/krakatoa/lobbysystem/listener/PlayerJoinListener.class
Normal file → Executable file
0
target/classes/net/krakatoa/lobbysystem/listener/SocketMessageListener.class
Normal file → Executable file
0
target/classes/net/krakatoa/lobbysystem/listener/SocketMessageListener.class
Normal file → Executable file
0
target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
Normal file → Executable file
0
target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
Normal file → Executable file
0
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
Normal file → Executable file
0
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
Normal file → Executable file
0
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
Normal file → Executable file
0
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
Normal file → Executable file
Loading…
Reference in New Issue