Описание
# BeeNameGenerator
[](https://img.shields.io/github/downloads/p0t4t0sandwich/BeeNameGeneratorPlugin/LICENSE)
[](https://github.com/p0t4t0sandwich/BeeNameGeneratorPlugin)
[](https://github.com/p0t4t0sandwich/BeeNameGeneratorPlugin/issues)
[](https://discord.neuralnexus.dev)
[](https://wakatime.com/badge/user/fc67ce74-ca69-40a4-912f-61b26dbe3068/project/0f240003-7202-4e04-810e-e83bb007db81)
A Minecraft plugin that implements the [bee-name-generator](https://github.com/p0t4t0sandwich/bee-name-generator) API to generate bee names automagically
Link to our support: [Discord](https://discord.neuralnexus.dev)
## Download
[](https://github.com/p0t4t0sandwich/BeeNameGeneratorPlugin/releases)
[](https://maven.neuralnexus.dev/#/releases/dev/neuralnexus/BeeNameGenerator)
[](https://maven.neuralnexus.dev/#/snapshots/dev/neuralnexus/BeeNameGenerator)
[](https://www.spigotmc.org/resources/beenamegenerator.112100/)
[](https://hangar.papermc.io/p0t4t0sandwich/BeeNameGenerator)
[](https://modrinth.com/mod/beenamegenerator)
[](https://www.curseforge.com/minecraft/mc-mods/beenamegenerator)
[](https://ore.spongepowered.org/p0t4t0sandwich/BeeNameGenerator)
### Compatibility Cheatsheet
BeeNameGenerator supports: Bukkit, Fabric, Forge, and Sponge (8-11 works with the same jar)
| Server type | Versions | Jar Name |
|---------------------|-------------|---------------------------------------|
| All 1.20 (Sponge11) | 1.20-1.20.2 | `BeeNameGenerator-1.20-.jar` |
| All 1.19 (Sponge10) | 1.19-1.19.4 | `BeeNameGenerator-1.19-.jar` |
| All 1.18 (Sponge9) | 1.18-1.18.2 | `BeeNameGenerator-1.18-.jar` |
| All 1.17 (Sponge9) | 1.17-1.17.1 | `BeeNameGenerator-1.17-.jar` |
| All 1.16 (Sponge8) | 1.16-1.16.5 | `BeeNameGenerator-1.16-.jar` |
| All 1.15 (Sponge8) | 1.15-1.15.2 | `BeeNameGenerator-1.15-.jar` |
## Dependencies
- [TaterLib](https://github.com/p0t4t0sandwich/TaterLib) - Required on all platforms
- [FabricAPI](https://modrinth.com/mod/fabric-api) - Required on Fabric
### Optional Dependencies
- [LuckPerms](https://luckperms.net/) - For permissions/prefix/suffix support
## Usage
- Commands either require a permissions manager or OP level 4 in order to use them.
- You can set the "payment" item in the config, which is the item that is consumed when using the `/bng name auto` command (defaults to a name tag).
- The naming radius can be set in the config, which is the radius around the player that the plugin will look for bees to name (defaults to 10 blocks).
- Some commands require an authenticated API key to use them, which is set in the config (you'd need to host your own [API endpoint](https://github.com/p0t4t0sandwich/bee-name-generator)).
## Commands and Permissions
| Command | Permission | Description |
|------------------------------------------|-----------------------------------|-----------------------------------------------------------|
| `/bng help` | `taterlib.command.help` | Show help for commands |
| `/bng reload` | `taterlib.command.reload` | Reload the plugin |
| `/bng name ` | `taterlib.command.name` | Name a bee or get a named name tag |
| `/bng name auto` | `taterlib.command.name.auto` | Automatically name a nearby bee |
| `/bng name tag` | `taterlib.command.name.tag` | Get a name tag with a random bee name |
| `/bng get` | `taterlib.command.get` | Gets a random bee name |
| `/bng add` | `taterlib.command.add` | Adds a bee name to the database (Authenticated API Route) |
| `/bng suggest ` | `taterlib.command.suggest` | Suggest a name to the database |
| `/bng suggest ` | `taterlib.command.suggest` | Suggest a name to the database |
| `/bng suggest list` | `taterlib.command.suggest.list` | List all pending suggestions |
| `/bng suggest accept ` | `taterlib.command.suggest.accept` | Accept a pending suggestion (Authenticated API Route) |
| `/bng suggest reject ` | `taterlib.command.suggest.reject` | Reject a pending suggestion (Authenticated API Route) |
## Config
`/BeeNameGenerator/beenamegenerator.config.yml`
```yaml
---
version: 1
api:
# URL for the Bee Name Generator API
base_url: "https://api.sperrer.ca/api/v1/bee-name-generator"
# Auth Token for the Bee Name Generator API
auth_token: "YOUR_AUTH_TOKEN"
naming:
radius: 10
payment_item: "minecraft:name_tag"
```
## [Release Notes](https://github.com/p0t4t0sandwich/BeeNameGeneratorPlugin#release-notes)