aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/Resurrection.java
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-06-15 20:15:51 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-06-15 20:15:51 -0600
commita49057361f0e37f90de5f50f7172f04b0a2d389e (patch)
tree65daa65a0be631c708b5f485d0e34b8efd2fb9cb /src/net/brysonsteck/Resurrection/Resurrection.java
parent9342bf9c0a1ae27fc6d1b4c886caf37e31708508 (diff)
downloadresurrection-a49057361f0e37f90de5f50f7172f04b0a2d389e.tar
resurrection-a49057361f0e37f90de5f50f7172f04b0a2d389e.tar.gz
resurrection-a49057361f0e37f90de5f50f7172f04b0a2d389e.tar.bz2
now testing full day resurrection
Diffstat (limited to 'src/net/brysonsteck/Resurrection/Resurrection.java')
-rw-r--r--src/net/brysonsteck/Resurrection/Resurrection.java37
1 files changed, 16 insertions, 21 deletions
diff --git a/src/net/brysonsteck/Resurrection/Resurrection.java b/src/net/brysonsteck/Resurrection/Resurrection.java
index 7a7e949..f0efc41 100644
--- a/src/net/brysonsteck/Resurrection/Resurrection.java
+++ b/src/net/brysonsteck/Resurrection/Resurrection.java
@@ -9,7 +9,6 @@ import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.java.JavaPlugin;
public class Resurrection extends JavaPlugin implements Listener {
-// public Plugin plugin = getPlugin(Resurrection.class);
//spigot things
@Override
@@ -20,9 +19,22 @@ public class Resurrection extends JavaPlugin implements Listener {
@Override
public void onEnable() {
super.onEnable();
+ System.out.println("[Resurrection] Resurrection is starting!");
PluginDescriptionFile pluginInfo = getDescription();
getServer().getPluginManager().registerEvents(this, this);
+ // beta message
+ System.out.println("[Resurrection] ---------------------------------------------------------");
+ System.out.println("[Resurrection] WARNING!!!!");
+ System.out.println("[Resurrection] You are running a beta version of Resurrection!");
+ System.out.println("[Resurrection] ");
+ System.out.println("[Resurrection] This means that this plugin is early in development and");
+ System.out.println("[Resurrection] not completely finished, and as a result you may");
+ System.out.println("[Resurrection] experience unexpected doodads. Make sure that the plugin");
+ System.out.println("[Resurrection] is up-to-date for more features and bug fixes. The plugin");
+ System.out.println("[Resurrection] will now check for updates.");
+ System.out.println("[Resurrection] ---------------------------------------------------------");
+
// check for updates
System.out.println("[Resurrection] Checking for updates...");
CheckForUpdate check = new CheckForUpdate();
@@ -40,30 +52,13 @@ public class Resurrection extends JavaPlugin implements Listener {
this.getServer().getPluginManager().registerEvents(new PlayerListener(), this);
// register commands
+ System.out.println("[Resurrection] Adding commands...");
this.getCommand("about").setExecutor(new CommandAbout());
this.getCommand("resurrect").setExecutor(new CommandResurrect());
- System.out.println("[Resurrection] Successfully Started.");
+ System.out.println("[Resurrection] Successfully Started!");
}
- // end of spigot things
- public static void main(String[] args) {
- CheckForUpdate check = new CheckForUpdate();
-// 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();
-// }
-
- }
+ public static void main(String[] args) { }
}