Browse Source

Updates

master
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: except KeyError as key:
logging.info("Missing: " + str(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: try:
normal_ticks = request["timingsMaster"]["data"][0]["totalTicks"] normal_ticks = request["timingsMaster"]["data"][0]["totalTicks"]
worst_tps = 20 worst_tps = 20

11
cogs/timings_check.yml

@ -13,11 +13,9 @@ servers:
Yatopia is prone to bugs. Yatopia is prone to bugs.
Consider using [Purpur](https://ci.pl3x.net/job/Purpur/). Consider using [Purpur](https://ci.pl3x.net/job/Purpur/).
- name: "Paper" - name: "Paper"
prefix: "||❌"
suffix: "||"
prefix: "❌"
value: |- 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: plugins:
paper: paper:
ClearLag: ClearLag:
@ -52,12 +50,11 @@ plugins:
LimitPillagers: LimitPillagers:
prefix: "❌" prefix: "❌"
value: |- value: |-
You probably don't need LimitPillagers as Paper already adds its features.
LimitPillagers is not useful in 1.15 and above.
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.
VillagerOptimiser is not useful in 1.15 and above.
StackMob: StackMob:
prefix: "❌" prefix: "❌"
value: |- value: |-

Loading…
Cancel
Save