All the sources codespage 7
Java
June 29 2016 at 01:30
#294
if (comboBox.getText().equals("one") return "one"; else if (comboBox.getText().equals("two") return "two"; else return false;
Java
June 28 2016 at 01:30
#293
if(plugin.getConfig().getBoolean("Enchant.log")){
String time = String.format("[%tm/%td/%ty - %tH:%tM:%tS] ", new Date(), new Date(),new Date(),new Date(),new Date(),new Date());
plugin.logToFile("[ENCHANT + Time" + " (" + time + " )" + event.getEnchanter() + "enchanted their " + event.getItem().getType().name().replace("DIAMOND_SWORD", "Diamond Sword").replace("DIAMOND_AXE", "Diamond Axe").replace("DIAMOND_PICKAXE", "Diamond Pickaxe").replace("DIAMOND_SPADE", "Diamond Spade").replace("DIAMOND_HELMET", "Diamond Helmet").replace("DIAMOND_CHESTPLATE", "Diamond Chestplate").replace("DIAMOND_LEGGINGS", "Diamond Leggings").replace("DIAMOND_BOOTS", "Diamond Boots").replace("IRON_SWORD", "Iron Sword").replace("IRON_AXE", "Iron Axe").replace("IRON_PICKAXE", "Iron Pickaxe").replace("IRON_SPADE", "Iron Spade").replace("IRON_HELMET", "Iron Helmet").replaceAll("IRON_CHESTPLATE", "Iron Chestplate").replace("IRON_LEGGINGS", "Iron Leggings").replaceAll("IRON_BOOTS", ChatColor.GRAY+ "Iron Boots").replace("GOLD_SWORD", "Gold Sword").replace("GOLD_AXE", "Gold Axe").replace("GOLD_PICKAXE", "Gold Pickaxe").replace("GOLD_SPADE", "Gold Spade").replace("GOLD_HELMET", "Gold Helmet").replace("GOLD_CHESTPLATE", "Gold Chestplate").replace("GOLD_LEGGINGS", "Gold Leggings").replace("GOLD_BOOTS", "Gold Boots").replace("CHAINMAIL_HELMET", ChatColor.DARK_PURPLE + "Chainmail Helmet").replace("CHAINMAIL_CHESTPLATE", "Chainmail Chestplate").replace("CHAINMAIL_LEGGINGS", "Chainmail Leggings").replace("CHAINMAIL_BOOTS", "Chainmail Boots").replace("WOODEN_SWORD", "Wooden Sword").replace("WOODEN_AXE", "Wooden Axe").replace("WOODEN_PICKAXE", "Wooden Pickaxe").replace("WOODEN_SPADE", "Wooden Spade").replace("LEATHER_HELMET", "Leather Helmet").replace("LEATHER_CHESTPLATE", "Leather Chestplate").replace("LEATHER_LEGGINGS", "Leather Leggings").replace("LEATHER_BOOTS", "Leather Boots") + "with the following enchantments" + enchant.replace("DAMAGE_ALL", "Sharpness").replace("FIRE_ASPECT", "Fire Asepct").replace("KNOCKBACK", "Knockback").replace("LOOT_BONUS_MOBS", "Looting").replace("DAMAGE_ARTHROPODS", "Bane of Arthropod").replace("DAMAGE_UNDEAD", "Smite").replace("SILK_TOUCH", "Silk Touch").replace("DIG_SPEED", "Efficiency").replace("DURABILITY","Unbreaking").replace("LOOT_BONUS_BLOCKS", "Fortune").replace("ARROW_DAMAGE", "Power").replace("ARROW_KNOCKBACK", "Punch").replace("ARROW_FIRE", "Flame").replace("ARROW_INFINITE", "Infinity").replace("PROTECTION_ENVIRONMENTAL", "Protection").replace("PROTECTION_FIRE", "Fire Protection").replace("PROTECTION_EXPLOSIONS", "Blast Protection").replace("PROTECTION_PROJECTILE", "Projectile Protection").replace("WATER_WORKER", "Respiration").replace("Enchantment.OXYGEN", "Aqua Affinity").replace("PROTECTION_FALL", "Feather Falling") + " which cost:" + event.getExpLevelCost() + "exp!");
}
Markup
June 27 2016 at 01:30
#292
/* A vendors way of adding padding... */
<p> Jesus sinners doth receive;<br />
Oh, may all this saying ponder<br />
Who in sin's delusions live<br />
And from God and heaven wander!<br />
Here is hope for all who grieve:<br />
Jesus sinners doth receive.<br /><br />
We deserve but grief and shame,<br />
Yet His words, rich grace revealing,<br />
Pardon, peace, and life proclaim;<br />
Here our ills have perfect healing.<br />
Firmly in these words believe:<br />
Jesus sinners doth receive.<br />
(<em>LSB</em> 609:1–2)</div>
</p>