java - Bukkit dispatchCommand not working -


i starting out java. i'm trying simulate command being triggered. i'm having troubles following:

log.log(level.info, line); //outputs "say text here"  bukkit.getserver().dispatchcommand(bukkit.getconsolesender(), line); bukkit.getserver().dispatchcommand(bukkit.getconsolesender(), "say hi"); bukkit.getserver().dispatchcommand(bukkit.getconsolesender(), "help"); 

they "unknown command. type "help" help." in server cmd window. idea doing wrong?

i found causing it; being caused me using development snapshot version of craftbukkit rather recommended build.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -