Skip to content

Commit 8424da8

Browse files
authored
Merge pull request #1 from baba33mrt/main
Update NationsGloryJava.yml
2 parents c10c344 + 5863630 commit 8424da8

1 file changed

Lines changed: 151 additions & 18 deletions

File tree

patterns/NationsGloryJava.yml

Lines changed: 151 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# ===========================
22
# Commandes Joueur
33
# ===========================
4+
45
player_command:
56
pattern: "{timestamp} [INFO] {player} issued server command: {command}"
67

@@ -16,12 +17,14 @@ player_back:
1617
# ===========================
1718
# NationsStats
1819
# ===========================
20+
1921
stats_login:
20-
pattern: "{timestamp} [NationsStats] Connexion de {player} avec {money}$"
22+
pattern: "{timestamp} [INFO] [NationsStats] Connexion de {player} avec {money}$"
2123

2224
# ===========================
2325
# HDV — Hôtel des ventes
2426
# ===========================
27+
2528
hdv_sell:
2629
pattern: "{timestamp} [HDV] {player} vient de mettre en vente {qty}x ID:({itemid}) pour un prix unitaire de {unitprice} $/U (UUID:{uuid})"
2730

@@ -31,35 +34,65 @@ hdv_buy:
3134
hdv_remove:
3235
pattern: "{timestamp} [HDV] {player} a retiré une annonce ({qty}x ID:({itemid}) pour {unitprice} $/U) (UUID:{uuid})"
3336

34-
hdv_info_pricecalc:
35-
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"
36-
3737
# ===========================
3838
# Factions / Relations / Claims
3939
# ===========================
40+
4041
faction_kick:
41-
pattern: "{timestamp} kicked {player} from the faction {faction}"
42+
pattern: "{timestamp} [INFO] [Factions 2.2.2] {player} kicked {kicked_player} from the faction {country}"
4243

4344
chunk_claim:
44-
pattern: "{timestamp} {player} did buy"
45+
pattern: "{timestamp} [INFO] {country} {player} buy {world} {chunk_x} {chunk_y} pour {for_country} à votre pays"
4546

4647
chunk_unclaim:
47-
pattern: "{timestamp} {player} did sell"
48+
pattern: "{timestamp} [INFO] {country} {player} sell {world} {chunk_x} {chunk_y} pour {for_country} à votre pays"
4849

4950
chunk_pillage:
50-
pattern: "{timestamp} {player} did pillage"
51+
pattern: "{timestamp} [INFO] {country} {player} pillage {world} {chunk_x} {chunk_y} pour {for_country} à votre pays"
5152

5253
country_sale:
53-
pattern: "{timestamp} MISE EN VENTE PAYS {country} POUR {price}$"
54+
pattern: "{timestamp} [INFO] MISE EN VENTE PAYS {country} POUR {price}$"
5455

5556
relation_change:
5657
pattern: "{timestamp} ({country_a}) set relation {relation} to {country_b}"
5758

59+
# ===========================
60+
# Wars
61+
# ===========================
62+
63+
war_add:
64+
pattern: "{timestamp} [INFO] [NationsUtils] Add war event {war_reason} between {country_a} and {country_b}"
65+
66+
war_start:
67+
pattern: "{timestamp} [INFO] [NationsGUI] START WAR between {country_a} and {country_b} for reason {reason}"
68+
69+
war_surrend:
70+
pattern: "{timestamp} [INFO] [NationsGUI] {country} SURREND WAR AGAINST {country} APPLY REWARDS : {reward}#{amount}"
71+
72+
war_status_change:
73+
pattern: "{timestamp} [INFO] [NationsUtils] Change status of war request between {country_a} and {country_b} by {player} to {status}"
74+
75+
war_inactivity:
76+
pattern: "{timestamp} [INFO] [NationsUtils] Change war inactivity for {country} from {latest_value} to {new_value}({country_a} vs {country_b})"
77+
78+
war_won:
79+
pattern: "{timestamp} [INFO] [NationsUtils] War won by {country_a} against {country_b}"
80+
5881
war_cancel:
5982
pattern: "{timestamp} Cancel war between {country_a} and {country_b} because the player {player} leaved the country {leaved_country}"
6083

61-
country_refuse_colonisation:
62-
pattern: "{timestamp} Le pays {country} refuse d'être colonisé par {empire}, mise en ennemie automatique"
84+
war_event:
85+
pattern: "{timestamp} [INFO] [NationsUtils] Add war event {event} between {country_a} and {country_b}"
86+
87+
war_decrease_powerloss:
88+
pattern: "{timestamp} [INFO] [Factions] Decrease powerLoss from war against {country} from {latest_value} to {new_value}"
89+
90+
war_end_decrease_powerloss:
91+
pattern: "{timestamp} [INFO] [Factions] Decrease powerLoss from won in war against {country} from 1 to -9 (no powerLoss left)"
92+
93+
# ===========================
94+
# Factions
95+
# ===========================
6396

6497
chunk_access:
6598
pattern: "{timestamp} [INFO] [Factions] Player {player} set access to player {player} in chunk {x}, {z} to true"
@@ -84,10 +117,11 @@ faction_demote:
84117

85118
faction_perms:
86119
pattern: "{timestamp} [INFO] [FACTION] {player} changed faction permission {permission} to [{ALLY}, {LEADER}, {MEMBER}, {NEUTRAL}, {OFFICER}, {RECRUIT}]"
87-
120+
88121
# ===========================
89-
# Transactions bancaires
122+
# Bank transactions
90123
# ===========================
124+
91125
bank_deposit:
92126
pattern: "{timestamp} [NationsGUI] TRANSACTION BANK - DEPOSIT {player} {amount}$ in {country}"
93127

@@ -97,6 +131,7 @@ bank_take:
97131
# ===========================
98132
# Taxes / salaires
99133
# ===========================
134+
100135
player_tax:
101136
pattern: "{timestamp} [Factions] {player} vient d'être prélevé d'une taxe de {amount}"
102137

@@ -109,6 +144,7 @@ empire_tax:
109144
# ===========================
110145
# PvP / Combat / Kills
111146
# ===========================
147+
112148
kill_wilderness:
113149
pattern: "{timestamp} [Factions] KILL EN WILDERNESS DE {killer} ({killer_country}) sur {victim} ({victim_country})"
114150

@@ -124,6 +160,7 @@ player_death:
124160
# ===========================
125161
# Intrusions / Divers
126162
# ===========================
163+
127164
kick_chat:
128165
pattern: "{timestamp} {player} tried to send an empty message"
129166

@@ -133,6 +170,7 @@ intrusion:
133170
# ===========================
134171
# Trade (échanges)
135172
# ===========================
173+
136174
trade_give:
137175
pattern: "{timestamp} [TRADE] {player} GIVE {itemid} x{qty} TO {target}"
138176

@@ -151,6 +189,7 @@ trade_give_back_fail:
151189
# ===========================
152190
# Missiles
153191
# ===========================
192+
154193
missile_launch_request:
155194
pattern: "{timestamp} Call playerCanLauncherMissile for missile ({missile}) ({player}) ({x}) ({y}) ({z})"
156195

@@ -163,6 +202,7 @@ missile_exploded:
163202
# ===========================
164203
# Banque — Ajout / retrait membres
165204
# ===========================
205+
166206
bank_add_member:
167207
pattern: "{timestamp} Ajout du joueur {player} dans la banque {country} par {by}"
168208

@@ -172,6 +212,7 @@ bank_remove_member:
172212
# ===========================
173213
# Homes (set/delete)
174214
# ===========================
215+
175216
home_set:
176217
pattern: "{timestamp} Player {player} set new home {name} in {x}, {y}, {z}, {world}"
177218

@@ -181,12 +222,14 @@ home_delete:
181222
# ===========================
182223
# Machines / Config
183224
# ===========================
225+
184226
machine_edit:
185227
pattern: "{timestamp} Modification machine de hasard en ({x}), ({y}), ({z}) par ({player}) : nouveau taux : ({rate})"
186228

187229
# ===========================
188230
# Inventaires (Backpack / EnderChest)
189231
# ===========================
232+
190233
backpack_transaction:
191234
pattern: "{timestamp} BackPack Transaction - {player} - +{added}@-{removed}"
192235

@@ -196,23 +239,113 @@ enderchest_transaction:
196239
# ===========================
197240
# Debug skill
198241
# ===========================
242+
199243
player_skills:
200244
pattern: "{timestamp} [Debug] Player {player} has skills : miner : {miner}, hunter : {hunter}, farmer : {farmer}, builder : {builder}, engineer : {engineer}, lumberjack : {lumberjack}"
201245

202246
# ===========================
203247
# NationsJob
204248
# ===========================
249+
205250
spawn_obscure_block:
206251
pattern: "{timestamp} [INFO] [NationsJob] SPAWN OBSCURE BLOCK IN {x}, {y}, {z} BY PLAYER {player}"
207252

208253
spawn_millenial_wood:
209254
pattern: "{timestamp} [INFO] [NationsJob] SPAWN MILLENIAL WOOD IN {x}, {y}, {z} BY PLAYER {player}"
210255

211256
# ===========================
212-
# Guerres
257+
# ChestShop
258+
# ===========================
259+
260+
chestshop_transaction:
261+
pattern: "{timestamp} [ChestShop] {player} {action} {qty} {item} for {price} {direction} {target} at [world] {x}, {y}, {z}"
262+
263+
chestshop_transaction_log:
264+
pattern: "{timestamp} LOG TRANSACTION CHEST {details}"
265+
266+
# ===========================
267+
# Adminshop / Catalog
213268
# ===========================
214-
war_reason_add:
215-
pattern: "{timestamp} [INFO] [NationsUtils] Add war event {reason} between {country} and {country}"
269+
270+
catalog_transaction:
271+
pattern: "{timestamp} [INFO] [NationsGUI] [Catalog] Player {player} bought the item {id} {quantity} for {price}$ (including delivery {tax}$) to player Bank"
272+
273+
# ===========================
274+
# Warzone
275+
# ===========================
276+
277+
warzone_add_skill:
278+
pattern: "{timestamp} [WarZone] Add {details}"
279+
280+
warzone_add_power:
281+
pattern: "{timestamp} [WarZone] Add {details}"
282+
283+
warzone_add_powerboost:
284+
pattern: "{timestamp} [INFO] [WarZone] Le pays {country} vient de recevoir un powerboost de {amount} de la warzone."
216285

217-
war_surrend:
218-
pattern: "{timestamp} [INFO] [NationsGUI] {country} SURREND WAR AGAINST {country} APPLY REWARDS : {reward}#{amount}"
286+
# ===========================
287+
# Economie / Pays
288+
# ===========================
289+
290+
country_buy:
291+
pattern: "{timestamp} [INFO] ACHAT PAYS {country} PAR {pseudo} POUR {price}$"
292+
293+
country_action_buy:
294+
pattern: "{timetamp} [INFO] [NationsGUI] ACHAT ACTION : {country_a}({player}) buy action of {country_b} for {price}$"
295+
296+
country_found:
297+
pattern: "{timestamp} [INFO] ONU >> {country} vient de fonder le pays {country} !"
298+
299+
country_new_leader:
300+
pattern: "{timestamp} [INFO] ONU >> {player} est le nouveau dirigeant du pays {country} !"
301+
302+
303+
# ===========================
304+
# Powerboost
305+
# ===========================
306+
307+
powerboost_player:
308+
pattern: "{timestamp} POWERBOOST DE {player} {details}"
309+
310+
powerboost_country:
311+
pattern: "{timestamp} Powerboost to {country} {details}"
312+
313+
powerboost_decrease:
314+
pattern: "{timestamp} [INFO] [Factions] BAISSE POWERBOOST DE {country} DE {latest_value} A {new_value}"
315+
316+
# ===========================
317+
# Meteor
318+
# ===========================
319+
320+
meteor_spawn:
321+
pattern: "{timestamp} [INFO] METEOR SPAWNED IN {planet} on player {player} at {x}, {y}, {z}"
322+
323+
# ===========================
324+
# Access / Permissions
325+
# ===========================
326+
327+
access_set:
328+
pattern: "{timestamp} [INFO] [Factions] Player {player} set access to player {player} in chunk {x}, {z} to true"
329+
330+
access_remove:
331+
pattern: "{timestamp} [INFO] [Factions] Player {player} remove access to player {player} in chunk {x}, {z} to false"
332+
333+
# ===========================
334+
# Divers
335+
# ===========================
336+
337+
duel_start:
338+
pattern: "{timestamp} [INFO] START DUEL {player_a} vs {player_b} BET {amount}"
339+
340+
restricted_item_interaction:
341+
pattern: "{timestamp} [INFO] [NationsUtils] Player {player} interacts with restricted item {id}"
342+
343+
missile_launch:
344+
pattern: "{timestamp} [INFO] ({country}) vient de lancer un missile {missil} sur {target}"
345+
346+
# ===========================
347+
# Player session
348+
# ===========================
349+
350+
player_left:
351+
pattern: '{timestamp} [INFO] §7[*banner id="minus"]§7 {player} ({number}/{maxplayer})'

0 commit comments

Comments
 (0)