elieserdejesus / JamTaba

Jamtaba is a software to play online music jam sessions.
http://www.jamtaba.com
244 stars 50 forks source link

[FR] List private servers saved in a file #1347

Closed elieserdejesus closed 4 years ago

elieserdejesus commented 4 years ago

The idea is allow users to write a JSON file including your preferred private servers, user name and passwords for these servers.

The private servers are liste in the top, before the public servers. This a easy way to connect in private servers using one click and is helpfull for educational purpouses where professors can create some private servers, write the json file and share with your students. Just for record this idea was proposed by @soulraymusic .

elieserdejesus commented 4 years ago

JamTaba will always export a json example file. This is just an example file and will not be loaded bu JamTaba.

image

elieserdejesus commented 4 years ago

Users must rename the file to private_servers.json (it's copy the original file and rename the copy): image

elieserdejesus commented 4 years ago

The example file is showing 2 example servers. The first example is simple and is using just server name:port and max users. The second example is using a custom user name and password to connect in the private server. The password is not mandatory in the second situation, users can connect using a custom user name only.

{
   "servers": [
      {
         "server_name": "example_server.com:2049",
         "server_max_users": "4"
      },
      {
         "server_name": "another_example_server.com:2050",
         "server_max_users": "4",
         "user_name": "my cool name",
         "user_pass": "1234"
      }
   ]
}
elieserdejesus commented 4 years ago

Jamtaba will show the servers at the top: image

soulraymusic commented 4 years ago

@elieserdejesus the IDs and Passwords have to match with ones on the configuration file, correct? Also, instructors can use a text edit software to create a json.file by renaming copied version of any json files (e.g. loof file). Does this work?

jonjamcam commented 4 years ago

Sounds good feature to me. I think for the complete package it would be nice if the private server showed who's inside. Maybe not a map, but a list.

elieserdejesus commented 4 years ago

the IDs and Passwords have to match with ones on the configuration file, correct?

Exactly @soulraymusic , the IDs and password have to match the private server config file.

Also, instructors can use a text edit software to create a json.file by renaming copied version of any json files (e.g. loof file). Does this work?

Yes, any text editor will work.

elieserdejesus commented 4 years ago

Sounds good feature to me. I think for the complete package it would be nice if the private server showed who's inside. Maybe not a map, but a list.

I agree @jonjamcam , this can be done using the server stats password to quick connect, grab the users list and disconnect. But I never used these servers stats stuff, I need investigate the details.