Usually you do this by using string.split
String split = event.getMessage().split(" ");
int myVar =...
You just put the package name in there, though the line should refer to your main class.
Just add another .Civilizations (main class name) and it...
I might give it a shot to write a plugin like this for buckit, I'll PM you when I have some progress ;)
Separate names with a comma.