-
Added the following to
/usr/local/lib/strangecode_php_memory_log.php
<?php function strangecode_php_memory_log() { $current = memory_get_usage() / 1024 / 1024; $peak = memory_get_peak_usage() / 1024 / 1024;
$uri = $_SERVER['REQUEST_URI'] ?? 'n/a';
Link: https://docs.papermc.io/paper/anti-xray
Help: https://discord.gg/papermc
Anti-Xray can be configured per world in the paper.yml configuration file. To understand how per world configuration works please read this first. Note that after changing any settings for Anti-Xray you have to restart your server. Executing the /reload
command (you should never do this) won't apply the settings to worlds that are already loaded.