[SPIGOT-5761] initSettings is not a recognized option Created: 30/May/20  Updated: 30/Aug/22  Resolved: 30/Aug/22

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Parker Thornton Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: Craftbukkit, bug

Version: git-Spigot-2f5d615-aae46f8
Guidelines Read: Yes

 Description   

As the title states - the bukkit OptionParser prevents --initSettings from being passed to MinecraftServer.main where the option is used to create server.properties and then exit. I would also like to suggest initializing bukkit.yml and spigot.yml there as well.



 Comments   
Comment by Marvin Rieple [ 28/Aug/22 ]

Made a PR for this: craftbukkit#1102

Comment by Parker Thornton [ 02/Jun/20 ]

Yea that's the bug I'm reporting.

Comment by TheCreeperCow [ 02/Jun/20 ]

--initSettings is not a valid startup parameter. for valid parameters see https://www.spigotmc.org/wiki/start-up-parameters/

Generated at Sun Mar 30 17:48:02 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.