2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-22 20:28:00 +00:00

update git ignore

This commit is contained in:
mohammed jasem alaajel 2022-04-14 15:54:13 +04:00
parent 070e416fac
commit 2bc30ce5f3
9 changed files with 14 additions and 130 deletions

31
.gitignore vendored
View File

@ -1,33 +1,30 @@
# Eclipse stuff # Eclipse stuff
/.classpath .classpath
/.project .project
/.settings .settings
# netbeans # netbeans
/nbproject nbproject
/nbactions.xml nbactions.xml
/nb-configuration.xml nb-configuration.xml
# we use maven! # we use maven!
/build.xml build.xml
# maven # maven
/target target
/dependency-reduced-pom.xml dependency-reduced-pom.xml
*/target
*/dependency-reduced-pom.xml
# vim # vim
.*.sw[a-p] .*.sw[a-p]
# various other potential build files # various other potential build files
/build build
/bin bin
/dist dist
/manifest.mf manifest.mf
# Mac filesystem dust # Mac filesystem dust
/.DS_Store .DS_Store
# intellij # intellij
*.iml *.iml

View File

@ -1,36 +0,0 @@
package com.imaginarycode.minecraft.redisbungee.events;
import java.util.UUID;
/**
* This event is sent when a player connects to a new server. RedisBungee sends the event only when
* the proxy the player has been connected to is different than the local proxy.
* <p>
* This event corresponds to net.md_5.bungee.api.event.ServerConnectedEvent on bungee and is fired
* asynchronously.
*
* @since 0.3.4
*/
public class PlayerChangedServerNetworkEvent {
private final UUID uuid;
private final String previousServer;
private final String server;
public PlayerChangedServerNetworkEvent(UUID uuid, String previousServer, String server) {
this.uuid = uuid;
this.previousServer = previousServer;
this.server = server;
}
public UUID getUuid() {
return uuid;
}
public String getServer() {
return server;
}
public String getPreviousServer() {
return previousServer;
}
}

View File

@ -1,24 +0,0 @@
package com.imaginarycode.minecraft.redisbungee.events;
import java.util.UUID;
/**
* This event is sent when a player joins the network. RedisBungee sends the event only when
* the proxy the player has been connected to is different than the local proxy.
* <p>
* This event corresponds to net.md_5.bungee.api.event.PostLoginEvent on bungee, and is fired
* asynchronously.
*
* @since 0.3.4
*/
public class PlayerJoinedNetworkEvent {
private final UUID uuid;
public PlayerJoinedNetworkEvent(UUID uuid) {
this.uuid = uuid;
}
public UUID getUuid() {
return uuid;
}
}

View File

@ -1,26 +0,0 @@
package com.imaginarycode.minecraft.redisbungee.events;
import java.util.UUID;
/**
* This event is sent when a player disconnects. RedisBungee sends the event only when
* the proxy the player has been connected to is different than the local proxy.
* <p>
* This event corresponds to net.md_5.bungee.api.event.PlayerDisconnectEvent on bungee, and is fired
* asynchronously.
*
* @since 0.3.4
*/
public class PlayerLeftNetworkEvent {
private final UUID uuid;
public PlayerLeftNetworkEvent(UUID uuid) {
this.uuid = uuid;
}
public UUID getUuid() {
return uuid;
}
}

View File

@ -1,27 +0,0 @@
package com.imaginarycode.minecraft.redisbungee.events;
/**
* This event is posted when a PubSub message is received.
* <p>
* <strong>Warning</strong>: This event is fired in a separate thread!
*
* @since 0.2.6
*/
public class PubSubMessageEvent {
private final String channel;
private final String message;
public PubSubMessageEvent(String channel, String message) {
this.channel = channel;
this.message = message;
}
public String getChannel() {
return channel;
}
public String getMessage() {
return message;
}
}