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

Making the command override able to use the name of the player using the command #42

Open
esuareze opened this issue Sep 10, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@esuareze
Copy link

Many commands refer to a player. Sometimes its nice to restrict a player to only use a command on himself or a variation of his name.

In my case im using carpet mod and it enables us to spawn bots. I would like to give permission to some of my players to only spawn 1 bot. And that bot would have to have the name of the player +"_bot".

So if %n enabled me to refer to the player's name, I would allow "/player %n_bot spawn".

@Gegy Gegy added the enhancement New feature or request label Jul 1, 2023
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