https://github.com/john-paul-r/kits
Permissions-based player kits for Fabric Servers.
https://github.com/john-paul-r/kits
Last synced: about 1 year ago
JSON representation
Permissions-based player kits for Fabric Servers.
- Host: GitHub
- URL: https://github.com/john-paul-r/kits
- Owner: John-Paul-R
- License: mit
- Created: 2021-07-22T15:55:59.000Z (almost 5 years ago)
- Default Branch: 1.21.1
- Last Pushed: 2025-01-04T18:07:16.000Z (over 1 year ago)
- Last Synced: 2025-03-18T13:44:11.365Z (about 1 year ago)
- Language: Java
- Size: 497 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README

# Kits
Permissions-based player kits for Fabric Servers.
[][releases]
[][modrinth:files]
[][modrinth:files]
[][curseforge:files]
[][releases]
Kits is a **Minecraft mod** for [Fabric][fabric] servers that adds configurable,
permissions-based player kits. This allows server owners to easily set up
batches of items that their players can claim, depending on their rank.
Additionally, kits can have a predefined cooldown, so that players do not get to
use them infinitely.
**Compatible with LuckPerms**
## Usage
### Adding Kits
Command: `/kit add `\
Requires Permission: `kits.manage`
To add a kit, simply place the items you would like to be included in this kit
anywhere in your inventory and run the command `/kit add`.
### Claiming Kits
Command: `/kit claim `\
Requires Permission: `kits.claim.`
For players, claiming kits is simple. They simply type `/kit claim `.
If they have permissions to use the specified kit, and that kit is not on
cooldown for them, they receive the kit in their inventory (or on the ground if
their inventory is full.)
Brigadier suggestions are enabled, and will only suggest kits the player has
permissions for.
### Removing Kits
Command: `/kit remove `\
Requires Permission: `kits.manage`
To remove a kit, simply type `/kit remove `. This *irreversibly and
completely* **deletes** the specified kit from the server, for all users.
### Reset Player Kit Cooldowns
If, as a moderator, you wish to reset a player's kit cooldowns, allowing them to
regain access to already-claimed kits, you can do so with the following commands:
#### Reset a single kit
Command: `/kit resetPlayerKit `\
Requires Permission: `kits.manage`
#### Reset all kits
Command: `/kit resetPlayer `\
Requires Permission: `kits.manage`
## Advanced
**Kits** stores most of its data in `nbt` files, using Minecraft's NBT format.
You can modify and create such files with a tool like [NBTExplorer][nbtexp].
### Kit Config Files
If, for whatever reason, you wish to configure kits manually, instead of using
the built-in commands, you can do so by modifying the kit files directly.
Kit files are stored in the directory `config/kits` in Minecraft's NBT format.
This allows you to modify kit contents or cooldowns after creation, or even add
entirely new kits.
### Player Kit Usage Files
Whenever a player successfully claims a kit, the time at which this kit was
claimed is recorded in a user-specific file named `.nbt` in the directory
`world/kits_user_data`.
If you wish to reset or modify when a user can next use a kit that they have
already claimed, you can edit the time specified in this file (stored as
[milliseconds since Epoch](https://www.epochconverter.com/)). To reset all kit
cooldowns for a given user, simply delete the nbt file that corresponds to them.
---
## Contributing
Thank you for considering contributing to Kits! Please see the
[Contribution Guidelines][contributing].
## Licence
Kits is open-sourced software licenced under the [MIT license][licence].
## Discord
Questions? Contact me in [my Discord server][discord].
[nbtexp]: https://github.com/jaquadro/NBTExplorer
[contributing]: .github/CONTRIBUTING.md
[curseforge]: https://curseforge.com/minecraft/mc-mods/kits
[curseforge:files]: https://www.curseforge.com/minecraft/mc-mods/kits/files
[modrinth:files]: https://modrinth.com/mod/kits/versions
[fabric]: https://fabricmc.net/
[licence]: LICENCE
[minecraft]: https://minecraft.net/
[releases]: https://github.com/John-Paul-R/kits/releases
[security]: .github/SECURITY.md
[discord]: https://discord.jpcode.dev/