SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.59k stars 1.11k forks source link

Startup paramaters #2092

Open DAThosting opened 7 years ago

DAThosting commented 7 years ago

It would be very nice if you could add startup paramaters like in spigot. https://www.spigotmc.org/wiki/start-up-parameters/

e.g. -host ipaddress:port

md-5 commented 7 years ago

What for?

Its a lot harder since Bungee can bind to multiple hosts/ports

DAThosting commented 7 years ago

Only for the proxy itself.

It's easier for example me, if I add a seperate host parameter instead of changing and locking the config.yml, so my customers can't edit them This is just an exmple.

Would be very nice if this could be added.

Black-Hole commented 7 years ago

While a Minecraft server can listen on one port only, the BungeeCord proxy is very flexible so you could bind to multiple ip addresses, ports and domain names (virtual host).

And if it could be added as parameters, you'll need additional parameters to successful set up the connections to the Minecraft Servers.

smmmadden commented 7 years ago

would this also be included as a "startup parameter" to be able to specify a custom motd line in either the BC config.yml or BC server.properties ?

For example the BC Server only supports the one line and doesn't allow for newline syntax allowed in the server.properties file. image BC config.yml: motd= '\u00A7bTmTmc \u00A72Tester \u00A7eVersion 1.12\n\u00A7eWebsite: \u00A7bwww.TakeMeTo-Minecraft.com' Spigot server.properties: motd=\u00A7bTmTmc \u00A72Tester \u00A7eVersion 1.12\n\u00A7eWebsite\: \u00A7bwww.TakeMeTo-Minecraft.com

Note also that BC requires the quoted line but doesn't handle the \n newline request. Spigot allows escaped characters and supports the newline. Would be great to be consistent with the motd support.

Instead BC ignores the use of motd= and adds an motd: 'Another Bungee server' below it

Black-Hole commented 7 years ago

There are plugins that allow you to change the MOTD at any time.

smmmadden commented 7 years ago

I'm aware of that @Black-Hole and have them set on the individual worlds under Bungee. I'm talking about the core feature of bungee supporting the same. It has motd which I should be able to use like Spigot but not able to. Since worlds are not accessed directly but going through Bungee, BC has to have its own (or at least it should). :-)