From 3bb63f4773c2ba708fd9d9769f2d245aa9a4dbe1 Mon Sep 17 00:00:00 2001
From: "version-bump[github-action]"
<41898282+version-bump[github-action]@users.noreply.github.com>
Date: Sat, 1 Feb 2025 12:31:34 +0000
Subject: [PATCH 01/14] Bump version from 1.3.15 to 1.3.15-SNAPSHOT0
---
gradle.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gradle.properties b/gradle.properties
index 57547ca1..2e53c05f 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -16,4 +16,4 @@
# along with this program. If not, see .
#
group=plugily.projects
-version=1.3.15
+version=1.3.15-SNAPSHOT0
From 33e69a1fa8a9317ac49a43449b026d07cbf45dc6 Mon Sep 17 00:00:00 2001
From: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com>
Date: Sat, 1 Feb 2025 14:50:29 +0100
Subject: [PATCH 02/14] Attempt to fix incompatibles with other plugins which
using scriptengine by rewritting name of own scriptengine
---
.../minigamesbox/classic/utils/engine/JavaScriptEngine.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/engine/JavaScriptEngine.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/engine/JavaScriptEngine.java
index 6e6fb92b..4bfdde7f 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/engine/JavaScriptEngine.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/engine/JavaScriptEngine.java
@@ -15,7 +15,8 @@
public class JavaScriptEngine {
- private List engineNames = new ArrayList<>(Arrays.asList("js", "JS", "javascript", "JavaScript", "ecmascript", "ECMAScript", "nashorn", "Nashorn"));
+ // private List engineNames = new ArrayList<>(Arrays.asList("js", "JS", "javascript", "JavaScript", "ecmascript", "ECMAScript", "nashorn", "Nashorn"));
+ private List engineNames = new ArrayList<>(Arrays.asList("plugilyprojects"));
private ScriptEngineManager scriptEngineManager;
private ScriptEngineFactory scriptEngineFactory;
From 7a6e64c6d35c1fe08c900b2a9fa40d73272a4057 Mon Sep 17 00:00:00 2001
From: "version-bump[github-action]"
<41898282+version-bump[github-action]@users.noreply.github.com>
Date: Sat, 1 Feb 2025 13:51:51 +0000
Subject: [PATCH 03/14] Bump version from 1.3.15-SNAPSHOT0 to 1.3.15-SNAPSHOT1
---
gradle.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gradle.properties b/gradle.properties
index 2e53c05f..7afe631c 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -16,4 +16,4 @@
# along with this program. If not, see .
#
group=plugily.projects
-version=1.3.15-SNAPSHOT0
+version=1.3.15-SNAPSHOT1
From 976b9fac119983db048332889ca1d7c9a6c29579 Mon Sep 17 00:00:00 2001
From: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com>
Date: Wed, 12 Feb 2025 21:24:39 +0100
Subject: [PATCH 04/14] Fixed sending of leave message only into arena for
active players
---
.../projects/minigamesbox/classic/arena/PluginArenaManager.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/PluginArenaManager.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/PluginArenaManager.java
index 4a3a841a..6d5ed2ab 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/PluginArenaManager.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/PluginArenaManager.java
@@ -249,6 +249,7 @@ public void leaveAttempt(@NotNull Player player, @NotNull IPluginArena arena) {
PluginArenaUtils.resetPlayerAfterGame(arena, player);
if(!user.isSpectator()) {
new MessageBuilder(MessageBuilder.ActionType.LEAVE).arena(arena).player(player).sendArena();
+ new MessageBuilder(MessageBuilder.ActionType.LEAVE).arena(arena).player(player).sendPlayer();
}
plugin.getSignManager().updateSigns();
plugin.getDebugger().debug("[{0}] Final leave attempt for {1} took {2}ms", arena.getId(), player.getName(), System.currentTimeMillis() - start);
From 9c0dac8d2c41b03a92739e55d97aa1ea5e614611 Mon Sep 17 00:00:00 2001
From: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com>
Date: Wed, 12 Feb 2025 22:25:18 +0100
Subject: [PATCH 05/14] Added (3) new ConfigOptions for ArmorStands to control
them in a better way e.g. for bb ingame stuff
---
.../minigamesbox/classic/events/Events.java | 29 +++++++++++++++++--
.../handlers/language/LanguageMigrator.java | 13 ++++++++-
.../classic/preferences/ConfigOption.java | 3 ++
.../classic/utils/migrator/MigratorUtils.java | 4 +--
.../exception/ExceptionLogHandler.java | 4 +--
.../src/main/resources/config.yml | 11 ++++++-
6 files changed, 56 insertions(+), 8 deletions(-)
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/events/Events.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/events/Events.java
index 5a44af80..78d9513f 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/events/Events.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/events/Events.java
@@ -224,6 +224,9 @@ public void onHangingBreakEvent(HangingBreakByEntityEvent event) {
@EventHandler(priority = EventPriority.HIGH)
public void onArmorStandDestroy(EntityDamageByEntityEvent event) {
+ if(!plugin.getConfigPreferences().getOption("BLOCK_IN_GAME_ARMOR_STAND_DESTROY")) {
+ return;
+ }
if(!(event.getEntity() instanceof LivingEntity)) {
return;
}
@@ -232,10 +235,22 @@ public void onArmorStandDestroy(EntityDamageByEntityEvent event) {
return;
}
if(event.getDamager() instanceof Player && plugin.getArenaRegistry().isInArena((Player) event.getDamager())) {
+ if(plugin.getConfigPreferences().getOption("BLOCK_IN_GAME_ARMOR_STAND_CHECK")) {
+ IPluginArena arena = plugin.getArenaRegistry().getArena((Player) event.getDamager());
+ if(arena != null && arena.getArenaState() != IArenaState.IN_GAME) {
+ return;
+ }
+ }
event.setCancelled(true);
} else if(event.getDamager() instanceof Projectile) {
Projectile projectile = (Projectile) event.getDamager();
if(projectile.getShooter() instanceof Player && plugin.getArenaRegistry().isInArena((Player) projectile.getShooter())) {
+ if(plugin.getConfigPreferences().getOption("BLOCK_IN_GAME_ARMOR_STAND_CHECK")) {
+ IPluginArena arena = plugin.getArenaRegistry().getArena((Player) projectile.getShooter());
+ if(arena != null && arena.getArenaState() != IArenaState.IN_GAME) {
+ return;
+ }
+ }
event.setCancelled(true);
return;
}
@@ -245,9 +260,19 @@ public void onArmorStandDestroy(EntityDamageByEntityEvent event) {
@EventHandler(priority = EventPriority.HIGH)
public void onInteractWithArmorStand(PlayerArmorStandManipulateEvent event) {
- if(plugin.getArenaRegistry().isInArena(event.getPlayer())) {
- event.setCancelled(true);
+ if(!plugin.getConfigPreferences().getOption("BLOCK_IN_GAME_ARMOR_STAND_INTERACT")) {
+ return;
+ }
+ if(!plugin.getArenaRegistry().isInArena(event.getPlayer())) {
+ return;
}
+ if(plugin.getConfigPreferences().getOption("BLOCK_IN_GAME_ARMOR_STAND_CHECK")) {
+ IPluginArena arena = plugin.getArenaRegistry().getArena(event.getPlayer());
+ if(arena != null && arena.getArenaState() != IArenaState.IN_GAME) {
+ return;
+ }
+ }
+ event.setCancelled(true);
}
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/handlers/language/LanguageMigrator.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/handlers/language/LanguageMigrator.java
index c9964141..d166b9d5 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/handlers/language/LanguageMigrator.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/handlers/language/LanguageMigrator.java
@@ -44,7 +44,7 @@
public class LanguageMigrator {
public enum CoreFileVersion {
- /*ARENA_SELECTOR(0),*/ ARENAS(1), BUNGEE(1), CONFIG(4), KITS(2),
+ /*ARENA_SELECTOR(0),*/ ARENAS(1), BUNGEE(1), CONFIG(5), KITS(2),
LANGUAGE(2), /*LEADERBOARDS(0),*/ MYSQL(1), PERMISSIONS(1), POWERUPS(1),
REWARDS(1), /*SIGNS(0),*/ SPECIAL_ITEMS(1), SPECTATOR(1)/*, STATS(0)*/;
@@ -165,6 +165,17 @@ private void executeUpdate(File file, CoreFileVersion coreFileVersion, int versi
MigratorUtils.removeLineFromFile(file, " True: false");
MigratorUtils.insertAfterLine(file, "Damage:", " Hunger: false");
break;
+ case 4:
+ MigratorUtils.insertAfterLine(file, " Item-Move: true", " ArmorStand: \n" +
+ " # Should we block armor stand destroy with double click?\n" +
+ " Destroy: true\n" +
+ " # Should we block armor stand interaction?\n" +
+ " Interact: true\n" +
+ " # Should these only be blocked while ingame and arena state is in_game? (e.g. Lobby and Ending is blocked)\n" +
+ " # Setting it to false means on all stages of the game the event will be cancelled. \n" +
+ " # Setting it to true means only while IN_GAME the event will be cancelled.\n" +
+ " Check: true\r\n");
+ break;
default:
break;
}
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/preferences/ConfigOption.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/preferences/ConfigOption.java
index ec230cc2..4d2b6caa 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/preferences/ConfigOption.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/preferences/ConfigOption.java
@@ -45,6 +45,9 @@ public class ConfigOption implements IConfigOption {
//Commands.Shorter
options.put("BLOCK_IN_GAME_COMMANDS", new ConfigOption("Block.In-Game.Commands", true, true));
options.put("BLOCK_IN_GAME_ITEM_MOVE", new ConfigOption("Block.In-Game.Item-Move", true, true));
+ options.put("BLOCK_IN_GAME_ARMOR_STAND_DESTROY", new ConfigOption("Block.In-Game.ArmorStand.Destroy", true, true));
+ options.put("BLOCK_IN_GAME_ARMOR_STAND_INTERACT", new ConfigOption("Block.In-Game.ArmorStand.Interact", true, true));
+ options.put("BLOCK_IN_GAME_ARMOR_STAND_CHECK", new ConfigOption("Block.In-Game.ArmorStand.Check", true, true));
options.put("DATABASE", new ConfigOption("Database", false, true));
options.put("REWARDS", new ConfigOption("Rewards", false, true));
options.put("PLUGIN_CHAT_FORMAT", new ConfigOption("Chat.Format", true, true));
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/migrator/MigratorUtils.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/migrator/MigratorUtils.java
index 0ad627ef..8ca1c457 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/migrator/MigratorUtils.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/migrator/MigratorUtils.java
@@ -53,7 +53,7 @@ public static void removeLineFromFile(File file, String lineToRemove) {
Files.write(file.toPath(), updatedLines, StandardCharsets.UTF_8);
} catch(IOException e) {
e.printStackTrace();
- Bukkit.getLogger().warning("[CommonsBox] Something went horribly wrong with migration! Please contact Plugily Projects!");
+ Bukkit.getLogger().warning("[MinigamesBox] Something went horribly wrong with migration! Please contact Plugily Projects!");
}
}
@@ -94,7 +94,7 @@ public static void addNewLines(File file, String newLines) {
fw.close();
} catch(IOException e) {
e.printStackTrace();
- Bukkit.getLogger().warning("[CommonsBox] Something went horribly wrong with migration! Please contact Plugily Projects!");
+ Bukkit.getLogger().warning("[MinigamesBox] Something went horribly wrong with migration! Please contact Plugily Projects!");
}
}
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/services/exception/ExceptionLogHandler.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/services/exception/ExceptionLogHandler.java
index 66fb61b4..b8b8385a 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/services/exception/ExceptionLogHandler.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/utils/services/exception/ExceptionLogHandler.java
@@ -40,8 +40,8 @@ public class ExceptionLogHandler extends Handler {
public ExceptionLogHandler(PluginMain plugin) {
this.plugin = plugin;
Bukkit.getLogger().addHandler(this);
- addBlacklistedClass("plugily.projects." + plugin.getDescription().getName().toLowerCase() + ".user.data.MysqlManager");
- addBlacklistedClass("plugily.projects." + plugin.getDescription().getName().toLowerCase() + ".plugily.projects.commonsbox.database.MysqlDatabase");
+ addBlacklistedClass("plugily.projects." + plugin.getDescription().getName().toLowerCase() + ".minigamesbox.classic.user.data.MysqlManager");
+ addBlacklistedClass("plugily.projects." + plugin.getDescription().getName().toLowerCase() + ".minigamesbox.database.MysqlDatabase");
}
/**
diff --git a/MiniGamesBox Classic/src/main/resources/config.yml b/MiniGamesBox Classic/src/main/resources/config.yml
index 6e40062e..06d11dc3 100644
--- a/MiniGamesBox Classic/src/main/resources/config.yml
+++ b/MiniGamesBox Classic/src/main/resources/config.yml
@@ -82,6 +82,15 @@ Block:
Leave: false
# Cancels Item Movement into player crafting, enchantment tables, anvils ...
Item-Move: true
+ ArmorStand:
+ # Should we block armor stand destroy with double click?
+ Destroy: true
+ # Should we block armor stand interaction?
+ Interact: true
+ # Should these only be blocked while ingame and arena state is in_game? (e.g. Lobby and Ending is blocked)
+ # Setting it to false means on all stages of the game the event will be cancelled.
+ # Setting it to true means only while IN_GAME the event will be cancelled.
+ Check: true
# Enable this option when you're using MySQL, otherwise it won't work.
@@ -197,4 +206,4 @@ Update-Notifier:
# You edited it, huh? Next time hurt yourself!
Do-Not-Edit:
File-Version: 1
- Core-Version: 4
\ No newline at end of file
+ Core-Version: 5
\ No newline at end of file
From 9beee10b9b6236e043b4901d43a686df820d7a6f Mon Sep 17 00:00:00 2001
From: "version-bump[github-action]"
<41898282+version-bump[github-action]@users.noreply.github.com>
Date: Wed, 12 Feb 2025 22:14:22 +0000
Subject: [PATCH 06/14] Bump version from 1.3.15-SNAPSHOT1 to 1.3.15-SNAPSHOT2
---
gradle.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gradle.properties b/gradle.properties
index 7afe631c..1d700675 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -16,4 +16,4 @@
# along with this program. If not, see .
#
group=plugily.projects
-version=1.3.15-SNAPSHOT1
+version=1.3.15-SNAPSHOT2
From 8c451ff6141ee31547df7be846805f3603596ff0 Mon Sep 17 00:00:00 2001
From: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com>
Date: Mon, 17 Feb 2025 21:01:36 +0100
Subject: [PATCH 07/14] Fixed player collissions on spectator mode
---
.../projects/minigamesbox/classic/arena/PluginArenaUtils.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/PluginArenaUtils.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/PluginArenaUtils.java
index 5dd86d45..69f0a1f4 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/PluginArenaUtils.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/PluginArenaUtils.java
@@ -111,6 +111,7 @@ public static CompletableFuture preparePlayerForGame(
plugin
.getSpecialItemManager()
.addSpecialItemsOfStage(player, SpecialItem.DisplayStage.SPECTATOR);
+ VersionUtils.setCollidable(player, false);
} else {
player.setAllowFlight(false);
player.setFlying(false);
From 33c5b949d42d1973fbbc100c370036e31097badc Mon Sep 17 00:00:00 2001
From: "version-bump[github-action]"
<41898282+version-bump[github-action]@users.noreply.github.com>
Date: Mon, 17 Feb 2025 20:11:49 +0000
Subject: [PATCH 08/14] Bump version from 1.3.15-SNAPSHOT2 to 1.3.15-SNAPSHOT3
---
gradle.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gradle.properties b/gradle.properties
index 1d700675..97d7a32b 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -16,4 +16,4 @@
# along with this program. If not, see .
#
group=plugily.projects
-version=1.3.15-SNAPSHOT2
+version=1.3.15-SNAPSHOT3
From 905eebf64de3c0960f0b217610f7476cb673ff75 Mon Sep 17 00:00:00 2001
From: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com>
Date: Mon, 17 Feb 2025 21:23:23 +0100
Subject: [PATCH 09/14] Fixed spectator can't fly after sneaking out of first
person mode
---
.../events/spectator/settings/SpectatorSettingsMenu.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/events/spectator/settings/SpectatorSettingsMenu.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/events/spectator/settings/SpectatorSettingsMenu.java
index 54b399ef..5cdaed3b 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/events/spectator/settings/SpectatorSettingsMenu.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/events/spectator/settings/SpectatorSettingsMenu.java
@@ -33,6 +33,7 @@
import plugily.projects.minigamesbox.api.arena.IPluginArena;
import plugily.projects.minigamesbox.api.user.IUser;
import plugily.projects.minigamesbox.classic.PluginMain;
+import plugily.projects.minigamesbox.classic.handlers.items.SpecialItem;
import plugily.projects.minigamesbox.classic.handlers.language.MessageBuilder;
import plugily.projects.minigamesbox.classic.handlers.reward.Reward;
import plugily.projects.minigamesbox.classic.handlers.reward.RewardType;
@@ -263,6 +264,9 @@ public void onPlayerSneak(PlayerToggleSneakEvent event) {
firstPersonMode.remove(player);
player.setSpectatorTarget(null);
player.setGameMode(GameMode.SURVIVAL);
+ player.setAllowFlight(true);
+ player.setFlying(true);
+ VersionUtils.setCollidable(player, false);
}
public NormalFastInv getInventory() {
From f1f5d718aef63ebb826a460d013961c36dba09d5 Mon Sep 17 00:00:00 2001
From: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com>
Date: Mon, 17 Feb 2025 21:39:52 +0100
Subject: [PATCH 10/14] Fixed arena start time divider did not match from
config.yml
---
.../minigamesbox/classic/arena/states/PluginStartingState.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/states/PluginStartingState.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/states/PluginStartingState.java
index 9fd15641..113a1be1 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/states/PluginStartingState.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/states/PluginStartingState.java
@@ -61,7 +61,7 @@ public void handleCall(PluginArena arena) {
int timer = arena.getTimer();
- double startWaiting = plugin.getConfig().getDouble("Starting-Waiting-Time", 60);
+ double startWaiting = plugin.getConfig().getDouble("Time-Manager.Waiting", 60);
arena.getBossbarManager().setProgress(timer / startWaiting);
float exp = (float) (timer / startWaiting);
From 4179e523e9ab2c3d8b2cb4aca91ea3fc100f6e6e Mon Sep 17 00:00:00 2001
From: "version-bump[github-action]"
<41898282+version-bump[github-action]@users.noreply.github.com>
Date: Mon, 17 Feb 2025 20:41:14 +0000
Subject: [PATCH 11/14] Bump version from 1.3.15-SNAPSHOT3 to 1.3.15-SNAPSHOT4
---
gradle.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gradle.properties b/gradle.properties
index 97d7a32b..3a35145a 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -16,4 +16,4 @@
# along with this program. If not, see .
#
group=plugily.projects
-version=1.3.15-SNAPSHOT3
+version=1.3.15-SNAPSHOT4
From abf783b0122251c40c1d64c6841dc8150869c538 Mon Sep 17 00:00:00 2001
From: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com>
Date: Mon, 17 Feb 2025 21:55:49 +0100
Subject: [PATCH 12/14] Add some note about Shutdown-When-Game-Ends mysql
---
.../classic/arena/states/PluginRestartingState.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/states/PluginRestartingState.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/states/PluginRestartingState.java
index be533293..7de76bc0 100644
--- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/states/PluginRestartingState.java
+++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/arena/states/PluginRestartingState.java
@@ -61,6 +61,8 @@ public void handleCall(PluginArena arena) {
arena.getMapRestorerManager().fullyRestoreArena();
if(plugin.getConfigPreferences().getOption("BUNGEEMODE")) {
if(ConfigUtils.getConfig(plugin, "bungee").getBoolean("Shutdown-When-Game-Ends")) {
+ // If someone else reports issues on mysql data save, may update to run sync save of allstatistic!
+ // (e.g. the data is now entered correctly in the DB, but only if "Shutdown-When-Game-Ends: false" is set in the bungee.yml, otherwise no data is entered in the database)
for(Player player : Bukkit.getOnlinePlayers()) {
IUser user = plugin.getUserManager().getUser(player);
plugin.getUserManager().saveAllStatistic(user);
From e9df8e0b7e18526f1d20509c72bb037c0878f74c Mon Sep 17 00:00:00 2001
From: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com>
Date: Mon, 17 Feb 2025 22:08:18 +0100
Subject: [PATCH 13/14] Updated CHANGELOG.md
---
.github/CHANGELOG.md | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md
index aaf437f8..411f3a36 100644
--- a/.github/CHANGELOG.md
+++ b/.github/CHANGELOG.md
@@ -1,3 +1,19 @@
+### (1.3.11-)1.3.15 Release (17.02.2025)
+* Added 1.21.1-4 support
+* Added (3) new ConfigOptions for ArmorStands (BLOCK_IN_GAME_ARMOR_STAND_DESTROY, BLOCK_IN_GAME_ARMOR_STAND_CHECK, BLOCK_IN_GAME_ARMOR_STAND_INTERACT)
+* Fixed arena start time divider did not match from config.yml
+* Fixed spectator can't fly after sneaking out of first person mode
+* Fixed player collissions on spectator mode
+* Fixed sending of leave message for leaving player and the counting in arena
+* Fixed ActionBars did not convert player and arena placeholders by default
+* Fixed compatibility for BannerColoring in 1.20+
+* Fixed sign updates as cached objects got overwrite (#59)
+* Fixed CommandArgument could have multiple permissions while only the first one was checked
+* Changed onDisable process to make sure all data gets saved even on mysql
+* Changed Simplified and fixed getting of custom texture Skulls (1.20+)
+* Changed Simplified and fixed ArenaWallSign on 1.20.5+
+* Changed Attempt to fix incompatibles with other plugins which using scriptengine by rewritting name of own scriptengine [Changed ScriptEngine name to "plugilyprojects"]
+
### 1.3.10 Release (09.07.2024)
* Fixed multiverse teleportation problems on a multiworld server
From 87c93ce4d07fb79089406e1c61a0adf73d764247 Mon Sep 17 00:00:00 2001
From: "version-bump[github-action]"
<41898282+version-bump[github-action]@users.noreply.github.com>
Date: Mon, 17 Feb 2025 21:09:07 +0000
Subject: [PATCH 14/14] Bump version from 1.3.15-SNAPSHOT4 to 1.3.15-SNAPSHOT5
---
gradle.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gradle.properties b/gradle.properties
index 3a35145a..aee3945a 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -16,4 +16,4 @@
# along with this program. If not, see .
#
group=plugily.projects
-version=1.3.15-SNAPSHOT4
+version=1.3.15-SNAPSHOT5