Darkside138 / DiscordSoundboard

Java Soundboard for Discord
Apache License 2.0
137 stars 54 forks source link

Changing port. #89

Closed Darhlas closed 6 years ago

Darhlas commented 6 years ago

The Soundbots are normally configured to port 8080. I was wondering if you're able to change the port, so you can have multiple SoundBots running.

z1g commented 6 years ago

you can add --server.port=portnumber to the end of your startup command to listen on a different port.

EG:

java -jar DiscordSoundboard.jar >sb.log net.dirtydeeds.discordsoundboard.MainController --server.port=8081

z1g commented 6 years ago

Also, out of curiousity, why do you want multiple bots running?

Darhlas commented 6 years ago

You have my thanks, lad.

The Server I own is a server where a lot of different things happen. One of these things is roleplaying (not serious, just for fun roleplaying). I have a player who plays a character called Amon. I already have one Soundbot which everyone can use, but I want one which only Amon can use for his voice as part of his character. It will hopefully make the things he do a bit more exciting.

z1g commented 6 years ago

Sounds fun.

I only asked because when I started using this bot I didn't realize you could connect the one instance to several servers so I had multiple bots running for each server where I didn't really need to. Wanted to save someone else that trouble if I could.