[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.


    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.

    • /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
    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
    • Switch from sqlLite to mySql

    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.

  2. Offline


    Well if u wanted to look into it u can but it only happens in warzones that re made using TommyTony's Warplugin.

    Due to fact I assume that it blocks same team dmg so it trys to pass the event to a player on same team and it can't.
    oh and the commands dont work while in warzone due the fact it blanket bans all commadns but its own thats being addressed tho in future so not worry about that last bit. It may still happen even with same team damage enabled on both plugins about to test it but here is linke to plugin in mentions Warzones http://forums.bukkit.org/threads/mech-fun-war-v1-5-1-macarthur-minecraft-tdm-ctf-740-798.250/page-48
    Id make it an option in config but at same time you should also notify on join to pick a class before any dmg will take place ! - mainly to ease load on staff so that we can blunty be ignoratn about it when ppl bitch and not read.
    Don't reload reloading is bad. but I agree an auto save would be nice even for fall backs
  3. Offline


    I would definitely cancel the damage if you don't have the mana to use the skill. I'm running a mage and I can basically own everything with machine gun snowballing with no mana. Although with an archer type they would have an advantage with range firing regular attacks when low mana. I haven't played archer but does it use the snowball on right click? Or it's spammable when oom, I see this as a problem. I would completely disable right click attacking without having the mana. Then as default lower cost (at least with mage) of spells. I realize I can do this myself, just saying for balance purposes. I would say give mage something like a temp defense boost spell that lasts for say 10-15 secs. Call it something like Smoldering Armor (Fire based) and show them as on fire while it's active.

    On another note, ability types I think should be put into play:
    Some type of teleport spell (to or from a specific person, would need some type of permission) with high mana cost and possibly consumes some ingredients (prob a mage spell)
    Underwater breathing (rogue maybe)
    Freezing water in an area so it can be walked across (aura of some sort for a period of time)
    Maybe introduce some AoE effects like defense boost or HoT or flame aura and add in a Minstrel or Bard class.
    Some type of CC like a Mez or Charm or AoE Mez and add an Enchanter type class

    Well, just some ideas that you may have pondered already. But could make things pretty interesting.
  4. Offline


    Hi there! Your plugin has made our server a LOT more fun to play on, that's for sure! :) Have had to turn it off for now though and we're sorely missing it; We discovered you could duplicate held restricted weapons. I took a quick look through the thread to see if there was mention of this elsewhere, but i didn't spot anything.
    Have only tested this with the mage class at about level 4 so far myself, but equipping a diamond sword does what it should - tells you that you can't use it, and puts the sword into another empty slot in the item bar. If you scroll back to the weapon, same thing happens, but after a few times the weapon duplicates itself - the original stays in the selected equip box, and another appears in a free one.
    A problem when diamond swords sell for a whole lot on our server :)
    Is this a known issue? we're using 0.9.6.
    Eagerly awaiting a reply, we miss killing monsters for xp! :)
  5. Offline


    You have 2 day left until the hot fix you promised or the new version "you said end of week latest" to just reminder lol
  6. Offline

    Mark Lohstroh

    Ok, I'll put in a easy check for the event.

    Yeah, I'm actually thinking of just getting rid of the stick and I'm gonna just give the mage a 16 snowballs and have them throw it themselves so people can spam snowballs.

    As for the extra skills, I will add those after i release my next update. Which will be today :)

    I have heard of that bug but I didn't ever check it out... I'll do that now. And hopefully fix that. Do you need a full inventory for it? with one empty slots?

    Yes i know ;) and I have fixed the reload issue and the disappearing stats (or i made it happen less at least). I just wanna make sure I have all the kinks ironed out. And it appears that I do. But one more fix and maybe a style change and we will be ok :) I will release it today. No worries

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


    heeh on and last bit of my other post was about that snowball dmg if u got no mana, I think this is a good idea but should be a config option so that it pleases all.

    I had a another idea too about the hp regen that should also also be a toggable thing in the config its real OP the regen when say a lvl 3 mages trys to attacka lvl 10 mage lvl 10 is almost invincible against him. Like we had armor on but I was being healed
    by his attacks that is really odd and my players report they get heald by mobs if there defence is higher then mobs attacks.

    I would really reallly realllllly love to adjust this so personally so that I could Nerf it down a lot.
    like No hp regen or very LITTLE regen. otherwise your just invincible most the time in armor.

    so if that was do able thing in future in config that be great to adjust the how mobs respond to players level and the dmg % and heal.

    Also a MSG on player join to join a class would be good addition, as well as no DMG to players who have a class already not blanket ban on all dmg but just no dmg toplayers with a class.

    Since I haev mods that give jobs Id like to still be able to have new players farm mobs and stuff before choosing a class actually make it a config option as well so we can set the dmg if no class to block all dmg, block only mob dmg or block only player.

    You got any heads up on new version changes id like to prepair if at all possible.
  8. Offline


    i mean that my zap does the same damage as zeus arrow, it is the same skill, rangers are oneshotting everything in ym server but mages just can't

    my point is that a lvl 1 mage does the same damage as a lvl 100 mage

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

    Mark Lohstroh

    There is a reason for the hp regen thing.... Due to an error in my plugin, I was able to let people heal beyond 20 hp up to at least 200. So that would be why they are so invincible...

    And I will post a list of changes in my next post once I count them all up.

    Gotcha... Yeah, not in this version, but in the next version, I will cancel the arrow damage if the person is using arrows. It just means that arrows deal more damage than a snowball. Thats just how minecraft handles it.

    Ok, new version out. LOTS of bug fixes in this one and a couple additions.

    • 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)

    Big update. I am now ready to add more skills in to make the classes sooooo much cooler. I'm thinking of some natural disasters maybe... We'll see. I will use your guy's ideas though! You have some great ones!

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


    Woot will install new version asap!
  11. Just letting you know that Trap still replaces half-blocks with Web :p. I haven't tested with Fireball, but I can only assume it does the same thing.
  12. Offline

    Mark Lohstroh

    Yes i know. That's why I didn't put it in the bug fix list.

    That bug was just not getting solve... for whatever reason.

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


    The few times I was testing, i definately had empty slots. Will try out 0.9.7, test it some more and letcha know! Yay, update! <3
  14. Offline


    On my server we are having a problem with changing class's when a player changed there stats do not change too.
  15. group xp.. how do i make it happen
  16. Offline

    Mark Lohstroh

    I was able to dupe and then I fixed the issue.

    Their stats? like the names of the stats or just the values for the stats? The stat values are cut in half along with their xp.

    It should already be in there. Are you asking on how to code it or see it happen?
  17. how do i get people to join my group or how do i share group xp etc. i hunt with people now and the xp isn't getting split
  18. Offline


    Hey :)
    This Plugin is great, however i have found some bugs with it. I'm a Rogue and every time i try moving stuff by clicking or dragging to immediately puts it in and im unable to move it it just keeps jumping back and fourth (happens with any object).

    Please Help :D
  19. Offline


    When I type commands like "/class" I get "You don't have permission to do that!"

    How can this be fixed? Do I need a permission node?

    EDIT: I realized I have craftbukkit 860... Many of my plugins won't work with 928 though!
  20. Offline

    Mark Lohstroh

    There is no party system, and you all need to hit the mob at least once. Although, it hasn't been tested. meh....

    Ok...... is this for your inventory? I haven't experienced ANYTHING like that. are there logs anywhere?

    Shouldn't make a difference, but there is a permissions node, 'easyrpg.canrpg' for normal users, and 'easyrpg.canreload' for ops.

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


    Thank you! That did the trick.

    Hello. I have a new problem... the console has lots and lots of error messages... I'm running craftbukkit 860, I wonder if anyone who has 928 is getting the same errors...

    2011-06-26 01:45:08 [SEVERE] Could not pass event ENTITY_DAMAGE to EasyRPG
    java.lang.IllegalArgumentException: Health must be between 0 and 200
            at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:39)
            at com.ninename.easyrpg.XPHandler.handleEffect(XPHandler.java:395)
            at com.ninename.easyrpg.XPHandler.onMeleeDamage(XPHandler.java:282)
            at com.ninename.easyrpg.XPHandler.handleDamageEvent(XPHandler.java:130)
            at com.ninename.easyrpg.XPHandler.onEntityDamage(XPHandler.java:71)
            at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.java:598)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.EntityHuman.d(EntityHuman.java:531)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:861)
            at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 15, 2016
  22. Hah, that guys question makes me think that'd be really cool if you integrated this with McMMO's party system, to make XP be shared to people in your party.
  23. Offline


    Hi! I love your plugin! :D
    But now, players don't loose life anymore when attacked and can't be killed. I guess it's because they have too much stats 2 (and too much defense). It would be great if you fix it.:(
  24. Offline

    Mark Lohstroh

    Thats an issue with the leech skill. Not sure how my math is wrong but i'll fix it.

    EDIT: Duh..... they kept using it.... that guy is now invincible... Sorry.... They have about 200 health. Just to let you know.

    Interesting proposition. I will look into using mcMMO's API for that :)

    There should be a minimum amount of damage dealt. Do you know if they boosted their health beyond normal?
  25. Offline


    I verified, and, yes, they heal with attacks and their health is higher than the 10 hearts.
  26. Offline

    Mark Lohstroh

    Were they warriors with the leech spell? Cause due to my stupidity, I seem not have not put limit on the health there....... >.> darn me
  27. Offline


    No, any character with many points for stat 2 attacked by a monster regain health.
    I tried a new character with only stat 2 and the zombies heal me when they attack, I think the minimum damage would be good.
  28. Offline

    Mark Lohstroh

    *sigh* I'll put out a REALLY quick fix for both of those bugs. Like right now :)

    EDIT: Uploaded new version
  29. Offline


    Thank you very much! Now, it works perfectly. (Or at least, I didn't find any bugs)
  30. Offline


    This appears to function well now getting the xp oddly tho as in its not whole number for some mobs its like 44.2999

    I set base to 5 and doubled monster xp that is all I have done to the config for points and xp.

    be nice if rounded it self to nearest whole number.
  31. Offline

    Mark Lohstroh

    But it works right? ;)

Share This Page