From 95ff6fa01a7a7adca62c46671d082e33d3dd9880 Mon Sep 17 00:00:00 2001 From: Paldiu Date: Thu, 28 Jan 2021 12:26:21 -0600 Subject: [PATCH] Removal of IDE files --- .idea/.gitignore | 3 - .idea/compiler.xml | 16 --- .idea/encodings.xml | 7 - .idea/inspectionProfiles/Project_Default.xml | 54 ------- .idea/jarRepositories.xml | 30 ---- ...o_paper_paper_api_1_16_4_R0_1_SNAPSHOT.xml | 13 -- ..._com_google_code_findbugs_jsr305_1_3_9.xml | 13 -- ...Maven__com_google_code_gson_gson_2_8_0.xml | 13 -- .../Maven__com_google_guava_guava_21_0.xml | 13 -- ...oglecode_json_simple_json_simple_1_1_1.xml | 13 -- .../Maven__commons_lang_commons_lang_2_6.xml | 13 -- .idea/libraries/Maven__junit_junit_4_10.xml | 13 -- ...en__net_md_5_bungeecord_chat_1_16_R0_3.xml | 13 -- .../Maven__org_hamcrest_hamcrest_core_1_1.xml | 13 -- ...ven__org_javassist_javassist_3_26_0_GA.xml | 13 -- ...aven__org_jetbrains_annotations_20_1_0.xml | 13 -- .../Maven__org_ow2_asm_asm_8_0_1.xml | 13 -- .../Maven__org_ow2_asm_asm_analysis_8_0_1.xml | 13 -- .../Maven__org_ow2_asm_asm_commons_8_0_1.xml | 13 -- .../Maven__org_ow2_asm_asm_tree_8_0_1.xml | 13 -- ...en__org_reflections_reflections_0_9_12.xml | 13 -- .../Maven__org_slf4j_slf4j_api_1_7_25.xml | 13 -- .../Maven__org_yaml_snakeyaml_1_26.xml | 13 -- .idea/misc.xml | 18 --- .idea/modules.xml | 8 -- .idea/uiDesigner.xml | 124 ---------------- .idea/vcs.xml | 6 - .idea/workspace.xml | 135 ++++++++++++++++++ .../simplexcore/future/FutureFactory.java | 17 +++ .../simplexcore/future/ScheduledTask.java | 25 ++++ src/main/resources/plugin.yml | 2 +- 31 files changed, 178 insertions(+), 501 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/compiler.xml delete mode 100644 .idea/encodings.xml delete mode 100644 .idea/inspectionProfiles/Project_Default.xml delete mode 100644 .idea/jarRepositories.xml delete mode 100644 .idea/libraries/Maven__com_destroystokyo_paper_paper_api_1_16_4_R0_1_SNAPSHOT.xml delete mode 100644 .idea/libraries/Maven__com_google_code_findbugs_jsr305_1_3_9.xml delete mode 100644 .idea/libraries/Maven__com_google_code_gson_gson_2_8_0.xml delete mode 100644 .idea/libraries/Maven__com_google_guava_guava_21_0.xml delete mode 100644 .idea/libraries/Maven__com_googlecode_json_simple_json_simple_1_1_1.xml delete mode 100644 .idea/libraries/Maven__commons_lang_commons_lang_2_6.xml delete mode 100644 .idea/libraries/Maven__junit_junit_4_10.xml delete mode 100644 .idea/libraries/Maven__net_md_5_bungeecord_chat_1_16_R0_3.xml delete mode 100644 .idea/libraries/Maven__org_hamcrest_hamcrest_core_1_1.xml delete mode 100644 .idea/libraries/Maven__org_javassist_javassist_3_26_0_GA.xml delete mode 100644 .idea/libraries/Maven__org_jetbrains_annotations_20_1_0.xml delete mode 100644 .idea/libraries/Maven__org_ow2_asm_asm_8_0_1.xml delete mode 100644 .idea/libraries/Maven__org_ow2_asm_asm_analysis_8_0_1.xml delete mode 100644 .idea/libraries/Maven__org_ow2_asm_asm_commons_8_0_1.xml delete mode 100644 .idea/libraries/Maven__org_ow2_asm_asm_tree_8_0_1.xml delete mode 100644 .idea/libraries/Maven__org_reflections_reflections_0_9_12.xml delete mode 100644 .idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml delete mode 100644 .idea/libraries/Maven__org_yaml_snakeyaml_1_26.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/uiDesigner.xml delete mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 src/main/java/io/github/paldiu/simplexcore/future/FutureFactory.java create mode 100644 src/main/java/io/github/paldiu/simplexcore/future/ScheduledTask.java diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index d7afc93..0000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index aa00ffa..0000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 7ae5ed7..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml deleted file mode 100644 index 4f3d965..0000000 --- a/.idea/jarRepositories.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_destroystokyo_paper_paper_api_1_16_4_R0_1_SNAPSHOT.xml b/.idea/libraries/Maven__com_destroystokyo_paper_paper_api_1_16_4_R0_1_SNAPSHOT.xml deleted file mode 100644 index 1ae0fed..0000000 --- a/.idea/libraries/Maven__com_destroystokyo_paper_paper_api_1_16_4_R0_1_SNAPSHOT.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_code_findbugs_jsr305_1_3_9.xml b/.idea/libraries/Maven__com_google_code_findbugs_jsr305_1_3_9.xml deleted file mode 100644 index 0e66824..0000000 --- a/.idea/libraries/Maven__com_google_code_findbugs_jsr305_1_3_9.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_code_gson_gson_2_8_0.xml b/.idea/libraries/Maven__com_google_code_gson_gson_2_8_0.xml deleted file mode 100644 index 6e5d5b7..0000000 --- a/.idea/libraries/Maven__com_google_code_gson_gson_2_8_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_guava_guava_21_0.xml b/.idea/libraries/Maven__com_google_guava_guava_21_0.xml deleted file mode 100644 index a923456..0000000 --- a/.idea/libraries/Maven__com_google_guava_guava_21_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_googlecode_json_simple_json_simple_1_1_1.xml b/.idea/libraries/Maven__com_googlecode_json_simple_json_simple_1_1_1.xml deleted file mode 100644 index f3f3738..0000000 --- a/.idea/libraries/Maven__com_googlecode_json_simple_json_simple_1_1_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml b/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml deleted file mode 100644 index 2ec8376..0000000 --- a/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__junit_junit_4_10.xml b/.idea/libraries/Maven__junit_junit_4_10.xml deleted file mode 100644 index ed8bf5f..0000000 --- a/.idea/libraries/Maven__junit_junit_4_10.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__net_md_5_bungeecord_chat_1_16_R0_3.xml b/.idea/libraries/Maven__net_md_5_bungeecord_chat_1_16_R0_3.xml deleted file mode 100644 index 2019f9a..0000000 --- a/.idea/libraries/Maven__net_md_5_bungeecord_chat_1_16_R0_3.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_1.xml b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_1.xml deleted file mode 100644 index acdf443..0000000 --- a/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_javassist_javassist_3_26_0_GA.xml b/.idea/libraries/Maven__org_javassist_javassist_3_26_0_GA.xml deleted file mode 100644 index e150186..0000000 --- a/.idea/libraries/Maven__org_javassist_javassist_3_26_0_GA.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jetbrains_annotations_20_1_0.xml b/.idea/libraries/Maven__org_jetbrains_annotations_20_1_0.xml deleted file mode 100644 index de125e3..0000000 --- a/.idea/libraries/Maven__org_jetbrains_annotations_20_1_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_ow2_asm_asm_8_0_1.xml b/.idea/libraries/Maven__org_ow2_asm_asm_8_0_1.xml deleted file mode 100644 index 5a04654..0000000 --- a/.idea/libraries/Maven__org_ow2_asm_asm_8_0_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_ow2_asm_asm_analysis_8_0_1.xml b/.idea/libraries/Maven__org_ow2_asm_asm_analysis_8_0_1.xml deleted file mode 100644 index 33917b7..0000000 --- a/.idea/libraries/Maven__org_ow2_asm_asm_analysis_8_0_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_ow2_asm_asm_commons_8_0_1.xml b/.idea/libraries/Maven__org_ow2_asm_asm_commons_8_0_1.xml deleted file mode 100644 index 5e98909..0000000 --- a/.idea/libraries/Maven__org_ow2_asm_asm_commons_8_0_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_ow2_asm_asm_tree_8_0_1.xml b/.idea/libraries/Maven__org_ow2_asm_asm_tree_8_0_1.xml deleted file mode 100644 index a5adaf2..0000000 --- a/.idea/libraries/Maven__org_ow2_asm_asm_tree_8_0_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_reflections_reflections_0_9_12.xml b/.idea/libraries/Maven__org_reflections_reflections_0_9_12.xml deleted file mode 100644 index bedc96e..0000000 --- a/.idea/libraries/Maven__org_reflections_reflections_0_9_12.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml deleted file mode 100644 index 20e8163..0000000 --- a/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_yaml_snakeyaml_1_26.xml b/.idea/libraries/Maven__org_yaml_snakeyaml_1_26.xml deleted file mode 100644 index e998675..0000000 --- a/.idea/libraries/Maven__org_yaml_snakeyaml_1_26.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 17bca28..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index ff5c20e..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml deleted file mode 100644 index e96534f..0000000 --- a/.idea/uiDesigner.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..8bb14d8 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1607535386097 + + + + + + + \ No newline at end of file diff --git a/src/main/java/io/github/paldiu/simplexcore/future/FutureFactory.java b/src/main/java/io/github/paldiu/simplexcore/future/FutureFactory.java new file mode 100644 index 0000000..32eaa9f --- /dev/null +++ b/src/main/java/io/github/paldiu/simplexcore/future/FutureFactory.java @@ -0,0 +1,17 @@ +package io.github.paldiu.simplexcore.future; + +import java.util.LinkedList; +import java.util.concurrent.CompletionStage; + +public class FutureFactory { + private final T object; + private final LinkedList> tree = new LinkedList<>(); + + public FutureFactory(T object) { + this.object = object; + } + + public T getObject() { + return object; + } +} diff --git a/src/main/java/io/github/paldiu/simplexcore/future/ScheduledTask.java b/src/main/java/io/github/paldiu/simplexcore/future/ScheduledTask.java new file mode 100644 index 0000000..5c20035 --- /dev/null +++ b/src/main/java/io/github/paldiu/simplexcore/future/ScheduledTask.java @@ -0,0 +1,25 @@ +package io.github.paldiu.simplexcore.future; + +import io.github.paldiu.simplexcore.utils.Constants; +import io.github.paldiu.simplexcore.utils.Utilities; +import org.bukkit.Bukkit; +import org.bukkit.scheduler.BukkitTask; + +import java.util.Date; +import java.util.function.Consumer; + +public abstract class ScheduledTask implements Consumer { + protected Date lastRan = new Date(); + + protected ScheduledTask() { + + } + + public Date getLastRan() { + return lastRan; + } + + public void setLastRan(Date lastRan) { + this.lastRan = lastRan; + } +} diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 6801325..58692bd 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: SimplexCore version: ${project.version} -main: pw.coomer.simplexcore.SimplexCore +main: io.github.paldiu.simplexcore.SimplexCore api-version: 1.16 prefix: Simplex authors: [ Paldiu ]