Browse Source

Updates

pull/17/head
DrBot7 4 years ago
parent
commit
0e1b1355fa
  1. 14
      cogs/timings.py
  2. 11
      cogs/timings_check.yml

14
cogs/timings.py

@ -277,6 +277,20 @@ class Timings(commands.Cog):
except KeyError as key:
logging.info("Missing: " + str(key))
try:
worlds = request_raw["worlds"]
high_mec = False
for world in worlds:
max_entity_cramming = int(request_raw["worlds"][world]["gamerules"]["maxEntityCramming"])
if max_entity_cramming >= 24:
high_mec = True
if high_mec:
embed_var.add_field(name="❌ maxEntityCramming",
value=f"Decrease this by running the /gamerule command in each world. Recommended: 8. ")
except KeyError as key:
logging.info("Missing: " + str(key))
try:
normal_ticks = request["timingsMaster"]["data"][0]["totalTicks"]
worst_tps = 20

11
cogs/timings_check.yml

@ -13,11 +13,9 @@ servers:
Yatopia is prone to bugs.
Consider using [Purpur](https://ci.pl3x.net/job/Purpur/).
- name: "Paper"
prefix: "||❌"
suffix: "||"
prefix: "❌"
value: |-
||Purpur has more optimizations but is generally less supported.
Consider using [Purpur](https://ci.pl3x.net/job/Purpur/).||
Purpur has more optimizations. Consider using [Purpur](https://ci.pl3x.net/job/Purpur/).
plugins:
paper:
ClearLag:
@ -52,12 +50,11 @@ plugins:
LimitPillagers:
prefix: "❌"
value: |-
You probably don't need LimitPillagers as Paper already adds its features.
LimitPillagers is not useful in 1.15 and above.
VillagerOptimiser:
prefix: "❌"
value: |-
You probably don't need VillagerOptimiser as Paper already adds its features.
See entity-activation-range in spigot.yml.
VillagerOptimiser is not useful in 1.15 and above.
StackMob:
prefix: "❌"
value: |-

Loading…
Cancel
Save