Jump to content

Spamming spawn command lags the server

Closed 1.3.1

Covfefe
Covfefe

Posted

some players bound a key to spawn certain police vehicles and i noticed that when they spam that button, it lags the entire server with multiple 500ms nre's.  (doesn't matter if they can or cannot spawn one)

 

Can you please add a cooldown to the commands or fix this somehow?

HexOptimal

Posted

Hello, unfortunately the first thing that the plugin does when the command is ran is a permission check. This means that if I were to add a cool down this would still be checked after checking if the player has permission to use the command which would not help in your situation. I cannot think of another option on what to do as the permission check is as simple and optimised as it can be. My only advise is to warn and kick/ban players who are spam running commands that they should not be running. 

HexOptimal

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.