Removes environmental objects. After typing the command and labeling it what you wish, copy + paste it from your "ObjectsToRemove.txt" straight into your ObjectManager.java.
Before:

After:

Code:
if (playerCommand.startsWith("delete") && playerCommand.length() > 6) {
try {
BufferedWriter coord = new BufferedWriter(new FileWriter("./Data/ObjectsToRemove.txt", true));
String location = playerCommand.substring(6);
try {
coord.write("c.getPA().checkObjectSpawn(-1, "+c.absX+", "+c.absY+", -1, 10); //"+location);
c.sendMessage("This spot has been recorded in ObjectsToRemove. ");
c.sendMessage("Copy + Paste it in your ObjectManager.java To Remove it.");
coord.newLine();
} finally {
coord.close();
}
} catch (IOException e) {
e.printStackTrace();
}
}
example:
Kinda practical but useful none the less.
Credits
50% Me Idea/concept
50% steve smith - Location Log Command