-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Moved AuthServer events to their own package
- Loading branch information
Showing
10 changed files
with
39 additions
and
17 deletions.
There are no files selected for viewing
4 changes: 0 additions & 4 deletions
4
...c/main/java/io/github/_4drian3d/authmevelocity/api/velocity/event/AuthServerAddEvent.java
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...ain/java/io/github/_4drian3d/authmevelocity/api/velocity/event/AuthServerRemoveEvent.java
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
.../io/github/_4drian3d/authmevelocity/api/velocity/event/authserver/AuthServerAddEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.github._4drian3d.authmevelocity.api.velocity.event.authserver; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
/** | ||
* Event to execute when adding an auth server. | ||
* | ||
* @param server the server added | ||
*/ | ||
public record AuthServerAddEvent(@NotNull String server) { | ||
} |
11 changes: 11 additions & 0 deletions
11
.../github/_4drian3d/authmevelocity/api/velocity/event/authserver/AuthServerRemoveEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.github._4drian3d.authmevelocity.api.velocity.event.authserver; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
/** | ||
* Event to execute when removing an auth server | ||
* | ||
* @param server the server to remove | ||
*/ | ||
public record AuthServerRemoveEvent(@NotNull String server) { | ||
} |
4 changes: 4 additions & 0 deletions
4
...n/java/io/github/_4drian3d/authmevelocity/api/velocity/event/authserver/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* Events indicating changes in the AuthMeVelocity internal collection of registered AuthServers. | ||
*/ | ||
package io.github._4drian3d.authmevelocity.api.velocity.event.authserver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
/**AuthMeVelocity Velocity API Module */ | ||
@SuppressWarnings({"requires-automatic", "requires-transitive-automatic"}) | ||
module io.github._4drian3d.authmevelocity.api.velocity { | ||
requires transitive com.velocitypowered.api; | ||
requires static org.jetbrains.annotations; | ||
exports io.github._4drian3d.authmevelocity.api.velocity; | ||
exports io.github._4drian3d.authmevelocity.api.velocity.event; | ||
requires transitive com.velocitypowered.api; | ||
requires static org.jetbrains.annotations; | ||
exports io.github._4drian3d.authmevelocity.api.velocity; | ||
exports io.github._4drian3d.authmevelocity.api.velocity.event; | ||
exports io.github._4drian3d.authmevelocity.api.velocity.event.authserver; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
group = io.github.4drian3d | ||
version = 4.1.2 | ||
version = 4.1.3-SNAPSHOT | ||
description = AuthMeReloaded Support for Velocity | ||
url = https://modrinth.com/plugin/authmevelocity | ||
id = authmevelocity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters