feat(SwapTokenPositions): Version 2.1.0 - Added explicit token targeting#2230
Merged
Alicekb merged 5 commits intoMay 21, 2026
Merged
Conversation
- Added support for explicit token targeting using --token1 and --token2 flags. - Improved error handling for token resolution and selection. - Refactored command handling to accommodate new token input modes. - Enhanced help documentation to include new features and examples. - Cleaned up code formatting for consistency and readability. - WIP: Beta version
… GMs - Added new commands for managing token input access: - `--token-input-access <mode>` to set access mode (gm-only, all-players, selected-users). - `--token-input-users <id|name,...>` to replace the allow-list. - `--token-input-users-remove <id|name,...>` to remove players from the allow-list. - Updated README and CHANGELOG to reflect new features and usage examples. - Enhanced validation for token input settings and improved error handling for ambiguous player names. - Updated tests to cover new access control features and ensure proper functionality.
Signed-off-by: Steve Roberts <steve@shadowcomputers.co.uk>
Alicekb
approved these changes
May 21, 2026
Contributor
Author
|
@Alicekb I'm not seeing the SwapTokenPositions mod in the One-Click installer still, is there anything I need to do or provide before that can happen? Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[2.1.0] - 2026-05-19 · Milestone
Added
--token1 <id|name>and--token2 <id|name>flags.parseFreeStringFlagparser utility to handle quoted (space-containing) and unquoted string values.--saverequired):--token-input-access <gm-only|all-players|selected-users>— sets who may use--token1and--token2.--token-input-users <id|name,...>— replaces the allow-list with the specified players (resolved by ID then display name).--token-input-users-remove <id|name,...>— removes specific players from the allow-list.gm-only. The GM is always permitted regardless of mode.--show-settingsnow includesToken Input Accessand (inselected-usersmode)Token Input Users.parseCommaListFlagparser utility for comma-separated quoted and bare values.Developer
package.jsonversion fromscript.jsonon each build.2.1.0.beta.0→2.1.0.beta.1) so the version is always up to date after eachnpm run build. Release versions (major.minor.patch) are not auto-incremented.major.minor.patch) rather than the full pre-release string, so pre-release builds update the same folder in place.