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
/* | |
* ServerListAPI - API to modify some advanced Minecraft server list data | |
* Copyright (C) 2013 Minecrell | |
* You are not allowed to use this API to fake online players on a production server. | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* |
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
package no.jckf.slplib; | |
import java.io.*; | |
import java.net.InetSocketAddress; | |
import java.net.Socket; | |
import java.net.SocketException; | |
import java.nio.charset.Charset; | |
public final class MinecraftServer { | |
private String address = "localhost"; |
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
package com.comphenix.example; | |
import java.lang.reflect.Field; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.UUID; | |
import java.util.concurrent.ConcurrentMap; | |
import javax.annotation.Nonnull; | |
import javax.annotation.Nullable; |
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
package com.comphenix.example; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Method; | |
import java.util.ArrayList; | |
import java.util.EnumMap; | |
import java.util.List; | |
import org.bukkit.event.Cancellable; | |
import org.bukkit.event.Event; |
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
package com.comphenix.example; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Method; | |
import java.util.ArrayList; | |
import java.util.EnumMap; | |
import java.util.List; | |
import org.bukkit.event.Cancellable; | |
import org.bukkit.event.Event; |
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
public class ScoreboardManager { | |
/** | |
* Here be dragons! I have done some testing, need to do more. | |
* | |
* No comments for you. This was hard to code so it will be hard to read. | |
* :P i'll add comments when i get time. | |
* | |
*/ |