ServerBooster
  • 👋Welcome
  • âš™ī¸First install
  • 📖Configurations
    • đŸ‡Ŧ🇧Language
    • 🐖Entity limiter
    • đŸ“ĻChunks optimizer
    • â„šī¸Items Holograms
    • ⚡Optimize entities
    • 🏃TPS actions
    • 📃Default configurations
  • 📔Support
    • 🐞Report a bug
Powered by GitBook
On this page

Was this helpful?

  1. Configurations

TPS actions

config_tps.yml

This config allows you to execute commands when a low TPS value is reached.

You can create as many as groups you want. Also commands are unlimited.

You can use these placeholders in commands: {tps}

This config is just an example, it's not really useful to remove items on the ground:

tps-commands:
  enabled: false
  commands:
    group_1:
      tps: 16
      delay_ticks: 36000
      list:
        command_1:
          command: "broadcast Server is lagging ({tps} tps). Please be patient. "
          delay_ticks: 0
        command_2:
          command: "broadcast Removing entities on the ground in 60 seconds..."
          delay_ticks: 20
        command_3:
          command: "minecraft:kill @e[type=item]"
          delay_ticks: 1200

Last updated 3 years ago

Was this helpful?

📖
🏃