[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


    when ever someone spawns on my server they die and then when they spawn a second time, they get kicked for illegal stance and when they reconnect they spawn in the default world, not the rifts light or dark world
  3. Offline


    Please try bukkit 819, someone in this thread said that they fixed that issue.

    Also for the ones interested I opened an Obu's coding live streaming.


    Feel free to be there and provide comments :p

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


    when ever i type /skill to show my skills so i can "buy" them it comes up with /skill [skill name /off] am i doing somthing wrong?
  5. Offline


    Is it completely safe to run this plugins with 3 worlds next to other worlds (other worlds having other plugins, McMMO and such)?
  6. Offline


    No idea. Why don't you make backups and tell us what happens?
  7. Offline


    I'm on bukkit 819, and i spawn on my first map ("called world"). Do i have to delete it ? Delete my char and re-join rifts ? It is really annyoing :/ Thx ^^
  8. Offline


    I am using 819, is there some way to fix it, also when i sleep in a bed to set home there , when i die it says home is missing or blocked and then takes me to default spawn... Again, this is the only plugin i am using, also sometimes when i go through a rift it takes me to the nether... not sure if it is pvp or normal... maybe to do with minecraft 2.6.6.
  9. Offline


    There are plugins that already provide this functionality without requiring Obudista re-code all that into this plugin. Let's maintain some semblance of control over the function bloat option.

    The matter of Rift Announcements when formed I believe will be configurable so as to be announced via broadcast or maybe even as i suggest, sent to the Wizard to provide a social function and need for them in discovering newly formed rifts.

    If you wish to tell what worlds. I run HeroChat, and I have set it so that when people are in OOC (out of character)/Global chat, it appends the world the player is on as prefix. Here is my HeroChat config string:
     default-message-format: '{world}{color.LIGHT_GREEN}[{nick}] {color.PURPLE}{prefix}{player}{suffix}{color.GOLD}: '
    A /where function could come in handy I suppose if the sole function is to do a /list or /who except the player world listed beside their name.

    However, that is really a convenience for servers that do not wish to use other methods.
  10. Offline


    Because I have a lot of players and a filesize of about 20gb? *nevermind, set up a testing server, will try it now*

    3:43:35 [SEVERE] Could not pass event CREATURE_SPAWN to WorldGuard
    at com.sk89q.worldguard.bukkit.WorldGuardEntityListener.onCreatureSpawn(WorldGuardEntityListener.java:397)
    at org.bukkit.plugin.java.JavaPluginLoader$54.execute(JavaPluginLoader.java:619)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:228)
    at net.minecraft.server.World.addEntity(World.java:786)
    at net.minecraft.server.SpawnerCreature.spawnEntities(SourceFile:155)
    at net.minecraft.server.World.doTick(World.java:1552)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    Oh dear.

    It is a definite no-go, it causes you to be inable to attack any form of creatures, causes errors with WorldEdit etc... It simply refuses to stick to its own box :(

    Might set up a secondary server for this, 8GB Ram available, will this one do with just 2GB so I can set up my other one with 5 and have 1GB left for Apache?

    If so i'll purchase a domain and get this ship sailing.. Running a dedicated server, 8 cores, Ram is ECC, so performance really isn't an issue.

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


    This is an 818 issue with many things that teleport/warp you.

    Well, having him work harder for you is always an option. Or you can do as I and others have done: Remove /spawn - it is not a good thing to have functioning for the player base on a Rifts World. Besides all /spawn and /home (with out a warmup) do is allow for PVP abuse, escape, cheating.

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


    Bukkit build 820 does not have the issue, as Multiverse mentions. Perhaps Rift should link to it too ;P
  13. Offline


    i agree the threat is there for abuse. but if the /spawn command takes you to your faction's world's spawn then you have to choose to use it wisely. If you are invading the opposing world and you're attacked but you dont want to be fighting sending you to your home world's spawn is not a great option since youd have to heal and find the rift again before it closes. theres no benefit except keeping your stuff. and mostly, i would like it for GM purposes, maybe /toworld should send you to that worlds spawn instead of: current_coordinates@target-world. i will keep in mind however, that as my server is small, rifts dont open that often so there is almost no chance of two being open at the same time. maybe my theory doesnt work with larger player bases. currently my max people online is set to 11 (10 players +1 gm)

    is there a limit to the number of times you can pass through a certain rift? they seem to stop working for me after like 2 times through.
  14. Offline


    I have 2 problems.
    1. The meteor actually never hits the ground, but the blast is still made. Is this a conflicting plugin issue?
    (Server log)
    [Severe] Unexpected Exception
    java.lang.IllegalStateException: TickNextTick list out of sync.
    at net.minecraft.server.world.a(world.java:10808)
    etc.. (kind of like the line above this.)
    2. The plague will still kill people even when they have god mode on.
    Thanks for your help and support on getting these bugs fixed ^^
    The plugin is really good!
  15. Offline


    I'm having problems generating the seeds I want. Am I doing this right? All I have to do is light/dark world seed: (seedname) right?
  16. Is there a way to change the factions names? Light and Dark are not really the coolest names..
    compgurusteve likes this.
  17. Offline


    ok im going to change my request
    from: fixing /spawn
    to: when a player dies they get transported to their homeworld's spawn point
    phoenixstar likes this.
  18. Offline


    Can you be a little more spesificated?
    Put sqlitejdbc-v056.jar into your craftbukkit directory
    I am using mcmyadmin....what to do?And how?
    i have to open the craftbukkit.jar?
    i have to put it in minecraft folder?
    I do not understand!
  19. Offline


    Just put it in your regular mine craft folder where the bukkit.jar was placed, it will run along side it. No need to open any .jar
  20. Offline


    i do not have bukkit.jar:p
    I have bukkit.txt and a craftbukkit
  21. Offline



    You want to put it in the same folder as that.
  22. Offline


    Is this plugin even being developed on?
  23. Offline


    yes obu has taken over as the developer

    using bukkit 819
    im in my homeworld and when i try to create a portal to pvp world
    it says you must be in your homeworld: lightworld to creat the portal
    in the config file for rifts i have the names set to custom names.
    also rifts dont seem to teleport me. im not using multiverse. i am however using xcraftgate to make porters from the spawn world into my rift worlds

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 14, 2016
  24. I have a problem with this plugin. So I log in and join a faction. I then enter the new world in light. Then I kill myself. It does not spawn me at the spawn in light. It spawns me at world number 1 but at a different spawn. I have alot of different plugins installed. I have Essentials, Worldguard and edit, ownblocks, antixray, authme, bedspawn, Simplereserve, LWC, dynmap, and Authme.

    I also tried to run rifts on a server with no other plugins installed. It did the same thing.​

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


    Lots of bugs currently with the latest version of CraftBukkit that could be interfering with it, I'm having similar problems, mainly with spawning into the ground, it is confirmed with Bukkit and they have been working on it.
  26. Oh thats cool. I really thought it was this plugins fault.

    Try build #846. It dc's you but you respawn at the world you chose to join.

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


    Lol, I think I'll just wait for a stable version. They are bound to get one soon. But there are something's with this plugin I would really like to see updated soon. It's been too long and I haven't been able to find a donations link for ObuDista, I really hope the ball doesn't drop on this one honestly.
  28. I really hope so too. I am forced to bring this server up and ready this is the only thing that is not ready :(. I guess I should give him 100 dollars and that should get his ass moving!
  29. Offline


    I am also trying to bring a server up with this and it's the only thing that's not ready. :-/ any particular theme you're playing?
  30. Well my server will use this plugin to make it so it follows our community theme of rp. Our community has multiple gmod rp servers and I persuaded the owner to try out minecraft. At first the server we are testing on was going to me a server that I will buy later. After a while of testing with the owner of the community on in he got hooked. The only problem was there had to be a way to make minecraft into minerp. So I found this and he loved the idea. After I installed this we played on it for a while and we realized that when you die thats it you cant come back to lightworld or darkworld. So I had to postpone the release of the server to the public untill this is fixed. Which it kinda is with build #846.

    Hmmm I tried out the new stable build #847. It messes up the generation the worlds sometimes but I got it right and it seems to work fine. No dc when you respawn and you respawn at the world you chose to fight in.

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


    This is good news, I use a bordering plugin that has a lot of conflicts with the previous versions of bukkit as well. I'll try #847 now.

    Still teleports me into the ground when I join a faction.

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

Share This Page