Add default controller port per service #98

Open
opened 4 months ago by kimimaru · 2 comments
Owner

Add a new DefaultPort row in the Services table that determines the default controller port for that service. This would allow IRC and Twitch to have different ports by default, for instance.

Decide if the user's port setting should override the service's default port.

Add a new **DefaultPort** row in the **Services** table that determines the default controller port for that service. This would allow IRC and Twitch to have different ports by default, for instance. Decide if the user's port setting should override the service's default port.
kimimaru added the
enhancement
label 4 months ago
kimimaru added this to the TRBot 2.5 project 4 months ago
Poster
Owner

Perhaps the service's default port should override the user's. Right now all existing installs would have user ports at 0 or greater. To use the service's port, a user would have to set their port to -1 or some other value, which isn't as practical.

On the other hand, the host can set the service's port to -1 to use user ports and 0 or greater to enforce a specific default port. This is much easier to manage and takes the burden off the users. ControllerPortCommand messages can be adjusted to notify users that their port is overridden.

Specifying ports in the input syntax would work as usual - "&2a" would still press "a" on port 2.

Perhaps the service's default port should override the user's. Right now all existing installs would have user ports at 0 or greater. To use the service's port, a user would have to set their port to -1 or some other value, which isn't as practical. On the other hand, the host can set the service's port to -1 to use user ports and 0 or greater to enforce a specific default port. This is much easier to manage and takes the burden off the users. `ControllerPortCommand` messages can be adjusted to notify users that their port is overridden. Specifying ports in the input syntax would work as usual - "&2a" would still press "a" on port 2.
kimimaru added the
on hold
label 4 months ago
kimimaru removed this from the TRBot 2.5 project 4 months ago
Poster
Owner

Put on hold for another release.

Put on hold for another release.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.