[Suggestion] Make it possible to kick carpet bots with /kick
ProClifo opened this issue ยท 5 comments
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.
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
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 :-)
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',
Another workaround is that /kill
is the same as /player <name> kill
for fake players iirc, if they have access to that command.
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.