#(Isz) Ways to stress test a server?

1 messages · Page 1 of 1 (latest)

cold granite
#

I would like to test things such a pufferfish over paper and also disabling / enabling certain scripts on my server to find ways to increase TPS. But I can't really do that on the live server as it's full of players.

Does anyone know ways to emulate a load of fake players that would load the server like a real player would? So I can test locally. Thanks

compact garnetBOT
#

(Isz) Ways to stress test a server?

compact garnetBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

cold granite
agile torrent
#

chiming in a bit late, but you could always abuse /ex to execute commands and you can flag scripts on your server to only run when a flag is given;
if you're using Denizen as an example, you can use something like this:

debugging_command:
  type: command
  name: debugging
  usage: /debugging
  description: Enables Debuggy Denizen scripts
  script:
    - if !<context.args.is_empty>:
      - narrate "<&[warning]>Just use /debugging!"
      - stop
    - if <server.has_flag[behr.developmental.debugging]>:
      - flag server behr.developmental.debugging:!
      - narrate "<&c>Debugging disabled!"
    - else:
      - flag server behr.developmental.debugging
      - narrate "<&a>Debugging enabled!"

followed by adding a check for if <server.has_flag[behr.developmental.debugging]> to determine if it should run, or not. this includes while your server is live

#

ways to emulate a load of fake players that would load the server like a real player would?
im surprised you didn't get Citizens as an answer, but you can try to determine if pathfinding NPCs may resemble enough processing to weigh on the server to stress test it