Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Add an list of all properties used by minestom #37

Open
muelleel opened this issue Sep 10, 2022 · 3 comments
Open

Add an list of all properties used by minestom #37

muelleel opened this issue Sep 10, 2022 · 3 comments

Comments

@muelleel
Copy link

Referring to: Minestom/Minestom#1115 (reply in thread)

There is currently no list for the system properties used by minestom! (things like minestom.entity-view-distance which are used with System.setProperty(name, value))

@muelleel muelleel changed the title Add an list of all Properties used by minestom Add an list of all properties used by minestom Sep 10, 2022
@TheMode
Copy link
Contributor

TheMode commented Sep 10, 2022

We could start putting all these properties in a single java file in the repo

@muelleel
Copy link
Author

Do you mean something like an enum which is avaivable whithin Minestom or exclusive to this wiki repo?

Within Minestom would also help (IDE autocompletion) with programming when we could write things like:
System.setProperty(MinestomProperties.CHUNK_VIEW_DISTANCE.getName(), "12");

The enum could be documented and then be found in the javadocs.

@TheMode
Copy link
Contributor

TheMode commented Sep 10, 2022

Constants, not an enum. But yes it is the idea

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants