diff --git a/pom.xml b/pom.xml
index 190e1925..64f053b2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,7 +2,7 @@
4.0.0
de.erethon
dungeonsxl
- 0.16.2
+ 0.17-SNAPSHOT
jar
DungeonsXL
https://dre2n.github.io
diff --git a/src/main/java/de/erethon/dungeonsxl/announcer/Announcer.java b/src/main/java/de/erethon/dungeonsxl/announcer/Announcer.java
index 7fc2b713..66817a20 100644
--- a/src/main/java/de/erethon/dungeonsxl/announcer/Announcer.java
+++ b/src/main/java/de/erethon/dungeonsxl/announcer/Announcer.java
@@ -450,4 +450,9 @@ public class Announcer {
}
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{name=" + name + /*"; dungeon=" + dungeon + */ "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/dungeon/Dungeon.java b/src/main/java/de/erethon/dungeonsxl/dungeon/Dungeon.java
index 38fe7880..c9bf9738 100644
--- a/src/main/java/de/erethon/dungeonsxl/dungeon/Dungeon.java
+++ b/src/main/java/de/erethon/dungeonsxl/dungeon/Dungeon.java
@@ -130,4 +130,9 @@ public class Dungeon {
return new File(DungeonsXL.DUNGEONS, name + ".yml");
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{name=" + name + "; multiFloor=" + isMultiFloor() + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/dungeon/DungeonConfig.java b/src/main/java/de/erethon/dungeonsxl/dungeon/DungeonConfig.java
index 70a5d962..e0bbe47b 100644
--- a/src/main/java/de/erethon/dungeonsxl/dungeon/DungeonConfig.java
+++ b/src/main/java/de/erethon/dungeonsxl/dungeon/DungeonConfig.java
@@ -215,4 +215,9 @@ public class DungeonConfig extends DREConfig {
}
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{file=" + file.getPath() + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/game/Game.java b/src/main/java/de/erethon/dungeonsxl/game/Game.java
index 5ecd988a..d363146f 100644
--- a/src/main/java/de/erethon/dungeonsxl/game/Game.java
+++ b/src/main/java/de/erethon/dungeonsxl/game/Game.java
@@ -463,4 +463,9 @@ public class Game {
}
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{dungeon=" + getDungeon() + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/global/GlobalProtection.java b/src/main/java/de/erethon/dungeonsxl/global/GlobalProtection.java
index 3f302020..ec32cb95 100644
--- a/src/main/java/de/erethon/dungeonsxl/global/GlobalProtection.java
+++ b/src/main/java/de/erethon/dungeonsxl/global/GlobalProtection.java
@@ -114,4 +114,9 @@ public abstract class GlobalProtection {
*/
public abstract Collection getBlocks();
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{ID=" + id + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/mob/DMob.java b/src/main/java/de/erethon/dungeonsxl/mob/DMob.java
index b1f3eac8..ee37f072 100644
--- a/src/main/java/de/erethon/dungeonsxl/mob/DMob.java
+++ b/src/main/java/de/erethon/dungeonsxl/mob/DMob.java
@@ -174,4 +174,9 @@ public class DMob {
return null;
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{type=" + type + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java b/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java
index b1526665..683e7644 100644
--- a/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java
+++ b/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java
@@ -402,4 +402,9 @@ public class DGlobalPlayer implements PlayerWrapper {
new DGamePlayer(player, gameWorld);
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{player=" + player + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/player/DGroup.java b/src/main/java/de/erethon/dungeonsxl/player/DGroup.java
index ef55ec3d..bd646da9 100644
--- a/src/main/java/de/erethon/dungeonsxl/player/DGroup.java
+++ b/src/main/java/de/erethon/dungeonsxl/player/DGroup.java
@@ -927,4 +927,9 @@ public class DGroup {
return dGroups;
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{name=" + name + "; captain=" + captain + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/requirement/Requirement.java b/src/main/java/de/erethon/dungeonsxl/requirement/Requirement.java
index eb1a7a11..e6d6392f 100644
--- a/src/main/java/de/erethon/dungeonsxl/requirement/Requirement.java
+++ b/src/main/java/de/erethon/dungeonsxl/requirement/Requirement.java
@@ -64,4 +64,9 @@ public abstract class Requirement {
public abstract RequirementType getType();
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{type=" + getType() + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/reward/Reward.java b/src/main/java/de/erethon/dungeonsxl/reward/Reward.java
index 10915529..37b426a7 100644
--- a/src/main/java/de/erethon/dungeonsxl/reward/Reward.java
+++ b/src/main/java/de/erethon/dungeonsxl/reward/Reward.java
@@ -62,4 +62,9 @@ public abstract class Reward {
public abstract RewardType getType();
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{type=" + getType() + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/sign/DSign.java b/src/main/java/de/erethon/dungeonsxl/sign/DSign.java
index b45ed6fa..9627e620 100644
--- a/src/main/java/de/erethon/dungeonsxl/sign/DSign.java
+++ b/src/main/java/de/erethon/dungeonsxl/sign/DSign.java
@@ -271,4 +271,9 @@ public abstract class DSign {
public abstract DSignType getType();
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{sign=" + sign + "; gameWorld=" + gameWorld + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/sign/SignScript.java b/src/main/java/de/erethon/dungeonsxl/sign/SignScript.java
index 416ccb16..f673ae36 100644
--- a/src/main/java/de/erethon/dungeonsxl/sign/SignScript.java
+++ b/src/main/java/de/erethon/dungeonsxl/sign/SignScript.java
@@ -87,4 +87,9 @@ public class SignScript {
signs.set(index, lines);
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{name=" + name + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/trigger/Trigger.java b/src/main/java/de/erethon/dungeonsxl/trigger/Trigger.java
index 83c302ff..10baf8a3 100644
--- a/src/main/java/de/erethon/dungeonsxl/trigger/Trigger.java
+++ b/src/main/java/de/erethon/dungeonsxl/trigger/Trigger.java
@@ -212,4 +212,9 @@ public abstract class Trigger {
/* Abstracts */
public abstract TriggerType getType();
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{type=" + getType() + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/world/DInstanceWorld.java b/src/main/java/de/erethon/dungeonsxl/world/DInstanceWorld.java
index 7e3499fd..95eb4d57 100644
--- a/src/main/java/de/erethon/dungeonsxl/world/DInstanceWorld.java
+++ b/src/main/java/de/erethon/dungeonsxl/world/DInstanceWorld.java
@@ -183,4 +183,9 @@ public abstract class DInstanceWorld {
*/
public abstract void delete();
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{name=" + getName() + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/world/WorldConfig.java b/src/main/java/de/erethon/dungeonsxl/world/WorldConfig.java
index d31de377..c615e1ae 100644
--- a/src/main/java/de/erethon/dungeonsxl/world/WorldConfig.java
+++ b/src/main/java/de/erethon/dungeonsxl/world/WorldConfig.java
@@ -416,4 +416,9 @@ public class WorldConfig extends GameRuleProvider {
this.worldEnvironment = worldEnvironment;
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{file=" + file.getPath() + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/world/block/GameBlock.java b/src/main/java/de/erethon/dungeonsxl/world/block/GameBlock.java
index dab41a96..726205b5 100644
--- a/src/main/java/de/erethon/dungeonsxl/world/block/GameBlock.java
+++ b/src/main/java/de/erethon/dungeonsxl/world/block/GameBlock.java
@@ -56,4 +56,9 @@ public abstract class GameBlock {
*/
public abstract boolean onBreak(BlockBreakEvent event);
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{block=" + block + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/world/block/LockedDoor.java b/src/main/java/de/erethon/dungeonsxl/world/block/LockedDoor.java
index 3c440145..7cd37927 100644
--- a/src/main/java/de/erethon/dungeonsxl/world/block/LockedDoor.java
+++ b/src/main/java/de/erethon/dungeonsxl/world/block/LockedDoor.java
@@ -62,4 +62,9 @@ public class LockedDoor extends GameBlock implements MultiBlock {
state.update(true);
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{block=" + block + "; attachedBlock=" + attachedBlock + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/world/block/TeamBed.java b/src/main/java/de/erethon/dungeonsxl/world/block/TeamBed.java
index 9270ec60..0a4cce43 100644
--- a/src/main/java/de/erethon/dungeonsxl/world/block/TeamBed.java
+++ b/src/main/java/de/erethon/dungeonsxl/world/block/TeamBed.java
@@ -95,4 +95,9 @@ public class TeamBed extends TeamBlock implements MultiBlock {
return true;
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{block=" + block + "; attachedBlock=" + attachedBlock + "; owner=" + owner + "}";
+ }
+
}
diff --git a/src/main/java/de/erethon/dungeonsxl/world/block/TeamBlock.java b/src/main/java/de/erethon/dungeonsxl/world/block/TeamBlock.java
index 0e53a426..350721b3 100644
--- a/src/main/java/de/erethon/dungeonsxl/world/block/TeamBlock.java
+++ b/src/main/java/de/erethon/dungeonsxl/world/block/TeamBlock.java
@@ -46,4 +46,9 @@ public abstract class TeamBlock extends GameBlock {
this.owner = owner;
}
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "{block=" + block + "; owner=" + owner + "}";
+ }
+
}