Hello, I know theres a plugin called Heroes which pretty much adds classes but what i need now is a bit more different. Ok first of all i want a plugin, when players start they can choose between 5-6 classes/kits. When they for example has typed in the command for the choosen class (/archer etc) they shall be given a specified kit of items unique for their class. Classes: Archer. Items: Full leather armor, 1 bow, 1 stack of arrows, 1 stone sword. Warrior. Items: Full iron armor, 1 iron sword, 1 iron axe. Medic. Items: Full golden armor, 1 stone sword, 6 cooked steaks. Ninja($4.99 using the plugin Buycraft(Requires Buycraft intregation) that will unlock this feature) Items: Full diamond armor, 10 eggs(which is grenades in McRPGRaid), 1 diamond sword, 1 diamond pickaxe. Commands: /Archer = Executes the class selection for Archer class. /Warrior = Executes the class selection for Warrior class. /Medic = Executes the class selection for Medic class. /Ninja = Executes the class selection for Ninja class. Example Permission NodesThe plugin needs to be GroupManager comptiable) For selection of class: starterclass.selectclass For Admin commands: startclass.admin I hope this is possible to make and if you did i would thank you so much by giving you the rank "Developer+" that gives you extra perms(If that is allowed in the bukkit rules). If you don't understand what i mean you are free to add me on Skype, my Skype ID is: waagaard.ab
OMG Thanks! Oh and also please add me on Skype so we can talk about it. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I can make a basic commandhelper script in a minute, if you want. I'll start working. The only perm node you need to give them is: commandhelper.func.use.runas For the ninja i can explain to you later, you need to make an essentials kit and give them perms to essentials.kit.ninja If you need help with essentials kit i can just send you a pre kit configured config.yml for essentials.
I managed to do some parts myself. What i don't know how to is: How to make it so they can only type one of those commands one time, and the BuyCraft Intregation. Heres my code so far(I know I am a terrible Java Coder). Oh and also the Welcome to McRPGRaid thing is meant to display the class you've selected. Code: package me.teeheetime.plugins.starterclasses; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerJoinEvent; import org.bukkit.plugin.java.JavaPlugin; public class Starterclasses extends JavaPlugin implements Listener { public void onDisable() { } public void onEnable() { getServer().getPluginManager().registerEvents(this, this); } public boolean onCommand(CommandSender sender, Command cmd, String l, String[] args) { Player p = (Player) sender; else if(l.equalsIgnoreCase("archer")) { p.getInventory().addItem(new ItemStack(Material.272, 1)); p.getInventory().addItem(new ItemStack(Material.261, 1)); p.getInventory().addItem(new ItemStack(Material.262, 64)); p.getInventory().addItem(new ItemStack(Material.298, 1)); p.getInventory().addItem(new ItemStack(Material.299, 1)); p.getInventory().addItem(new ItemStack(Material.300, 1)); p.getInventory().addItem(new ItemStack(Material.301, 1)); } public boolean onCommand2(CommandSender sender, Command, cmd, String l, String[] args) { Player p = (Player) sender; else if(l.equalsIgnoreCase("warrior")) { p.getInventory().addItem(new ItemStack(Material.306, 1)); p.getInventory().addItem(new ItemStack(Material.307, 1)); p.getInventory().addItem(new ItemStack(Material.308, 1)); p.getInventory().addItem(new ItemStack(Material.309, 1)); p.getInventory().addItem(new ItemStack(Material.267, 1)); p.getInventory().addItem(new ItemStack(Material.258, 1)); } public boolean onCommand3(CommandSender sender, Command, cmd, String l, String[] args) { Player p = (Player) sender; else if(l.equalsIgnoreCase("medic")) { p.getInventory().addItem(new ItemStack(Material.314, 1)); p.getInventory().addItem(new ItemStack(Material.315, 1)); p.getInventory().addItem(new ItemStack(Material.316, 1)); p.getInventory().addItem(new ItemStack(Material.317, 1)); p.getInventory().addItem(new ItemStack(Material.272, 1)); p.getInventory().addItem(new ItemStack(Material.364, 6)); } } } @EventHandler public void onPlayerJoin(PlayerJoinEvent event) { event.getPlayer().sendMessage("Welcome to McRPGRaid, " + event.getPlayer().getDisplayName() + "!"); } }
So you would rather have someone spend their time coding this, than use an existing plugin that can accomplish all that you need, just so you can say it's "a developed custom plugin?" -_-