Confirmedusers, Bureaucrats, editor, Administrators
1,795
edits
No edit summary |
|||
Line 29: | Line 29: | ||
* If you are working with shaders, you can reload them with <code>.reload shaders</code> | * If you are working with shaders, you can reload them with <code>.reload shaders</code> | ||
* Do not hold static references unless its primitive data. Static references are not garbage collected when the player leaves a server / game world. Example: Holding a static reference of a <code>Block</code> will keep that block in memory, which in turn keeps the API Instance in memory, which in turn keeps the entire game world in memory. | * Do not hold static references unless its primitive data. Static references are not garbage collected when the player leaves a server / game world. Example: Holding a static reference of a <code>Block</code> will keep that block in memory, which in turn keeps the API Instance in memory, which in turn keeps the entire game world in memory. | ||
* The game client and server have a number of [https://wiki.vintagestory.at/index.php?title=Client_startup_parameters startup arguments] to make your live easier | |||
=== Efficient Search Methods === | === Efficient Search Methods === |