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

[Suggestion] Make it possible to kick carpet bots with /kick #1759

Open
ProClifo opened this issue Jul 8, 2023 · 5 comments · May be fixed by #1773
Open

[Suggestion] Make it possible to kick carpet bots with /kick #1759

ProClifo opened this issue Jul 8, 2023 · 5 comments · May be fixed by #1773

Comments

@ProClifo
Copy link

ProClifo commented Jul 8, 2023

This would be useful for servers that don't have /player command for everyone but you still wanna kick carpet bots as if they were players. My server uses the survival friendly /playerme script and they don't have access to /player (even moderators). Using /kick would help kicking afk carpet bots, for example if they are lagging.

@silnarm
Copy link
Contributor

silnarm commented Jul 13, 2023

There of course is a way to do this already, but the command, that would allow bots/shadows in the first place, is not available.

So it is only a problem due to the use of a script, and the fix should probably be there, or in another.
Can't fix this in playerme I think (unless you remove shadow), so try this:
kickshadow.zip

@ProClifo
Copy link
Author

There of course is a way to do this already, but the command, that would allow bots/shadows in the first place, is not available.

So it is only a problem due to the use of a script, and the fix should probably be there, or in another. Can't fix this in playerme I think (unless you remove shadow), so try this: kickshadow.zip

Thanks for the file, it worked. Only problem is now everyone can use /kickshadow, not just the few select staff members that are able to kick players. But I'll trust people not to abuse it for now :-)

@silnarm
Copy link
Contributor

silnarm commented Jul 14, 2023

No problem, didn't think of adding a permission level sorry, but you can add it very easily yourself if that is the way you want it, just open up the script and add a command_permission to the config, like so:

__config() -> {
    'stay_loaded' -> true,
    'scope' -> 'global',
    'command_permission' -> 'ops',

@altrisi
Copy link
Collaborator

altrisi commented Jul 15, 2023

Another workaround is that /kill is the same as /player <name> kill for fake players iirc, if they have access to that command.

@ProClifo
Copy link
Author

Oh they don't haha. That would make players able to kill each other 😂
Also I try not to use the ops system, because I hate it and how I need to restart to change the op level. I use LuckPerms to give command permissions, and only for kick, ban and whitelist. No gameplay advantages, even for staff.

@altrisi altrisi linked a pull request Jul 26, 2023 that will close this issue
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 a pull request may close this issue.

3 participants