//This plugin is different! Update the hash for it. Prepare for a restart of the server!
if(!TwosideKeeper.restarting_server){
DiscordMessageSender.sendItalicizedRawMessageDiscord("The server has detected a new version of "+ChatColor.YELLOW+plugins.get(i).name+". The server will restart in 3 minutes!");
Bukkit.broadcastMessage("The server has detected a new version of "+ChatColor.YELLOW+plugins.get(i).name+". The server will restart in 3 minutes!\n\n"+ChatColor.GRAY+ChatColor.ITALIC+"If all players leave, the update will occur immediately.");
if(Bukkit.getOnlinePlayers().size()!=0){
DiscordMessageSender.sendItalicizedRawMessageDiscord("The server has detected a new version of "+ChatColor.YELLOW+plugins.get(i).name+". The server will restart in 3 minutes!");
Bukkit.broadcastMessage("The server has detected a new version of "+ChatColor.YELLOW+plugins.get(i).name+". The server will restart in 3 minutes!\n\n"+ChatColor.GRAY+ChatColor.ITALIC+"If all players leave, the update will occur immediately.");
}else{
DiscordMessageSender.sendItalicizedRawMessageDiscord("The server has detected a new version of "+ChatColor.YELLOW+plugins.get(i).name+".");
Bukkit.broadcastMessage("The server has detected a new version of "+ChatColor.YELLOW+plugins.get(i).name+"."+ChatColor.GRAY+ChatColor.ITALIC+"If all players leave, the update will occur immediately.");
if(testblock.getLocation().getBlock().getRelative(s1.getAttachedFace()).getLocation().equals(block)//We want to make sure the sign is attached to this block.
if(testblock.getRelative(s1.getAttachedFace()).equals(block)//We want to make sure the sign is attached to this block.
if(testblock.getLocation().getBlock().getRelative(s1.getAttachedFace()).getLocation().equals(signblock2.getLocation())//We want to make sure the sign is attached to this block.
if(testblock.getRelative(s1.getAttachedFace()).getLocation().equals(signblock2.getLocation())//We want to make sure the sign is attached to this block.