[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

    lonelydime

    [​IMG]

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

    Description
    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).

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

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

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

    Commands
    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.
    lightworld-seed:
    darkworld-seed:
    pvpworld-seed:
    //Changes the name of the world names. It will create a new map with that folder.
    lightworld-name:
    darkworld-name:
    pvpworld-name:
    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.

    Changelog:

    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

    Nagl

    Suggestion: I do not know if someone suggested this yet, or if it already exists (I did read your description). But I think it would be cool to have the option to display the rifts location when ever they spawn.

    P.S.: My Clan and I really enjoy your mod!
     
  3. Offline

    Sage9234

    adding a durablitity to wands and spell books seems kind of silly. While you are whacking away with a sword, and it makes sense for one to wear down, A spell book would not.
     
  4. Offline

    Saul R.W

    Are you a mage? Are you a priest?

    What if while casting you spelled, the spell(lol) wrong and the book burned? What if by using a spell you use 1 page of the book(like a requirement). The world of fantasy and magic is brutal.

    Sticks- Gonna call them Staffs now, it feels weird saying stick so much. All games I have played always have durability for all types of weapons or casting equipment, some times its for how many times you can use it before you must recharge it(a type of durability) others its for reparation.

    Also everyone knows that any serious mage buys and changes his equipment every few months, they have to stay on shape and ready for action, old books don't do.
     
  5. Offline

    BioRage

    Hmm.. how about implementing a repair "profession" blacksmith?

    Heh, since everyone seems to talk about durability.

    -- I do like the potion ideas --
    Rose + Flower = Orange Dye = Hp Pot? = Herbalism?
     
  6. Offline

    Sage9234

    Im a mage. Maybe recharging... But they'd have to have a large charge to begin with. Im not really feelin the whole burn up by spelling it wrong thing. And the Charge should be configurable to be, on or not, how long the charge lasts, and how to recharge it.

    I also like this idea.

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

    Saul R.W

    He won't get into secondary professions now. He said first fix some balancing issues, prioritize crippling bugs, add guild support ALL while thinking on Dual Class system, new classes, and the possibility of professions.

    Thats what he said.

    Sage I was just mentioning hypothetical situations that could happen in a magical world. Take for example, don't hate me, the Harry Potter world. Spells can backfire, potions too. So being a mage a spell could backfire and burn your book or channeling instrument.
     
  8. Offline

    Sage9234

    I understand haha. And yes, harry potter. Im quite familiar with them. They were good ideas! I just dont know if I would want them all to be on my server :/ No offence.
     
  9. Offline

    DarKMaKa

    When I do /createrift I have a message in-game saying:
    "An internal error occured while performing this command".

    And in the log server I have:
    Code:
    2011-05-18 23:06:33 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'createrift' in plugin Rifts v1.08
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:278)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:682)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:645)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:639)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1503
    at com.lonelydime.Rifts.Rifts.createRifts(Rifts.java:1217)
    at com.lonelydime.Rifts.Commands.sendCommand(Commands.java:242)
    at com.lonelydime.Rifts.Rifts.onCommand(Rifts.java:424)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  10. Offline

    Birdman33573

    Instead of making sticks have a duribility why dont you just make it so they have to have snowballs in there inventory like ammo
     
  11. Offline

    bandoril

    Is that possible to define a zone where rift will appear ?
     
  12. Offline

    Sage9234

    Because then you have to specifically find a snowy area.
    Search for snow=Pain in the butt.
     
  13. Offline

    Nagl

    Lol, my server created spawn for the light team in a snowy area....
     
  14. Offline

    Saul R.W

    We tried making a snow floating castle but its hard to work with ice. Illumination is a big deal and ice melts with glowstone and torches.
     
  15. Offline

    Sage9234

    Mine did too, but not all will is what I was getting at.
     
  16. Offline

    Nagl

    What about two extremes? Like a Water + Lava = Spell? In a bucket ofc.
     
  17. Offline

    transient

    Whenever you'd like to test, I'm ready to set it up. I can prop up 3 test worlds. If your plugin has its own reload command, then I can erase as many times as ya need.
     
  18. Offline

    DarKMaKa

    We have a bug, sometime I get 60 exp for a redstone block, other time I get only 1 exp at the same level.
     
  19. Offline

    Specops343

    Are u going to make this open-source?
     
  20. Offline

    robin traas

    anyone got a rift server?
     
  21. Offline

    DarKMaKa

    We don't get any exp for destroying obsidian :'(
     
  22. Offline

    Sage9234

    since 1.6 is coming out, do you have any plans for any of that?

    [Edit] Or any plans at all?
     
  23. Offline

    DarKMaKa

    We cannot go to light spawn point, but we have common stuff there.
    Any way to desiable this?
     
  24. Offline

    haxmonkey

    ya any one have one
     
  25. Offline

    vend3r

    minecraft.sweetcraft.me
    PVP-Survival-RiftsMMO
    [24/7 - Home & Dedicated 50/10line]
    Admin: SweetCraft Girl

    - They just made the switch today. This plugin really needs MySQL because of all the datastorage. Busy servers with 20-45 people will have lots of i/o action.
     
  26. Offline

    saumonzx

    How do you heal yourself ? And is there a way to recover mana faster, it is too slow :/
    I'm a priest with 50 spr and 25 int, and my friend is mage, and we find it too slow. Maybe put a way to recover mana ? Like a mana regen pool , by standing in water for more then 5 sec without attacking ?
     
  27. Offline

    DarKMaKa

    Is there an option where the pvp-world isn't a nether, and we can choose it?
    Each time it turns it into a nether world :(
     
  28. Offline

    Hancook

    Hey i think its a great plugin i did everything but it doesnt work for me.
    i am admin and when i want to chose class and faction it says there is an error.
    is any plugin blocking it?
    2011-05-22_20.08.52.png
     
  29. Offline

    BioRage

    No, if your turn it off, than you'll have two worlds, pvp on the opposing side, singular, pvp all around.
     
  30. Offline

    TrevIsIn

    Is there a reason that "@home" and "@<Worldname>" do not work when in the nether/pvp world? I got there fine, but getting out is bugged.
     
  31. Offline

    Pencil

    Maybe a suggestion, people always forget about the buffs they have and never type them in, so instead for archers to have to type in /skill Aim you could use an item lets say a wooden sword and it works just like everything else, left clicking cycles through the buffs and right clicking uses it, and it would work for the buffs of every class :D That would be awesome :)
     

Share This Page