Jump to content

Recommended Posts

Posted

Hey dear modding community,

 

i am managing a modded minecraft project for an youtuber where we have ~50 players in average on the 1.12.2 and want to optimize the servers performance.

We are currently using Mohist 1.12.2 with the forge version 1.12.2 - 14.23.5.2860 and have a huge problem with lags, why we realy want to optimize the server.

 

here is a current list of our installed mod on the server:

Quote

!Mixin-Compatibility-Mod-Forge-1.12.2.jar

[1.12.2] SecurityCraft v1.9.7.jar

AIImprovements-1.12-0.0.1b3.jar

BadMobs-1.12.2-1.1.40.jar

better_survival-1.4.1.jar

BetterFoliage-MC1.12-2.3.3.jar

BiomesOPlenty-1.12.2-7.0.1.2445-universal.jar

carryon-1.12.2-1.12.6.20.jar

claimit-1.12.2-1.2.1.jar

claimitapi-1.12.2-1.2.1.jar

claimitdynmap-1.12.2-1.0.1.jar

Clumps-3.1.2.jar

CollisionDamage-1.2.1.jar

colorfularmor-1.12.2-1.2.jar

core-3.4-SNAPSHOT.jar

coroutil-1.12.1-1.2.37.jar

CraftTweaker2-1.12-4.1.20.683.jar

CustomNPCs_1.12.2-(05Jul20).jar

DayZombiez.jar

disenchanter[1.12]1.8.jar

DocsMod-1.1.0.jar

DynamicSurroundings-1.12.2-3.6.1.0.jar

DynamicTrees-1.12.2-0.9.27.jar

DynamicTreesBOP-1.12.2-1.5.1.jar

Dynmap-3.4-forge-1.12.2.jar

DynmapBlockScan-3.4-SNAPSHOT-forge-1.12.2.jar

dynviewdist-1.12-1.3.jar

emeraldnugget-1.0.0.jar

FamiliarFauna-1.12.2-1.0.11.jar

FCL-1.12.81b.jar

Forgelin-1.8.4.jar

FpsReducer-mc1.12.2-1.20.jar

FTBLib-5.4.7.2.jar

FTBQuests-1202.9.0.15.jar

furniture-6.3.2-1.12.2.jar

getittogetherdrops-1.12.2-v1.0.2.jar

grapplemod-1.12.2-v12.3.jar

guns-0.15.3-1.12.2.jar

hostileworlds_invasions-1.12.1-1.1.13.jar

iChunUtil-1.12.2-7.2.2.jar

ImmersiveRailroading-1.12.2-forge-1.9.1.jar

InventoryTweaks-1.63.jar

ItemFilters-1.0.4.2.jar

jei_1.12.2-4.16.1.301.jar

JRFTL[1.12.2]-1.1.jar

librarianlib-1.12.2-4.22.jar

lostcities-1.12-2.0.22.jar

malisiscore-1.12.2-6.5.1.jar

malisisdoors-1.12.2-7.3.0.jar

mcw-bridges-1.0.6b-mc1.12.2.jar

mcw-fences-1.0.0-mc1.12.2.jar

MoBends_1.12.2-1.2.1-19.12.21.jar

mobsunscreen-1.12.2-2.1.3.jar

MouseTweaks-2.10.1-mc1.12.2.jar

MutantBeasts-1.12.2-1.0.2.jar

mysql.jar

NoCubes_SRP_Combat_Addon_3.0.0.jar

NoCubes_SRP_Survival_Addon_3.0.0.jar

obfuscate-0.2.6-1.12.2.jar

OreLib-1.12.2-3.6.0.1.jar

phosphor-forge-mc1.12.2-0.2.7-universal.jar

PhosphorCrashFix-1.12.2-1.0.0.jar

railcraft-12.0.0.jar

randompatches-1.12.2-1.22.1.10.jar

signpost-1.12.2-1.08.5.jar

simpleharvest-1.08.jar

spark-forge.jar

SpartanShields-1.12.2-1.5.5.jar

SpartanWeaponry-1.12.2-1.4.1.jar

SRParasites-1.12.2v1.9.12.jar

stg-1.12.2-1.2.3.jar

Surge-1.12.2-2.0.77.jar

switchbow-1.6.8.jar

thiccentities-1.4.jar.old

Tiquality-FAT-1.12.2-GAMMA-1.8.1-124.jar.old

torchmaster_1.12.2-1.8.5.0.jar

tpsmod-2.0.1.3.0.jar

TrackAPI-1.2.jar

TravelersBackpack-1.12.2-1.0.35.jar

UniversalModCore-1.12.2-forge-1.1.4-2b81e7.jar

VanillaFix-1.0.10-150.jar

voicechat-forge-1.12.2-2.3.28.jar

worldedit-forge-mc1.12.2-6.1.10-SNAPSHOT-dist (1) (1).jar

WOTA1.9.jar

XaerosWorldMap_1.28.4_Forge_1.12.jar

xptome-1.12.2-v1.1.1.jar

zombieawareness-1.12.1-1.11.16.jar

 

because we have mohist installed we also tried to use spigot and bukkit optimizations like:

Quote

Spigot.yml:

config-version: 11
commands:
  silent-commandblock-console: false
  log: true
  spam-exclusions:
  - /skill
  replace-commands:
  - setblock
  - summon
  - testforblock
  - tellraw
  tab-complete: 0
settings:
  bungeecord: false
  save-user-cache-on-stop-only: false
  user-cache-size: 1000
  attribute:
    maxHealth:
      max: 2048.0
    movementSpeed:
      max: 2048.0
    attackDamage:
      max: 2048.0
  timeout-time: 90
  restart-on-crash: true
  restart-script: ./start.sh
  netty-threads: 4
  late-bind: false
  filter-creative-items: true
  int-cache-limit: 1024
  moved-wrongly-threshold: 0.0625
  moved-too-quickly-multiplier: 10.0
  item-dirty-ticks: 20
  player-shuffle: 0
  sample-count: 12
advancements:
  disable-saving: false
  disabled:
  - minecraft:story/disabled
stats:
  disable-saving: false
  forced-stats: {}
messages:
  restart: Server is restarting
world-settings:
  default:
    verbose: false
    mob-spawn-range: 3
    growth:
      cactus-modifier: 100
      cane-modifier: 100
      melon-modifier: 100
      mushroom-modifier: 100
      pumpkin-modifier: 100
      sapling-modifier: 100
      wheat-modifier: 100
      netherwart-modifier: 100
      vine-modifier: 100
      cocoa-modifier: 100
    entity-activation-range:
      animals: 6
      monsters: 16
      misc: 2
      water: 16
      tick-inactive-villagers: true
    ticks-per:
      hopper-transfer: 8
      hopper-check: 1
    hopper-amount: 1
    random-light-updates: false
    save-structure-info: true
    dragon-death-sound-radius: 0
    seed-village: 10387312
    seed-feature: 14357617
    seed-monument: 10387313
    seed-slime: 987234911
    hunger:
      jump-walk-exhaustion: 0.05
      jump-sprint-exhaustion: 0.2
      combat-exhaustion: 0.1
      regen-exhaustion: 6.0
      swim-multiplier: 0.01
      sprint-multiplier: 0.1
      other-multiplier: 0.0
    max-tnt-per-tick: 100
    max-tick-time:
      tile: 1000
      entity: 1000
    squid-spawn-range:
      min: 45.0
    max-growth-height:
      cactus: 3
      reeds: 3
    wither-spawn-sound-radius: 0
    view-distance: 4
    item-despawn-rate: 6000
    merge-radius:
      item: 3.5
      exp: 6.0
    arrow-despawn-rate: 1200
    entity-tracking-range:
      players: 48
      animals: 6
      monsters: 24
      misc: 2
      other: 64
    enable-zombie-pigmen-portal-spawns: true
    hanging-tick-frequency: 100
    zombie-aggressive-towards-villager: true
    nerf-spawner-mobs: false

Bukkit.yml:

settings:
  allow-end: true
  warn-on-overload: true
  permissions-file: permissions.yml
  update-folder: update
  plugin-profiling: false
  connection-throttle: 4000
  query-plugins: true
  deprecated-verbose: default
  shutdown-message: Server closed
spawn-limits:
  monsters: 50
  animals: 10
  water-animals: 3
  ambient: 4
chunk-gc:
  period-in-ticks: 300
  load-threshold: 300
ticks-per:
  animal-spawns: 400
  monster-spawns: 2
  autosave: 6000
aliases: now-in-commands.yml

We also use spark for tps monitoring and profiled the server for the last 19 days: https://spark.lucko.me/VAtkDh1Uu8

 

can anyone suggest what we can install/uninstall and/or optimizing settings we could take to make the server much more playable with over 50-80 players.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • the modpack keep crashing idk why,cause it never said anything about any mods causing it. crash log:https://drive.google.com/file/d/1iYKlUgvHUob8DjyRc3gqP_Viv_kSHO6L/view?usp=sharing mod list:https://drive.google.com/file/d/1MvMT-z9Jg2BITQ4uLshJ1uOh7q9EMBfC/view?usp=sharing but the server(anternos) works just fine
    • Hello, I am trying to make 2 recipes for a ruby. The first one is turning a block into a ruby and the other one is 9 nuggets into a ruby. But I keep on getting a error java.lang.IllegalStateException: Duplicate recipe rubymod:ruby   Any help would be great on how to fix it
    • Hello everyone, i'm new with programing Mods, and will need a lot of your help if possible,  Im trying to make a new GUI interface responsible to control the Droprate of game, it will control de loot drop and loot table for mobs and even blocks, but i try to make a simple Gui Screen, and wenever i try to use it, the game crash's with the error message in the subject, here is the code im using to:  IDE: IntelliJ Comunity - latest version Forge: 47.3.0 Minecraft version: 1.20.1 mapping_channel: parchment mapping_version=2023.09.03-1.20.1 Crash report link: https://pastebin.com/6dV8k1Fw   Code im using is:    package createchronical.droprateconfig; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.gui.GuiGraphics; import net.minecraft.client.gui.components.Button; import net.minecraft.client.gui.screens.Screen; import net.minecraft.network.chat.Component; import net.minecraft.resources.ResourceLocation; import java.util.HashMap; import java.util.Map; public class ConfigScreen extends Screen { private static final ResourceLocation BACKGROUND_TEXTURE = new ResourceLocation("droprateconfig", "textures/gui/config_background.png"); // Mapa de mobs e itens com seus respectivos drop rates private final Map<String, Integer> dropRates = new HashMap<>(); public ConfigScreen() { super(Component.literal("Configurações de Drop Rate")); // Inicializa com valores de drop rate padrão dropRates.put("Zombie", 10); // Exemplo de mob dropRates.put("Creeper", 5); // Exemplo de mob dropRates.put("Iron Ore", 50); // Exemplo de item dropRates.put("Diamond", 2); // Exemplo de item } @Override protected void init() { // Cria um botão para cada mob/item e adiciona na tela int yOffset = this.height / 2 - 100; // Posicionamento inicial for (Map.Entry<String, Integer> entry : dropRates.entrySet()) { String itemName = entry.getKey(); int dropRate = entry.getValue(); // Cria um botão para cada mob/item this.addRenderableWidget(Button.builder( Component.literal(itemName + ": " + dropRate + "%"), button -> onDropRateButtonPressed(itemName) ).bounds(this.width / 2 - 100, yOffset, 200, 20).build()); yOffset += 25; // Incrementa a posição Y para o próximo botão } // Adiciona o botão de "Salvar Configurações" this.addRenderableWidget(Button.builder(Component.literal("Salvar Configurações"), button -> onSavePressed()) .bounds(this.width / 2 - 100, yOffset, 200, 20) .build()); } private void onDropRateButtonPressed(String itemName) { // Lógica para alterar o drop rate do item/mob selecionado // Aqui, vamos apenas incrementar o valor como exemplo int currentRate = dropRates.get(itemName); dropRates.put(itemName, currentRate + 5); // Aumenta o drop rate em 5% } private void onSavePressed() { // Lógica para salvar as configurações (temporariamente apenas na memória) // Vamos apenas imprimir para verificar dropRates.forEach((item, rate) -> { System.out.println("Item: " + item + " | Novo Drop Rate: " + rate + "%"); }); // Fecha a tela após salvar Screen pGuiScreen = null; assert this.minecraft != null; this.minecraft.setScreen(pGuiScreen); } @Override public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTicks) { this.renderBackground(guiGraphics); guiGraphics.blit(BACKGROUND_TEXTURE, this.width / 2 - 128, this.height / 2 - 128, 0, 0, 256, 256, 256, 256); super.render(guiGraphics, mouseX, mouseY, partialTicks); } }  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.