THEN WHY U NO GIVE PEOPLE TEH PLUGIN -I know, people would copy it off. I understand Thanks! I got it to work! By the way, I use you're PrepareForWar plugin Now all I need to know is how to make a new command for it like /pvp .... EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Awesome! You can use CommandHelper for that. It's my favorite custom commands plugin. EDIT: Oh, and if you mean for PrepareForWar, in my little update, I'll be adding the option to use /pvp (seems like that's what people use).
I'll try to release some version tomorrow. While I'm at it, I'll update it to 1.3.1... Hopefully it'll be released tomorrow, and approved by the day after.
Actually, the person who requested it asked for that, too... Must be common. Well, I guess I'll add that in as well. I already have the Archer class set up, actually.
Thanks Can you add class editing? That'd be nice EDIT by Moderator: merged posts, please use the edit button instead of double posting.
It's kind of hard with the way it works (since I'm assigning items to a certain slot). I might add some sort of option, but it'd be really hard to work with... It'd probably be better to compile your edited version/PM me and I'll edit and compile.
I'll do that tomorrow. But I was wondering if I have to manually through each slot? p.getInventory().setItem(0, whatever) p.getInventory().setItem(1, whateverr) p.getInventory().setItem(2, whateverrr) p.getInventory().setItem(3, whateverrrr) etc? And if they don't define it for a slot, then it's null... But is there a quicker way?
This will set the contents of the armor slots of player p's inventory to a set of Iron Armor. There is a method that you can use in order to get a Material enumeration from an Item ID. Use that method to set the armor slots from info in your config. Code: PlayerInventory i = p.getInventory(); // armor ItemStack[] armor = new ItemStack[4]; armor[3] = new ItemStack(Material.IRON_HELMET, 1); armor[2] = new ItemStack(Material.IRON_CHESTPLATE, 1); armor[1] = new ItemStack(Material.IRON_LEGGINGS, 1); armor[0] = new ItemStack(Material.IRON_BOOTS, 1); // set the players's armor slots i.setArmorContents(armor);
Awesome, thanks. Seems like this baby plugin is going to grow from a simple, completed request to something better. :3 EDIT by Moderator: merged posts, please use the edit button instead of double posting.
, how bout' making new classes support? And hey, Im sorry if Im rusing you or what not, because you look like you can do things very easily And by new classes support, I meant making um, somehow you can make classes without telling the plugin maker to do so How bout' making new classes support? And hey, Im sorry if Im rusing you or what not, because you look like you can do things very easily And by new classes support, I meant making um, somehow you can make classes without telling the plugin maker to do so My players loves the new KITPVP arena thanks to you , Also, not to make you work hard or anything. But when someone tries to use a PrepareForWar kit that's perms arent on their group, please make it say: "Sorry, you must be a higher rank to use this kit." or something like that xD EDIT by Moderator: merged posts, please use the edit button instead of double posting.
What does it currently say? I'll add a custom no-perms message option, I guess. Regarding custom classes... That'd be way too difficult for me to do. I've never worked with such open-ended stuff. I'll try to add what "common" classes people would want, with custom items option and custom name option. That way, you can basically change anything except for the number of classes. You just have to edit the existing ones.
Hey, not to hurry you or what not. But when are you gonna make the update? Are you still configuring the plugin? Or are you just doing something more important in life? Its ok. I know you have a life
I was actually out with friends tonight. Dunno when I'm going to update it, but when I start, it shouldn't take too long. Just need to replace some numbers with getConfig() stuff and things like that. Copy, paste, whatever.