aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection.java
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-06-05 23:10:04 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-06-05 23:10:04 -0600
commite05c16e0a649356020dc1b05d38c4a73e709ce00 (patch)
treee84b3ff3019036b15a6fbbc3bb9e6e1edc2e6059 /src/net/brysonsteck/Resurrection.java
downloadresurrection-e05c16e0a649356020dc1b05d38c4a73e709ce00.tar
resurrection-e05c16e0a649356020dc1b05d38c4a73e709ce00.tar.gz
resurrection-e05c16e0a649356020dc1b05d38c4a73e709ce00.tar.bz2
initial commit
Diffstat (limited to 'src/net/brysonsteck/Resurrection.java')
-rw-r--r--src/net/brysonsteck/Resurrection.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/net/brysonsteck/Resurrection.java b/src/net/brysonsteck/Resurrection.java
new file mode 100644
index 0000000..c4553e8
--- /dev/null
+++ b/src/net/brysonsteck/Resurrection.java
@@ -0,0 +1,44 @@
+package net.brysonsteck;
+
+import org.bukkit.event.player.PlayerRespawnEvent;
+import org.bukkit.plugin.Plugin;
+import org.bukkit.plugin.java.JavaPlugin;
+
+import java.io.*;
+import java.nio.Buffer;
+
+public class Resurrection extends JavaPlugin {
+ public Plugin plugin = getPlugin(Resurrection.class);
+
+ //spigot things
+ @Override
+ public void onDisable() {
+ super.onDisable();
+ }
+
+ @Override
+ public void onEnable() {
+ super.onEnable();
+
+ }
+
+ // end of spigot things
+ public static void main(String[] args) {
+// PlayerData playerData = new PlayerData();
+// playerData.saveData("This is the first line\nthis is the second line");
+// System.out.println(playerData.getPlayers());
+// playerData.readData();
+
+// playerData.saveData("username,false,0");
+// System.out.println("now adding two more lines");
+// playerData.saveData(playerData.getPlayers() + "this is the third line\nthis is the fourth line\nthe thread is now sleeping\nonce more\nand again");
+// System.out.println(playerData.getPlayers());
+// try {
+// Thread.sleep(100000);
+// } catch (InterruptedException e) {
+// e.printStackTrace();
+// }
+
+ }
+
+}