[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


    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



    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.  
  3. Offline

    YaoiNinja

    How do you gain exp? It's not working on my server D:
  4. Offline

    undeadmach1ne

    what do you mean? what happens when you kill stuff? or mine coal/iron? do you not get a blue message saying 'you gained xp'? did you use the fixed version i posted recently? the xp system in this plugin and the minecraft xp bar are not related so this plugin will not fill your xp bar (just in case that is what you are expecting to see happen).

    edit - i did a quick update to remove a spammy debug msg i forgot to take out when i was testing external plugin skills. ~link~

    This post has been edited 1 times. It was last edited by undeadmach1ne Oct 22, 2011.
  5. Offline

    titog176

    u can already do that lol
  6. Offline

    Jonnie32

    People and it is possible to combine this plug-in with a plugins pvparena? That on arena when a class you choose it was possible to choose a class and from this plugins EasyRPG??
  7. Offline

    undeadmach1ne

    sadly i dont think that is possible without a lot of work. you can /resetplayer in easyrpg though, so you could temporarily be a class from easyrpg for a pvparena event, and then /resetplayer so they were back to not having a class after it was over, or choosing a different class for the next event. they would lose all of their progress and skills though. to counter that, you could edit the class.properties files (like mage.properties, warrior.properties etc) for easyrpg and give all skills at level 1 so that when a person chose a class they would have full access to it immediately. sorry that this is the best solution i can offer, and its not really a very good one.
  8. Offline

    Jonnie32

    And how to edit class.properties фаилы (as mage.properties, warrior.properties etc.) for easyrpg and to give all skills at level 1 so that when the person has chosen a class, at them was full access to it immediately.
  9. Offline

    undeadmach1ne

    easyrpg generates a .properties file for each class. they will be in your plugins/easyrpg folder. you can open them in notepad or any text editor and change the level requirement to '1' for all skills. here is an example for archer.properties:

    Code:
    #This will contain all the info for the archer class
    #The format goes like this [level of skill]:[skill name]:[skill effect]:[skill effectiveness]:[mana needed]
    #The only current effects for archers are fire, lightning, poison, explode
    1:Fire_Arrow:fire:1:20
    5:Zeus_Arrow:lightning:1:100
    7:Poison_Arrow:poison:1:80
    10:Exploding_Arrow:explode:1:100
    15:Vanish:vanish:1:10
    
    to change all skills to be available at level 1 just do this:

    Code:
    #This will contain all the info for the archer class
    #The format goes like this [level of skill]:[skill name]:[skill effect]:[skill effectiveness]:[mana needed]
    #The only current effects for archers are fire, lightning, poison, explode
    1:Fire_Arrow:fire:1:20
    1:Zeus_Arrow:lightning:1:100
    1:Poison_Arrow:poison:1:80
    1:Exploding_Arrow:explode:1:100
    1:Vanish:vanish:1:10
    
  10. Offline

    Jonnie32

    And then this edited class.properties where to place in паку plugins pvparena?
  11. Offline

    undeadmach1ne

    no leave it in /plugins/easyrpg. this is just a workaround or 'hack' way to get the result you want. they are not actually combining, you are just allowing people to choose a class from easyrpg to use when they fight in pvparena. unfortunately this is the only way i can think of to achieve what you want.

    people will have to use /class [class_name] from easyrpg before they start a pvparea event, and then /resetplayer after the event to go back to not having a class. if i am misunderstanding what you want, i apologize.
  12. Offline

    Jonnie32

    And it is possible to change plugins pvparena That classes had abilities?
  13. Offline

    undeadmach1ne

    im not sure. i have never tried pvp arena and only just looked into it because you were asking for help with it. it looks like you could set up the pvp arena config to have the same classes as easyrpg and choose the equipment they start with, and then do what i suggested above where you let players choose a class with easyrpg before the fight, and then choose the same class in pvp arena, and then /resetplayer after the battle. its a bit of a sloppy workaround to make everyone pick their class in two different plugins just to have the skills and stuff...but i think its the only way to do it. maybe ask the pvp arena dev if he is interested in adding skills to his classes?
  14. Offline

    dragosago

    can you use the magic plugin for mage
  15. Offline

    undeadmach1ne

  16. Offline

    joachim-vampire

    wow that could be nice! i'm testing it right now, give me some days and i will send you a mp if you want to come to my server =D

    edit: i've found some bugs on priest (the first class i've tested) with:

    1:Cure_Disease:cure:1:30 => does nothing except drain 30 mana (default config)
    1:Cure_Disease:cure:2:30 => does nothing except drain 30 mana
    1:Cure_Disease:heal:1:30 => heals 1/2 heart and drains 30 mana ("heal" parameter extracted from mage skill)
    1:Cure_Disease:heal:2:30 => heals 1/2 heart and drains 30 mana

    :\ well... i thing 1/2 heart it's a bit ridiculous

    mage:

    1:Fireball:fire:1:20 => trows a snowball that inflicts 1/2 damage without setting on fire and without mana cost (default config)

    warrior:

    can't yeld tools with specific lvl (that's ok)

    1:Enhance_Attack:att_up:1:10 => does not cost energy or mana (can't know if boosts att)

    Rogue:

    can't yeld tools with specific lvl (that's ok)

    1:Vanish:vanish:1:10 => does nothing

    Archer

    can't yeld tools with specific lvl (that's ok)

    1:Fire_Arrow:fire:1:20 => does nothing (i don't know if i need a wand, a sword a bow.. i've tried all of them)

    This post has been edited 5 times. It was last edited by joachim-vampire Nov 7, 2011.
  17. Offline

    WaveRider1

    HOW DO I USE THE WAND AND HEAL PEOPLE AND GET FIRE ARROWS PLZ ANWESER
  18. Offline

    undeadmach1ne

    @joachim-vampire
    cure puts you out when you are on fire. the original dev was using fire ticks as 'poison' damage so 'cure' is meant to stop that (but its also handy when you fall in lava or something).

    heal heals hearts based on your primary and secondary stats...raise those to raise the effectiveness of your skills. i am a lvl 19 priest and i can cure everyone within 25 blocks to full in one shot with group heal. also, just in case...heal only heals the caster. you need group_heal to heal others. edit - actually im not 100% sure if your stats effect your heal spells. ill test that too.

    not sure about the fireball thing. did you hit a mob with it?

    tools are restriced to level. if you are level one you cant really use anything fancy (weapons are further restricted based on your class, for example, wizards cant use bows or diamond swords).

    att_up increases the damage you do with swords. it only drains mana when you hit things as far as i know.

    havnt tried vanish but a few pages back someone else got it working so i just thought it worked.

    archer uses bow/arrows for his ranged spells (priest and wizard use either sticks or redstone torches as a 'wand'). his arrows should set things on fire when your current skill is set to fire by right clicking a book until you select the skill you want.

    ill try some tests later to make sure everything is working properly since i have not gone through each skill individually and tested them for mana usage and stuff. ill report back as soon as i can.

    @WaveRider1
    TRY THE INSTRUCTIONS MAN, THEY ARE ON THE FIRST PAGE AND DETAIL EVERYTHING YOU NEED TO KNOW. ILL PROVIDE YOU WITH A QUICK RUNDOWN THOUGH BECAUSE I AM FEELING BENEVOLENT RIGHT NOW. FIRST THING ABOUT HEAL IS THAT IT HEALS YOU (THE GUY CASTING IT). IF YOU WANT TO HEAL OTHERS YOU NEED TO LEARN GROUP_HEAL. IF YOU ARE A WIZARD OR PRIEST YOU NEED A WAND (STICK OR REDSTONE TORCH) TO CAST YOUR SELECTED SPELL. YOU SELECT YOUR SPELLS BY HOLDING AND RIGHT CLICKING A BOOK. ONCE YOU HAVE THE SPELL YOU WANT TO CAST GET YOUR WAND OUT AND RIGHT CLICK. ARCHERS WORK IN A SIMILAR FASHION BUT WITH A BOW TO CAST WITH INSTEAD OF A WAND. HOPE THAT HELPS.

    This post has been edited 1 times. It was last edited by undeadmach1ne Nov 11, 2011.
  19. Offline

    mbaxter I haz a bukkit Moderator BukkitDev Staff

    dev.bukkit.org profile:
    mbaxter
    My Plugins
    I'm marking this as inactive as you haven't updated the topic in quite some time. Let us know if you're ready to start updating again :)

    Former title, since it was too long to keep:
    [FUN/MECH/RPG] EasyRPG v0.9.7 - The easiest RPG plugin you'll use! Now with Rogues and Priests[928]

    This post has been edited 1 times. It was last edited by mbaxter Nov 12, 2011.
  20. Offline

    longcatz64

    sorry for my bad english

    why skill fireball used snowball?

    why didn't use ghast fireball for skill :D
  21. Offline

    undeadmach1ne

    the snowball is for targeting only. when it hits a mob it will start fires (or lightning or whichever spell you have equipped).
  22. Offline

    longcatz64

    oh thanks for info :)
    btw can u change color stats like mcmmo
    i don't like default color because all text blue :D

    i want change it but i don't know java programing

    This post has been edited 1 times. It was last edited by longcatz64 Nov 18, 2011.
  23. Offline

    undeadmach1ne

    thats not really a priority for me at this point. i am just keeping this working so i can use it, adding some features i requested before i knew java and quietly posting download links in this thread. there was another guy a while ago who was going to officially take over. maybe he will do it.

    the more i think about it, its super easy to do. post how you think it should look and maybe ill do it next time i find myself in a good mood and have eclipse opened...i have been too busy for the last few weeks to even work on my own stuff so dont get your hopes up too high :p
  24. Offline

    Lukáš Antl

    Pls Give me Source Code. I need translate this plugin.... And then upload in Czech Languages....
  25. Offline

    frimog

    hello.
    when will you update plugin for 1.0?
    doesn't work spell of mage and archer fire arrow.
  26. Offline

    efstajas

    It's inactive. The original dev won't update it.
  27. Offline

    frimor

    who can give me a source of this plugin?
  28. Offline

    Vath85817

    Who is taking over it and when I love this plugin but now minecraft had updated its getting very buggy and wont work occasionaly
  29. Offline

    ledodreadlow

    undeadmach1ne was updating it for himself. Someone else said they were going to take it, but I haven't seen anything come of it. Hopefully undeadmach1ne will give us a link to an update :). It's so sad because this is the best RPG plugin out there. Very easy and lots of affects.
  30. Offline

    zockingLou

    hallo guys i have a problem with this plugin when i typin /class mage (or any other class) i get a massage like " a ..... eror the command or somsthing like that i dont now waht i have to do now PS:sorry for my bad englisch [creeper][diamond] five diamonds for this plugin i hope you cann help me
  31. Offline

    FailCow

    1. Does this work for 1.2.5?

    2. I think that instead of cutting your XP in half when you switch classes that you should just be able to level up all of your classes separately. Like have a Lvl 10 mage, a level 20 warrior, lvl 10 priest on all the same accnt.

    Of course only 1 would be active at a time. To switch classes they would just have to be in like a safezone and not move for say 30 seconds (to prevent people from changing classes midfight)

Share This Page