[INACTIVE][FUN/MECH/RPG] EasyRPG v0.9.7 - The easiest RPG plugin you'll use! [928]

Discussion in 'Inactive/Unsupported Plugins' started by Mark Lohstroh, May 4, 2011.

  1. Offline

    Mark Lohstroh

    EasyRPG - Version: v0.9.7

    I am now going around and visiting public servers with my plugin. So if you want me to visit your server and get ideas from your people on your server please message me! I love doing it.

    NOW MCMMO COMPATIBLE!

    This is an easy RPG plugin (hence the name). There are currently four classes. Warrior, Mage, Rogue, and Archer. For each class there are two stats. A primary stat and a secondary stat. Each class has their own skills. Skills and stats will be explained below.

    Commands:
    • /rpgstats - Displays your level, primary and secondary stats and current mana
    • /points - Displays your points that you can distribute
    • /class - Lists classes you can chose from or displays your own class
    • /class [class_name] - Chooses your class
    • /points [1 or 2] [points to add] - Adds points to your primary [1] or secondary [2] stat
    • /xp - Displays how much XP you have left till your next level
    • /skill - Skills you've unlocked and lists their mana requirements
    • /skill [skill_name] - Switches your skill to that skill (Skill names are case sensitive)
    • /changeclass [class name] - Changes your class but cuts all your xp and stats in half!
    • /reloadrpg - Reloads all the constants and properties files
    • /resetplayer - Removes the player from the database allowing him to start over
    Download the Plugin


    Download SQL Lite Put in the same directory as bukkit.jar

    Requires Permissions,

    Nodes: 'easyrpg.canrpg' for normal users and 'easyrpg.canreload' for OP's

    Source Code

    Admin Info:
    The plugin creates a EasyRPG.config file where it includes customizable xp values when you kill or break blocks. For now, don't add in any extra blocks because I haven't put in any block ID recognition yet.

    Stat Info:
    When you attack, the damage dealt to the mob/player goes like this.

    initial damage * 1.03 ^ firstStat

    And defense goes like this

    1.06 ^ secondStat

    Very Simple


    When you level up, your mana will go up also. It goes up as much as your first stat.

    Mana regenerates every second and more regenerates when you add points to your second stat.

    All mage skill are used by a right clicking when holding stick (Wand or Redstone Torch). Archery skills work when you shoot an arrow. Depending on what your current skill is thats what will happen. Warrior skills are mostly passive. Leeching health is the only thing thats not passive. And it happens when you hit someone.

    Configuring Skills:

    To configure a classes' skill, you need to open up their config file. In there, you'll find the default skills. To make your own skills, you'll need to follow the format. The format should be included in the config file but here it is for reference anyways.

    The format goes like this [level of skill]:[skill name]:[skill effect]:[skill effectiveness]:[mana needed]

    So and example for a weak fire ball would be. 1:Weak Blast:fire:1:20

    [level of skill] is just what level the player needs to be.
    [skill name] is the name that the user will have to type in to switch to that skill
    [skill effect] is the effect that the skill will have on impact. They are pretty easy to figure out.
    [skill effectiveness] is basically how hard the skill will hit. You can currently only put 1 or 2 in here currently. But a 2 will have more effect than a one basically.
    [mana needed] is just the amount of mana needed to cast a spell.

    Skill Effect List - These are the exact effects that need to be put into the config file
    Show Spoiler


    Warrior - Can only use swords
    • att_up - Passively increases warriors attack
    • resist - Resists any skill effect cast on the warrior. The mana for this should be decently low to make the warrior a more appealing class. Note: Skill effectiveness will not change the efficiency of the skill.
    • leech - Leeches health
    Mage - Can't use a bow or above an stone sword
    • fire - Casts a fireball at the user, only catches on fire if the spell hits
    • heal - A healing spell. Note: The efficiency if this spell should be set to 1 and the priests heal set to 2 just to make the priests a bit nicer.
    • lightning - Casts one or five lightning bolts on the entity if the spell hits
    • explode - Creates an explosion if the spell hits the entity
    Archer - Can't use above an stone sword
    • fire - Same as mage, only if the arrow lands
    • lightning - Same as mage
    • poison - Right now, catches the user on fire for so long. So less powerful than the fire arrow.
    • explode - Same as mage
    Rogue - Can use bows and swords
    • vanish - Lets the user vanish from sight and do anything he likes. Until he reappears. Used by sneaking
    • trap - Traps the user in a spider web so the rogue can finish them off
    • poison - poisons the hit entity
    • STEALING TO COME
    Priest - Can't use a bow or above an stone sword
    • cure - Cures the user if the user is on fire.
    • group_heal - Heals everyone in the priests range. ALSO HEALS OTHER PEOPLE ALSO
    • heal - Recovers a certain amount of health. Note: Efficiency should be set to 2
    • barrier - Puts up a 3X3 barrier of cobble stone for protection. Note: Skill efficiency has no effect on this
    • passive_heal - When this is the priests current skill, and mana permits, the priest will regain health over time
    • cure_all - Cures everyone in the priests range of fire


    Known Issues:
    • People can work around the weapon restriction. (will be fixed in v0.9.7)
    • Fishing rods have the same effect as a arrow if the player is an archer
    TODO:
    • Switch from sqlLite to mySql
    Changelog

    Show Spoiler


    Version 0.9.7 - MORE BUG FIXES!

    • Permissons support has been added! 'easyrpg.canrpg' for normal users 'easyrpg.canreload' for OP's​
    • Stat names now change along with the class​
    • Invisiblity issues are fixed​
    • The book scrolling is finally fixed, NOTE: In order for this to work correctly, in the config file, you must line the skills up going from lowest level needed to highest level needed.
    • Leech SHOULD be fixed.​
    • Monsters are nastier and you can now defend against them​
    • Block xp should scale now.​
    • Fixed the stats disappearing and reload issues. You can now use /reload all with my plugin!​
    • Fixed the healing players when you attack them. (Thats probably why you couldn't kill anyone :p)​
    Version 0.9.6 - Mainly just a bug fix update
    • Hopefully fixed the disappearing info for the players NOTE: Not completely
    • Priests' barriers only last for 30 seconds
    • The stat system has been redone.
    • Monsters are now more powerful and you will now have defense against them.
    • Added more commands, allows for my plugin to reload my constants
    • CHANGED THE .CONFIG FILES TO .PROPERTIES YOU MUST SWITCH THE STATS OVER. This change was made due to some ftp clients not being able to handle .config files.
    • Changed /add to /points
    • Fixed the healing issues and mana draining NOTE: Nope...
    • Group xp now hopefully working ;)
    • Half step disappearing when lit on fire SHOULD not happen now.
    Version 0.9.5
    • Fixed the rogue reappearing bug
    • Xp now scales up when you are a higher level
    • Fixed stupid typos in my source
    Version 0.9.4
    • Added priests and rogues
    • Added skill effects for priests and rogues
    Version 0.9.3
    • No more sneaking for mana. Mana regens every second
    • Heal actually heals
    • Effect group_heal has been added, not tested yet.
    • Inventory null pointer fix
    • mcMMO compatible
    • changed /stats to /info
    • A redstone torch now acts as a wand
    Version 0.9.2

    • Bug fixes!
    • No more negative mana
    • Fast skill switching via right clicking while holding a book.
    • Found bug that i was surprised that no one complained about...
    • You will find a rouge.config, but don't screw around with it, it won't get you anything and you can't choose it yet. Thats in v0.9.3
    • I toned down the attacking a LOT. So all damage dealt is now multiplied by 0.2 so we don't have someone how just boosts his first stat a ton.
    Version 0.9.1

    • Fixed issues with fire destroying non-air blocks.
    • Fixed the calculations for damaging mobs.
    • Removed the weapon just disappearing and reassigned it to another empty inventory slot.
    • All skills are customizable and scalable! They are in their own config files in the EasyRPG directory
    • All you need is the jar file to run the plugin now. The plugin will take care of the rest.
    Version 0.9
    • Published the plugin

    This plugin may not be worth donating towards yet, so thats ok. Don't feel obligated.

    [​IMG]
     
  2. Offline

    Chanito

    Bug: By placing a diamondsword on the last slot in the inventory and scrolling fast up and down you can make infinite diamondsword and probably other items... Thats a bug when you are not able to wield it, so it just replaces them with more, would be great if you could fix it as soon as possible.
     
  3. Offline

    MajorTwitch

    Out of all the RPG mods have played tested lately this one isn't best. However, I feel has it great concept behind it that just needs refining to make it awesome.

    ------------=======------------​

    I would like to suggest that you break the stats down into three things: Offense, Defense, Power. The current formulas for damage and not taking damage just seem half-hearted and hurt the fun of the plug-in. I believe your want people to be able to gain offense ability at the cost of defense or the opposite effectively never letting a player have to the best of both worlds. So have came up with some math that keep everything in balance as levels progress. This progression would have the mana pool and regeneration increase with level.
    By investing points into a stat it goes towards increasing its rating:
    • The base rating of stat is one.
    • The current rating of stat is found by the total in the stat divided by the player's level plus the base.
    Offense Rating:
    • Base damage is one.
    • Damage done is base multiplied by Offense Rating multiplied by skill efficiency if applicable.
    Defense Rating:
    • Divides the incoming damage by the Defense Rating.
    Power Rating:
    • Multiples the mana pool by the Power Rating.
    • Multiples the mana regeneration by the Power Rating.

    What this does is two key things, first your can easily maintain your damage-done to damage-taken ratio (going 1:4 2:1 each level will not keep a 4:1 ratio). Second a max offense player hitting a max defense player will deal one damage and the max defense player will only deal one damage to max offense player. This keeps offensive and defensive players on equal footing through out the levels.

    ------------=======------------​

    Hotkeys: to allow people to more easily switch between powers during combat you bind skills to class related objects, skill binders. When holding the item type you would cast the power bound to that type. For example a mage could type:/Bind Fireball Book when you have a book out you cast fireball. /skill Heal would bind the skill to currently held object if it is a class object.

    ------------=======------------​
    Skill suggestion time... these are skill set replacements. It would great to also get a command that would have the game tell you how much mana you have left after casting a spell. Like /mana use on.​

    Warrior
    Can axes, picks, and swords they all function the same way
    Skill binders: Axe, Pick, Sword
    • Bonecrush Strike: Deal 60% more damage on an attack.
    • Rest: While sneaking you regenerate health.
    • Charge: Move 70% faster while draining mana. Casting toggles it off and on.
    • Rage: Reduces in coming damage by 50% for seven seconds
    • Windslash: the warrior makes a ranged attack, instant travel deals normal attack damage.

    Mage
    Can't use a bow or above an iron sword
    Skill binders: Book, Red Stone Torch, Stick
    Make them instant casters, increase the mana costs but the whole gravity bound slow moving snow ball subtracts heavily from the class.
    • Sear: Damages the target, if the target is a block lights on fire.
    • Phoenix: Fire damage heals you. You do not continually burn once ignited with this skill equipped. Casting ignites you keeps you burning while draining mana. Casting toggles it off and on.
    • Teleport: Teleports the mage a medium distance in casted direction.
    • Entomb: Creates a 3x3x4 box of obsidian around the target or at the target location that lasts for seven seconds. Cast should be able to encase himself too.
    • Pillar of Creation: creates a 3x5 cylinder of type 11 lava last seconds equal to Offensive Rating. Skill efficiency increase duration.

    Archer
    Can't use above an iron sword
    Skill binders: Bow, Rose, Sword
    • Flaming Arrow: on impact it ignites the target, creature or block, on fire
    • Rest: While sneaking you regenerate health.
    • Superior Position: Jump 3x higher and fall 3x farther before fall damage while draining mana. Casting toggles it off and on.
    • Uncanny Aim: For seven seconds attacks deal 200% normal damage.
    • Explosive Arrow - on impact causes an explosion.

    Rogue
    Can use bows and swords
    Skill binders: Bow, Red Mushroom, Sword
    • Vanish: Lets the user vanish from sight and do anything he likes, drains mana. Toggles it by sneaking.
    • Trap: Puts target in a 3x3x4 box of web for seven seconds. (collecting web for later use is way to fun)
    • Poison: Causes three hearts of damage over time
    • STEALING TO COME:
    • Assassination: The attack deals 400% normal damage

    Priest
    Can't use a bow or above an iron sword
    Skill binders: Stick, Paper, Book
    • Prayer: While sneaking you regenerate mana faster.
    • Cure: removes fires and poison.
    • Healing+Healing(self): Two different skill unlocked at same time. Heals the target for hearts equal to Offense Rating.
    • Barrier: Puts up a 3X3 barrier of cobble stone for protection. Last seven seconds. Skill efficiency increases the dimension of this.
    • Smite: Calls down lightning upon the target, dealing damage and igniting the target.
     
    MadcowD likes this.
  4. Offline

    Phoenix Arisen

  5. Offline

    Misoa

    Hey, can you make a Class where there is a Warlord (for ops)? As in you can use everything but on the first level you start with low items? Because I want to be able to do magic but still use the bow and swords..
     
  6. Offline

    Nagato

    Hi Mark,
    I'm using your Plugin in a server i have recently created. The server itself is a Heavily PvP Oriented Survival/Free build with RPG elements in it. Do check it out if you want to see your plugin in action!

    http://minecraftex.wikia.com/wiki/Minecraft_EX_Wiki
     
  7. Offline

    Lekegolo

    First of all, fantastic work, me and my friends really like it, and now I'm going to suggest you change all sorts of things about it :p

    I noticed that a while back you made it so that with each level you go up, you get more xp... why not just change the formula that determines how much xp you need to level up? I find it annoying when a game just throws zeros on to the ends of numbers for no real reason... that's actually why I always hated yu-gi-oh as a kid. 50 atk points should have just been 1!

    Perhaps...

    if base xp=4

    Proposal (base)*((playerLevel+1)^4)

    L 1 = 64 xp
    L 2 = 324 xp
    L 3 = 1,024 xp
    L 4 = 2,500 xp
    L 5 = 5,184 xp
    L 6 = 9,604 xp
    L 7 = 16,384 xp
    L 8 = 26,244

    Current (base)^(playerLevel + 1)

    L 1 = 16 xp
    L 2 = 64 xp
    L 3 = 256 xp
    L 4 = 1,024 xp
    L 5 = 4,096 xp
    L 6 = 16,384 xp
    L 7 = 65,536 xp
    L 8 = 262,144


    The proposed formula will provide a smoother level of progression while still creating a faux upper limit via insane amounts of xp required. It does however slow down the starting levels a bit, this may not be a bad thing.

    Also, for your primary and secondary stats I think a good set up would simply be

    attack= baseDamage*(n^points)
    defense= baseDefense*(n^points)

    I think n would work well as something between 1.05 and 1.01. This will allow damage and defense to scale up exponentially, without making it completely insane. Something to note about your current system, if two players with a high enough first stat and a low enough second stat meet in combat, whoever hits first will probably kill the other in one blow. With this system attack and defense are not really inverse as you have it, but putting points into one still means that you're not putting points into the other, which gives it a similar but toned down effect.

    I don't recall seeing the mana formulas so I can't really comment on those.

    Feel free to ignore my suggestions lol.


    P.S. Can you make Vanish work on Mobs?
     
    MadcowD likes this.
  8. Offline

    smokie

    I think i have found a bug with the archer and their dex. A player on my server only put his points into dex. At level 10 one shot from his explodeing arrow hitting a mob would take out a area larger then 64x64. i had a archer that was level 15 that went 3:2 on my dex/str and my expldeing arrow would only leave a hole about the size of a creeper.

    It would be nice if there was a way to edit players stats, level, and class using ingame op only commands. Is it possable for warriors and rogues to use two weapons at once? If not maybe let them enchant their weapons useing a alter or mage. I realy like the book idea but maybe it should defalt to none and not your top skill. Sadly i have had to fix alot of stuff due to it defauling to my highest skill.

    I realy like this mod and hope you keep working on it. It gives me the feeling of what is missing from the game as it is now.
     
  9. Offline

    Mark Lohstroh

    Hm, well my plugin doesn't work with reload. And i have no idea why. I just tell people not to use that command. I'm not sure why it resets people sometimes, probably the way i store the data, i'll fix that in my next release. I'll just have to figure out a way to transfer all the data over so the admins don't have to do it. And this is the first i've ever heard of this error occurring. I've heard of the reload issue but not the overwriting. I'll deal with the issue as soon as i can.

    Oh, I love those formulas. And that would nicely fix the issues I've been having with imbalance. I'll put MOST of that in in my next release.

    Really? I'm not sure thats a bug cause that sounds like server lag. but i'll look into it.

    Not a bug, its just how I deal with with scaling the stats. And I'm changing that. Soon...

    I'll take a look in the next week or so. Thanks!

    I'll look into it. Possibly next week.

    Wow... thats a lot of ideas. I'll take a lot of those skill ideas, but as for the stat handling. I'm not entirely sure if I wanna rewrite my code base to fit that, and then have it not work AS well. Someone else suggested another idea for stats and it seems a bit better and easier to implement. We'll see. I dont' have time to put this all in till next week.
     
  10. Offline

    Hex

    I looked at your wikipage, and I was wondering, does mcMMO and Levelcraft go well together? Or would you recommend only running one of them.
     
  11. Offline

    Nagato

    @Hex,

    Levelcraft Puts a level limitation on the weapon / tools and a few more loot maybe damage modifiers.

    While mcMMO gives the tool / weapon an activatable ability with right click, and extra modifiers.
    This one actually took me a while to think about and its working pretty good at the moment. I kind of categorized them as Skill and Ability for the sake of reducing confusion. since there would be two different levels to woodcutting, mining and excavation.

    In conclusion... Yes you can have them both on and i haven't experienced any errors or such. the hard part is letting your players know which woodcutting level is which.
     
  12. Offline

    l5p4ngl312

    On factions: I would rather not have them as people can just use the Factions plugin
     
  13. Offline

    Lekegolo

    Glad I could help. I'd like to offer my assistance with any formulas/game mechanics you might want to add, maybe I could help some of these fine forum goers to flesh out their ideas a bit and make them potentially easier for you to implement? It's work I rather enjoy, and potentially speeding up the release cycle or quality of a mod I like to use is a fantastic benefit.
     
  14. Offline

    l5p4ngl312

    How do you use the Rogue's trap?
     
    MadcowD likes this.
  15. Offline

    Mark Lohstroh

    Yeah, i've decided to not put factions into THIS plugin. However I am creating a factions plugin that makes the whole faction deal much easier.

    If you have ideas, please tell me!
     
  16. Offline

    Lekegolo

    hmm well... I seem to recall a problem with setting mobs on fire and not getting xp, perhaps you could have it so that the fire damage from arrows and fireballs won't put an NPC past the smallest amount of health possible... that way you could just tap them to kill them and get the xp. Or maybe for the poison spell you could make it so that the player sort of... psedo-attacks the mob repeatedly until a timer is up... make it so they hit no matter where they are or where they are looking (not sure if that's possible).

    I've not had a chance to use books yet for quick skill changing, so I'm not sure how it works... but perhaps somehow implement a quick mana checker into them as well, so you can easily check how much mana you have? Maybe every time you switch to the book have it output Mana: n/total to the chat?
     
  17. Offline

    SolarLunar

    thank goodness lol i think levelcraft is ingenius in that they make add ons instead of one huge plugin, i hate when a plugin goes too far beyond what its meant for and then ends up with tons of stuff i dont want and causes conflicts xD
     
  18. Offline

    ledhead900

    lol you missed my ideas post again.!!! I even moved it to a new post so u would see it..... #232
    anyway moving on.

    The issue I talked about appears when servers do a stop and restart as well in not limited to a reload it appears it just forgets to save I think but as you saw it clearly duped people instead ot picking up there old ID..
     
  19. Offline

    Tiger0101

    Hey i really like this plugin, it works great, except wen i reload the server everything resets, i downloaded the sqlite and everything but it wont save my class and xp and other peoples on the server, do you know how to manually save peoples stats or?
     
  20. Offline

    Rurikar22

    Too many Slash commands. Simpler to use Dyes as mana or something so you have a visible stat. Too many slash commands to really be a viable "RPG" style solution. Still an awesome mod.
     
  21. Offline

    MattxAus

    someone -may- have said this, but i dont think they have. anyway, tthe mage is severly limited in its healing ability as it cannot heal to max hp, ever. if you heal 4hp per castt, and are on 8, it will burn mp, and say you dont have enough mp to cast (and not putt you on 10hp), if youre on 6 hp even, it wont do it. -sometimes- when youre on 5.5 it will, but often it wont. there needs to be some kind of hp overflow, much like what regular foods have, as youre able tto eat grilled pork and stuff, to heal 0.5 of a heart etc.
    (not being a server mod/admin i dont have any server files to upload to show setup, but im fairly sure it may be a problem inherent in the coding)
     
  22. Offline

    ledhead900

    Matt I can increase it lol or de- crease the mana used for it :p. I think there is a new base system comming in next version that should make overall balance a whole lot better.
     
  23. Offline

    Mark Lohstroh

    I didn't miss the post. I just didn't respond to it. I can't do any programming right now so I'll see what I can do when I start programming again.

    And yes, I am going to just change the way i save players now. And (hopefully) transfer all the old database stuff over so you guys don't have to do it manually.

    You cannot reload the server for now. I have NO clue what exactly that does, and it breaks most plugins anyways. I will try to see what happens. Just dont reload the server.

    Yes, I know exactly where the problem is. When I get back to updating it I shall fix the issue. And how much overheal? You have 20 HP total. Maybe like 25-30?

    Why yes, yes there is. (I'm making NOTE of this post so you don't think I overlooked it :p)
     
  24. Offline

    Pawned

    Could you perhaps add a races system to this plugin, aswell as the classes? You could have the races have positive and negative effects on the classes, for example you could have Elves, who would naturally be better at Archery and other races like Humans who would naturally be better at being Warriors. I think that adding races into this plugin will easily make it the best RPG plugin in the whole of Bukkit.

    Also, if you do add in races, could you please make an API to allow plugins to obtain a players race/class? (This could be useful for chat plugins)
     
  25. Offline

    Mark Lohstroh

    I could. That will unfortunately have to be in a later update since I have to fix all these annoying bugs people are complaining about and redo the stat system. And yes, I'll put in an API if I add races.
     
  26. Offline

    l5p4ngl312

    Request: Add xp-sharing party system. I tried to go out and team up with my friend to level up and he is a mage. If he lit something on fire and then i finished it off even with just a single swipe I get all the xp and he gets none.
    Question: Can mages heal others or is that only for priests?
     
  27. Offline

    fbb338

    Hi mark, How do rouges use Vanish?
     
  28. Offline

    Lekegolo

    You hit shift (sneak/crouch/whatever) It only makes you invisible to players btw, not mobs. Oh and make sure you have it as your selected skill (hit t then type in "/skill" without the quotes to see what skills you have, "/skill Vanish" to make vanish your main skill).
     
  29. Offline

    Sheldor_TC

    Permissions support?
     
  30. Offline

    ledhead900

    No rush mate, Was just looking to hear your thoughts on the ideas the issue was coverd already .. and I know you will get to it when ever u get to it there plenty more important things in life then code I get that.
     
  31. Offline

    olimoli123

Share This Page