[FUN/MECH] Rifts (Beta 1.09) - A fully featured MMO plugin (single or multi world support) [766]

Discussion in 'Inactive/Unsupported Plugins' started by lonelydime, May 2, 2011.

  1. Offline



    Rifts - An all in one MMO plugin
    Version: v1.09 Beta

    Upgrade note 1.05: You will need to delete your plugins/Rifts/database.db file to get the pvp world to work. To avoid this, open your database.db file in SQLite Database Browser and in the execute sql tab, enter DROP TABLE CAGES; and restart your server. This should recreate the table and generate new cages (the dark world one never generated, the lightworld one will be in the same place. No need to regenerate the map). I apologize for having to do this, but going forward the need to mess with the database should be minimal.

    Please note this plugin is very BETA. It needs testing and will have bugs. Report the bugs here and I'll work to fix them. It also needs class balancing so if you notice some balancing needed just let me know and I'll do what I can to work with you. Also, this is a beefy plugin. If you cannot run at least 2 worlds at once on your server, it won't work real well for you. Sorry, but I don't have any plans on making this work on a one world server (3 if you want the pvp world).

    A PvP based RPG plugin that contains everything you need all in one plugin!

    Rifts contains 2 factions, the light and the dark. Each faction has their own world isolated from each other. Each faction has 5 classes:

    Fighter – Front line soldier, utilizes strength to cut down their opponents.
    • Gains 1 str point per level
    • Can use diamond swords
    • Can wear iron armor
    • Cannot use bows
    Defender – A soldier more reliant on defense than offense, great for sieges.
    • Gains 1 def point per level
    • Can use iron swords
    • Can wear diamond armor
    • Cannot use bows
    Mage – A high powered character with little defensive abilities.
    • Gains 1 int point per level, to use magic must be holding a book
    • Can use stone swords
    • Can wear cloth armor
    • Cannot use bows
    Priest – A support unit able to heal themselves as well as their party members.
    • Gains 1 spr point per level, to use magic must be holding a stick
    • Can use stone swords
    • Can wear iron armor
    • Cannot use bows
    Archer – Able to attack from greater distances, uses mana to enhance their arrows.
    • Gains 1 agl point per level
    • Can use stone swords
    • Can wear cloth armor
    • Can use bows
    For every level a character gains, they get 7 stats points, 2 skill points as well as unlocking new skills to buy.

    Each player has 6 attributes they can add their stats to:

    Str (Strength) – How much damage you do with a physical attack (sword, axe, bow).
    Def (Defense) – How much damage is negated due to any type of damage (entity, falling, fire, etc).
    Int (Intelligence) – How strong magic spells are (fireball, heal, etc).
    Spr (Spirit) – How quickly your mana regenerates, your total mana and how often you land attacks (magical only).
    Agl (Agility) – How often you are able to dodge attacks.
    Dex (Dexterity) – How often you land attacks (physical only).

    As time goes on in the game, Rifts appear at a random time (0-5 in game days) for a duration of half an in-game day. They always appear above ground, but can be anywhere on any loaded chunk (including in the middle of an ocean). They will also only appear if both faction worlds have at least 1 chunk loaded (does not require players to be in the world). Rifts allow a faction to teleport to the opposing faction’s world and do whatever they want there. However, when someone dies in the opposing faction’s world, they will be teleported back to their own on respawn.

    The third world (pvpworld) has the nether environment. Both factions can access this world by creating a portal. To create a portal, make a standard obsidian portal rectangle and place a sign on any part of the active portal, if the portal is not 'lit' then it won't take. The first line of the sign should say @pvp (if you are in the pvpworld, a portal can be made back to your home world by typing @home as the first line). Once the portal is created, it will link to that faction’s “cage” inside of pvp. The cage is a room made completely of glass and is indestructible. If the opposing faction comes within 30 blocks of the cage, they will receive a warning. If they continue getting close they will instantly die. This is to prevent spawn camping. Experience is greater in pvp than in the normal worlds. Once altars are implemented they will also add incentive to go into pvp.

    Altars still need to be added into pvpworld and are still in design phases. What they will be is areas that can be taken over by a faction. The owning faction will gain a benefit by owning the altar. They will also be in charge of defending their alters from attack by the opposing factions. I may add in mobs that only target the opposing faction to help defend, but again, it’s in the design phase.

    A spawnblock is a temporary spawn location created by the player. Spawnblocks can be created by any user that has enough money to do so by placing a sign on an obsidian block with the first line reading @setspawn. The amount it costs to create one is configurable in the config.yml file. Spawnblocks can hold up to 4 player’s spawn locations, all a user has to do is right click the block to add themselves to it. By default they have a life span of 20 spawns before they are destroyed. Anyone can destroy a spawnblock by breaking the obsidian block that holds the sign. Only the creator of the block can destroy the sign, destroying the spawn block. There is a glowstone on top of the spawnblock that allows for easier detection by those who would want to destroy it. Players spawn on top of the glowstone so hiding it with blocks would create an unsafe spawn for those bound to it. The glowstone is also unbreakable as long as the spawn block is active.

    Show Spoiler

    /joinrifts {light/dark} {class name} – allows a player to join a faction as a class
    /level - shows a character his/her current level
    /class – shows a character his/her class. Can be used like /class {user} to find a user’s class.
    /party {player name} – creates a party or adds people to an existing party. Parties have a max size of 4.
    /party leader {player name} – when typed by the current party leader, switches the leader.
    /party invites {public/leader} – changes the invite type from private (leader only invites) to public (any party member can invite).
    /party loot {leader/random} – currently does not do anything.
    /leaveparty – lets a user leave a party they’re in.
    /disbandparty – allows the party leader to disband the party.
    /spawnblock: {uses, bound, leave} – lets a user see uses left on the spawnblock, if they are bound to one or not and finally, allows them to leave the block they are bound to.
    /exp – shows a player their current exp bar.
    /stats – shows a player their current stat levels as well as free stats.
    /stats add # {str/def/spr/int/agl/dex} – allows users to add to their stats using their free stats.
    /skill {add} {skillname} – used like /skill, it will show a user their available skills and mp costs. Used like /skill {skillname} will activate the skill for use (Can also be done by "skill scrolling"). Used like /skill add {skillname} it will add the skill to the user's list of available skills. /skill off turns the active skill off.
    /skills - shows the user the list of skills they can currently "buy" with skill points earned through leveling.
    /status – shows a player their class, level and current mana bar.
    /hide {exp/miss} – will hide the exp or miss notifications.
    /show {exp/miss} – will show the exp or miss notifications.
    /resetcharacter - will delete your character and allow you to rejoin the game as a different faction and class. It will delete all of your stats/levels/exp/etc.

    GM Commands
    /savechars – saves the current online player’s stats and information into the database.
    /setclass {player name} {class name} – allows GMs to switch a player’s class
    /fullheal – fully heals the GMs health and mana bar
    /setlevel: {player name} {level} – allows GMs to change a player’s level.
    /setstats {player name} {stats number} – allows GMs to change the free stats a player has.
    /setskills {player name} {skills number} - allows GMs to change the free skill points a player has.
    /toworld {world name} – teleports a GM between worlds using the world’s name.
    /createrift: - Allows a GM to manually create rifts, however they cannot choose where the rifts are created.

    How to install:
    • Download Rifts.jar
    • Download sqlitejdbc-v056.jar if you do not already have it.
    • Put Rifts.jar in your plugins/ directory.
    • Put sqlitejdbc-v056.jar into your craftbukkit directory.
    • [Optional] Edit plugins/Rifts/config.yml and change them how you'd like (an example can be found in this post if it's your first install, just make the file plugins/Rifts/config.yml).
    • [Optional] If you're using Permissions or GroupManager, use rifts.gm for GMs and spawnblock.create for those that can create spawnblocks.
    • Restart your server.
    • On your first install, it may take some time to generate the pvp cages. Please let it finish or you will need to start over from scratch.
    • If you are upgrading, please read the upgrade notes at the top of the post if there are any!
    Installation Notes:
    • This plugin conflicts heavily with mcmmo, it is not recommended you use both.
    Config Walkthrough:
    Show Spoiler

    spawnblock-iconomy-cost: 0 // How much it costs to create a spawn-block
    spawnblock-uses: 20 // How many times a spawn block can be 'used' before it expires. 1 use per respawn.
    force-autojoin: false // setting this to true will force users to join when they connect to your server. They will be assigned to the faction that has a lower number of members.
    use-pvpmap: true // setting this to false will disable the pvp world. Portals will not connect to it, but rifts will still form. If you're having trouble running all 3 maps, turning this off may help
    use-factions: true // setting this to false will disable lightworld and darkworld. You will only be using the class/standard RPG functions of this plugin. No rifts.
    //These are the seeds your worlds will be created from if you have a seed in mind. Please keep in mind that lightworld and darkworld are created as NORMAL worlds, pvpworld is NETHER.
    //Changes the name of the world names. It will create a new map with that folder.
    must-rift-to-play: false

    #Experience - These are a multipliers: 5 is normal, 10 is double exp, etc.
    #Players is for pvp kills, Mobs is for monsters and Blocks is for breaking blocks.
    players: 5
    mobs: 5
    blocks: 5

    #Gold received - This are a multipliers: 5 is normal, 10 is double exp, etc.
    #Gold is only given when mobs or players are killed.gold-received: 5

    Current TODO list - Please read before posting addition suggestions:
    Show Spoiler

    In Progress
    • Examine (not implement) dual class idea - level 60 allows you to continue as another class
    • Balance damage (main focus)
    • Start guild support
    Future Release
    • Create guild support/cities
    • Add unique weapons as rare mob drops to gain better stats/skills in those
    • Add crafting skills that are levelable
    • Add in GM/Guild leader quest signs.
    • Add the class summoner and rogue/assassin.
    • Add altars to pvp.
    • Possible addition of chainmail armor for archer’s use.
    • Implement a PvP ranking system.

    FAQ - Please read this before requesting a change (not a bug):
    Show Spoiler

    Q: Can this be made to only run on one world instead of two/three?
    A: Yes!

    Q: I miss mobs a lot/do no damage. Why?
    A: As you level, mobs also level. If you're not keeping up with your dexterity and strength stats, you'll quickly notice that you won't be doing much to kill them. Always maintain your dexterity and strength (spirit if you're a priest or mage). If you've used the /changelevel gm command, this will also cause this unless you also balance your stats.

    Q: I feel my stats are fine, but I'm still missing too much or not doing enough damage. Can't anything be done?
    A: Post your level and stats. That way I can better balance the game. I know balancing needs to be done, but I can't do that unless I know how you're using stats and what needs to be adjusted.


    Version Beta 1.09
    • Added option to disallow unregistered users from building/destroying.
    • Added check for blockbreak, if it's cancelled via another plugin don't add exp.
    • Fixed glowing redstone gives no exp
    • Fixed Portals not loading on server restart
    • Fixed obsidian experience
    • Fixed joinrifts message showing factions when usefactions = false
    • Self skill now heals 1 if spr is too low and reduces mana
    • Readded skill list when /skill is typed with no parameters
    • Added riftportal.create (permissions/groupmanager) for portal creation
    • increase TNT Arrow damage
    • Lowered priest healing skills by 5 mana.
    • Changed healing spells to use Spirit instead of Int
    Show Spoiler

    Version Beta 1.08
    • Minimized the config file by using multipliers instead of individual instance experience values
    • Fixed aggressive mobs not dying in the sunlight.
    • Better balanced mob damage.
    • Fixed impale for archers.
    • Removed weapon/armor restrictions on non-rift worlds.
    • Removed the warning when a player is near.
    • Started guild code, more to come.
    Version Beta 1.07
    • Fixed meteor to not be resource heavy. Moves faster, does more damage.
    • Added warnings if the opposing faction is nearby (unless they're in sneak mode)
    • Fixed Fall (all natural) damage using defense to lessen the damage.
    • Made self and taunt a repeatable spell that can be accessed through cycle
    • Added damage to entity hit with blast
    • Made armor more effective in decreasing damage based on level
    • Made weapons more effective in increasing damage based on level
    • Changed Mages to use books to prevent griefers, Priests still use sticks.
    • Fixed cycling through mutliple skills to the highest level skill only.
    • Turned off friendly fire for single server Rifts
    • Allowed GMs to use /toworld without being killed for spawn camping.
    • Fixed rift creation algorithm
    Version Beta 1.06
    • Added support for single world servers
    Version Beta 1.05
    • Fixed armor type restrictions
    • Fixed mana going negative
    • Fixed database locking issue again, now works as one connection
    • Fixed cage generation for pvp maps (the player_move error)
    • Increases exp reqs - 34 million for level 60. Wowzers!
    Version Beta 1.04
    • Seperate skill level from the name
    • Find/fix database lock issue.
    • Fixed left clicking with nothing in your hand throwing a null pointer error.
    • Fixed a display problem with /savechars
    • Fixed level 2&3 skills showing in /skills if you already have it.
    • Fixed being able to add level 3 skills multiple times
    • Fixed skill names having to be case sensitive.
    • Made rifts spawn at least 60 blocks away from the world's spawn to stop spawn camping kills
    • Fixed entangle to destroy webs after 10 seconds, made them unbreakable
    Version Beta 1.03
    • Renamed cloth armor to leather armor.
    • Made eating food heal your mana.
    • Add mana per level
    • Converted all character integers to more appropriate data types.
    • Added /statshelp as part of the tutorial.
    • Added a basic tutorial once you join rifts.
    • Created the level cap 60
    • Fixed damages from mobs, added more damage to mobs.
    Version Beta 1.02
    • Made world names customizable (change folder names).
    • Added some tutorial lines for commands when the commands become relavent.
    • Cleaned up /status, /skills, /skilllist, skill cycle displays. Add more info to /status.
    • Fixed pvpworld insta-kill on enter
    • Re-add drops to mobs killed by setHealth()
    • Fixed heal overhealing
    • Fixed Whirl not being able to be used because it reports mana is too low.
    • Updated iConomy support to iConomy 5
    • Fixed /resetcharacter printing out the command when entered.
    • Turned friendly fire back off
    • Fixed joining rifts if auto-join is true.
    • Changed changelevel/changeclass to setlevel/setclass
    • Fixed /joinrifts teleport teleporting you into blocks and respawn into blocks and /toworld into blocks.
    • Fixed miss and experience notifications being off by default.
    • Lowered the chances of attacks missing/being dodged
    • Remove rifts on disable.
    Version Beta 1.01
    • Fixed rift/portal teleporting to get around minecraft's fly/kick feature.
    • Fixed PvP cage glowstone being able to be destroyed.
    • Added "scrolling" through skills by left/right clicking with your weapon in hand. (If you are a fighter, right click air with a sword, defender use an axe. Mage LEFT click air with a stick, priest do the same, archer use a bow).
    Version Beta 1.0
    • Public beta release.
    Fallen_Advent, Jabbic, Juze and 5 others like this.
  2. Offline


    Well this is pretty much what I thought about, the guild leader will be able to create quests and the reward will be money (guild money).
    About the GM quests - the exp amount should be set according to different vars such as the amount needed to kill etc.

    Here is another idea for you :

    battle mage
    You probably wonder what is so good about this void mage, well here are the void mage's features :
    - Can equip cloth armor
    - Can use Stone sword
    - Can cast spell while not holding anything
    - Cannot use bows
    - Gains 2 int per level

    The battle mage will be stronger that the other classes, but it will be harder to level up!!
    The battlemages will need 2 times more EXP to level up, by that making this class more challanging.
    Battlemage will have less spells than a mage, all of his spells will be attack spells (that means no healing)

    and btw the basic commands don't work...
    I can't join any faction even after using the right command:
    /joinrifts dark mage
    if its not the right command pleas correct me

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 14, 2016
  3. look into your config file if you use force-autojoin = true it wont work tested it 3 time. test it with false
  4. Offline


    You need to type /skill add <name> to add the skill to your list of available skills

    I will eventually, once I get it cleaned up a bit more. Right now it's pretty gross code lol

    That's on my list of things to do!

    Does it give you an error in the log? Is the portal on? You need to light the portal before you can place the sign on it and have it work. I need to document that, thanks for reminding me!

    That's the right command, when you join the server does it tell you to type /joinrifts blah blah blah? If you type /level, does it say You are level ##?

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


    it tells me how to join with an example of a light priest
    after changing the properties as darkride said it works, but it's crashes once in a while and I need to restart my server...
  6. Offline


    What error do you get in your console when the server crashes?
  7. Offline


    Players seem to suddenly be invulnerable. Plugins: GoldStandard, Help, AutoHelp, ShelfSpeak, ecoCreature, BorderGuard, WorldGuard, Towny, iConomy, LWC, WorldEdit, Permissions

    2011-05-04 13:29:29 [SEVERE] Could not pass event ENTITY_DAMAGE to Rifts
    java.lang.IllegalArgumentException: Health must be between 0 and 200
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:38)
    at com.lonelydime.Rifts.REntityListener.onEntityDamage(REntityListener.java:513)
    at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:474)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at net.minecraft.server.EntitySnowball.p_(EntitySnowball.java:163)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1007)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:52)
    at net.minecraft.server.World.playerJoinedWorld(World.java:989)
    at net.minecraft.server.World.cleanUp(World.java:966)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:367)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
  8. if you use force-autojoin = true and you time ingame /joinrifts light mage it says choose a fraction

    maybe its buggy :/. Ok Pvp works now but when i enter the pvp world i see the cage and then im dead
  9. Offline


    im not getting an error, it's suddenly disconnects and the console is not reacting
  10. turn pvp in the server config on and they have mutch more life but only "in fight"
  11. Offline


    So do mages actually get spells that you have inserted in the plugin? Or do you have to have somesort ofseperate plugin for that?
  12. Offline


    Nitpick, please feel free to ignore! Any chance you'd change the name of the plugin, seeing as you copied AION's mechanics and then named it Rifts... =p
  13. if you reach level 5 say /skills and you see your avaible skills. to add the skill then type /skill add <name of the skill>
    Mage use a stick make a left klick to change the spell and shoot with the rightklick

    Yes it is inspirated by Aion and another game but try to make somthing new its not so easy and its a cool plugin

    again sry for my english
  14. Offline


    I went and poked into Zalastri's server to give this a once-over.

    I'd say that if you plan on implementing this plugin, take your time and implementing P6 first. (Proper Planning Prevents Piss Poor Performance). I'd suggest an involved tutorial area that explains the classes' limitations/strengths, some shops or kits for starter gear, and an explanation of skills and how to rank your stats and skills up. It's a little confusing without some initial guidance.

    Personally, I went archer, and after getting three pieces of iron armor crafted I got seriously butt-hurt because I couldn't use it. And not being able to scrounge up the mats for a bow/stacks of arrows off the bat made things a bit difficult. I was having a LOT of difficulty getting mobs to drop string and feathers. Dunno if that's the plugin or just bad luck on my part.

    Dime, maybe ease the armor restrictions a bit, to say...no diamond armor, or make classes configurable (I havent tested this on my own server, just checked it out on Zalastri's) Also..'can wear cloth armor'...? That mean leather, or nothing?

    It's pretty sexy. I'm tempted to add this in, and make my central world a neutral trade city/initial spawn with restricted gates to light and dark. Problem is that'd take the tally up to 5 worlds (main, light, dark, pvp, and a combination tutorial/dungeon/jail/extra). Lag would sick if I didn't lock down borders hard.

    This plugin's in crazy good condition for an initial beta, tho. Keep it up.

    PS...neither Aion or Shaiya were original with portals as means of PvP. Just because somebody has implemented something similar once, doesn't mean you can't use it in your own fashion. I mean, cmon...how many times have you seen the classic elves/dwarves thing. And then the cookie cutter classes? Let's discuss the plugin, not other failed MMOs
  15. Nothing
  16. Offline


    Ouch. That's a bit much.
  17. Better than "nothing"
  18. Offline


    Yea, I didn't mean to state or imply that copying was bad. I'm all for stealing what's good and bringing it into MC! :)
  19. I Only wanted to say you that he was inspirated by aion notthing against you :)
  20. Offline


    What do you mean? Where do the skills come from? Are they just commands or what?
  21. Offline


    you asked me what level i was before. i was a level 10 mage. i like that mobs level with you but can you lower how much cows,sheeps and chickens level cuz you cant even kill a chicken without magic in level 10+ xD and the allways dodge is a bug i gues? i had 0 in agility and defence

    im also working on a banner for your plugin but this is my second time doing a banner and i have a new program so you can probably just throw it away if you dont like it xD

    Edit: its done^^ do what you want with it =D
  22. Offline


    Updated to 1.02, it's a big bug fix version.

    NOTE: If you opt to change the world names, before restarting your server also rename the folder names of your worlds. If you don't, it will make new folders and worlds.

    I'll address more issues tomorrow, tonight I'm done and it's time to relax lol.
    @thecoolwolf cool banner!
    thecoolwolf likes this.
  23. Offline


    Is this a spinoff of RIFT? I'm assuming it is a spinoff since it is ridiculously close haha, love the ideas too.
  24. Offline


    I've actually never played the Rift RPG, it was only after my initial alpha testing that a friend pointed out Rift was an actual RPG. By then I didn't care and kept my name lol.
    Spitfire21 likes this.
  25. Offline


    Well that's an amazing coincidence lol. Seems like the concepts you used in your plugin is very close to the RPG itself. And for that, I'ma have to try this out xD.
  26. Offline


    GJ you finally released it ;)
  27. Offline


    I think this is one of the most original plugins on this website gj. It really shows how much work you put into this, and responding to the forums.
  28. Offline


    alright. All my spells are snowballs... Im a lvl 10 Mage in the light faction. Is magic arrows supposed to be that? and Are fireballs also?
  29. Offline


    I found a bug o_o.
    I happened to target a Pig underwater(2blocks of water) and casted a Bolt lvl 1 on it.
    3 Zombie Pigmen Spawned :confused:.
    Just telling what happened to me. Maybe intentional maybe not.

    BTW Awesome plugin, changed a lot the playstyle of my server.
  30. Offline


    that happens if a pig gets hit by lightning in vanilla minecraft to^^ but just one of them are real, the 2 others are caused by a minecraft bug and are only client sided and cant hurt you or anything:p
  31. Offline


    So can you pvp in the 2 normal worlds without making this separate pvp world? Seems like you'd already have a lot of trouble finding people to interact with on smaller server running 2 worlds. Running a 3rd just to kill people seems a bit much.

Share This Page