println will print to the games console not the console with the tilda key.
begin with something like this
Code
this will send "test text" to the chat window for the player running the command (/test)
ive been thinking of puting together a small discord for plugin development. let me know if you would be interested.