Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute more operations under the command method using the new thread. #237

Open
mcqwy opened this issue Aug 1, 2020 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@mcqwy
Copy link

mcqwy commented Aug 1, 2020

I am currently working on mod, a subsidiary client of clanmod.
Its role is to allow players to use the graphical operation of clan.
With more graphics, let the player save more command input trouble.
It's like the command /clan form [name].
When I tried, I copied the execution method in your mod in my mod.
However, it is found that there is no delay in the execution of the original command, while using the same method in my mod will cause server delay.
So I try to create a new thread in the following code, and let the command requirements execute in the thread.
Now it's working very well, and there are no bugs or negative effects.
1234

@mcqwy mcqwy added the enhancement New feature or request label Aug 1, 2020
@The-Fireplace
Copy link
Member

I am working on a big performance update, and plan to get things running as efficiently as possible. I'll keep this in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants