Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package punish.ban;
- import org.bukkit.entity.Player;
- import api.colour.ChatColour;
- public class BanManager {
- public static void ban(long time, String reason, Player player) {
- if (reason.equalsIgnoreCase("HC-1") && player.isOnline()) {
- player.kickPlayer(ChatColour.Colour("&cYou are temporarily banned for &f29d 23h 59m 59s &cfrom this server!\n\n" +
- "&7Reason: &fHacked Client [PP]\n" +
- "&7Find out more: &fwebsite I don't own\n\n" +
- "&7Ban ID: &f#00000001\n" +
- "&7Sharing your Ban ID could affect the processing of your appeal!"));
- }
- }
- }
Add Comment
Please, Sign In to add comment