You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,19 @@
1
1
# Changelog
2
2
3
+
## Release 7.42.0
4
+
5
+
### Changes
6
+
7
+
*#753 Added new logging settings to the config.yml. It is highly recommended to delete the config.yml to let it be recreated.
8
+
*#753 You can now configure the log level of BlockBall for the main server console and BlockBall-only log file found in the /plugins/BlockBall/logs folder.
9
+
*#753 Log levels can be switched without server shutdown and applied via the /blockball reload command. This is useful for cases where you want to actively investigate something using DEBUG mode.
10
+
11
+
### Bugs/Issues
12
+
13
+
*#752 Fixed html color codes did not work in standard chat messages.
plugin.log.debug("[BlockBall] Player '${player.name}' initiating entry sequence for Arena: '${arena.name}' (Game ID: $id). Requested Team: ${team ?:"AUTOMATIC"}")
244
239
val event =GameJoinEvent(player, this)
245
240
server.pluginManager.callEvent(event)
246
241
247
242
if (event.isCancelled()) {
243
+
plugin.log.debug("[BlockBall] GameJoinEvent for '${player.name}' in Arena: '${arena.name}' was cancelled by an external listener.")
248
244
returnJoinResult.EVENT_CANCELLED
249
245
}
250
246
@@ -266,25 +262,32 @@ abstract class SoccerGameImpl(
266
262
}
267
263
268
264
val result =if (joiningTeam ==Team.RED&& redTeam.size < arena.meta.redTeamMeta.maxAmount) {
265
+
plugin.log.debug("[BlockBall] Allocating player '${player.name}' to Team RED in Arena: '${arena.name}'. Current capacity: ${redTeam.size}/${arena.meta.redTeamMeta.maxAmount}")
plugin.log.debug("[BlockBall] Allocating player '${player.name}' to Team BLUE in Arena: '${arena.name}'. Current capacity: ${blueTeam.size}/${arena.meta.blueTeamMeta.maxAmount}")
plugin.log.debug("[BlockBall] Allocating player '${player.name}' as REFEREE in Arena: '${arena.name}'. Current capacity: ${refereeTeam.size}/${arena.meta.refereeTeamMeta.maxAmount}")
plugin.log.debug("[BlockBall] Successfully processed registration for player '${player.name}' as REFEREE in Arena: '${arena.name}'.")
282
284
JoinResult.SUCCESS_REFEREE
283
285
} else {
284
286
JoinResult.TEAM_FULL
285
287
}
286
288
287
289
if (result ==JoinResult.TEAM_FULL) {
290
+
plugin.log.debug("[BlockBall] Allocation rejected: Target group/team '$joiningTeam' is full or unavailable for player '${player.name}' in Arena: '${arena.name}'.")
288
291
return result
289
292
}
290
293
@@ -298,6 +301,7 @@ abstract class SoccerGameImpl(
plugin.log.debug("[BlockBall] Teleported departing player '${player.name}' to designated exit spawnpoint for Arena: '${arena.name}'.")
352
362
}
353
363
}
354
364
365
+
plugin.log.debug("[BlockBall] Clean up complete. Player '${player.name}' has successfully left Arena: '${arena.name}'.")
355
366
returnLeaveResult.SUCCESS
356
367
}
357
368
@@ -455,7 +466,7 @@ abstract class SoccerGameImpl(
455
466
}
456
467
}
457
468
} catch (e:Exception) {
458
-
plugin.logger.log(Level.WARNING, "Cannot publish game to BlockBall Hub.", e)
469
+
plugin.log.error("Failed to publish structured game records to the cloud stats server network for Arena: '${arena.name}'.", e)
459
470
}
460
471
}
461
472
}
@@ -489,6 +500,7 @@ abstract class SoccerGameImpl(
489
500
* Lets the given [player] in the given [game] respawn at the specified spawnpoint.
490
501
*/
491
502
overridefunrespawn(player:Player, team:Team?) {
503
+
plugin.log.debug("[BlockBall] Initializing respawn calculations for player '${player.name}' in Arena: '${arena.name}'.")
492
504
val actualTeam =if (ingamePlayersStorage.containsKey(player)) {
493
505
ingamePlayersStorage[player]!!.goalTeam
494
506
} else {
@@ -515,8 +527,10 @@ abstract class SoccerGameImpl(
515
527
teamMeta.spawnpoint!!.toLocation()
516
528
}
517
529
530
+
plugin.log.debug("[BlockBall] Queuing sync entity dispatcher to teleport player '${player.name}' to respawn point ($spawnPoint) in Arena: '${arena.name}'.")
plugin.log.debug("[BlockBall] Processing raw structural rollbacks (XP, GameMode, Status) for player '${player.name}' returning from Arena: '${arena.name}'.")
0 commit comments