#kit help
39 messages · Page 1 of 1 (latest)
Kits:
tools:
delay: 10
items:
- stonesword 1
- stoneshovel 1
- stonepickaxe 1
- stoneaxe 1
- tripwire_hook 1 name:&cStarter_Crate_Key Knockback:1 1
@astral skiff
EssentialsX kit configuration.
If you don't have any kits defined in this file, the plugin will try to copy them from the config.yml
Note: All items MUST be followed by a quantity!
All kit names should be lower case, and will be treated as lower in permissions/costs.
Syntax: - name[:durability] amount [enchantment:level]... [itemmeta:value]...
For Item Meta information visit http://wiki.ess3.net/wiki/Item_Meta
To make the kit execute a command, add /<command> to the items list. Use {USERNAME} to specify the player receiving the kit.
{PLAYER} will show the player's displayname instead of username.
'delay' refers to the cooldown between how often you can use each kit, measured in seconds.
Set delay to -1 for a one time kit.
In addition, you can also organize your kits into separate files under the kits subdirectory.
Essentials will treat all .yml files in the kits subdirectory as kits files, and will add any kits from those files along with the kits in kits.yml.
Any file in the kits subdirectory must be formatted in the same way as this file. This allows you to define multiple kits in each file.
For more information, visit http://wiki.ess3.net/wiki/Kits
kits:
tools:
delay: 10
items:
- stonesword 1
- stoneshovel 1
- stonepickaxe 1
- stoneaxe 1
- tripwire_hook 1 name:&cStarter_Crate_Key Knockback:1 1
This is the kit @astral skiff
@torn plover The issue appears to have been caused by an additional '1' being added at the end of the tripwire_hook item. I have corrected the issue and here is the updated version of the kit:
delay: 10
items:
- stonesword 1
- stoneshovel 1
- stonepickaxe 1
- stoneaxe 1
- tripwire_hook 1 name:&cStarter_Crate_Key Knockback:1```
Ut doesnt work
Unfortunately
i really dont know why
I've confirmed the feature is working as intended in my own testing environment, so we may need to investigate other possible causes of the issue you're experiencing.
Please upload your configuration file to https://pastebin.com/ and share the link here so that I can take a look at it and assist you further.
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Dont use essentials kits
here is the link @astral skiff
There are additional spaces present in the tripwire_hook item of the tools kit which are causing the issue. Ensure that the tripwire_hook item is aligned with the other items in the tools kit.
kits:
tools:
delay: 10
items:
- stonesword 1
- stoneshovel 1
- stonepickaxe 1
- stoneaxe 1
- tripwire_hook 1 name:&cStarter_Crate_Key Knockback:1
i dont see any additionall space
Compare the dash symbol (-) you have in the line for tripwire_hook and the one above it, for example. You can notice that there is extra space present in the line for tripwire_hook.
lemme try
nope
still same
what do you mean
yes
and it says the same
Have you reloaded the configuration file to ensure that the changes have been applied?
i restarted the server instead
but still says the same
Could you please provide the configuration part for that specific kit again?
kits:
tools:
delay: 10
items:
- stonesword 1
- stoneshovel 1
- stonepickaxe 1
- stoneaxe 1
- tripwire_hook 1 name:&cStarter_Crate_Key Knockback:1
I have tested that in my environment, and it seems to be functioning correctly.
Is that the only kit that you have defined in your configuration file?
no i have more kits
tools:
delay: 10
items:
- stonesword 1
- stoneshovel 1
- stonepickaxe 1
- stoneaxe 1
- tripwire_hook 1 name:&cStarter_Crate_Key Knockback:1```
?
whats wrong
Replace your current tools kit configuration with the one I provided. Don't forget to exclude the "kits:" part.
still not working
It appears that there might be something that you are doing incorrectly, as the kit has been functioning properly on my testing environment.
so what do i do