Skip to content

Conversation

@bbarrington0099
Copy link
Contributor

No description provided.

New API Script: ProximityTrigger v2.1.0

A proximity-based automation system for Roll20 that automatically triggers
events when player tokens approach designated areas, NPCs, traps, or other
game elements.

Features:
- Automatic proximity detection with customizable distances
- Configurable cooldowns and trigger modes (on/off/once)
- Weighted random message selection for variety
- Styleable message cards with whisper modes
- Support for NPCs, traps, environmental descriptions, and more
- Full chat-based configuration interface
- Multi-token support

Includes comprehensive README and documentation.
@Alicekb
Copy link
Contributor

Alicekb commented Oct 16, 2025

Hey @bbarrington0099, there is an issue with folder structure for the script.

We require a folder with the version number contained the script to be released.
For example in your case you would need a folder named: 2.1.0
and the folder should contain the script file: PromimityTrigger.js

The example script folder here in the repo shows the folder structure that is required:
https://github.com/Roll20/roll20-api-scripts/tree/master/_Example%20Script%20-%20Check%20for%20formatting%20details

@bbarrington0099
Copy link
Contributor Author

Hey @bbarrington0099, there is an issue with folder structure for the script.

We require a folder with the version number contained the script to be released. For example in your case you would need a folder named: 2.1.0 and the folder should contain the script file: PromimityTrigger.js

The example script folder here in the repo shows the folder structure that is required: https://github.com/Roll20/roll20-api-scripts/tree/master/_Example%20Script%20-%20Check%20for%20formatting%20details

Thank you @Alicekb , the changes have been made, let me know if there are any other issues!

@Alicekb Alicekb merged commit 263b581 into Roll20:master Oct 22, 2025
1 check passed
@bbarrington0099 bbarrington0099 deleted the add-proximitytrigger branch October 22, 2025 18:43
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.

2 participants