ArfieKits
This plugin requires the AttributesAPI
Introduction
Using this plugin, you can make kits really easily for your server. You don't need to mess with configuration files, you can just edit and create plugins in-game. You can add enchantments and AttributeModifiers to your kit items, and give them custom names and lores. Kits can have a cooldown so that your players can only use it once every so often.
You can use /kit help in-game to look this stuff up
Player usage
- List all kits: /kit
- View the contents of a kit: /kit view <name>
- Receive a kit: /kit <name>
- Give a kit to another player: /kit give <name> <player> (Permission is disabled by default, to prevent spamming kits without cooldown to other players)
Administrator usage
- Create a kit: /kit kit-create <name>
- Remove a kit: /kit kit-remove <name> (This can be undone by clicking a link that will appear in chat)
- Change a kit's cooldown: /kit kit-cooldown <name> <seconds> (This can be undone)
- Create an item to use in kits: /kit item-create <material|id>[:data] (Will return an ID that can be used in other item commands)
- List all items with their ID: /kit item-list
- Remove an item: /kit item-remove <item-id> (This can be undone)
- Add an item to a kit: /kit kit-add-item <item-id> [amount] (This can be undone)
- Remove an item from a kit: /kit remove-item <item-id> [amount] (This can be undone)
- Clear a kit: /kit clear <name> (This can be undone)
- Change an item's display name: /kit item-name <item-id> <clear|new name> (This can be undone)
- Change an item's lore: /kit item-lore <item-id> <clear|new line> (This can be undone)
- Change an item's enchantments: /kit item-enchantment <item-id> <clear|<name> <level>> (This can be undone)
- Change an item's AttributeModifiers: /kit item-attribute <item-id> <clear|<type> <amount> [operation]> (This can be undone)
- Get an item: /kit item-get <item-id> (Useful for testing, when not put in a kit already)
- Give an item to another player: /kit item-give <item-id> <player>
- Refresh a kit's cooldown: /kit refresh <kit|*> [player|*] (Use the asterisk (*) to target all kits/players)
Source Code
The source code of this plugin is on GitHub: https://github.com/arfie/ArfieKits Feel free to fork or do whatever you like to do with it, as long as you respect the licence (GPLv3). I will accept pull requests I like.
Permissions
- kits.get.<name>: Get the kit given by <name>
- kits.give.<name>: Give the kit given by <name> to another player
- kits.refresh.<name>: Refresh the cooldown for the kit given by <name>
- kits.list: View the kit list
- kits.view.<name>: View the contents of the kit given by <name>
- kits.help: View the list of commands.
- kits.kit.create: Create a new kit
- kits.kit.remove: Remove a kit
- kits.kit.modify: Modify a kit
- kits.item.create: Create a kit item
- kits.item.remove: Remove a kit item
- kits.item.modify: Modify a kit item
- kits.item.get: Get a kit item
- kits.item.give: Give a kit item to another player
- kits.item.list: View the list of kit items
same problem for me :,( help Arfie help...
@Noobertuberspal
Ive got that problem too. Help us Arfie!
every time i try to add items to my kit items it always says internal server error can some1 help me with the proper commands like say /kit item-create 276? i just need to know how to use the commands properly maybe some1 could post a video on how to use it
@TONIJFK
You need to define the item you want to add to the kit externally using /kit item-create, then use the ID returned by that in kit-add-item where there is now 310 in your command.
I'm sorry for the late response, I have been away.
Actually it won't let me ad items I'm trying to do /kit kit-add-item Daily 310 1 but it just won't work plz reply
Hi thanks soooo much for making this it's a whole to level to making server kits and it's so simple and I love that I can do it in game thanks man
@EbinMoraCombo
Will add in next update.
@TrueTitanZ
Can you please post the command you were trying to run, and the stack trace in the server console?
@GoldNickVII
Unbreakable isn't an actual AttributeModifier, it is just a base NBT tag. I will also add this in the next update.
@Arfie99
thanx man. i had tried it and before but when i added an item with attributes on the server the attributes were gone.by the way there is no Unbreakable attribute modifier in AttributesAPI plugin.
Hi when i tried to add a kit item it says iternal error what does that mean, im new to this stuff plz reply
Hi. I wish there would be an update that we could put potion effects in to our kits! Thanks.
@GoldNickVII
If you have this plugin installed along with my other plugin AttributesAPI, you can indeed use AttributeModifiers on your kit items: /kit item-attribute <id> attack_damage 10 add_number
It should work in 1.7.2, as far as I know it doesn't use any 1.7.5+ features. I'd say try it out and see if it works.
With this plugin will i be able to use attributes such as attackDamage, movementSpeed or maxHealth ? because it doesn't work on default. does this plugin work on 1.7.2?
Could I make it so when a player dies they can use the kit again? Not a cooldown but after they die.
@Androkai
I can look into that :) Currently in my year's finals week so it will have to wait until the weekend.
A command to give a kit to all online players via console would be difficult but really cool. Then I could create some nice timed events. Maby it's possible for you? :)
I'm going by how I abilitie type of kangaroo tals gladiator to KitPvP??