Commits

Mike Bayer  committed e54a3d4

start thinking about JSON

  • Participants
  • Parent commits e1828a1

Comments (0)

Files changed (4)

   		<artifactId>bukkit</artifactId>
   		<version>1.6.2-R0.2-SNAPSHOT</version>
   	</dependency>
+  	<dependency>
+  		<groupId>org.json</groupId>
+  		<artifactId>json</artifactId>
+  		<version>20090211</version>
+  	</dependency>
   </dependencies>
 </project>

File src/main/java/com/zzzcomputing/bukkit/atmcraft/AtmSession.java

 		this.parent = parent;
 	}
 
+	private void authenticate() {
+		
+	}
 	public String getBankName() {
 		return this.parent.config.getString("bankname");
 	}

File src/main/java/com/zzzcomputing/bukkit/atmcraft/Util.java

 
 import org.bukkit.ChatColor;
 import org.bukkit.entity.Player;
+import org.json.JSONObject;
 
 public class Util {
 
 		player.sendMessage(msg);
 	}
 
+	
 }

File src/main/resources/config.yml

-bankname: My Bank
-
-
-serverurl: http://localhost:8000/
+bankname: my bank
+serverurl: http://127.0.0.1:6543
+identifier: someuser
+secret: password