mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 20:58:34 +00:00
Added settings.query-plugins setting
This commit is contained in:
parent
7dd4a843c6
commit
1fab6bd589
@ -60,7 +60,7 @@ class QueryHandler{
|
|||||||
$str = "";
|
$str = "";
|
||||||
$plist = "PocketMine-MP " . $this->server->getPocketMineVersion();
|
$plist = "PocketMine-MP " . $this->server->getPocketMineVersion();
|
||||||
$pl = $this->server->getPluginManager()->getPlugins();
|
$pl = $this->server->getPluginManager()->getPlugins();
|
||||||
if(count($pl) > 0){
|
if(count($pl) > 0 and $this->server->getProperty("settings.query-plugins", true) === true){
|
||||||
$plist .= ":";
|
$plist .= ":";
|
||||||
foreach($pl as $p){
|
foreach($pl as $p){
|
||||||
$d = $p->getDescription();
|
$d = $p->getDescription();
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
settings:
|
settings:
|
||||||
shutdown-message: "Server closed"
|
shutdown-message: "Server closed"
|
||||||
|
plugin-profiling: false
|
||||||
|
query-plugins: true
|
||||||
advanced-cache: false
|
advanced-cache: false
|
||||||
upnp-forwarding: false
|
upnp-forwarding: false
|
||||||
send-usage: true
|
send-usage: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user