mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 12:18:01 +00:00
update git ignore
This commit is contained in:
parent
070e416fac
commit
2bc30ce5f3
31
.gitignore
vendored
31
.gitignore
vendored
@ -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
|
||||||
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user