Описание
# CarpetBotRestriction
**UPDATE: USE THIS MOD INSTEAD: https://modrinth.com/mod/carpet-bot-limit**
Important: version 1.1.0 is broken, use 1.1.1 instead!
Allows non-operator players to control only the carpet bots that they spawn and limits the bots they can spawn.
**NOTE:** You must have carpet installed and set **/carpet commandPlayer true** for the mod to work! This will allow non-op players to spawn bots. To set this perminantly, run **/carpet setDefault commandPlayer true**.
Includes LuckPerms support (optional)
## Config:
If LuckPerms is installed, using the `/cbr` command requires `carpetbotrestriction.config` or ops level `3`.
* `/cbr defaultMaxBots []`: set the maximum bot limit.
* `/cbr removeOnDisconnect []`: if true, when a player leaves the server their bots will be removed.
* `/cbr player [] maxBots set []`: set the maximum bot limit for a specific player.
* `/cbr player [] maxBots unset`: player will revert to using the defaultMaxBots limit.
## LuckPerms permissions:
### Regular permissions:
* `carpetbotrestriction.user.create_own`: allows user to create a new bot (default: `true`).
* `carpetbotrestriction.user.manipulate_own`: allows user to manipulate/remove the bots they create (default: `true`).
* `carpetbotrestriction.user.shadow`: allows user to shadow (default: `true`).
### Admin permissions:
* `carpetbotrestriction.admin.create_unlimited`: allows user to create unlimited bots (default: ops level `2`).
* `carpetbotrestriction.admin.manipulate_all`: allows user to manipulate all bots, not just their own (default: ops level `2`).
* `carpetbotrestriction.admin.create_real`: allows user to create bots of players that have logged onto the server (default: ops level `2`).