Hello, So, I'm having a bit of trouble with getting my config file path. Code: Groups: Group1: - Name1 - Name2 Group2: - Name3 Group3:  What I'm trying to do make it so the player can type in a command like /testcommand. If they type in /testcommand Group1, then it will send them all of the players name inside of the group. What I'm having trouble with is getting Group1, Group2 or Group 3 as a String to compare to my args. Here is my currently not-working code: Code: if( args == getConfig().getString("Groups.")) Thank you to everyone who helps me learn.