anyone got anything to offer?
bump
So basically, I'm making a prison server, and I have all the ranks setup and everything. It's just when I type /rankup it does say "You've ranked...
fireblast709 ok thanks for the contains part. As for Material.getMaterial("itemtotake", amounttotake") would it not work even though I have set...
Thanks fireblast709, I'll add the player sender check, just a question, how could getString(Path) return null if I've already set the default...
So basically I have a config file which allows a user to change the item and amount that they want to exchange for something else upon typing...
I created a new file in eclipse, called it config.yml and added some options in it. When I start the server, it generates an Item Exchange (the...
cheers
So basically my plugin allows a user to type /exchange and it will exchange a certain number of x for a certain number of y in their inventory. I...
Bump
That is my whole config
It's going through the parser ok . . .
Take: COAL Amounttotake: 64 Give: DIAMOND Amounttoreceive: 3 Ye I need help with the yaml. Take and give are really in line
Material m = Material.matchMaterial(s); (s being String s = this.getConfig().getString("Take")) throws an error in the console, not sure why. I'm...
What's on line 29 ? It might be 'if(Commandlabel.equalsIgnoreCase("Mon")){' use if(cmd.getName().equalsIgnoreCase("Mon")){ EDIT by Moderator:...
Stack-trace please
Thanks! Code worked nicely I just edited it so i and s get there values from the config Ehem, stack-trace error caused by line 37 (Material m =...
onPlayerJoin(PlayerJoinEvent event) Then put your code in there to tp them EDIT by Moderator: merged posts, please use the edit button instead...
No no no that was just an example I don't actually have that ItemStack. EDIT by Moderator: merged posts, please use the edit button instead of...
Separate names with a comma.