File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/org/spongepowered/api/event/network Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3535import org .spongepowered .api .event .message .MessageEvent ;
3636import org .spongepowered .api .network .ServerSideConnection ;
3737import org .spongepowered .api .network .channel .Channel ;
38+ import org .spongepowered .api .network .channel .raw .RawDataChannel ;
3839import org .spongepowered .api .profile .GameProfile ;
3940import org .spongepowered .api .service .ban .BanService ;
4041import org .spongepowered .api .service .whitelist .WhitelistService ;
@@ -81,6 +82,11 @@ public interface ServerSideConnectionEvent extends Event {
8182 * <p>Called asynchronously when the client attempts to connect to
8283 * the server.</p>
8384 *
85+ * <p>During this event, it's possible to use the {@link RawDataChannel}s to send
86+ * requests to the client. As long as there's requests going to the client,
87+ * the connection will stay in the intent phase and will not continue
88+ * to the {@link Auth} event.</p>
89+ *
8490 * <p>After observing this event for particular {@link ServerSideConnection connection}
8591 * you are guaranteed to get #Disconnect for the same connection without
8692 * ordering issues.</p>
You can’t perform that action at this time.
0 commit comments