Something that I barely wrote anything for but will eventually toggle features

This commit is contained in:
nossr50 2010-09-28 22:48:47 -07:00
parent 4f736bc984
commit 94e2089e41

17
txtfiles.java Normal file
View File

@ -0,0 +1,17 @@
//This doesn't do anything yet, eventually you will be able to toggle features by writing true or false in vminecraft-config.txt
//This is high up on my priority list
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
public class txtfiles {
static final Logger log = Logger.getLogger("Minecraft");
private final static Object syncLock = new Object();
static boolean toggle = true;
private PropertiesFile properties;
//Unfinished was interrupted in the middle of making this shit, where we can triggle toggles in a text file for commands
//example return true for greentext=true in vminecraft.properties file would disable that code
}