[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

    Mark Lohstroh

    yes... i know. Once I get that stabilized I should be in much better shape for getting cooler skills in.
     
  3. Offline

    KhaosDiem

    Some of my players can use some skills without mana. Ex: it says you have no mama but you can shoot as many fireballs as
    You want... I check the config in thenplugins folder and checked the mana and it was 20... Is this a glitch or is it just me?
     
  4. Offline

    Mark Lohstroh

    Is it just with the fireball skill or is it with any skill? And is there a error log?
     
  5. Pretty sure Khaos is mistaken. When you don't have mana you can continue to shoot snowballs, but this won't catch the person on fire.
     
  6. Offline

    KhaosDiem

    Ahhh... Yes. I was mistaken.. I'm sorry. Best plugin for RPG class use. Very helpful in the role of a rp server
     
  7. Offline

    delanah

    hmm... nope=(
     
  8. switching skills with book is now broken
     
  9. Offline

    Mark Lohstroh

    It's been broken, and I have fixed it on my current dev version.
     
  10. Offline

    ledhead900

    Think you could quick patch it?

    Suggestion explode is kinda OP maybe replace it with some kinda of hover or blink spell.
     
  11. Offline

    Mark Lohstroh

    A lot of things are patched in my dev version. I wanted to hunt down this disappearing stats issue before i released my version though. And I will including a lot of skill effects after this version. Would you guys be ok with the disappearing stats if I released this version?
     
  12. Offline

    ledhead900

    Hows exactly do stats disappear ? Id rather wait my peep outrage over the resetting of levels lol.

    I did some re balances of my own as I felt the classes were a little TOO alike currently I tried to go with the idea that each class was GOOD at a certain role and such I mucked around with the class skills a bit reflect this.

    oh and I'm wondering how come the Poison for archer does fire I know u said its broken but how why couldn't u just take what was in rogue and apply it to arrows, also are you any closer to nailing down the spells firing with wrong items such as arrow and mage casting.

    I will upload it if u wish to take a look it will no doubt change as it's not perfect but it at least gives each class a definitive suit of strong ability over a class not designed to do what it does.

    I included it anyway just in case you like to see what I did.

    But as a rundown

    I basically enhanced what I would call each of the classes Natural Strengths for its role as to further separate a reason to choose it over another class as right now all classes share pretty much the same skills.

    My goal, to make the skill specific for the proper role standout. Oh but I removed Explode completely as it was totally op and more often than note caused accidental team structure damage and I got sick of rollbacking accidents.

    I also doubles the exp amount as the defaults were a but lets just say exhausting it still takes an effort to get to lvl 10 tho only it now rewards you better for making time to HUNT the better exp rewarding things.
     

    Attached Files:

  13. Offline

    Mark Lohstroh

    To be honest, I'm not exactly sure HOW they disappear. I was gonna look into that today. But it seems to me that the stats just disappear when in game. Not sure why exactly but it happens. And the Poison isn't broken, not sure when I said that, but that was an easy way for me to do a poison effect. I will put in a DOT effect of my own soon.

    I am also thinking of changing a couple of skills but we shall see how that all plans out. I will take a look at your configuration.

    And are you saying you'd rather have my update now or wait for me to TRY to crush this annoying bug.
     
  14. Offline

    ledhead900

    I would hold it off as much as you and I would be eager to get it out there I think we are on the same page when I say server owners would rather wait the extra day or two then be swamped with users bitching about loseing stats every time server restarts. I only run like 12 players max daily and even I got swamped by ppl QQ about the fact that in v9.5 the class levels and stuff got reset on reloads.

    As for the skills tho all I really did was add a tier 2 to some of the lacking classes and changed thier effective ness to 2 based on what you would expect from the role.

    with the only exception being the rogue as he lacked skills full stop he gets a effective ness 2 on all his skills but vanish.

    Oh and with the new stat system did we have to replace our sql data file or was that fine and we just had to merge the classes data to the new properties format.
     
  15. I myself haven't seen, heard of or experienced this stats disappearance bug, so I personally would like you to release your current dev build. Assuming it resolves the PvP issues, anyway. My users don't stop asking me when I'm going to add this plugin back :p.

    Perhaps it's just the way you save the stats? Why not try using SQLite or even adding a MySQL storage option :p?
     
  16. Offline

    ZacdaJster

    Ok Mark I really like the plugin and want to keep it but it seems when we try to use PvP with it the person who was hit regains health, the only way in fact to kill someone with the attacks is if you use an explosion effect and then it kills everyone in the surrounding area. I am a mage and well am level 120, cuz I am also the host and changed some stuff around to level up really fast. It doesn't matter if the other person has any kind of class we just can't seem to kill them I mean they regenerate health for god's sake! I would be extremely grateful if you could answer this for me, thanks ahead of time, Zac.
     
  17. Offline

    Mark Lohstroh

    Ok, I'll make sure i get the kinks ironed out. And yes, reloads will still reset my plugin no matter what. I don't know what happens and from what I understand, server admins shouldn't use it anyways cause its not a TRUE server restart.

    Well, I'm pretty sure I fixed the pvp issue but I have to double check on that one. And I save stats via sqllite :p sooooo thats not the issue. I just have to hunt down the bug and recreate it. And its impossible to debug these kinds of things...

    Yeah... i know... Sorry, those things SHOULD be fixed in my dev version. I will test them today, hopefully kill one extra bug and release. Soon...

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

    ZacdaJster

    So it will be coming out..? today tomorrow?
     
  19. Offline

    Mark Lohstroh

    At the latest, the end of this week.
     
  20. Offline

    ZacdaJster

    Good and thanks

    Wait one more thing is there any way I could access your dev version now because at the end of this week I will be gone for 9 days.

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

    ledhead900

    Yea tell me about I dunno why ppl say Reload all. Reloading should only ever be done if the plugin has support nativly for only its configs, those reloads actually work very well and dont don anything dumb like full reloads.

    but on occasion I type in wrong command and it happens and then I have to restart and remove in sql browsers the effected people so that it takes on thier old stats again. I think I will try remove Reload from essentials so I cant do this. Plugin.yml seems a nice place to at leat make command not work.

    but you did not answere my question about the sqlite file tho. Oh I dont suffer those pvp issue ppl talk about coz I dont have hp regen on my server at all.

    Do you really really want to as the dev version actually makes STATS go missing currently seems like its not really worth the preview just yet but hell if u just wann test sever it why not.
     
  22. Offline

    Mark Lohstroh

    I'll answer that in a message i'll send you.

    Oh, sorry, no, you don't need to change any kind of stats. The stat system doesn't add anything new. You should be fine.
     
  23. Offline

    ledhead900

    Might need to get that release out faster. It appears skill changes are 100% broken I'm a mage I did /skill Zap
    and nothing happend not only is not changing my skill to the ones I added its not changing the skills at all.

    The book as u know is broken did set my skill to None but now I can't change it to anything.

    edit.
    Nvm now its working.
     
  24. Offline

    lloyd menzies

    Hi there, some of my users on my server would like to request that you add an attack spell for the priest.

    A suggestion would be a life steal spell which steals life from the player and gives it to the priest.

    Thanks.
     
  25. Offline

    ZacdaJster

    Ok I upgraded but now for some reason you have to have permission to use the commands..Oh well I think I might just switch it back out.
     
  26. Offline

    OutlawNL

    hej again, i got a little question about the balance, if a lvl 100 ranger stat everything one number 1 he can kill a fully armored oponent with 1 or 2 zeus arrows (the exploding 1) i have a mage lvl 100 with pure offens and still the same damage as in the begin, can this be fixed :D because i got owned by all the ranger is my server all the time now. keep up the good work man!
     
  27. Offline

    Mark Lohstroh

    Well, same damage from the snowball? You won't really cause too too much damage from there. And the arrows will cause damage along with the effect that they have. So, I should probably cancel that dame if the current skill has an effect. Its a thought.
     
  28. Offline

    ledhead900

    Code:
    2011-06-23 20:07:28 [SEVERE] Could not pass event PLAYER_INTERACT to EasyRPG
    java.lang.NullPointerException
    at com.ninename.easyrpg.RPGPlayerListener.onPlayerInteract(RPGPlayerListener.java:72)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:167)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:138)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:520)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
    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:431)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:341)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) 
    I know what this is its not being able to pass the events to players in Tommy Tony's warplugin Im not sure why tho we also run factions so it may be playing a part with fact u cant dmg own team mates at all.

    I spoken to both plugins and trying to get some movement on all 3 of them this included to support eachother.

    A simple fix for it would be to make Factions warzones PVP ingoring same faction anti team dmg.

    So I would not be too worried unless u pick something else up with the error I posted.
     
  29. Offline

    Biletooth

    Hmmm nice mod! :/ but evrytime I hit something liek a pig or a chicken it hits me to 1hp ... or something around that, im a warrior, is that normal?

    Kasper
     
  30. Offline

    The_GodFather43

    are there any permission nodes or does it work without them? if there are can i have the link to them?
     
  31. Offline

    Mark Lohstroh

    Yeah..... that happens with the leech spell. Sorry, that issue is fixed in my dev version. So yes, its normal in the current version you have :p

    Not in this version, in my next version I have two nodes (normal and super users).

    So you're telling my I shouldn't worry? Gotcha
     

Share This Page