From 70b6c3be728c461ff9358f3609d4ab5b11e620f5 Mon Sep 17 00:00:00 2001 From: Martin Baptiste Date: Mon, 19 Jan 2026 15:45:49 +0100 Subject: [PATCH 1/4] Update NationsGloryJava.yml --- patterns/NationsGloryJava.yml | 120 ++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) diff --git a/patterns/NationsGloryJava.yml b/patterns/NationsGloryJava.yml index 3d72a82..d0fdb2a 100644 --- a/patterns/NationsGloryJava.yml +++ b/patterns/NationsGloryJava.yml @@ -174,3 +174,123 @@ spawn_obscure_block: spawn_millenial_wood: pattern: "{timestamp} [INFO] [NationsJob] SPAWN MILLENIAL WOOD IN {x}, {y}, {z} BY PLAYER {player}" + +# =========================== +# Auctions / Enchères +# =========================== +auction_new: + pattern: "{timestamp} [Auction] New Player auction {details}" + +auction_bid: + pattern: "{timestamp} [Auction] New Player bid {details}" + +auction_end: + pattern: "{timestamp} [Auction] End of auction {details}" + +auction_refund: + pattern: "{timestamp} [Auction] Refund {details}" + +auction_cancelled: + pattern: "{timestamp} [Auction] CANCELLED {details}" + +# =========================== +# ChestShop +# =========================== +chestshop_transaction: + pattern: "{timestamp} [ChestShop] {player} {action} {qty} {item} for {price} {direction} {target} at [world] {x}, {y}, {z}" + +chestshop_transaction_log: + pattern: "{timestamp} LOG TRANSACTION CHEST {details}" + +# =========================== +# Adminshop / Catalog +# =========================== +adminshop_transaction: + pattern: "{timestamp} {player} {details} from Adminshop" + +adminshop_transaction_lower: + pattern: "{timestamp} {player} {details} from adminshop" + +catalog_transaction: + pattern: "{timestamp} [Catalog] {details}" + +# =========================== +# War / Warzone +# =========================== +war_add: + pattern: "{timestamp} Add war {details}" + +war_start: + pattern: "{timestamp} START WAR {details}" + +war_surrender: + pattern: "{timestamp} SURREND WAR {details}" + +war_status_change: + pattern: "{timestamp} Change status of war request between {country_a} and {country_b} to {status}" + +war_won: + pattern: "{timestamp} War won {details}" + +warzone_add: + pattern: "{timestamp} [WarZone] Add {details}" + +# =========================== +# Economie / Pays +# =========================== +country_buy: + pattern: "{timestamp} ACHAT PAYS {details}" + +country_action_buy: + pattern: "{timestamp} ACHAT ACTION : {details}" + +country_found: + pattern: "{timestamp} {player} vient de fonder le pays {country}" + +country_new_leader: + pattern: "{timestamp} {player} est le nouveau dirigeant du pays {country}" + +colony_request: + pattern: "{timestamp} {player} vient de faire une demande de colonie sur {country}" + +# =========================== +# Powerboost +# =========================== +powerboost_player: + pattern: "{timestamp} POWERBOOST DE {player} {details}" + +powerboost_country: + pattern: "{timestamp} Powerboost to {country} {details}" + +# =========================== +# Meteore +# =========================== +meteor_spawn: + pattern: "{timestamp} METEOR SPAWNED IN {details}" + +# =========================== +# Access / Permissions +# =========================== +access_set: + pattern: "{timestamp} {player} set access to player {target} {details}" + +access_remove: + pattern: "{timestamp} {player} remove access to player {target} {details}" + +# =========================== +# Divers +# =========================== +duel_win: + pattern: "{timestamp} AFTER WIN DUEL {details}" + +restricted_item_interaction: + pattern: "{timestamp} {player} interacts with restricted item {details}" + +missile_launch: + pattern: "{timestamp} {player} vient de lancer un missile {details}" + +# =========================== +# Player session +# =========================== +player_left: + pattern: "{timestamp} [INFO] {player} left the game." From 3180e5ee3c506084fbce0b77c8d5dbd8896194dd Mon Sep 17 00:00:00 2001 From: Martin Baptiste Date: Mon, 19 Jan 2026 20:15:26 +0100 Subject: [PATCH 2/4] Update patterns/NationsGloryJava.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- patterns/NationsGloryJava.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patterns/NationsGloryJava.yml b/patterns/NationsGloryJava.yml index d0fdb2a..597e141 100644 --- a/patterns/NationsGloryJava.yml +++ b/patterns/NationsGloryJava.yml @@ -263,7 +263,7 @@ powerboost_country: pattern: "{timestamp} Powerboost to {country} {details}" # =========================== -# Meteore +# Meteor # =========================== meteor_spawn: pattern: "{timestamp} METEOR SPAWNED IN {details}" From c33a7d4dfc8885284c3e7f7a4524257fd9347419 Mon Sep 17 00:00:00 2001 From: Martin Baptiste Date: Fri, 6 Feb 2026 11:27:05 +0100 Subject: [PATCH 3/4] Refactor log patterns and remove auction entries Removed auction-related patterns and updated various log patterns for events like war, economy, and player interactions. --- patterns/NationsGloryJava.yml | 65 ++++++++++++----------------------- 1 file changed, 22 insertions(+), 43 deletions(-) diff --git a/patterns/NationsGloryJava.yml b/patterns/NationsGloryJava.yml index 597e141..245cc72 100644 --- a/patterns/NationsGloryJava.yml +++ b/patterns/NationsGloryJava.yml @@ -175,24 +175,6 @@ spawn_obscure_block: spawn_millenial_wood: pattern: "{timestamp} [INFO] [NationsJob] SPAWN MILLENIAL WOOD IN {x}, {y}, {z} BY PLAYER {player}" -# =========================== -# Auctions / Enchères -# =========================== -auction_new: - pattern: "{timestamp} [Auction] New Player auction {details}" - -auction_bid: - pattern: "{timestamp} [Auction] New Player bid {details}" - -auction_end: - pattern: "{timestamp} [Auction] End of auction {details}" - -auction_refund: - pattern: "{timestamp} [Auction] Refund {details}" - -auction_cancelled: - pattern: "{timestamp} [Auction] CANCELLED {details}" - # =========================== # ChestShop # =========================== @@ -205,44 +187,44 @@ chestshop_transaction_log: # =========================== # Adminshop / Catalog # =========================== -adminshop_transaction: - pattern: "{timestamp} {player} {details} from Adminshop" - -adminshop_transaction_lower: - pattern: "{timestamp} {player} {details} from adminshop" - catalog_transaction: - pattern: "{timestamp} [Catalog] {details}" + pattern: "{timestamp} [INFO] [NationsGUI] [Catalog] Player {player} bought the item {id} {quantity} for {price}$ (including delivery {tax}$) to player Bank" # =========================== # War / Warzone # =========================== war_add: - pattern: "{timestamp} Add war {details}" + pattern: "{timestamp} [INFO] [NationsUtils] Add war event {war_reason} between {country_a} and {country_b}" war_start: - pattern: "{timestamp} START WAR {details}" + pattern: "{timestamp} [INFO] [NationsGUI] START WAR between {country_a} and {country_b} for reason {reason}" war_surrender: - pattern: "{timestamp} SURREND WAR {details}" + pattern: "{timestamp} [INFO] [NationsGUI] {country_a} SURREND WAR AGAINST {country_b} APPLY REWARDS : {reward_type}#{amount}" war_status_change: - pattern: "{timestamp} Change status of war request between {country_a} and {country_b} to {status}" + pattern: "{timestamp} Change status of war request between {country_a} and {country_b} by {player} to {status}" war_won: - pattern: "{timestamp} War won {details}" + pattern: "{timestamp} [INFO] [NationsUtils] War won by {country_a} against {country_b}" -warzone_add: +warzone_add_skill: pattern: "{timestamp} [WarZone] Add {details}" +warzone_add_power: + pattern: "{timestamp} [WarZone] Add {details}" + +warzone_add_powerboost: + pattern: "{timestamp} [INFO] [WarZone] Le pays {country} vient de recevoir un powerboost de {amount} de la warzone." + # =========================== # Economie / Pays # =========================== country_buy: - pattern: "{timestamp} ACHAT PAYS {details}" + pattern: "{timestamp} [INFO] ACHAT PAYS {country} PAR {pseudo} POUR {price}$" country_action_buy: - pattern: "{timestamp} ACHAT ACTION : {details}" + pattern: "{timetamp} [INFO] [NationsGUI] ACHAT ACTION : {country_a} ({player}) buy action of {country_b} for {price}$" country_found: pattern: "{timestamp} {player} vient de fonder le pays {country}" @@ -250,9 +232,6 @@ country_found: country_new_leader: pattern: "{timestamp} {player} est le nouveau dirigeant du pays {country}" -colony_request: - pattern: "{timestamp} {player} vient de faire une demande de colonie sur {country}" - # =========================== # Powerboost # =========================== @@ -266,25 +245,25 @@ powerboost_country: # Meteor # =========================== meteor_spawn: - pattern: "{timestamp} METEOR SPAWNED IN {details}" + pattern: "{timestamp} [INFO] METEOR SPAWNED IN {planet} on player {player} at {x}, {y}, {z}" # =========================== # Access / Permissions # =========================== access_set: - pattern: "{timestamp} {player} set access to player {target} {details}" + pattern: "{timestamp} [INFO] [Factions] Player {player} set access to player {player} in chunk {x}, {z} to true" access_remove: - pattern: "{timestamp} {player} remove access to player {target} {details}" + pattern: "{timestamp} [INFO] [Factions] Player {player} remove access to player {player} in chunk {x}, {z} to false" # =========================== # Divers # =========================== -duel_win: - pattern: "{timestamp} AFTER WIN DUEL {details}" +duel_start: + pattern: "{timestamp} [INFO] START DUEL {player_a} vs {player_b} BET {amount}" restricted_item_interaction: - pattern: "{timestamp} {player} interacts with restricted item {details}" + pattern: "{timestamp} [INFO] [NationsUtils] Player {player} interacts with restricted item {id}" missile_launch: pattern: "{timestamp} {player} vient de lancer un missile {details}" @@ -293,4 +272,4 @@ missile_launch: # Player session # =========================== player_left: - pattern: "{timestamp} [INFO] {player} left the game." + pattern: '{timestamp} [INFO] §7[*banner id="minus"]§7 {player} ({number}/300)' From 107d411175426b6f59e95e08766acb8f1700e8ac Mon Sep 17 00:00:00 2001 From: Martin Baptiste Date: Fri, 6 Feb 2026 14:27:18 +0100 Subject: [PATCH 4/4] Update NationsGloryJava.yml --- patterns/NationsGloryJava.yml | 98 ++++++++++++++++++++++++----------- 1 file changed, 67 insertions(+), 31 deletions(-) diff --git a/patterns/NationsGloryJava.yml b/patterns/NationsGloryJava.yml index 245cc72..e37b684 100644 --- a/patterns/NationsGloryJava.yml +++ b/patterns/NationsGloryJava.yml @@ -11,7 +11,7 @@ player_alias: # NationsStats # =========================== stats_login: - pattern: "{timestamp} [NationsStats] Connexion de {player} avec {money}$" + pattern: "{timestamp} [INFO] [NationsStats] Connexion de {player} avec {money}$" # =========================== # HDV — Hôtel des ventes @@ -25,39 +25,66 @@ hdv_buy: hdv_remove: pattern: "{timestamp} [HDV] {player} a retiré une annonce ({qty}x ID:({itemid}) pour {unitprice} $/U) (UUID:{uuid})" -hdv_info_pricecalc: - pattern: "{timestamp} [HDV] Le calcul du prix d'achat HDV affiché suit le calcul (quantité * prix unitaire * quantité), il faut diviser par la quantité pour avoir le bon prix d'achat" - # =========================== # Factions / Relations / Claims # =========================== + faction_kick: - pattern: "{timestamp} kicked {player} from the faction {faction}" + pattern: "{timestamp} [INFO] [Factions 2.2.2] {player} kicked {kicked_player} from the faction {country}" chunk_claim: - pattern: "{timestamp} {player} did buy" + pattern: "{timestamp} [INFO] {country} {player} buy {world} {chunk_x} {chunk_y} pour {for_country} à votre pays" chunk_unclaim: - pattern: "{timestamp} {player} did sell" + pattern: "{timestamp} [INFO] {country} {player} sell {world} {chunk_x} {chunk_y} pour {for_country} à votre pays" chunk_pillage: - pattern: "{timestamp} {player} did pillage" + pattern: "{timestamp} [INFO] {country} {player} pillage {world} {chunk_x} {chunk_y} pour {for_country} à votre pays" country_sale: - pattern: "{timestamp} MISE EN VENTE PAYS {country} POUR {price}$" + pattern: "{timestamp} [INFO] MISE EN VENTE PAYS {country} POUR {price}$" relation_change: pattern: "{timestamp} ({country_a}) set relation {relation} to {country_b}" +# =========================== +# Wars +# =========================== + +war_add: + pattern: "{timestamp} [INFO] [NationsUtils] Add war event {war_reason} between {country_a} and {country_b}" + +war_start: + pattern: "{timestamp} [INFO] [NationsGUI] START WAR between {country_a} and {country_b} for reason {reason}" + +war_surrender: + pattern: "{timestamp} [INFO] [NationsGUI] {country_a} SURREND WAR AGAINST {country_b} APPLY REWARDS : {reward_type}#{amount}" + +war_status_change: + pattern: "{timestamp} [INFO] [NationsUtils] Change status of war request between {country_a} and {country_b} by {player} to {status}" + +war_inactivity: + pattern: "{timestamp} [INFO] [NationsUtils] Change war inactivity for {country} from {latest_value} to {new_value}({country_a} vs {country_b})" + +war_won: + pattern: "{timestamp} [INFO] [NationsUtils] War won by {country_a} against {country_b}" + war_cancel: pattern: "{timestamp} Cancel war between {country_a} and {country_b} because the player {player} leaved the country {leaved_country}" -country_refuse_colonisation: - pattern: "{timestamp} Le pays {country} refuse d'être colonisé par {empire}, mise en ennemie automatique" +war_event: + pattern: "{timestamp} [INFO] [NationsUtils] Add war event {event} between {country_a} and {country_b}" + +war_decrease_powerloss: + pattern: "{timestamp} [INFO] [Factions] Decrease powerLoss from war against {country} from {latest_value} to {new_value}" +war_end_decrease_powerloss: + pattern: "{timestamp} [INFO] [Factions] Decrease powerLoss from won in war against {country} from 1 to -9 (no powerLoss left)" + # =========================== # Transactions bancaires # =========================== + bank_deposit: pattern: "{timestamp} [NationsGUI] TRANSACTION BANK - DEPOSIT {player} {amount}$ in {country}" @@ -67,6 +94,7 @@ bank_take: # =========================== # Taxes / salaires # =========================== + player_tax: pattern: "{timestamp} [Factions] {player} vient d'être prélevé d'une taxe de {amount}" @@ -79,6 +107,7 @@ empire_tax: # =========================== # PvP / Combat / Kills # =========================== + kill_wilderness: pattern: "{timestamp} [Factions] KILL EN WILDERNESS DE {killer} ({killer_country}) sur {victim} ({victim_country})" @@ -91,6 +120,7 @@ combat_bullet: # =========================== # Intrusions / Divers # =========================== + kick_chat: pattern: "{timestamp} {player} tried to send an empty message" @@ -100,6 +130,7 @@ intrusion: # =========================== # Trade (échanges) # =========================== + trade_give: pattern: "{timestamp} [TRADE] {player} GIVE {itemid} x{qty} TO {target}" @@ -118,6 +149,7 @@ trade_give_back_fail: # =========================== # Missiles # =========================== + missile_launch_request: pattern: "{timestamp} Call playerCanLauncherMissile for missile ({missile}) ({player}) ({x}) ({y}) ({z})" @@ -130,6 +162,7 @@ missile_exploded: # =========================== # Banque — Ajout / retrait membres # =========================== + bank_add_member: pattern: "{timestamp} Ajout du joueur {player} dans la banque {country} par {by}" @@ -139,6 +172,7 @@ bank_remove_member: # =========================== # Homes (set/delete) # =========================== + home_set: pattern: "{timestamp} Player {player} set new home {name} in {x}, {y}, {z}, {world}" @@ -148,12 +182,14 @@ home_delete: # =========================== # Machines / Config # =========================== + machine_edit: pattern: "{timestamp} Modification machine de hasard en ({x}), ({y}), ({z}) par ({player}) : nouveau taux : ({rate})" # =========================== # Inventaires (Backpack / EnderChest) # =========================== + backpack_transaction: pattern: "{timestamp} BackPack Transaction - {player} - +{added}@-{removed}" @@ -163,12 +199,14 @@ enderchest_transaction: # =========================== # Debug skill # =========================== + player_skills: pattern: "{timestamp} [Debug] Player {player} has skills : miner : {miner}, hunter : {hunter}, farmer : {farmer}, builder : {builder}, engineer : {engineer}, lumberjack : {lumberjack}" # =========================== # NationsJob # =========================== + spawn_obscure_block: pattern: "{timestamp} [INFO] [NationsJob] SPAWN OBSCURE BLOCK IN {x}, {y}, {z} BY PLAYER {player}" @@ -178,6 +216,7 @@ spawn_millenial_wood: # =========================== # ChestShop # =========================== + chestshop_transaction: pattern: "{timestamp} [ChestShop] {player} {action} {qty} {item} for {price} {direction} {target} at [world] {x}, {y}, {z}" @@ -187,26 +226,13 @@ chestshop_transaction_log: # =========================== # Adminshop / Catalog # =========================== + catalog_transaction: pattern: "{timestamp} [INFO] [NationsGUI] [Catalog] Player {player} bought the item {id} {quantity} for {price}$ (including delivery {tax}$) to player Bank" # =========================== -# War / Warzone +# Warzone # =========================== -war_add: - pattern: "{timestamp} [INFO] [NationsUtils] Add war event {war_reason} between {country_a} and {country_b}" - -war_start: - pattern: "{timestamp} [INFO] [NationsGUI] START WAR between {country_a} and {country_b} for reason {reason}" - -war_surrender: - pattern: "{timestamp} [INFO] [NationsGUI] {country_a} SURREND WAR AGAINST {country_b} APPLY REWARDS : {reward_type}#{amount}" - -war_status_change: - pattern: "{timestamp} Change status of war request between {country_a} and {country_b} by {player} to {status}" - -war_won: - pattern: "{timestamp} [INFO] [NationsUtils] War won by {country_a} against {country_b}" warzone_add_skill: pattern: "{timestamp} [WarZone] Add {details}" @@ -220,36 +246,44 @@ warzone_add_powerboost: # =========================== # Economie / Pays # =========================== + country_buy: pattern: "{timestamp} [INFO] ACHAT PAYS {country} PAR {pseudo} POUR {price}$" country_action_buy: - pattern: "{timetamp} [INFO] [NationsGUI] ACHAT ACTION : {country_a} ({player}) buy action of {country_b} for {price}$" + pattern: "{timetamp} [INFO] [NationsGUI] ACHAT ACTION : {country_a}({player}) buy action of {country_b} for {price}$" country_found: - pattern: "{timestamp} {player} vient de fonder le pays {country}" + pattern: "{timestamp} [INFO] ONU >> {country} vient de fonder le pays {country} !" country_new_leader: - pattern: "{timestamp} {player} est le nouveau dirigeant du pays {country}" + pattern: "{timestamp} [INFO] ONU >> {player} est le nouveau dirigeant du pays {country} !" + # =========================== # Powerboost # =========================== + powerboost_player: pattern: "{timestamp} POWERBOOST DE {player} {details}" powerboost_country: pattern: "{timestamp} Powerboost to {country} {details}" +powerboost_decrease: + pattern: "{timestamp} [INFO] [Factions] BAISSE POWERBOOST DE {country} DE {latest_value} A {new_value}" + # =========================== # Meteor # =========================== + meteor_spawn: pattern: "{timestamp} [INFO] METEOR SPAWNED IN {planet} on player {player} at {x}, {y}, {z}" # =========================== # Access / Permissions # =========================== + access_set: pattern: "{timestamp} [INFO] [Factions] Player {player} set access to player {player} in chunk {x}, {z} to true" @@ -259,6 +293,7 @@ access_remove: # =========================== # Divers # =========================== + duel_start: pattern: "{timestamp} [INFO] START DUEL {player_a} vs {player_b} BET {amount}" @@ -266,10 +301,11 @@ restricted_item_interaction: pattern: "{timestamp} [INFO] [NationsUtils] Player {player} interacts with restricted item {id}" missile_launch: - pattern: "{timestamp} {player} vient de lancer un missile {details}" + pattern: "{timestamp} [INFO] ({country}) vient de lancer un missile {missil} sur {target}" # =========================== # Player session # =========================== + player_left: - pattern: '{timestamp} [INFO] §7[*banner id="minus"]§7 {player} ({number}/300)' + pattern: '{timestamp} [INFO] §7[*banner id="minus"]§7 {player} ({number}/{maxplayer})'