-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Set the maximum number of player on the server through the config.json #1001
Conversation
# Conflicts: # src/main/java/emu/grasscutter/server/dispatch/DispatchServer.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isnt going to prevent players with a token already from logging in to the game server.
MaxPlayer detection will work in the packet handler (HandlerPlayerLoginReq) |
Is there anyway to limit player spawn monsters in world that do not reach the performance as the machine can afford? |
Will be doing this soon. |
Grasscutters#1001) * Show server status to three-party game launcher * Set the maximum number of player on the server through the config.json * modify the logical order and show the number of maxplayer to API /status/server * Now even players who have token already cannot bypass the maxPlayer check
Description
Issues fixed by this PR
Type of changes
Checklist: