Added settings.query-plugins setting

This commit is contained in:
Shoghi Cervantes 2014-07-10 17:24:12 +02:00
parent 7dd4a843c6
commit 1fab6bd589
2 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class QueryHandler{
$str = "";
$plist = "PocketMine-MP " . $this->server->getPocketMineVersion();
$pl = $this->server->getPluginManager()->getPlugins();
if(count($pl) > 0){
if(count($pl) > 0 and $this->server->getProperty("settings.query-plugins", true) === true){
$plist .= ":";
foreach($pl as $p){
$d = $p->getDescription();

View File

@ -4,6 +4,8 @@
settings:
shutdown-message: "Server closed"
plugin-profiling: false
query-plugins: true
advanced-cache: false
upnp-forwarding: false
send-usage: true