Choose your race. Simple and Generic.

Discussion in 'Archived: Plugin Requests' started by Noffletoff, May 4, 2011.

  1. Offline

    Noffletoff

    Hello

    I have seen a lot of rpg plugins that offer a nice variety of jobs, shops and skills, but I feel that they seem to be lacking the ability to choose your own race. I don't mean a huge selection of races, or a plugin that would interfere with the skills or abilities of other plugins, just a basic, choose one race, dwarf, elf or human type plugin.

    For example, if someone chose to be a Dwarf, they would be able to break blocks faster, or take less damage from all sources.

    Elves would be able to sprint or jump higher than any other race.

    Humans could get bonus to healing with food, extra armor, or a mixture of both races.

    See, not a huge selection of races, but just a simple choose your own generic race that lets you have some bonus, and makes you a bit unique in the rpg environement.

    Any thoughts on this?
     
  2. Offline

    DeathBanes

    Seems like a bunch of plugins mashed together to make an extra-tough epic plugin.
    If someone actually went through all the trouble to make this, then it would be pretty cool.
     
  3. Offline

    Deminetix

    Damned excellent idea, i might actually work on this after im done with my first plugin!

    I would need help working out balancing too!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  4. Offline

    valdark

    It would be nice to see all of this in one plugin. If you'd like help on balancing I would be glad to test. If you could make the abilities configurable though it would be best.
     
  5. Offline

    themanman0

    Deminetix do you need help with this? I think it would be a good idea to make this multiple plugins and distribute them like Essentials. It would be hard to make one plugin do all of this.
     
  6. Offline

    Noffletoff

    I'm glad my idea has gotten some interest, if you need help, I would be happy to help.
     
  7. Offline

    Deminetix

    Im not sure if the plugin needs to be distributed seperately for each class, i mean you could disable and enable the ones that you want for your server.
     
  8. Offline

    Ryuk

    It's still excessive, though. Some admins only want just the parts they want without having to download the entire plugin. *looks at CommandBook's "customizable" version*

    Why can't you do this with many other plugins and Permissions? Just create permissions classes based on races and give them permissions to do certain things (i.e. break blocks faster). Then when you create a "class" Permission class, just draw off of the appropriate Race class for inheritance. I know a server or two that does this and pulls it off very well.
     
  9. Offline

    themanman0

    Hmmmmm i'm not quite sure what you mean Ryuk.
     
  10. Offline

    Dark_Balor

    I see what he mean. Create a plugin that just have a lot of "rpg ability" like heal faster etc ... but each will have his own Permission Node.

    It will allow the admin to create their own class with the group. And then the balancing thing will be the job of the admin.

    I thinks that the best way to do it ^^
     
  11. Offline

    Alex Nolan

    I agree ^.^, or maybe one extension that is also available as a pack of extensions that can be dl'ed separately. This is very interesting, I would start work immediately on this if Deminetix hadn't called it first XD. Although if he needs any help I would gladly assist :D.
     
  12. Offline

    Deminetix

    Alex! Let's do this together then! I am just levelling out my Fight plugin before i start another project

    Edit: I just noticed you created noDrop, i was just talking about your plugin on another thread because i was trying to figure out how to cancel drops on death
     
  13. Offline

    Noffletoff

    Sweet, this is exciting. Mind if I ask what you have in mind for the plugin? Like, will each race be a permission node? Or will players be able to choose their race in game with a command?
     
  14. Offline

    Alex Nolan

    Sounds good :). Let me know when you're ready.

    Also, if you simply want to keep the play from dropping anything on death, make an EntityListener with the following method:
    Code:
    @Override
        public void onEntityDeath(EntityDeathEvent event) {
            if(!(event.getEntity() instanceof Player)) return;
    
            Player player = (Player)event.getEntity();
            if(!plugin.noDrop(player)) return; //only if they are set to not drop
    
            ArrayList<ItemStack> armor = plugin.armors(player); //get a list of the armor of the player
    
            for(int i=0;i<event.getDrops().size();i++) {
                if(event.getDrops().get(i) != null) {
                    event.getDrops().remove(i);
                    i--;
                }
            }
        }
     
  15. Offline

    Deminetix

    I actually succeeded by doing this:
    Code:
    public void onEntityDeath(EntityDeathEvent event) {
            Entity e = event.getEntity();
            if(e instanceof Player) {
                event.getDrops().clear();
    I reckon the idea of permission nodes would work nicely.

    For example Classes.priest node would allow players with access to this node to use books to heal other players.
    The admins will need to assign each player a race, or the player will need to apply for it. Which is sort of crap though.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  16. Offline

    Noffletoff


    You say Classes, do you plan on adding that too? I saw the heal book idea and thought it was awesome. If you could do Classes and Races that would be pretty sweet.
     
  17. Offline

    Deminetix

    No that was me getting confused. I think it should be Races, not Classes.

    I like the idea of being able to have a bonus that not everyone else on a server has, eg being able to jump twice as high (Elven) or run faster (if its possible, Quickling) or take considerably less damage (Toughskin?) and each one would have sub benefits like food healing more, health regen, healing others etcc
     
  18. Offline

    valdark

    You could add classes as well. But doing so would require quite a few more permissions groups. You would need one for each Race/Class combo.
     
  19. Offline

    Noffletoff

    Yes, this is a good idea, I'm sure you can think of a lot of race combinations and abilities to go with (Must have health regen for Trolls :D)

    Classes would be kool, maybe have a separate plugin for them. Maybe focus on races first no?
     
  20. Offline

    Alex Nolan

    Well what I'm thinking that we just make a collection of skills persay, and allow the server admin to make their own classes in a settings file as a collection of skills. Then there would be a permissions node for each created class (and maybe each skill as well). That way there can be custom classes without spamming permissions nodes, and these classes can have names and an interface.
     
  21. Offline

    Deminetix

    So in essence the plugin becomes a library of additional bonuses that the admin can sort into groups and allow users to pick just one of those groups.
     
  22. Offline

    valdark

    Exactly... you wouldn't need to specify these bonuses as Class or Race. Allow your server Admin to do this with permissions.

    Or you could set a config file to build groups and give a command /choose <groupname> to set the group. Once the group is set and the abilities are assigned it could not be changed without /change <groupname> which you could leave OP only. This way you could get around the need for permissions.

    You could have a separate file with each group and it's members listed which allows the abilities of each group to be used by those in that group.

    In this way it could be independent of other plugins or used in coordination with them.
     
  23. Offline

    Noffletoff

    May I ask how it's coming along? Or are you still working on Fight?
     
  24. Offline

    Noffletoff

    I guess there's no update on this. Does anyone else wish to take on this plugin?
     

Share This Page