diff --git a/.gitignore b/.gitignore
index e769c860..0a7558e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,12 @@
bin/
-.m2/
target/
.settings/
.idea/
.classpath
.project
+dependency-reduced-pom.xml
+.flattened-pom.xml
MMOCore.eml
MMOCore.iml
-dependency-reduced-pom.xml
\ No newline at end of file
+/MMOCore-API/MMOCore-API.iml
+/MMOCore-Dist/MMOCore-Dist.iml
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
deleted file mode 100644
index 12d7438c..00000000
--- a/.gitlab-ci.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-image: maven:3-openjdk-16-slim
-
-build:
- stage: build
- script:
- - mvn clean package
-
-deploy:
- stage: deploy
- script:
- - mvn deploy
diff --git a/MMOCore-API/MMOCore-API.iml b/MMOCore-API/MMOCore-API.iml
deleted file mode 100644
index 1b429aca..00000000
--- a/MMOCore-API/MMOCore-API.iml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
+ * See {@link BoosterManager#register(Booster)}
+ */
+ private long length;
- /**
- * @param extra
- * 1 for +100% experience, 3 for 300% etc.
- * @param length
- * Booster length in milliseconds
- */
- public Booster(double extra, long length) {
- this(null, null, extra, length);
- }
+ /**
+ * @param extra 1 for +100% experience, 3 for 300% etc.
+ * @param length Booster length in seconds
+ */
+ public Booster(double extra, long length) {
+ this(null, null, extra, length);
+ }
- /**
- * Main class experience booster
- *
- * @param author The booster creator
- * @param extra 1 for +100% experience, 3 for 300% etc.
- * @param length Booster length in milliseconds
- */
- public Booster(String author, double extra, long length) {
- this(author, null, extra, length);
- }
+ /**
+ * Main class experience booster
+ *
+ * @param author The booster creator
+ * @param extra 1 for +100% experience, 3 for 300% etc.
+ * @param length Booster length in seconds
+ */
+ public Booster(String author, double extra, long length) {
+ this(author, null, extra, length);
+ }
- /**
- * Profession experience booster
- *
- * @param author
- * The booster creator
- * @param profession
- * Either null for main level boosters or a specific profession
- * @param extra
- * 1 for +100% experience, 3 for 300% etc.
- * @param length
- * Booster length in milliseconds
- */
- public Booster(String author, Profession profession, double extra, long length) {
- this.author = author;
- this.length = length * 1000;
- this.profession = profession;
- this.extra = extra;
- }
+ /**
+ * Profession experience booster
+ *
+ * @param author The booster creator
+ * @param profession Either null for main level boosters or a specific profession
+ * @param extra 1 for +100% experience, 3 for 300% etc.
+ * @param length Booster length in seconds
+ */
+ public Booster(String author, Profession profession, double extra, long length) {
+ this.author = author;
+ this.length = length * 1000;
+ this.profession = profession;
+ this.extra = extra;
+ }
- public UUID getUniqueId() {
- return uuid;
- }
+ public UUID getUniqueId() {
+ return uuid;
+ }
- public double getExtra() {
- return extra;
- }
+ public double getExtra() {
+ return extra;
+ }
- public boolean hasAuthor() {
- return author != null;
- }
+ public boolean hasAuthor() {
+ return author != null;
+ }
- public String getAuthor() {
- return author;
- }
+ public String getAuthor() {
+ return author;
+ }
- public long getCreationDate() {
- return date;
- }
+ public long getCreationDate() {
+ return date;
+ }
- public boolean hasProfession() {
- return profession != null;
- }
+ public boolean hasProfession() {
+ return profession != null;
+ }
- public Profession getProfession() {
- return profession;
- }
+ public Profession getProfession() {
+ return profession;
+ }
- public boolean isTimedOut() {
- return date + length < System.currentTimeMillis();
- }
+ public boolean isTimedOut() {
+ return date + length < System.currentTimeMillis();
+ }
- public long getLeft() {
- return Math.max(0, date + length - System.currentTimeMillis());
- }
+ public long getLeft() {
+ return Math.max(0, date + length - System.currentTimeMillis());
+ }
- public long getLength() {
- return length;
- }
+ public long getLength() {
+ return length;
+ }
- public void addLength(long length) {
- this.length += length;
- }
+ public void addLength(long length) {
+ this.length += length;
+ }
- public boolean canStackWith(Booster booster) {
- return extra == booster.extra && Objects.equals(profession, booster.profession);
- }
+ public boolean canStackWith(Booster booster) {
+ return extra == booster.extra && Objects.equals(profession, booster.profession);
+ }
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
- Booster booster = (Booster) o;
- return Objects.equals(uuid, booster.uuid);
- }
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ Booster booster = (Booster) o;
+ return Objects.equals(uuid, booster.uuid);
+ }
- @Override
- public int hashCode() {
- return Objects.hash(uuid);
- }
+ @Override
+ public int hashCode() {
+ return Objects.hash(uuid);
+ }
}
diff --git a/MMOCore-Dist/MMOCore-Dist.iml b/MMOCore-Dist/MMOCore-Dist.iml
deleted file mode 100644
index d35a0362..00000000
--- a/MMOCore-Dist/MMOCore-Dist.iml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-