SnFourInLine v2.1.1
·
30 commits
to main
since this release
Changes
- Closing the
/fourinline previewboard now cancels the game. The close guard reopened the board of every live seat - the rule that keeps a real game alive when one of its two players closes their window - so a preview session outlived the window it was played in. The next/fourinline previewwas then refused with "you are already in a game" until the turn countdown surrendered the admin against themselves. - A preview seat's own close of the board ends it with no result: no statistics, no broadcast, no cue, no stake to settle. Every other close (a reload, a teleport, another plugin's window, death) still hands the board back exactly like any other seat, so opening
/fourinline topover a preview and closing it again returns to the game. - Watchers of a cancelled preview are told the game ended and their board is closed.
Language file
Two new keys are merged into lang/messages_en.yml on boot, values preserved:
messages.preview.cancelledstatus.result-cancelled
messages.preview.started now says the board can be closed to end a preview; an existing server keeps its current text (the merge never overwrites a value you have).
Installation
Download the JAR below and place in your plugins folder. Requires SnLib.jar.