Browse Source

add more to timings_check .yml

pull/7/head
granny 4 years ago
parent
commit
3d45c2d8a4
  1. 268
      cogs/timings.py
  2. 311
      cogs/timings_check.yml

268
cogs/timings.py

@ -65,62 +65,35 @@ class Timings(commands.Cog):
try: try:
version = r["timingsMaster"]["version"].lower() version = r["timingsMaster"]["version"].lower()
if "version" in TIMINGS_CHECK: if "version" in TIMINGS_CHECK:
if TIMINGS_CHECK["version"] in version:
if TIMINGS_CHECK["version"] not in version:
embed_var.add_field(name="❌ Legacy Build", embed_var.add_field(name="❌ Legacy Build",
value="Update to " + TIMINGS_CHECK["server"]["version"])
value="Update to " + TIMINGS_CHECK["version"])
if "servers" in TIMINGS_CHECK: if "servers" in TIMINGS_CHECK:
for server in TIMINGS_CHECK["servers"]: for server in TIMINGS_CHECK["servers"]:
if server["name"] in version: if server["name"] in version:
embed_var.add_field(**create_field(server)) embed_var.add_field(**create_field(server))
break break
except KeyError:
unchecked = unchecked + 1
try:
if "config" in TIMINGS_CHECK:
server_properties = None
bukkit = None
spigot = None
paper = None
purpur = None
if "server.properties" in r["timingsMaster"]["config"]:
server_properties = r["timingsMaster"]["config"]["server.properties"]
if "bukkit" in r["timingsMaster"]["config"]:
bukkit = r["timingsMaster"]["config"]["bukkit"]
if "spigot" in r["timingsMaster"]["config"]:
spigot = r["timingsMaster"]["config"]["spigot"]
if "paper" in r["timingsMaster"]["config"]:
paper = r["timingsMaster"]["config"]["paper"]
if "purpur" in r["timingsMaster"]["config"]:
purpur = r["timingsMaster"]["config"]["purpur"]
for config_name in TIMINGS_CHECK["config"]:
config = TIMINGS_CHECK["config"][config_name]
for option_name in config:
option = config[option_name]
for expression in option["expressions"]:
if not eval(expression):
continue
embed_var.add_field(**create_field({**{"name": option_name}, **option}))
except KeyError:
unchecked = unchecked + 1
except KeyError as key:
print("Missing: " + str(key))
unchecked += 1
try: try:
timing_cost = int(r["timingsMaster"]["system"]["timingcost"]) timing_cost = int(r["timingsMaster"]["system"]["timingcost"])
if timing_cost > 300: if timing_cost > 300:
embed_var.add_field(name="❌ Timingcost", embed_var.add_field(name="❌ Timingcost",
value="Your timingcost is " + str(timing_cost) + ". Find a [better host](https://www.birdflop.com).") value="Your timingcost is " + str(timing_cost) + ". Find a [better host](https://www.birdflop.com).")
except KeyError:
unchecked = unchecked + 1
except KeyError as key:
print("Missing: " + str(key))
unchecked += 1
try: try:
jvm_version = r["timingsMaster"]["system"]["jvmversion"] jvm_version = r["timingsMaster"]["system"]["jvmversion"]
if jvm_version.startswith("1.8.") or jvm_version.startswith("9.") or jvm_version.startswith("10."): if jvm_version.startswith("1.8.") or jvm_version.startswith("9.") or jvm_version.startswith("10."):
embed_var.add_field(name="❌ Java Version", embed_var.add_field(name="❌ Java Version",
value="You are using Java " + jvm_version + ". Update to [Java 11](https://adoptopenjdk.net/installation.html).") value="You are using Java " + jvm_version + ". Update to [Java 11](https://adoptopenjdk.net/installation.html).")
except KeyError:
unchecked = unchecked + 1
except KeyError as key:
print("Missing: " + str(key))
unchecked += 1
try: try:
flags = r["timingsMaster"]["system"]["flags"] flags = r["timingsMaster"]["system"]["flags"]
@ -169,8 +142,10 @@ class Timings(commands.Cog):
else: else:
embed_var.add_field(name="❌ Aikar's Flags", embed_var.add_field(name="❌ Aikar's Flags",
value="Use [Aikar's flags](https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/).") value="Use [Aikar's flags](https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/).")
except KeyError:
unchecked = unchecked + 1
except KeyError as key:
print("Missing: " + str(key))
unchecked += 1
try: try:
cpu = int(r["timingsMaster"]["system"]["cpu"]) cpu = int(r["timingsMaster"]["system"]["cpu"])
if cpu == 1: if cpu == 1:
@ -179,162 +154,52 @@ class Timings(commands.Cog):
if cpu == 2: if cpu == 2:
embed_var.add_field(name="❌ Threads", embed_var.add_field(name="❌ Threads",
value="You have only " + str(cpu) + " threads. Find a [better host](https://www.birdflop.com).") value="You have only " + str(cpu) + " threads. Find a [better host](https://www.birdflop.com).")
except KeyError:
unchecked = unchecked + 1
try:
plugins = r["timingsMaster"]["plugins"]
if not YAML_ERROR:
except KeyError as key:
print("Missing: " + str(key))
unchecked += 1
plugins = r["timingsMaster"]["plugins"] if "plugins" in r["timingsMaster"] else None
server_properties = r["timingsMaster"]["config"]["server.properties"] if "server.properties" in r["timingsMaster"]["config"] else None
bukkit = r["timingsMaster"]["config"]["bukkit"] if "bukkit" in r["timingsMaster"]["config"] else None
spigot = r["timingsMaster"]["config"]["spigot"] if "spigot" in r["timingsMaster"]["config"] else None
paper = r["timingsMaster"]["config"]["paper"] if "paper" in r["timingsMaster"]["config"] else None
purpur = r["timingsMaster"]["config"]["purpur"] if "purpur" in r["timingsMaster"]["config"] else None
if not YAML_ERROR:
if "plugins" in TIMINGS_CHECK:
for server_name in TIMINGS_CHECK["plugins"]: for server_name in TIMINGS_CHECK["plugins"]:
if server_name in r["timingsMaster"]["config"]: if server_name in r["timingsMaster"]["config"]:
for plugin in plugins: for plugin in plugins:
for plugin_name in TIMINGS_CHECK["plugins"][server_name]: for plugin_name in TIMINGS_CHECK["plugins"][server_name]:
if plugin == plugin_name: if plugin == plugin_name:
stored_plugin = TIMINGS_CHECK["plugins"][server_name][plugin_name] stored_plugin = TIMINGS_CHECK["plugins"][server_name][plugin_name]
stored_plugin["name"] = plugin_name
embed_var.add_field(**create_field(stored_plugin))
else:
embed_var.add_field(name="Error loading YAML file",
value=YAML_ERROR)
for plugin in plugins:
if "songoda" in r["timingsMaster"]["plugins"][plugin]["authors"].casefold():
if plugin == "EpicHeads":
embed_var.add_field(name="❌ EpicHeads",
value="This plugin was made by Songoda. Songoda resources are poorly developed and often cause problems. You should find an alternative such as [HeadsPlus](spigotmc.org/resources/headsplus-»-1-8-1-16-4.40265/) or [HeadDatabase](https://www.spigotmc.org/resources/head-database.14280/).")
elif plugin == "UltimateStacker":
embed_var.add_field(name="❌ UltimateStacker",
value="Stacking plugins actually causes more lag. "
"Remove UltimateStacker.")
else:
embed_var.add_field(name="" + plugin,
value="This plugin was made by Songoda. Songoda resources are poorly developed and often cause problems. You should find an alternative.")
except KeyError:
unchecked = unchecked + 1
try:
plugins = r["timingsMaster"]["plugins"]
if "PhantomSMP" in plugins:
phantoms_only_insomniacs = r["timingsMaster"]["config"]["paper"]["world-settings"]["default"][
"phantoms-only-attack-insomniacs"]
if phantoms_only_insomniacs == "false":
embed_var.add_field(name="❌ PhantomSMP",
value="You probably don't need PhantomSMP as Paper already has its features. "
"Remove PhantomSMP.")
else:
embed_var.add_field(name="❌ PhantomSMP",
value="You probably don't need PhantomSMP as Paper already has its features. "
"Enable phantoms-only-attack-insomniacs in paper.yml.")
except KeyError:
unchecked = unchecked + 1
try:
network_compression_threshold = int(
r["timingsMaster"]["config"]["server.properties"]["network-compression-threshold"])
bungeecord = r["timingsMaster"]["config"]["spigot"]["settings"]["bungeecord"]
if network_compression_threshold <= 256 and bungeecord == "false":
embed_var.add_field(name="❌ network-compression-threshold",
value="Increase this in server.properties. Recommended: 512.")
if network_compression_threshold != -1 and bungeecord == "true":
embed_var.add_field(name="❌ network-compression-threshold",
value="Set this to -1 in server.properties for a bungee server like yours.")
except KeyError:
unchecked = unchecked + 1
try:
mob_spawn_range = int(r["timingsMaster"]["config"]["spigot"]["world-settings"]["default"]["mob-spawn-range"])
spigot_view_distance = r["timingsMaster"]["config"]["spigot"]["world-settings"]["default"]["view-distance"]
if spigot_view_distance == "default":
view_distance = int(r["timingsMaster"]["config"]["server.properties"]["view-distance"])
if mob_spawn_range >= 8 and view_distance <= 6:
embed_var.add_field(name="❌ mob-spawn-range",
value="Decrease this in spigot.yml. "
"Recommended: " + str(view_distance - 1) + ".")
elif mob_spawn_range >= 8 and int(spigot_view_distance) <= 6:
embed_var.add_field(name="❌ mob-spawn-range",
value="Decrease this in spigot.yml. "
"Recommended: " + str(int(spigot_view_distance) - 1) + ".")
except KeyError:
unchecked = unchecked + 1
try:
raiders_entity_activation_range = int(
r["timingsMaster"]["config"]["spigot"]["world-settings"]["default"]["entity-activation-range"][
"raiders"])
except KeyError:
unchecked = unchecked + 1
try:
flying_monsters_entity_activation_range = int(
r["timingsMaster"]["config"]["spigot"]["world-settings"]["default"]["entity-activation-range"][
"flying-monsters"])
except KeyError:
unchecked = unchecked + 1
try:
wake_up_inactive_villagers_every = int(
r["timingsMaster"]["config"]["spigot"]["world-settings"]["default"]["entity-activation-range"][
"wake-up-inactive"]["villagers-every"])
except KeyError:
unchecked = unchecked + 1
try:
wake_up_inactive_animals_every = int(
r["timingsMaster"]["config"]["spigot"]["world-settings"]["default"]["entity-activation-range"][
"wake-up-inactive"]["animals-every"])
except KeyError:
unchecked = unchecked + 1
try:
wake_up_inactive_flying_monsters_every = int(
r["timingsMaster"]["config"]["spigot"]["world-settings"]["default"]["entity-activation-range"][
"wake-up-inactive"]["flying-monsters-every"])
except KeyError:
unchecked = unchecked + 1
try:
wake_up_inactive_monsters_every = int(
r["timingsMaster"]["config"]["spigot"]["world-settings"]["default"]["entity-activation-range"][
"wake-up-inactive"]["monsters-every"])
except KeyError:
unchecked = unchecked + 1
try:
no_tick_view_distance = int(
r["timingsMaster"]["config"]["paper"]["world-settings"]["default"]["viewdistances"][
"no-tick-view-distance"])
if no_tick_view_distance == -1:
spigot_view_distance = r["timingsMaster"]["config"]["spigot"]["world-settings"]["default"][
"view-distance"]
if spigot_view_distance == "default":
view_distance = int(r["timingsMaster"]["config"]["server.properties"]["view-distance"])
if view_distance >= 4:
embed_var.add_field(name="❌ no-tick-view-distance",
value="Set a value in paper.yml. "
"Recommended: " + str(view_distance) + ". And reduce view-distance in server.properties. Recommended: 3.")
elif int(spigot_view_distance) >= 4:
embed_var.add_field(name="❌ no-tick-view-distance",
value="Set a value in paper.yml. "
"Recommended: " + spigot_view_distance + ". And reduce view-distance in spigot.yml. Recommended: 3.")
except KeyError:
unchecked = unchecked + 1
try:
use_alternate_keepalive = r["timingsMaster"]["config"]["purpur"]["settings"]["use-alternate-keepalive"]
plugins = r["timingsMaster"]["plugins"]
if use_alternate_keepalive == "false" and "TCPShield" not in plugins:
embed_var.add_field(name="❌ use-alternate-keepalive",
value="Enable this in purpur.yml.")
if use_alternate_keepalive == "true" and "TCPShield" in plugins:
embed_var.add_field(name="❌ use-alternate-keepalive",
value="Disable this in purpur.yml. It causes issues with TCPShield.")
except KeyError:
unchecked = unchecked + 1
if isinstance(stored_plugin, dict):
stored_plugin["name"] = plugin_name
embed_var.add_field(**create_field(stored_plugin))
else:
eval_field(embed_var, stored_plugin, plugin_name, unchecked, plugins, server_properties, bukkit, spigot, paper, purpur)
if "songoda" in r["timingsMaster"]["plugins"][plugin]["authors"].casefold():
if plugin == "EpicHeads":
embed_var.add_field(name="❌ EpicHeads",
value="This plugin was made by Songoda. Songoda resources are poorly developed and often cause problems. You should find an alternative such as [HeadsPlus](spigotmc.org/resources/headsplus-»-1-8-1-16-4.40265/) or [HeadDatabase](https://www.spigotmc.org/resources/head-database.14280/).")
elif plugin == "UltimateStacker":
embed_var.add_field(name="❌ UltimateStacker",
value="Stacking plugins actually causes more lag. "
"Remove UltimateStacker.")
else:
embed_var.add_field(name="" + plugin,
value="This plugin was made by Songoda. Songoda resources are poorly developed and often cause problems. You should find an alternative.")
if "config" in TIMINGS_CHECK:
for config_name in TIMINGS_CHECK["config"]:
config = TIMINGS_CHECK["config"][config_name]
for option_name in config:
option = config[option_name]
eval_field(embed_var, option, option_name, unchecked, plugins, server_properties, bukkit, spigot, paper, purpur)
else:
embed_var.add_field(name="Error loading YAML file",
value=YAML_ERROR)
except ValueError:
except ValueError as bruh:
print(bruh)
embed_var.add_field(name="❌ Invalid Configuration", embed_var.add_field(name="❌ Invalid Configuration",
value="At least one of your configuration files had an invalid data type.") value="At least one of your configuration files had an invalid data type.")
@ -348,9 +213,32 @@ class Timings(commands.Cog):
if issue_count >= 25: if issue_count >= 25:
embed_var.insert_field_at(index=24, name="Plus " + str(issue_count - 24) + " more recommendations", value="Create a new timings report after resolving some of the above issues to see more.") embed_var.insert_field_at(index=24, name="Plus " + str(issue_count - 24) + " more recommendations", value="Create a new timings report after resolving some of the above issues to see more.")
if unchecked > 0: if unchecked > 0:
embed_var.description = "||" + str(unchecked) + " missing configuration optimizations due to your server version.||"
embed_var.description = "||" + str(unchecked) + " missing configuration optimizations.||"
await message.reply(embed=embed_var) await message.reply(embed=embed_var)
def eval_field(embed_var, option, option_name, unchecked, plugins=None, server_properties=None, bukkit=None, spigot=None, paper=None, purpur=None):
try:
for option_data in option:
add_to_field = True
for expression in option_data["expressions"]:
if ("server_properties" in expression and server_properties or
"bukkit" in expression and bukkit or
"spigot" in expression and spigot or
"paper" in expression and paper or
"purpur" in expression and purpur or
"plugins" in expression and plugins):
if not eval(expression):
add_to_field = False
break
if add_to_field:
""" f strings don't like newlines so we replace the newlines with placeholder text before we eval """
option_data["value"] = eval('f"""' + option_data["value"].replace("\n", "\\|n\\") + '"""').replace("\\|n\\", "\n")
embed_var.add_field(**create_field({**{"name": option_name}, **option_data}))
break
except KeyError as key:
print("Missing: " + str(key))
unchecked += 1
def create_field(option): def create_field(option):
field = {"name": option["name"], field = {"name": option["name"],
"value": option["value"]} "value": option["value"]}

311
cogs/timings_check.yml

@ -1,160 +1,179 @@
--- ---
# raiders_entity_activation_range = int(spigot["world-settings"]["default"]["entity-activation-range"]["raiders"])
# flying_monsters_entity_activation_range = int(spigot["world-settings"]["default"]["entity-activation-range"]["flying-monsters"])
# wake_up_inactive_villagers_every = int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["villagers-every"])
# wake_up_inactive_animals_every = int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["animals-every"])
# wake_up_inactive_flying_monsters_every = int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["flying-monsters-every"])
# wake_up_inactive_monsters_every = int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["monsters-every"])
version: "1.16.4" version: "1.16.4"
servers: servers:
- name: "yatopia" - name: "yatopia"
prefix: "❌ " prefix: "❌ "
value: |- value: |-
"Yatopia is prone to bugs."
"Consider using [Purpur](https://ci.pl3x.net/job/Purpur/)."
Yatopia is prone to bugs.
Consider using [Purpur](https://ci.pl3x.net/job/Purpur/).
- name: "paper" - name: "paper"
prefix: "||❌ " prefix: "||❌ "
suffix: "||" suffix: "||"
value: |- value: |-
"||Purpur has more optimizations but is generally less supported. "
"Consider using [Purpur](https://ci.pl3x.net/job/Purpur/).||"
||Purpur has more optimizations but is generally less supported.
Consider using [Purpur](https://ci.pl3x.net/job/Purpur/).||
plugins: plugins:
paper: paper:
ClearLag: ClearLag:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"Plugins that claim to remove lag actually cause more lag. "
"Remove ClearLag."
Plugins that claim to remove lag actually cause more lag.
Remove ClearLag.
LagAssist: LagAssist:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"LagAssist should only be used for analytics and preventative measures."
"All other features of the plugin should be disabled."
LagAssist should only be used for analytics and preventative measures.
All other features of the plugin should be disabled.
NoChunkLag: NoChunkLag:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"Plugins that claim to remove lag actually cause more lag. "
"Remove NoChunkLag."
Plugins that claim to remove lag actually cause more lag.
Remove NoChunkLag.
ServerBooster: ServerBooster:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"Plugins that claim to remove lag actually cause more lag. "
"Remove ServerBooster."
Plugins that claim to remove lag actually cause more lag.
Remove ServerBooster.
MobLimiter: MobLimiter:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need MobLimiter as Bukkit already has its features. "
"Remove MobLimiter."
You probably don't need MobLimiter as Bukkit already has its features.
Remove MobLimiter.
BookLimiter: BookLimiter:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need BookLimiter as Paper already has its features. "
"Remove BookLimiter."
You probably don't need BookLimiter as Paper already has its features.
Remove BookLimiter.
LimitPillagers: LimitPillagers:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need LimitPillagers as Paper already adds its features. "
"Remove LimitPillagers."
You probably don't need LimitPillagers as Paper already adds its features.
Remove LimitPillagers.
VillagerOptimiser: VillagerOptimiser:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need VillagerOptimiser as Paper already adds its features. "
"See entity-activation-range in spigot.yml."
You probably don't need VillagerOptimiser as Paper already adds its features.
See entity-activation-range in [spigot.yml](http://bit.ly/spiconf).
StackMob: StackMob:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"Stacking plugins actually cause more lag. "
"Remove StackMob."
Stacking plugins actually cause more lag.
Remove StackMob.
Stacker: Stacker:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"Stacking plugins actually cause more lag. "
"Remove Stacker."
Stacking plugins actually cause more lag.
Remove Stacker.
MobStacker: MobStacker:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"Stacking plugins actually cause more lag. "
"Remove MobStacker."
Stacking plugins actually cause more lag.
Remove MobStacker.
WildStacker: WildStacker:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"Stacking plugins actually cause more lag. "
"Remove WildStacker."
Stacking plugins actually cause more lag.
Remove WildStacker.
SuggestionBlocker: SuggestionBlocker:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need SuggestionBlocker as Spigot already adds its features. "
"Set tab-complete to -1 in spigot.yml."
You probably don't need SuggestionBlocker as Spigot already adds its features.
Set tab-complete to -1 in [spigot.yml](http://bit.ly/spiconf).
FastAsyncWorldEdit: FastAsyncWorldEdit:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"FAWE can corrupt your world. "
"Consider replacing FAWE with [Worldedit](https://enginehub.org/worldedit/#downloads)."
FAWE can corrupt your world.
Consider replacing FAWE with [Worldedit](https://enginehub.org/worldedit/#downloads).
CMI: CMI:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"CMI is a buggy plugin. "
"Consider replacing CMI with [EssentialsX](https://essentialsx.net/downloads.html)."
CMI is a buggy plugin.
Consider replacing CMI with [EssentialsX](https://essentialsx.net/downloads.html).
Spartan: Spartan:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"Spartan is a laggy anticheat. "
"Consider replacing it with [Matrix](https://matrix.rip/), [NCP](https://ci.codemc.io/job/Updated-NoCheatPlus/job/Updated-NoCheatPlus/), or [AAC](https://www.spigotmc.org/resources/aac-advanced-anti-cheat-hack-kill-aura-blocker.6442/)."
Spartan is a laggy anticheat.
Consider replacing it with [Matrix](https://matrix.rip/), [NCP](https://ci.codemc.io/job/Updated-NoCheatPlus/job/Updated-NoCheatPlus/), or [AAC](https://www.spigotmc.org/resources/aac-advanced-anti-cheat-hack-kill-aura-blocker.6442/).
IllegalStack: IllegalStack:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need IllegalStack as Paper already has its features. "
"Remove IllegalStack."
You probably don't need IllegalStack as Paper already has its features.
Remove IllegalStack.
ExploitFixer: ExploitFixer:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need ExploitFixer as Paper already has its features. "
"Remove ExploitFixer."
You probably don't need ExploitFixer as Paper already has its features.
Remove ExploitFixer.
EntityTrackerFixer: EntityTrackerFixer:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need EntityTrackerFixer as Paper already has its features. "
"Remove EntityTrackerFixer."
You probably don't need EntityTrackerFixer as Paper already has its features.
Remove EntityTrackerFixer.
Orebfuscator: Orebfuscator:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need Orebfuscator as Paper already has its features. "
"Remove Orebfuscator."
You probably don't need Orebfuscator as Paper already has its features.
Remove Orebfuscator.
ImageOnMap: ImageOnMap:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"This plugin has a [memory leak](https://github.com/zDevelopers/ImageOnMap/issues/104). If it is not essential, you should remove it. "
"Consider replacing it with [an alternative](https://www.spigotmc.org/resources/drmap.87368/)."
This plugin has a [memory leak](https://github.com/zDevelopers/ImageOnMap/issues/104). If it is not essential, you should remove it.
Consider replacing it with [an alternative](https://www.spigotmc.org/resources/drmap.87368/).
CrazyActions: CrazyActions:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"CrazyAuctions is a laggy plugin, even according to the developer. "
"Consider replacing it with [AuctionHouse](https://www.spigotmc.org/resources/auctionhouse.61836/)."
CrazyAuctions is a laggy plugin, even according to the developer.
Consider replacing it with [AuctionHouse](https://www.spigotmc.org/resources/auctionhouse.61836/).
GroupManager: GroupManager:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"GroupManager is an outdated permission plugin. "
"Consider replacing it with [LuckPerms](https://ci.lucko.me/job/LuckPerms/1243/artifact/bukkit/build/libs/LuckPerms-Bukkit-5.2.77.jar)."
GroupManager is an outdated permission plugin.
Consider replacing it with [LuckPerms](https://ci.lucko.me/job/LuckPerms/1243/artifact/bukkit/build/libs/LuckPerms-Bukkit-5.2.77.jar).
PermissionsEx: PermissionsEx:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"PermissionsEx is an outdated permission plugin. "
"Consider replacing it with [LuckPerms](https://ci.lucko.me/job/LuckPerms/1243/artifact/bukkit/build/libs/LuckPerms-Bukkit-5.2.77.jar)."
PermissionsEx is an outdated permission plugin.
Consider replacing it with [LuckPerms](https://ci.lucko.me/job/LuckPerms/1243/artifact/bukkit/build/libs/LuckPerms-Bukkit-5.2.77.jar).
bPermissions: bPermissions:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"bPermissions is an outdated permission plugin. "
"Consider replacing it with [LuckPerms](https://ci.lucko.me/job/LuckPerms/1243/artifact/bukkit/build/libs/LuckPerms-Bukkit-5.2.77.jar)."
bPermissions is an outdated permission plugin.
Consider replacing it with [LuckPerms](https://ci.lucko.me/job/LuckPerms/1243/artifact/bukkit/build/libs/LuckPerms-Bukkit-5.2.77.jar).
PhantomSMP:
- expressions:
- paper["world-settings"]["default"]["phantoms-only-attack-insomniacs"] == "false"
prefix: "⚠ "
value: |-
You probably don't need PhantomSMP as Paper already has its features.
Remove PhantomSMP.
- expressions:
- paper["world-settings"]["default"]["phantoms-only-attack-insomniacs"] == "true"
prefix: "⚠ "
value: |-
You probably don't need PhantomSMP as Paper already has its features.
Enable phantoms-only-attack-insomniacs in [paper.yml](http://bit.ly/paperconf).
purpur: purpur:
SilkSpawners: SilkSpawners:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need SilkSpawners as Purpur already has its features. "
"Remove SilkSpawners."
You probably don't need SilkSpawners as Purpur already has its features.
Remove SilkSpawners.
MineableSpawners: MineableSpawners:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need MineableSpawners as Purpur already has its features. "
"Remove MineableSpawners."
You probably don't need MineableSpawners as Purpur already has its features.
Remove MineableSpawners.
VillagerLobotomizatornator: VillagerLobotomizatornator:
prefix: "⚠ " prefix: "⚠ "
value: |- value: |-
"You probably don't need VillagerLobotomizatornator as Purpur already adds its features. "
"Enable villager.lobotomize.enabled in purpur.yml."
You probably don't need VillagerLobotomizatornator as Purpur already adds its features.
Enable villager.lobotomize.enabled in [purpur.yml](http://bit.ly/purpurc).
config: config:
server.properties: server.properties:
online-mode: online-mode:
@ -163,223 +182,244 @@ config:
- spigot["settings"]["bungeecord"] == "false" - spigot["settings"]["bungeecord"] == "false"
- paper["settings"]["velocity-support"]["online-mode"] == "false" or paper["settings"]["velocity-support"]["enabled"] == "false" - paper["settings"]["velocity-support"]["online-mode"] == "false" or paper["settings"]["velocity-support"]["enabled"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in server.properties for security."
value: "Enable this in [server.properties](http://bit.ly/servprop) for security."
network-compression-threshold:
- expressions:
- int(server_properties["network-compression-threshold"]) <= 256
- spigot["settings"]["bungeecord"] == "false"
prefix: "❌ "
value: "Increase this in [server.properties](http://bit.ly/servprop). Recommended: 512."
- expressions:
- int(server_properties["network-compression-threshold"]) != -1
- spigot["settings"]["bungeecord"] == "true"
prefix: "❌ "
value: "Set this to -1 in [server.properties](http://bit.ly/servprop) for a bungee server like yours."
bukkit: bukkit:
chunk-gc.period-in-ticks: chunk-gc.period-in-ticks:
- expressions: - expressions:
- int(bukkit["chunk-gc"]["period-in-ticks"]) >= 600 - int(bukkit["chunk-gc"]["period-in-ticks"]) >= 600
prefix: "❌ " prefix: "❌ "
value: "Decrease this in bukkit.yml.\nRecommended: 400."
value: "Decrease this in [bukkit.yml](https://bukkit.gamepedia.com/Bukkit.yml).\nRecommended: 400."
ticks-per.monster-spawns: ticks-per.monster-spawns:
- expressions: - expressions:
- int(bukkit["ticks-per"]["monster-spawns"]) == 1 - int(bukkit["ticks-per"]["monster-spawns"]) == 1
prefix: "❌ " prefix: "❌ "
value: "Increase this in bukkit.yml.\nRecommended: 4."
value: "Increase this in [bukkit.yml](https://bukkit.gamepedia.com/Bukkit.yml).\nRecommended: 4."
spawn-limits.monsters: spawn-limits.monsters:
- expressions: - expressions:
- int(bukkit["spawn-limits"]["monsters"]) >= 70 - int(bukkit["spawn-limits"]["monsters"]) >= 70
prefix: "❌ " prefix: "❌ "
value: "Decrease this in bukkit.yml.\nRecommended: 15."
value: "Decrease this in [bukkit.yml](https://bukkit.gamepedia.com/Bukkit.yml).\nRecommended: 15."
spawn-limits.water-ambient: spawn-limits.water-ambient:
- expressions: - expressions:
- int(bukkit["spawn-limits"]["water-ambient"]) >= 20 - int(bukkit["spawn-limits"]["water-ambient"]) >= 20
prefix: "❌ " prefix: "❌ "
value: "Decrease this in bukkit.yml.\nRecommended: 2."
value: "Decrease this in [bukkit.yml](https://bukkit.gamepedia.com/Bukkit.yml).\nRecommended: 2."
spawn-limits.ambient: spawn-limits.ambient:
- expressions: - expressions:
- int(bukkit["spawn-limits"]["ambient"]) >= 15 - int(bukkit["spawn-limits"]["ambient"]) >= 15
prefix: "❌ " prefix: "❌ "
value: "Decrease this in bukkit.yml.\nRecommended: 1."
value: "Decrease this in [bukkit.yml](https://bukkit.gamepedia.com/Bukkit.yml).\nRecommended: 1."
spawn-limits.animals: spawn-limits.animals:
- expressions: - expressions:
- int(bukkit["spawn-limits"]["animals"]) >= 10 - int(bukkit["spawn-limits"]["animals"]) >= 10
prefix: "❌ " prefix: "❌ "
value: "Decrease this in bukkit.yml.\nRecommended: 3."
value: "Decrease this in [bukkit.yml](https://bukkit.gamepedia.com/Bukkit.yml).\nRecommended: 3."
spawn-limits.water-animals: spawn-limits.water-animals:
- expressions: - expressions:
- int(bukkit["spawn-limits"]["water-animals"]) >= 15 - int(bukkit["spawn-limits"]["water-animals"]) >= 15
prefix: "❌ " prefix: "❌ "
value: "Decrease this in bukkit.yml.\nRecommended: 2."
value: "Decrease this in [bukkit.yml](https://bukkit.gamepedia.com/Bukkit.yml).\nRecommended: 2."
spigot: spigot:
view-distance: view-distance:
- expressions: - expressions:
- server_properties["view-distance"] >= 10
- int(server_properties["view-distance"]) >= 10
- spigot["world-settings"]["default"]["view-distance"] == "default" - spigot["world-settings"]["default"]["view-distance"] == "default"
prefix: "❌ " prefix: "❌ "
value: |-
"Decrease this from default (10) in spigot.yml. "
"Recommended: 3."
value: "Decrease this from default (10) in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 3."
entity-activation-range.animals: entity-activation-range.animals:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["animals"]) >= 32 - int(spigot["world-settings"]["default"]["entity-activation-range"]["animals"]) >= 32
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 6."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 6."
entity-activation-range.monsters: entity-activation-range.monsters:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["monsters"]) >= 32 - int(spigot["world-settings"]["default"]["entity-activation-range"]["monsters"]) >= 32
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 16."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 16."
entity-activation-range.misc: entity-activation-range.misc:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["misc"]) >= 16 - int(spigot["world-settings"]["default"]["entity-activation-range"]["misc"]) >= 16
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 4."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 4."
entity-activation-range.water: entity-activation-range.water:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["water"]) >= 16 - int(spigot["world-settings"]["default"]["entity-activation-range"]["water"]) >= 16
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 12."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 12."
entity-activation-range.villagers: entity-activation-range.villagers:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["villagers"]) >= 32 - int(spigot["world-settings"]["default"]["entity-activation-range"]["villagers"]) >= 32
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 16."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 16."
entity-activation-range.tick-inactive-villagers: entity-activation-range.tick-inactive-villagers:
- expressions: - expressions:
- spigot["world-settings"]["default"]["entity-activation-range"]["tick-inactive-villagers"] == "true" - spigot["world-settings"]["default"]["entity-activation-range"]["tick-inactive-villagers"] == "true"
prefix: "❌ " prefix: "❌ "
value: "Disable this in spigot.yml."
value: "Disable this in [spigot.yml](http://bit.ly/spiconf)."
nerf-spawner-mobs: nerf-spawner-mobs:
- expressions: - expressions:
- spigot["world-settings"]["default"]["nerf-spawner-mobs"] == "false" - spigot["world-settings"]["default"]["nerf-spawner-mobs"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in spigot.yml."
value: "Enable this in [spigot.yml](http://bit.ly/spiconf)."
entity-activation-range.wake-up-inactive.villagers-for: entity-activation-range.wake-up-inactive.villagers-for:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["villagers-for"]) >= 100 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["villagers-for"]) >= 100
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 20."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 20."
entity-activation-range.wake-up-inactive.flying-monsters-for: entity-activation-range.wake-up-inactive.flying-monsters-for:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["flying-monsters-for"]) >= 100 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["flying-monsters-for"]) >= 100
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 60."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 60."
entity-activation-range.wake-up-inactive.villagers-max-per-tick: entity-activation-range.wake-up-inactive.villagers-max-per-tick:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["villagers-max-per-tick"]) >= 4 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["villagers-max-per-tick"]) >= 4
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 1."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 1."
entity-activation-range.wake-up-inactive.animals-for: entity-activation-range.wake-up-inactive.animals-for:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["animals-for"]) >= 4
- int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["animals-for"]) >= 100
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 1."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 40."
entity-activation-range.wake-up-inactive.monsters-max-per-tick: entity-activation-range.wake-up-inactive.monsters-max-per-tick:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["monsters-max-per-tick"]) >= 8 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["monsters-max-per-tick"]) >= 8
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 4."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 4."
entity-activation-range.wake-up-inactive.flying-monsters-max-per-tick: entity-activation-range.wake-up-inactive.flying-monsters-max-per-tick:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["flying-monsters-max-per-tick"]) >= 8 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["flying-monsters-max-per-tick"]) >= 8
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 1."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 1."
entity-activation-range.wake-up-inactive.animals-max-per-tick: entity-activation-range.wake-up-inactive.animals-max-per-tick:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["animals-max-per-tick"]) >= 4 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["animals-max-per-tick"]) >= 4
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 2."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 2."
entity-activation-range.wake-up-inactive.monsters-for: entity-activation-range.wake-up-inactive.monsters-for:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["monsters-for"]) >= 100 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["monsters-for"]) >= 100
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 60."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 60."
arrow-despawn-rate: arrow-despawn-rate:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["arrow-despawn-rate"]) >= 1200 - int(spigot["world-settings"]["default"]["arrow-despawn-rate"]) >= 1200
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 300."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 300."
merge-radius.item: merge-radius.item:
- expressions: - expressions:
- float(spigot["world-settings"]["default"]["merge-radius"]["item"]) <= 2.5 - float(spigot["world-settings"]["default"]["merge-radius"]["item"]) <= 2.5
prefix: "❌ " prefix: "❌ "
value: "Increase this in spigot.yml.\nRecommended: 4.0."
value: "Increase this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 4.0."
merge-radius.exp: merge-radius.exp:
- expressions: - expressions:
- float(spigot["world-settings"]["default"]["merge-radius"]["exp"]) <= 3.0 - float(spigot["world-settings"]["default"]["merge-radius"]["exp"]) <= 3.0
prefix: "❌ " prefix: "❌ "
value: "Increase this in spigot.yml.\nRecommended: 6.0."
value: "Increase this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 6.0."
max-entity-collisions: max-entity-collisions:
- expressions: - expressions:
- int(spigot["world-settings"]["default"]["merge-radius"]["exp"]) >= 8
- int(spigot["world-settings"]["default"]["max-entity-collisions"]) >= 8
prefix: "❌ "
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 2."
mob-spawn-range:
- expressions:
- spigot["world-settings"]["default"]["view-distance"] == "default"
- int(spigot["world-settings"]["default"]["mob-spawn-range"]) >= 8
- int(server_properties["view-distance"]) <= 6
prefix: "❌ "
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: {int(server_properties[\"view-distance\"]) - 1}."
- expressions:
- int(spigot["world-settings"]["default"]["mob-spawn-range"]) >= 8
- int(spigot["world-settings"]["default"]["view-distance"]) <= 6
prefix: "❌ " prefix: "❌ "
value: "Decrease this in spigot.yml.\nRecommended: 2."
value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: {int(spigot[\"world-settings\"][\"default\"][\"view-distance\"]) - 1}."
paper: paper:
max-auto-save-chunks-per-tick: max-auto-save-chunks-per-tick:
- expressions: - expressions:
- int(paper["world-settings"]["default"]["max-auto-save-chunks-per-tick"]) >= 24 - int(paper["world-settings"]["default"]["max-auto-save-chunks-per-tick"]) >= 24
prefix: "❌ " prefix: "❌ "
value: "Decrease this in paper.yml.\nRecommended: 6."
value: "Decrease this in [paper.yml](http://bit.ly/paperconf).\nRecommended: 6."
optimize-explosions: optimize-explosions:
- expressions: - expressions:
- paper["world-settings"]["default"]["optimize-explosions"] == "false" - paper["world-settings"]["default"]["optimize-explosions"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in paper.yml."
value: "Enable this in [paper.yml](http://bit.ly/paperconf)."
mob-spawner-tick-rate: mob-spawner-tick-rate:
- expressions: - expressions:
- int(paper["world-settings"]["default"]["mob-spawner-tick-rate"]) == 1 - int(paper["world-settings"]["default"]["mob-spawner-tick-rate"]) == 1
prefix: "❌ " prefix: "❌ "
value: "Increase this in paper.yml.\nRecommended: 2."
value: "Increase this in [paper.yml](http://bit.ly/paperconf).\nRecommended: 2."
game-mechanics.disable-chest-cat-detection: game-mechanics.disable-chest-cat-detection:
- expressions: - expressions:
- paper["world-settings"]["default"]["game-mechanics"]["disable-chest-cat-detection"] == "false" - paper["world-settings"]["default"]["game-mechanics"]["disable-chest-cat-detection"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in paper.yml"
value: "Enable this in [paper.yml](http://bit.ly/paperconf)"
container-update-tick-rate: container-update-tick-rate:
- expressions: - expressions:
- paper["world-settings"]["default"]["game-mechanics"]["container-update-tick-rate"] == "false"
- int(paper["world-settings"]["default"]["container-update-tick-rate"]) == 1
prefix: "❌ " prefix: "❌ "
value: "Increase this in paper.yml.\nRecommended: 3."
value: "Increase this in [paper.yml](http://bit.ly/paperconf).\nRecommended: 3."
grass-spread-tick-rate: grass-spread-tick-rate:
- expressions: - expressions:
- int(paper["world-settings"]["default"]["game-mechanics"]["grass-spread-tick-rate"]) == 1
- int(paper["world-settings"]["default"]["grass-spread-tick-rate"]) == 1
prefix: "❌ " prefix: "❌ "
value: "Increase this in paper.yml.\nRecommended: 4."
value: "Increase this in [paper.yml](http://bit.ly/paperconf).\nRecommended: 4."
despawn-ranges.soft: despawn-ranges.soft:
- expressions: - expressions:
- int(paper["world-settings"]["default"]["despawn-ranges"]["soft"]) >= 32 - int(paper["world-settings"]["default"]["despawn-ranges"]["soft"]) >= 32
prefix: "❌ " prefix: "❌ "
value: "Decrease this in paper.yml.\nRecommended: 28."
value: "Decrease this in [paper.yml](http://bit.ly/paperconf).\nRecommended: 28."
despawn-ranges.hard: despawn-ranges.hard:
- expressions: - expressions:
- int(paper["world-settings"]["default"]["despawn-ranges"]["hard"]) >= 32
- int(paper["world-settings"]["default"]["despawn-ranges"]["hard"]) >= 128
prefix: "❌ " prefix: "❌ "
value: "Decrease this in paper.yml.\nRecommended: 48."
value: "Decrease this in [paper.yml](http://bit.ly/paperconf).\nRecommended: 48."
hopper.disable-move-event: hopper.disable-move-event:
- expressions: - expressions:
- paper["world-settings"]["default"]["hopper"]["disable-move-event"] == "false" - paper["world-settings"]["default"]["hopper"]["disable-move-event"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in paper.yml"
value: "Enable this in [paper.yml](http://bit.ly/paperconf)"
non-player-arrow-despawn-rate: non-player-arrow-despawn-rate:
- expressions: - expressions:
- int(paper["world-settings"]["default"]["non-player-arrow-despawn-rate"]) == -1 - int(paper["world-settings"]["default"]["non-player-arrow-despawn-rate"]) == -1
prefix: "❌ " prefix: "❌ "
value: "Set a value in paper.yml.\nRecommended: 60"
value: "Set a value in [paper.yml](http://bit.ly/paperconf).\nRecommended: 60"
creative-arrow-despawn-rate: creative-arrow-despawn-rate:
- expressions: - expressions:
- int(paper["world-settings"]["default"]["creative-arrow-despawn-rate"]) == -1 - int(paper["world-settings"]["default"]["creative-arrow-despawn-rate"]) == -1
prefix: "❌ " prefix: "❌ "
value: "Set a value in paper.yml.\nRecommended: 60"
value: "Set a value in [paper.yml](http://bit.ly/paperconf).\nRecommended: 60"
non-player-arrow-despawn-rate: non-player-arrow-despawn-rate:
- expressions: - expressions:
- paper["world-settings"]["default"]["prevent-moving-into-unloaded-chunks"] == "false" - paper["world-settings"]["default"]["prevent-moving-into-unloaded-chunks"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in paper.yml."
value: "Enable this in [paper.yml](http://bit.ly/paperconf)."
use-faster-eigencraft-redstone: use-faster-eigencraft-redstone:
- expressions: - expressions:
- paper["world-settings"]["default"]["use-faster-eigencraft-redstone"] == "false" - paper["world-settings"]["default"]["use-faster-eigencraft-redstone"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in paper.yml."
value: "Enable this in [paper.yml](http://bit.ly/paperconf)."
fix-climbing-bypassing-cramming-rule: fix-climbing-bypassing-cramming-rule:
- expressions: - expressions:
- paper["world-settings"]["default"]["fix-climbing-bypassing-cramming-rule"] == "false" - paper["world-settings"]["default"]["fix-climbing-bypassing-cramming-rule"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in paper.yml."
value: "Enable this in [paper.yml](http://bit.ly/paperconf)."
armor-stands-do-collision-entity-lookups: armor-stands-do-collision-entity-lookups:
- expressions: - expressions:
- paper["world-settings"]["default"]["armor-stands-do-collision-entity-lookups"] == "true" - paper["world-settings"]["default"]["armor-stands-do-collision-entity-lookups"] == "true"
prefix: "❌ " prefix: "❌ "
value: "Disable this in paper.yml."
value: "Disable this in [paper.yml](http://bit.ly/paperconf)."
armor-stands-tick: armor-stands-tick:
- expressions: - expressions:
- paper["world-settings"]["default"]["armor-stands-tick"] == "true" - paper["world-settings"]["default"]["armor-stands-tick"] == "true"
@ -387,65 +427,88 @@ config:
- '"BlockBalls" not in plugins' - '"BlockBalls" not in plugins'
- '"ArmorStandTools" not in plugins' - '"ArmorStandTools" not in plugins'
prefix: "❌ " prefix: "❌ "
value: "Disable this in paper.yml."
value: "Disable this in [paper.yml](http://bit.ly/paperconf)."
per-player-mob-spawns: per-player-mob-spawns:
- expressions: - expressions:
- paper["world-settings"]["default"]["per-player-mob-spawns"] == "false" - paper["world-settings"]["default"]["per-player-mob-spawns"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in paper.yml."
value: "Enable this in [paper.yml](http://bit.ly/paperconf)."
alt-item-despawn-rate.enabled: alt-item-despawn-rate.enabled:
- expressions: - expressions:
- paper["world-settings"]["default"]["alt-item-despawn-rate"]["enabled"] == "false" - paper["world-settings"]["default"]["alt-item-despawn-rate"]["enabled"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in paper.yml."
value: "Enable this in [paper.yml](http://bit.ly/paperconf)."
enable-treasure-maps: enable-treasure-maps:
- expressions: - expressions:
- paper["world-settings"]["default"]["enable-treasure-maps"] == "true" - paper["world-settings"]["default"]["enable-treasure-maps"] == "true"
prefix: "❌ " prefix: "❌ "
value: "Disable this in paper.yml. Why? Generating treasure maps is extremely expensive and can hang a server if the structure it's trying to locate is really far away."
value: "Disable this in [paper.yml](http://bit.ly/paperconf). Why? Generating treasure maps is extremely expensive and can hang a server if the structure it's trying to locate is really far away."
projectile-load-save-per-chunk-limit: projectile-load-save-per-chunk-limit:
- expressions: - expressions:
- int(paper["world-settings"]["default"]["projectile-load-save-per-chunk-limit"]) == -1 - int(paper["world-settings"]["default"]["projectile-load-save-per-chunk-limit"]) == -1
prefix: "❌ " prefix: "❌ "
value: "Set a value in paper.yml. Recommended: 8."
value: "Set a value in [paper.yml](http://bit.ly/paperconf). Recommended: 8."
no-tick-view-distance:
- expressions:
- int(paper["world-settings"]["default"]["viewdistances"]["no-tick-view-distance"]) == -1
- spigot["world-settings"]["default"]["view-distance"] == "default"
- int(server_properties["view-distance"]) >= 4
prefix: "❌ "
value: Set a value in [paper.yml](http://bit.ly/paperconf).\nRecommended {server_properties["view-distance"]}. Reduce view-distance in server.properties to 3.
- expressions:
- int(paper["world-settings"]["default"]["viewdistances"]["no-tick-view-distance"]) == -1
- int(spigot["world-settings"]["default"]["view-distance"]) >= 4
prefix: "❌ "
value: Set a value in [paper.yml](http://bit.ly/paperconf).\nRecommended {spigot["world-settings"]["default"]["view-distance"]}. Reduce view-distance in server.properties to 3.
purpur: purpur:
settings.use-alternate-keepalive:
- expressions:
- purpur["settings"]["use-alternate-keepalive"] == "false"
- '"TCPShield" not in plugins'
prefix: "❌ "
value: "Enable this in [purpur.yml](http://bit.ly/purpurc)."
- expressions:
- purpur["settings"]["use-alternate-keepalive"] == "true"
- '"TCPShield" in plugins'
prefix: "❌ "
value: "Disable this in [purpur.yml](http://bit.ly/purpurc). It can cause issues with TCPShield"
settings.dont-send-useless-entity-packets: settings.dont-send-useless-entity-packets:
- expressions: - expressions:
- purpur["settings"]["dont-send-useless-entity-packets"] == "false" - purpur["settings"]["dont-send-useless-entity-packets"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in purpur.yml."
value: "Enable this in [purpur.yml](http://bit.ly/purpurc)."
mobs.dolphin.disable-treasure-searching: mobs.dolphin.disable-treasure-searching:
- expressions: - expressions:
- purpur["world-settings"]["default"]["mobs"]["dolphin"]["disable-treasure-searching"] == "false" - purpur["world-settings"]["default"]["mobs"]["dolphin"]["disable-treasure-searching"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in purpur.yml."
value: "Enable this in [purpur.yml](http://bit.ly/purpurc)."
mobs.villager.brain-ticks: mobs.villager.brain-ticks:
- expressions: - expressions:
- int(purpur["world-settings"]["default"]["mobs"]["villager"]["brain-ticks"]) == 1 - int(purpur["world-settings"]["default"]["mobs"]["villager"]["brain-ticks"]) == 1
prefix: "❌ " prefix: "❌ "
value: "Increase this in purpur.yml.\nRecommended: 4."
value: "Increase this in [purpur.yml](http://bit.ly/purpurc).\nRecommended: 4."
mobs.villager.spawn-iron-golem.radius: mobs.villager.spawn-iron-golem.radius:
- expressions: - expressions:
- int(purpur["world-settings"]["default"]["mobs"]["villager"]["spawn-iron-golem"]["radius"]) == 0 - int(purpur["world-settings"]["default"]["mobs"]["villager"]["spawn-iron-golem"]["radius"]) == 0
prefix: "❌ " prefix: "❌ "
value: "Increase this in purpur.yml.\nRecommended: 5."
value: "Increase this in [purpur.yml](http://bit.ly/purpurc).\nRecommended: 5."
mobs.zombie.aggressive-towards-villager-when-lagging: mobs.zombie.aggressive-towards-villager-when-lagging:
- expressions: - expressions:
- purpur["world-settings"]["default"]["mobs"]["zombie"]["aggressive-towards-villager-when-lagging"] == "true" - purpur["world-settings"]["default"]["mobs"]["zombie"]["aggressive-towards-villager-when-lagging"] == "true"
prefix: "❌ " prefix: "❌ "
value: "Disable this in purpur.yml."
value: "Disable this in [purpur.yml](http://bit.ly/purpurc)."
gameplay-mechanics.entities-can-use-portals: gameplay-mechanics.entities-can-use-portals:
- expressions: - expressions:
- purpur["world-settings"]["default"]["gameplay-mechanics"]["entities-can-use-portals"] == "true" - purpur["world-settings"]["default"]["gameplay-mechanics"]["entities-can-use-portals"] == "true"
prefix: "❌ " prefix: "❌ "
value: "Disable this in purpur.yml to prevent players from creating chunk anchors."
value: "Disable this in [purpur.yml](http://bit.ly/purpurc) to prevent players from creating chunk anchors."
mobs.villager.lobotomize.enabled: mobs.villager.lobotomize.enabled:
- expressions: - expressions:
- purpur["world-settings"]["default"]["mobs"]["villager"]["lobotomize"]["enabled"] == "false" - purpur["world-settings"]["default"]["mobs"]["villager"]["lobotomize"]["enabled"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in purpur.yml."
value: "Enable this in [purpur.yml](http://bit.ly/purpurc)."
gameplay-mechanics.player.teleport-if-outside-border: gameplay-mechanics.player.teleport-if-outside-border:
- expressions: - expressions:
- purpur["world-settings"]["default"]["gameplay-mechanics"]["player"]["teleport-if-outside-border"] == "false" - purpur["world-settings"]["default"]["gameplay-mechanics"]["player"]["teleport-if-outside-border"] == "false"
prefix: "❌ " prefix: "❌ "
value: "Enable this in purpur.yml."
value: "Enable this in [purpur.yml](http://bit.ly/purpurc)."
Loading…
Cancel
Save