For$
<!-- begin site header -->
<div id=

Author Topic: Piping Configuration Options?  (Read 9487 times)

Matt - Kerplunc

  • Newbie
  • *
  • Posts: 11
  • Founder of Kerplunc and MinecraftGSP
    • View Profile
    • Kerplunc
Piping Configuration Options?
« on: December 13, 2010, 11:29:20 am »
Hey Guys,
The server is looking fantastic. Any plans on offering the ability to pipe configurations through the execution of the file?
Like
./mineserver +motd "Welcome!" +port 25566 +ip 192.168.1.1
etc. etc.

Thanks! Keep up the good work!
Matthew Hall - matt@kerplunc.com - Kerplunc.com

deoxxa

  • Administrator
  • Newbie
  • *****
  • Posts: 28
    • View Profile
Re: Piping Configuration Options?
« Reply #1 on: December 13, 2010, 04:07:33 pm »
That's definitely possible, but the new config system (which I'm in the process of dropping in right now) might make it unnecessary. Check back in a few hours!

Matt - Kerplunc

  • Newbie
  • *
  • Posts: 11
  • Founder of Kerplunc and MinecraftGSP
    • View Profile
    • Kerplunc
Re: Piping Configuration Options?
« Reply #2 on: December 14, 2010, 11:01:35 am »
That's definitely possible, but the new config system (which I'm in the process of dropping in right now) might make it unnecessary. Check back in a few hours!

Well it's nice to have if you are hosting multiple servers on the same environment, it would remove the need for virtualization. With a +port 25565 and a +ip etc.
Matthew Hall - matt@kerplunc.com - Kerplunc.com

Matt - Kerplunc

  • Newbie
  • *
  • Posts: 11
  • Founder of Kerplunc and MinecraftGSP
    • View Profile
    • Kerplunc
Re: Piping Configuration Options?
« Reply #3 on: February 08, 2011, 05:43:50 am »
Been a while, any idea if this is functionality that is going to be added? Or is it going to need a plugin to be integrated?
Matthew Hall - matt@kerplunc.com - Kerplunc.com

Matt - Kerplunc

  • Newbie
  • *
  • Posts: 11
  • Founder of Kerplunc and MinecraftGSP
    • View Profile
    • Kerplunc
Re: Piping Configuration Options?
« Reply #4 on: February 10, 2011, 02:26:03 am »
Well last night we just decided to build it for ourselves. I've attached the mineserver.cpp file

If you guys want to add it in to the mainline server then be my guest :)


Usage formatting is
./mineserver +[cfg entry]=[setting]
example
./mineserver +net.ip=127.0.0.1 +net.port=25565 +system.user_limit=25
Matthew Hall - matt@kerplunc.com - Kerplunc.com

Fador

  • Administrator
  • Full Member
  • *****
  • Posts: 126
    • View Profile
Re: Piping Configuration Options?
« Reply #5 on: February 15, 2011, 09:17:45 pm »
Sorry for the delay, but your code is now merged, thanks! =)