Skip to content

Add PAPI placeholder support.#1007

Merged
LlmDl merged 1 commit intomasterfrom
feat/papi_placeholders_support
Feb 12, 2026
Merged

Add PAPI placeholder support.#1007
LlmDl merged 1 commit intomasterfrom
feat/papi_placeholders_support

Conversation

@LlmDl
Copy link
Member

@LlmDl LlmDl commented Feb 6, 2026

Description:


New Nodes/Commands/ConfigOptions:

%siegewar_siege_battlesession_time_remaining% - How much time is left in the current battle session.
%siegewar_player_is_sieged% - Returns true or false based on whether a player has a siege.
%siegewar_player_immunity_timer% - Returns information about immunity time for the player's town.
%siegewar_player_siege_attackers% - Returns the information about the attackers of a siege, if the player has one.
%siegewar_player_siege_defenders% - Returns the information about the defenders of a siege, if the player has one.
%siegewar_player_siege_progress% - Returns the information about the status of a player's siege, if they player has one.
%siegewar_player_siege_battle_sessions_remaining% - Returns the information about the number of remaining battle sessions if a player has a siege.

Relevant Issue ticket:

Closes #1005


  • I have tested this pull request for defects on a server.

By making this pull request, I represent that I have the right to waive copyright and related rights to my contribution, and agree that all copyright and related rights in my contributions are waived, and I acknowledge that the TownyAdvanced organization has the copyright to use and modify my contribution under the SiegeWar License for perpetuity.

@LlmDl LlmDl modified the milestones: 3.2.0, 3.3.0 Feb 6, 2026
@LlmDl LlmDl merged commit e758bf0 into master Feb 12, 2026
1 check passed
@LlmDl LlmDl deleted the feat/papi_placeholders_support branch February 12, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggestion: Adding placeholders for SiegeWars

1 participant