This file contains hidden or 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
| 2012-11-28 14:10:03 [INFO] Durability: 69 | |
| 2012-11-28 14:10:03 [SEVERE] Could not pass event PlayerInteractEvent to SimpleTest v3.0.0a21 | |
| org.bukkit.event.EventException | |
| at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) | |
| at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) | |
| at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) | |
| at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) | |
| at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) | |
| at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:114) | |
| at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:555) |
This file contains hidden or 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
| @Override | |
| public boolean onCommand(final CommandSender sender, final Command cmd, final String commandLabel, final String[] args ) { | |
| sender.sendMessage(ChatColor.RED + "[PwnFilter] Reloading rules.txt"); | |
| this.getLogger().info("[PwnFilter] rules.txt reloaded by " + sender.getName()); | |
| //reload the rules | |
| rules.clear(); | |
| patterns.clear(); | |
| loadRules(); |
This file contains hidden or 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
| 2012-08-06 02:22:26 [SEVERE] Could not pass event AsyncFormattedChat to PlayerActivity | |
| org.bukkit.event.EventException | |
| at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:324) | |
| at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) | |
| at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) | |
| at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) | |
| at edgruberman.bukkit.messageformatter.Formatter.onPlayerChat(Formatter.java:48) | |
| at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) | |
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | |
| at java.lang.reflect.Method.invoke(Unknown Source) |
This file contains hidden or 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
| protected static float restrict(final float value, final float min, final float max) { | |
| if (value < min) return min; | |
| if (value > max) return max; | |
| return value; | |
| } |
This file contains hidden or 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
| @Override | |
| public void saveDefaultConfig() { | |
| this.extractConfig("config.yml", false); | |
| } | |
| private void extractConfig(final String resource, final boolean replace) { | |
| final Charset source = Charset.forName("UTF-8"); | |
| final Charset target = Charset.defaultCharset(); | |
| if (target.equals(source)) { | |
| super.saveResource(resource, replace); |
This file contains hidden or 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
| Thank you, Kevin Sawicki! http://www.eclipse.org/forums/index.php/t/367805/ |
This file contains hidden or 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 me.shadycraft.mentalist14; | |
| import java.util.concurrent.TimeUnit; | |
| import org.bukkit.command.Command; | |
| import org.bukkit.command.CommandSender; | |
| import org.bukkit.event.EventHandler; | |
| import org.bukkit.event.Listener; | |
| import org.bukkit.event.player.PlayerCommandPreprocessEvent; | |
| import org.bukkit.plugin.java.JavaPlugin; |
This file contains hidden or 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 me.sonarbeserk.simplesave; | |
| import java.util.List; | |
| import java.util.concurrent.TimeUnit; | |
| import org.bukkit.Bukkit; | |
| import org.bukkit.ChatColor; | |
| import org.bukkit.configuration.ConfigurationSection; | |
| import org.bukkit.plugin.java.JavaPlugin; |
This file contains hidden or 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
| class Monitor implements Observer { | |
| Map<Object, String> recordings = new HashMap<Object, String>(); | |
| @Override | |
| void update(Observable o, Object arg) { | |
| this.schedule(arg); | |
| } | |
| void schedule(Object arg) { |
This file contains hidden or 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
| 2012-01-08 17:51:17 [INFO] false | |
| 2012-01-08 17:51:17 [SEVERE] java.lang.Exception | |
| 2012-01-08 17:51:17 [SEVERE] at edgruberman.bukkit.simpledeathnotices.DamageR | |
| eport.recordCombuster(DamageReport.java:183) | |
| 2012-01-08 17:51:17 [SEVERE] at edgruberman.bukkit.simpledeathnotices.DeathMo | |
| nitor.onEntityCombust(DeathMonitor.java:53) | |
| 2012-01-08 17:51:17 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$66.ex | |
| ecute(JavaPluginLoader.java:727) | |
| 2012-01-08 17:51:17 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEven | |
| t(RegisteredListener.java:62) |