embed_var.add_field(name="⚠️ Publicly Sold Custom Jar",value=f'You are using `{version}`. Publicly sold custom jars have been known to have major instability issues, often leading to crashes. Many have skirted the copyright law in the past, and have been implement plugin features for extremely large prices (x10-x20 market value). This does not necessarily mean they are bad, but please be careful.')
value=f"You are using OpenJ9. This JVM implementation favors low ram usage vs throughput. This can reduce RAM usage by up to 50%, but at the cost of max players. This is useful to offset servers where RAM is the bottleneck. This is one tool for reducing lag that requires extensive knowledge to use properly.")
value=f"You have only {cpu} thread. Find a [better host](https://www.birdflop.com).")
embed_var.add_field(name="❌ Too Few Threads",
value=f"You have only {cpu} thread. Even if you're virtualizing a bigger CPU, this is not enough to handle a larger playerbase.")
ifcpu==2:
ifcpu==2:
embed_var.add_field(name="❌ Threads",
value=f"You have only {cpu} threads. Find a [better host](https://www.birdflop.com).")
embed_var.add_field(name️="⚠ Few Threads",
value=f"You have only {cpu} threads. This is on the border of the minimum, but if you have a hefty CPU, it can work well.")
exceptKeyErroraskey:
exceptKeyErroraskey:
logging.info("Missing: "+str(key))
logging.info("Missing: "+str(key))
@ -254,8 +260,8 @@ class Timings(commands.Cog):
value="Stacking plugins actually causes more lag. "
value="Stacking plugins actually causes more lag. "
"Remove UltimateStacker.")
"Remove UltimateStacker.")
else:
else:
embed_var.add_field(name="❌"+plugin,
value="This plugin was made by Songoda. Songoda has a bad history- find an alternative.")
embed_var.add_field(name="⚠"+plugin,
value="Songoda focuses mainly on small friends servers (under 10 players). Most of their plugins do not fare well in production systems, and are known to cause issues when used for many players.")