-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
text new system langage and new system ThreadVirutal and Query support
- Loading branch information
1 parent
8f9f730
commit f308e01
Showing
21 changed files
with
518 additions
and
192 deletions.
There are no files selected for viewing
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
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
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
55 changes: 55 additions & 0 deletions
55
src/main/java/org/sculk/event/server/QueryHandlerEvent.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,55 @@ | ||
package org.sculk.event.server; | ||
|
||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
import org.sculk.player.Player; | ||
|
||
import java.net.InetSocketAddress; | ||
import java.util.Collection; | ||
|
||
/* | ||
* ____ _ _ | ||
* / ___| ___ _ _| | | __ | ||
* \___ \ / __| | | | | |/ / | ||
* ___) | (__| |_| | | < | ||
* |____/ \___|\__,_|_|_|\_\ | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* @author: SculkTeams | ||
* @link: http://www.sculkmp.org/ | ||
*/ | ||
public class QueryHandlerEvent extends ServerEvent { | ||
@Getter @Setter | ||
private String motd; | ||
@Getter @Setter | ||
private String smp; | ||
@Getter @Setter | ||
private String mcpe; | ||
@Getter @Setter | ||
private String s; | ||
@Getter @Setter | ||
private Collection<Player> values; | ||
@Getter @Setter | ||
private int maxPlayers; | ||
@Getter @Setter | ||
private String waterdogPE; | ||
@Getter @Setter | ||
private InetSocketAddress address; | ||
|
||
public QueryHandlerEvent(String motd, String smp, String mcpe, String s, Collection<Player> values, int maxPlayers, String waterdogPE, InetSocketAddress address) { | ||
super(); | ||
this.motd = motd; | ||
this.smp = smp; | ||
this.mcpe = mcpe; | ||
this.s = s; | ||
this.values = values; | ||
this.maxPlayers = maxPlayers; | ||
this.waterdogPE = waterdogPE; | ||
this.address = address; | ||
} | ||
} |
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,24 @@ | ||
package org.sculk.event.server; | ||
|
||
|
||
import org.sculk.Server; | ||
import org.sculk.event.Event; | ||
|
||
/* | ||
* ____ _ _ | ||
* / ___| ___ _ _| | | __ | ||
* \___ \ / __| | | | | |/ / | ||
* ___) | (__| |_| | | < | ||
* |____/ \___|\__,_|_|_|\_\ | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* @author: SculkTeams | ||
* @link: http://www.sculkmp.org/ | ||
*/ | ||
public class ServerEvent extends Event { | ||
|
||
} |
Oops, something went wrong.