Simple Java Plugin Programming Tutorial - Episode 5 - Fixes to the code.

preview_player
Показать описание
Episode five!
Lemme know if these are helping you :)

LINKS:

Thenewboston's first episode on BASIC Java:

Java:

Bukkit:

Eclipse:

Artist:

Our friends blog:
Рекомендации по теме
Комментарии
Автор

I am yet to jump into these tuts a bit busy with some building on my server, but as soon as I get the time I can not wait! Great job man, it's well explained and well presented, keep up the good work =D

Zeriax
Автор

good tutorials, i hadn´t any problems to follow

xXChinesXx
Автор

use CTRL + SHIFT + F
it formats stuff automatically in eclipse, looks much better

timoffex
Автор

Good on you for doing this but..

FORMAT!

Then you would have found that your methods were defined outside the class definition. It also helps people read the code.

chromosundrift
Автор

Nice tutorials, but need to use Ctrl-i to fix your indentations

datahunter
Автор

CTRL + Shift + O automatically imports everything it requires if there is only one choice.

tomsoo
Автор

@Minecraft13246 Yes, you replace it with the class name.

starguysoft
Автор

when it says Event.Type.(Block place or Player command) it has type with red line under it
Help?

hithere
Автор

When I hover over errors I never get any recommendations? Any idea why? I have the exact same errors as you

Koopa
Автор

Thanks Man That Really Helps

I Took It To The Next Level and made a plugin, but it doesn't work, can u see the problem if i send you the code?

MARATION
Автор

I get errors when I type in the debugees stuff

TheMCTUTguy
Автор

ORRR it's just case sensetive.
Try:
event.Type.(Block place or Player command)
or:
Event.type.(Block place or Player command)

ScripterMega
Автор

@mynthack123 Remove the first = sign. It's confusing Eclipse.

AndrioCelos
Автор

Hover over it and click 'import bukkit.org' or something like that.

ScripterMega
Автор

dont u just hate little mistakes they send u crazy

jgile