Skip to content

Add "/setmaxplayers" command. - #6620

Open
Mickey42302 wants to merge 4 commits into
EssentialsX:2.xfrom
Mickey42302:setmaxplayers
Open

Mickey42302 wants to merge 4 commits into
EssentialsX:2.xfrom
Mickey42302:setmaxplayers

Conversation

@Mickey42302

Copy link
Copy Markdown
Contributor

I would like to suggest adding a "/setmaxplayers" command. This command allows a person with operator privileges to change the player limit without needing to restart the server.

GiansCode added a commit to GiansCode/Essentials that referenced this pull request Sep 25, 2026
@pop4959

pop4959 commented Sep 27, 2026

Copy link
Copy Markdown
Member

I think this PR is cool, but before considering it for merging I recommend looking at what other existing commands already do in terms of number handling and implementing translatable text, since right now what you have is hard coded. I'm also not sure what your tab complete options are trying to achieve here but realistically you probably don't need any tab complete at all on this command, the user will enter any number and get an error message if it's not a number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants