I hereby claim:
- I am wherkamp on github.
- I am kingtux (https://keybase.io/kingtux) on keybase.
- I have a public key ASC3EhTgnFjcqI3IWyRS5mlBHzVmsRV4HxGYA01dEgNsJAo
To claim this, I am signing this object:
public void BroudCastWinners() { | |
StringBuilder WinnersList = new StringBuilder(); | |
int WinnerSize = Winners.size() - 1; | |
for (Player p : Winners) { | |
// Checking if it is the last player? | |
if (Winners.get(WinnerSize) == p) { | |
WinnersList.append("and " + p.getName()); | |
} else { |
import org.bukkit.ChatColor; | |
import java.util.ArrayList; | |
import java.util.List; | |
/** | |
* @author KingTux | |
* Basic Utils for Bukkit and Java | |
*/ | |
public class KingTuxUtils { |
I hereby claim:
To claim this, I am signing this object:
[Unit] | |
Description=Gitea (Git with a cup of tea) | |
After=syslog.target | |
After=network.target | |
#After=mysqld.service | |
#After=postgresql.service | |
#After=memcached.service | |
#After=redis.service | |
[Service] |
<dependency> | |
<groupId>be.maximvdw</groupId> | |
<artifactId>MVdWPlaceholderAPI</artifactId> | |
<version>2.5.3-SNAPSHOT</version> | |
</dependency> | |
<repository> | |
<id>KingTux</id> | |
<url>http://repo.kingtux.me/repository/maven-public/</url> | |
</repository> |
<build> | |
<sourceDirectory>src/main/java</sourceDirectory> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.5.1</version> | |
<executions> | |
<!-- Replacing default-compile as it is treated specially by maven --> |
<build> | |
<sourceDirectory>src/main/java</sourceDirectory> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.5.1</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> |
public class WaterWorldGen extends ChunkGenerator { | |
private NoiseGenerator generator; | |
private NoiseGenerator getGenerator(World world) { | |
if (generator == null) { | |
generator = new SimplexNoiseGenerator(world); | |
} | |
return generator; | |
} |
public enum MimeTypes { | |
TEXT("text/plain"), | |
HTML("text/html"), | |
CSS("text/css"), | |
JPEG("image/jpeg"), | |
PNG("image/png"), | |
GIF("image/gif"), | |
BMP("image/bmp"), | |
WEBP("image/webp"), |
package me.kingtux.other; | |
import java.io.File; | |
import java.io.IOException; | |
import java.net.URISyntaxException; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.jar.JarEntry; | |
import java.util.jar.JarFile; |