Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Creating a New kit in "Essentials"

essentials tools config error make new kit

  • Please log in to reply
6 replies to this topic

#1

gr4pic
    gr4pic

    Out of the Water

  • Members
  • 4 posts

Posted 02 April 2012 - 07:49 AM

I tried to create another kit for essentials in the config.yml and i went down to the kit section to create a new one, and all goes well typing in all the items i want in the kit. i made sure i aligned all the words corresponding with the premade kits. so i save it and re run the server and i try to get the kit by typing in /kit (mykit name) and it tells me it doesnt exist. then i recheck the config  and saw that the config i edited earlier was replace with the orignal one and the one i edited was renamed config.yml.broken.1333352615185

so if anyone can help me resolve this problem please feel free to reply and thanks in advance.

Register or log in to remove.

#2

xhardcorekid135
  • Location: Florida
  • Minecraft: xhardcorekid135

Posted 02 April 2012 - 11:44 AM

Did you reload essentials with "/essentials reload" after you changed the config, or restart the server? Also don't use the item names, take the time to look up the ID's so you don't mess anything up. If you still have problems after changing the names to ID's, post your config here.
> implying I have a signature

Minecraft Hosting


#3

Lord_benjy

Posted 28 April 2012 - 10:17 PM

hi im having the same problem and i did what you said but it didnt work. this was the config that i wrote:


farmer:
    delay: 18000
    items:
     - 275 1
     - 274 1
     - 273 1
     -297 32
     - 260 32
     - 335 1
     - 295 32
     - 54 1

#4

xhardcorekid135
  • Location: Florida
  • Minecraft: xhardcorekid135

Posted 28 April 2012 - 10:59 PM

Looks like your spacing is off, try this.

  farmer:
	delay: 18000
	items:
	  - 275 1
	  - 274 1
	  - 273 1
	  - 297 32
	  - 260 32
	  - 335 1
	  - 295 32
	  - 54 1

> implying I have a signature

Minecraft Hosting


#5

afiremonkey
  • Minecraft: Afiremonkey

Posted 30 June 2012 - 03:41 AM

whenever i try whatever i type turns red and then i reload my server and what i last wrote is gone. this is what i put

  v.i.p.:
    delay: 3600
    items:
- 306 1
- 307 1
- 308 1
- 309 1
- 256 1
- 257 1
- 258 1

#6

Skullad
    Skullad

    Redstone Miner

  • Members
  • 614 posts

Posted 30 June 2012 - 03:51 AM

.yml format does not support tabs, make sure you're using spaces for everything (I know it's a hassle, but it's necessary).

I also occasionally add tabs to lines that are blank and those will cause errors as well. Check between your bit and the end of the old kits.
Since no one that's asking for help hits the +: If you see me helping someone, press the + for them! I'll do it for you too!

#7

Zero4000
    Zero4000

    Out of the Water

  • Members
  • 2 posts

Posted 13 August 2012 - 03:39 AM

View PostSkullad, on 30 June 2012 - 03:51 AM, said:

.yml format does not support tabs, make sure you're using spaces for everything (I know it's a hassle, but it's necessary).

I also occasionally add tabs to lines that are blank and those will cause errors as well. Check between your bit and the end of the old kits.

This is not true. Notepad++ (can be found here: http://notepad-plus-plus.org/) offers the option to replace TAB with Space. So when you hit TAB it will fill it in with spaces. This will solve your needing to press the space bar 3-4 times.

Now to the point of me posting. For some reason I am unable to use the command /kit starter when I try it tells me: " That kit does not exist or is Improperly defined." In the console this is displayed:

23:35:13 [WARNING] [Essentials] java.lang.Integer cannot be cast to java.lang.String

This is what my essentials config file for the Kit section looks like:

kits:
   starter:
  delay: 10
  items:
- 268
- 269
- 270
- 271
- 290
- 320 5
- 295 5

Please keep in mind there are more spaces on the forums then what i have in the config file. I had to do that so i could align them how i have it in my config file. Anyway any help would be helpful thank you.

EDIT========
These forums will not keep my numbers and words aligned in the right place idk why I can assure you that everything is lined up according to wiki