mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Added settings.query-plugins setting
This commit is contained in:
parent
7dd4a843c6
commit
1fab6bd589
@ -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();
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
settings:
|
||||
shutdown-message: "Server closed"
|
||||
plugin-profiling: false
|
||||
query-plugins: true
|
||||
advanced-cache: false
|
||||
upnp-forwarding: false
|
||||
send-usage: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user