LogoLogo
WEBDASHPANELDOCSCHATSTATUS
English
English
  • πŸŽ‰Welcome
    • πŸ””Newsletter
  • 🌍HidenCloud Documentation
  • HidenCloud Dashboard
    • πŸ”“Enable Two-Factor Authentication (2FA)
    • βž•Extra/Additional services
    • 🎫How to open a ticket?
    • πŸ’΅How to buy?
    • πŸ’³Payment Methods
    • 🟒Status and behavior of services
    • πŸ”΄Delete account
    • 😑Server Deleted or Account Restricted?
    • 🌐SubDomain
    • πŸ’»VPS
    • ❌Cancel Your Service
    • πŸ—ΊοΈChange Location
    • *️Update Your HidenCloud Account Details
  • HidenCloud Panel
    • β›…Guide for beginners
    • πŸ”“How to get into my server?
    • πŸ—ƒοΈAdd files
    • πŸ“‚Backups
    • πŸ“‘Databases
    • πŸ«‚Adding Sub-Users
    • ⏰How to create a task?
    • πŸ› οΈHow to enable Toggle Support OP Access?
    • πŸ”ŒHigh Ping and Packet Loss
    • πŸ‘ΏServer Crashes
    • ⁉️Errors
    • πŸ†”Server UUID
  • 🌐Reverse Proxy
  • Minecraft
    • πŸ› οΈChange Java version
    • πŸ”’Change Minecraft Type and Version
    • πŸ”ƒServer Restarting / killed?
    • πŸ”’Change JVM Startup Flags
    • πŸ”‚Version Compatibility in Minecraft with ViaVersion Plugins
    • πŸ‘₯Online Mode
    • πŸ› οΈHow to install a plugin / mod?
    • πŸ‘€Security Plugins
    • ⚑Server Optimization Guide
      • πŸ› οΈDownload optimization plugins
      • πŸ› οΈServer Configuration
      • πŸ› οΈHelpers and Java Flags
        • ⚑Minecraft exploit and how to fix them
    • πŸ›œInstalling Bungeecord
      • πŸ› οΈConfigure a Bungeecord server
    • 😍Adding an Icon to the Server
    • ✍️Adding a Description to the Server
    • πŸ“¦Add a Resource Pack
  • ARK:Survival Evolved
    • πŸ”ŒWhat is GameUserSettings.ini?
    • πŸ” How to Find Your Tribe or Player ID
  • Windows Tutorials
    • β˜•Java Local Binary
  • Free
    • 🀩Free Tier
  • GAME-SERVER PAID PLAN
    • 🌻Budget_Game-Servers
    • πŸ€Budget_Software-Servers
    • πŸ’ŽPremium_Game-Servers
    • βž•Extras
  • VPS PAID PLAN
    • πŸ’»VPS-Servers
    • πŸ–₯️VPS-Custom
  • Discord
    • 🚫Rules
    • πŸ€–/suggest command
    • 🎟️How to create a ticket?
    • πŸ”±Client Role
  • Information
    • ℹ️Contact and Help
    • 🌐Social Networks
    • ⚜️Partnership
    • πŸ‘¨β€πŸ’ΌStaff Application
    • πŸ’°Donate
    • ❓FAQ's
    • ❀️HidenNetwork
  • Legal
    • πŸ’ΎTerms of Service
    • πŸ”Privacy Policy
    • πŸͺCookies Policy
Powered by GitBook
LogoLogo

Services

  • Minecraft
  • Discord Hosting
  • Free
  • Rust

Company

  • About
  • Blog
  • News
  • HidenNetwork

Support

  • Contact
  • Discord
  • System Status
  • Documentation

Legal

  • Terms
  • Privacy Policy
  • Cookies Policies

Copyright Β© 2024 HidenCloudβ„’ - All rights reserved. | E: info@hidencloud.com | T/WA: +34930414115

On this page
  • "Too good to be true" plugins
  • Plugins removing ground items
  • Mob stacker plugins
  • Plugins enabling/disabling other plugins
  • What's lagging? - measuring performance
  • mspt
  • Spark
  • Timings

Was this helpful?

Export as PDF
  1. Minecraft
  2. Server Optimization Guide

Helpers and Java Flags

Good starting value: true Enable this to hide ores from x-rayers. For detailed configuration of this feature check out Configuring Anti-Xray.

PreviousServer ConfigurationNextMinecraft exploit and how to fix them

Last updated 10 months ago

Was this helpful?

anti-xray.enabled

Good starting value: true

Enable this to hide ores from x-rayers. For detailed configuration of this feature check out . Enabling this will actually decrease performance, however it is much more efficient than any anti-xray plugin. In most cases the performance impact will be negligible.

nether-ceiling-void-damage-height

Good starting value: 127

If this option is greater that 0, players above the set y level will be damaged as if they were in the void. This will prevent players from using the nether roof. Vanilla nether is 128 blocks tall, so you should probably set it to 127. If you modify the height of the nether in any way you should set this to [your_nether_height] - 1.

. Oracle has changed their licensing, and there is no longer a compelling reason to get your java from them. Recommended vendors are and . Alternative JVM implementations such as OpenJ9 or GraalVM can work, however they are not supported by Paper and have been known to cause issues, therefore they are not currently recommended.

Your garbage collector can be configured to reduce lag spikes caused by big garbage collector tasks. You can find startup flags optimized for Minecraft servers . Keep in mind that this recommendation will not work on alternative JVM implementations. It's recommended to use the startup flags generator to get the correct startup flags for your server

In addition, adding the beta flag --add-modules=jdk.incubator.vector before -jar in your startup flags can improve performance. This flag enables Pufferfish to use SIMD instructions on your CPU, making some maths faster. Currently, it's only used for making rendering in game plugin maps (like imageonmaps) possibly 8 times faster.

"Too good to be true" plugins

Plugins removing ground items

Absolutely unnecessary since they can be replaced with and and frankly, they're less configurable than basic server configs. They tend to use more resources scanning and removing items than not removing the items at all.

Mob stacker plugins

It's really hard to justify using one. Stacking naturally spawned entities causes more lag than not stacking them at all due to the server constantly trying to spawn more mobs. The only "acceptable" use case is for spawners on servers with a large amount of spawners.

Plugins enabling/disabling other plugins

What's lagging? - measuring performance

mspt

Paper offers a /mspt command that will tell you how much time the server took to calculate recent ticks. If the first and second value you see are lower than 50, then congratulations! Your server is not lagging! If the third value is over 50 then it means there was at least 1 tick that took longer. That's completely normal and happens from time to time, so don't panic.

Spark

Timings

Way to see what might be going on when your server is lagging are Timings. Timings is a tool that lets you see exactly what tasks are taking the longest. It's the most basic troubleshooting tool and if you ask for help regarding lag you will most likely be asked for your Timings. Timings is known to have a serious performance impact on servers, it's recommended to use the Spark plugin over Timings and use Purpur or Pufferfish to disable Timings all together.

Anything that enables or disables plugins on runtime is extremely dangerous. Loading a plugin like that can cause fatal errors with tracking data and disabling a plugin can lead to errors due to removing dependency. The /reload command suffers from exact same issues and you can read more about them in

is a plugin that allows you to profile your server's CPU and memory usage. You can read on how to use it . There's also a guide on how to find the cause of lag spikes .

To get Timings of your server, you just need to execute the /timings paste command and click the link you're provided with. You can share this link with other people to let them help you. It's also easy to misread if you don't know what you're doing. There is a detailed on how to read them. To see how to fix exploits that can cause lag spikes or crashes on a Minecraft server, refer to

⚑
πŸ› οΈ
paper-world configuration
Configuring Anti-Xray
Vanilla Minecraft and Minecraft server software in version 1.20.5+ requires Java 21 or higher
Adoptium
Amazon Corretto
here
SOG
flags.sh
merge-radius
alt-item-despawn-rate
me4502's blog post
Spark
on its wiki
here
video tutorial by Aikar
LogoMinecraft exploit and how to fix them | English | HidenCloud