Allow disabling the console reader via pocketmine.yml

Useful to save resources on headless servers where the console is never used (e.g. hosted server, Docker, etc.)
This commit is contained in:
Dylan K. Taylor
2022-09-01 23:43:13 +01:00
parent 65ec318c30
commit 14d3e6c7d5
2 changed files with 18 additions and 13 deletions

View File

@ -168,6 +168,9 @@ timings:
host: timings.pmmp.io
console:
#Whether to accept commands via the console. If disabled, anything typed on the console will be ignored.
#Useful to save resources on headless servers where the console is never used (e.g. hosted server, Docker, etc.)
enable-input: true
#Choose whether to enable server stats reporting on the console title.
#NOTE: The title ticker will be disabled regardless if console colours are not enabled.
title-tick: true