INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: A button for enabling/disabling the library server..  (Read 1038 times)

tiger2000

  • Junior Woodchuck
  • **
  • Posts: 53
A button for enabling/disabling the library server..
« on: March 03, 2015, 06:40:09 pm »


Hello

I have my library server setup, however sometimes I want to disable my library server, and the only way to do this is to go into the options and manually untick the box.
It would be nice if there was a button that you could click on, that allowed you to enable/disable your library server with having to go into the options.

Thoughts?
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: A button for enabling/disabling the library server..
« Reply #1 on: March 03, 2015, 07:31:15 pm »

Can you explain why you want to enable and disable this regularly?
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

tiger2000

  • Junior Woodchuck
  • **
  • Posts: 53
Re: A button for enabling/disabling the library server..
« Reply #2 on: March 04, 2015, 12:54:36 am »

Well the media server belongs to me.. and I am sharing it with housemates. However if I wanted to disable it after a domestic.. id need to do it manually. :P :P
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2661
Re: A button for enabling/disabling the library server..
« Reply #3 on: March 04, 2015, 09:45:24 am »

This could be done with a Windows firewall rule controlled by a batch file. It used to be something like:

Code: [Select]
netsh firewall add portopening TCP 52199 MC
Code: [Select]
netsh firewall delete portopening TCP 52199 MC
...but I haven't done this in years.

Glynor is the resident expert Windows guy, so maybe he has a better idea of the syntax.
Logged
Pages: [1]   Go Up