Skip to content

[Vanilla] No such command line option -logpath? #182

@guihkx

Description

@guihkx

I noticed you launch the vanilla server with a -logpath option here:

$EXECUTABLE -config "$CONFIGPATH/$CONFIG_FILENAME" -logpath "$LOGPATH" "$@"

$EXECUTABLE -config "$CONFIGPATH/$CONFIG_FILENAME" -logpath "$LOGPATH" -world "$WORLD_PATH" "$@"

But I looked into the serverconfig.txt of version 1.4.5.2 and there's no mention of such flag:

-config <config file>				            Specifies the configuration file to use.
-port <port number>				              Specifies the port to listen on.
-players <number> / -maxplayers <number>	Sets the max number of players
-pass <password> / -password <password>		Sets the server password
-world <world file>					Load a world and automatically start the server.
-autocreate <#>					Creates a world if none is found in the path specified by -world. World size is specified by: 1(small), 2(medium), and 3(large).
-banlist <path>					Specifies the location of the banlist. Defaults to "banlist.txt" in the working directory.
-worldname <world name>             			Sets the name of the world when using -autocreate.
-secure						Adds addition cheat protection to the server.
-noupnp						Disables automatic port forwarding
-steam							Enables Steam Support
-lobby <friends> or <private>				Allows friends to join the server or sets it to private if Steam is enabled
-ip <ip address>					Sets the IP address for the server to listen on
-forcepriority <priority>				Sets the process priority for this task. If this is used the "priority" setting below will be ignored.
-disableannouncementbox				Disables the text announcements Announcement Box makes when pulsed from wire.
-announcementboxrange <number>				Sets the announcement box text messaging range in pixels, -1 for serverwide announcements.
-seed <seed>						Specifies the world seed when using -autocreate

So where does it come from? My logs directory is always empty.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions