[INACTIVE][MECH/FUN] Vampire v1.4.1 - Add the horror of vampires to your server [617]

Discussion in 'Inactive/Unsupported Plugins' started by Olof Larsson, Mar 6, 2011.

  1. Offline

    Olof Larsson

    Vampire - Add the horror of vampires to your server :)

    Current version: 1.4.1
    Download: https://github.com/oloflarsson/Vampire/downloads
    Source: https://github.com/oloflarsson/Vampire
    Read the full userguide here: http://mcteam.org/plugins/vampire <--- [cake]

    This plugin add the horror of vampirism to your minecraft server.
    Any player may turn into a vampire if they contract the infection and doesn’t manage (or doesn’t care) to cure themselves in time.

    Turing into a vampire
    To become a vampire you must first contract a certain infection. This infection will make you sicker and sicker until you finally turn into a vampire. If you want to stop the infection you can either eat bread or use a good altar (read more about altars further down).
    There are three ways to contract the infection:
    1. Fight against vampires in close combat. For each attack (from either you or the vampire) there is a 1/30 risk that you will contract the infection.
    2. Use an evil altar. Any player can build such an altar (read more about altars further down).
    3. Ask a server operator to infect you. There is a server command for this.
    After you contract the infection you have one hour (real time not game time) before you turn. This is about 3 minecraft day night cycles.

    Being a vampire
    • Burn in sunlight.
    • Take no fall damage.
    • Can breath underwater… or rather does not need to breathe at all.
    • Has a reservoir of blood between 0 and 100.
    • Must drink blood from humans or animals to not die from starvation.
    • Can not eat normal food.
    • Regenerates health automatically. (costs blood)
    • Won’t be attacked by monsters unless the vampire attacks first.
    • Can jump and fly using a red rose. (costs blood)
    • Deal more damage in close combat.
    • Take less damage in close combat except for attacks from wooden weapons which hurt them a lot.
    • Occasionally infects others in close combat.
    A vampire is considered to stand in sunlight if it is daytime and the blocks above the vampire is too transparent. So for example a vampire will burn under a clear sky but be safe under a cobblestone roof. If the roof was made of glass the vampire would burn. It is possible for vampires to take cover under trees if they are thick enough. It takes 4 leaf-blocks to block the sun… etc.

    To drink blood a vampire must damage other humans or animals. So if you are a vampire you will find that it is possible to go the vegetarian way… however humans are much more tasty (you get much more blood from them than animals). It is important to keep track of your blood supply. Use the v command every once in a while. If blood is over 50 the regenerate ability will work. You will slowly heal your wounds automatically at the cost of blood. However if you blood is below 50 you are thirsty and will slowly loose health. If blood is below 20 you are very very thirsty and will loose health fast.

    Curing a vampire
    The only way to cure a vampire (except for the admin cheat command) is to use a good altar.

    There are two types of altars. Good ones and evil ones. These altars can be built by any player. The evil altar can be used to contract the infection that after a while will turn you into a vampire. The good altar can stop the infection and even cure already turned vampires. The altars are made of one main block and 20 nearby blocks:
    Note how I wrote nearby. To be more precise nearby means within a radius of 7 blocks away from the main block. This means you may design your altar how you like. Put the secondary blocks in any way you think look nice [​IMG]

    To use the altar you right-click on the main block (gold or lapis).

    The base chat console command is /v or simply v. This means you don’t need to write the forward slash if you don’t feel like it. [​IMG]

    The base command v can be used by vampires to display their current blood reservoir. There are also the following subcommands for server operators (OP):
    • v infect [playername] *[amount from 0 to 100]
      The player turns into vampire at infection 100. 0 means no infection.
    • v turn [playername]
      Instantly turn a player into a vampire.
    • v cure [playername]
      Instantly cure a player from vampirism.
    • v list
      List all vampires on the server.
    • v load [config|players|all]
      Load data from disk.
    • v save [config|players|all]
      Save data to disk.
    • v time [ticks from 0 to 23999]
      Set the time. 0 means sunrise. 1 ingame hour is 1000 ticks.
    • v version
      Find out which version you are running.
    1. Download the latest release: https://github.com/oloflarsson/Vampire/tree/master/releases
    2. Put Vampire.jar in the plugins folder.
    A default config file will be created on the first run. You don’t need to modify it. The default file is good. But if you feel like it you can alter all ingame messages and a lot of the game balance from there.

    Plugin integration: Help and Permissions
    This plugin support the help plugin. Make sure you install that plugin. Otherwise you will have no ingame help menu.

    This plugin supports the permissions plugin. Note that the server operators (OP's) always will have access to all commands.
    To get started fast:
    • Add to the default group:
    • Add to the admin group:
    These are all permission nodes:
    • vampire.default.command.blood
    • vampire.default.command.version
    • vampire.admin.command.list
    • vampire.admin.command.infect
    • vampire.admin.command.turn
    • vampire.admin.command.cure
    • vampire.admin.command.save
    • vampire.admin.command.load
    • vampire.admin.command.time
    Current ToDo list:
    • Reduce CPU load
    • Create better permission nodes.
    • Raw porkshop should restore some blood for vampires when eaten.
    • Add the option to allow vampires to walk in the sun when using full armor.
    • Add the option to make vampires more vulnerable to fire.
    You tell me! :) or even better help me code it :)

    Version 1.4.1
    • For CB602 -> CB617 and upwards...
    Version 1.4
    • Better jump and fly ability for vampires :) Now using red rose instead of feather.
    Version 1.3
    • Permissions Plugin Support
    • Help Plugin Support
    Version 1.2
    To update: You should rename config.json to config.json.old. Then start server and stop it. Then paste your custom messages and changes (if you made any) into the new default config.json file.
    • There is now altars that can be built to infect and cure vampires.
    • Some bugfixes.
    Version 1.1
    • Important bugfix. Players did not get infected correctly.
    Version 1.0
    • The first release
    Fork me on github!

    I would be glad to code on this plugin together with you :).
    Please fork me on github and do a pull request. Read more here:
    There will be cake if you join me in the coding [cake] :)
  2. Offline


    How do we use the jump/fly ability?
    when I try it says:Jump! it cost blood but I'm staying on the ground and nothing happen...
    is there conflict or something like that?
  3. Offline


    Please add D: (with fixes)

    Use -(number). It helps. :D..yeah I figured that out on a hunch I had, and it worked :D :D :D

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


    This seems to be incompatible with bandages. Vampires steal blood instead of applying the bandage.
  5. Offline


    Using previous version , but it wasn't in change log so I'm assuming it didn't get fixed:

    our altars are free to use, what's wrong?
  6. Offline


    This is a great mod, aside from the few bugs/overpowered stuff mentioned in recent posts, but, I have a bit of a request. It would see, you can become infected just from being *around* someone who is a fully-fledged vampire. However, some people don't wish to participate in the mod at all, and I have no way to keep them excluded, except to keep everyone who is a vampire away from them. Even a quest or something for immunity would be a great idea, just -some- way for them to get it.

    I also think that options for how dashing/flying works and how powerful it is should be added.

    One final idea I had was to allow infected played to further infect other humans, because that just makes sense. Or at least the option to enable such a thing.

    Either way, thanks for the work you've put into this. =]
  7. Offline

    Olof Larsson

    This is the config you are looking for:
    "jumpDeltaSpeed": 3.0,
    "jumpBloodCost": 2.0,

    Anyone, please help me balance this plugin! :)
    If you feel you have found a solution to a balance issue: please tell me.

    Please define free to use. The only thing that should be free is removing the infection. To get infected or to cure vampirism takes some required items out of your inventory.

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


    quick question how is the jump delta speed calculated, as I noticed the infection odds where calculated 1/30 as actually 1 divided by thirty.

    Maybe a quick list of the calcs would be nice :D
  9. Offline


    Using the "good" altar was free. We didn't try the one that transforms you into a vampire.
  10. Offline


    is there anybody that knows why it only says:jump! and cost blood when I jump.
    I would love to be able to jump but nothing happen when I try!
    help please
  11. Offline


  12. Offline


    I realize I'm probably bringing this up late, but is there a way of placing the night vision portion from this texture pack into the plugin, but make it so you can see in the dark as a vampire instead of only while wearing a pumpkin? Would make it a bit better since that way they could always see in the dark, instead of only while carrying a torch, and it being consumed once the duration has ended.
    Shenlong likes this.
  13. Offline


    @Fernando, that is a Texture pack and so only affects your client. There is no way to affect your client's texture pack at the moment so it cannot be done. Instead, use a image editing software like PaintDotNet and turn up the brightness on your terrain.png for the same effect.
  14. Offline


    damn, was hoping there could be a way to get this effect into a plugin, and get it to work like that. Still kinda new to Minecraft, so theres still a lot of things i do not know.
  15. Offline


    cool! If you think those above items should be added to this mod, please like it so the plugin modder knows!
  16. Offline

    Olof Larsson

    Could it be you are using an old version of craftbukkit? Test updating to build 556 or something.
  17. Offline


    Olof, please read my suggestions and tell me what you think! If I could write code I would help you.... but I can't so I'm stuck with ideas. PM me if you would help teah me how to do it so I can help you!
  18. Offline


    Great update!
    My brother and I have a great time running this on our RPG server. He causes such panic when hes hoping from roof to roof at night in our towns. XD
    We love your mod, though we thougth up some ideas that ,hopefully, you and others may see in the same light we did.

    +Vampire Aging
    We had a lengthy discusiion on it and my brother felt that he just throws his vampire lives away as it had no value to him;Spawn. kill.suck blood .Die. Most everyone in our server knows when a vampire is around pull out your wooden weapons, slash slash, regardless of armor on him... dead. He fantisized about aging into a powerfull elder vampire over time.Becoming stronger,faster... struck true fear in all... and if he died, it would reset his age to zero. Thus making his "undead" life more valuble to him.

    +Day walking/ disguise
    As in traditional vampires he spends most of his time in his castle during they day, which he describes as"last forever" and nights seem to quickly go buy to him in relative. So maybe adding a feature that allows him to walk outside druing light hours in a disguised weaker state. He would like to roleplay an ecentric Count ala Count Dracula. :p

    +Ability to control mobs
    That one is just as titled :p

    Excuse me if i rambled on for a bit and crappy grammer, but we really enjoy your mod in our server. Looking forward to more updates in the future.
    Shenlong likes this.
  19. Offline


    This is the same thing my EXP and levelign up your abuilities acheives. The longer your a Vampire, the better you get at being one. (Though I do like the resetting on death, I'll add it to my post)

    mhm, well This is the one drawback to being a Vampire really, not much else is bad about being one. Why be human if you could have a crap tonne of more stuff?

    Minions, + go get the MobRider or MonsterTamer plugins and you are set. (give only Vampires the permission to use them)

    yay for our ramblings!
  20. Offline


    thanks! it worked!
  21. Offline


    I love this plugin<3 I'd love it even more if you could make a zombie version O.O! :D
    Yahyahkeekoot likes this.
  22. Offline


    -Edit- Moved to next page...
    -Second Edit- Olof, please add me on MSN: [email protected] or e-mail me at [email protected] with your favourite means of communication over the internet. Id like to talk to you in realtime :D
  23. Offline

    Olof Larsson

    These ideas are great :) I hope I will have the time to implement them. I can't promise that though, but it is great to get such ideas from you. This way I can easier decide on what to code next :)
  24. Offline


    I don't know if you know this, but for some reason if a vampire dies, they respawn on their corpse, instead of at the default spawn.
  25. Offline


    Just your server, I've tried out this plugin on two different servers and they both set you back at spawn.
  26. Offline


    Can you mix this with ZombieTag
  27. Offline


    I suggest adding the following to the mod.
    -Holy water
    -True Flying
    -Edited abilities
    --Less Blood Consumption
    -Configurable Options

    Here's how I would imagine they work (go ahead and improvise)

    Holy water:
    Holy water would have a paralyzing effect on the vampire. Right clicking a Holy Altar whilst carrying a Water bucket would imbue the bucket with "Holy Water" after absorbing the ingredients. [like the normal Raegents needed to cure a vampire] (Maybe changing it into a Milk bucket for the looks?) then when right clicked on the ground, it releases a Holy Source block (per se) and if a vampire touched the block it would take a slow amount of damage until it died, in which case it would re-spawn and be "Cured" of its Vampirism. Have the Water Source blocks individually "blessed" so people cannot create an infinite pool of it.

    This would be a Wooden sword, but when right clicked at a Holy Altar (and consuming some configurable items) it would become a stake. Right clicking on a Vampire would "stab" the Vampire and deal an instant 5 hearts (10 Damage) and the sword disappears from your inventory, which could not be re healed until the Vampire returned to an Evil Altar. (It should be free to re-obtain the rest of your hearts after a stabbing) Right clicking on a Human with the stake will deal 2 hearts with a %10 chance to immediately kill them. (So that people cannot check your Vampirism by right clicking them with a wooden sword.)

    Notch will be adding Wolves to the game very soon. At the moment there is no limit to the amount you can tame. When they DO get added, maybe place a limit of two (or maybe three) on humans, and have a limit of like, 10 on Vampires. These Vampiric Wolves will have special properties as well as nerfed damage (as the current wolves do a stone swords damage worth per attack {8 damage i think, which is 4 hearts}). Possibly like Spiders and Vampires. Spiders in the sense that they can climb walls. (Spiders climb walls by always being "on" ladders. The Wolves will have this ability as well.) They may also have the BloodSteal ability like Vampires. They would have Regen and a Blood count.

    True Flying:
    Now, in your Original Post (OP) it states that holding a feather (now a Red Rose) will allow you to have super speed and flying. Flying in the sense that you can go up cliff faces. I suggest allowing "True" flying to a vampire at the cost of Blood over time. I have seen many ways of allowing someone to fly, such as creating 8 water blocks in and around the player to allow "swimming in the air" and a MagicCarpet approach like having a glass block under the player (or four). Another Method is MUCH more unstable but i think it may work, Have it so that with a feather (red rose) in hand, they type in /fly and looking down teleports them every tick to the next tenth of a block, unless they have stopped moving, in which case have it continuously get the player's co ordinates and tele them back to those co ords every tick. If the player wanted to rise into the air, they would jump and it would take them the same, at the same rate, into the air. Moving forward would have the same mechanics (as would moving sideways or backwards) This may not work on slower servers so possibly have a configurable option to turn on "True Flight" (which explains it) or have it like the MagicCarpet approach.

    Edited Abilities:
    --Less Blood Consumption:
    I think the Dash ability sucks up to much blood. Personally, I'd like to see it buffed a bit. Maybe have it .5 blood per square (rounded to the nearest 0.1 of course). This would make it more useful. I have found it inefficient to use because it sacrificed almost a fifth of my blood supply per Dash. Also, the range of "Dashing" should be raised to somewhere in between 30-50 squares as I noticed if I tried to dash to the top of a hill, it told me it was too far. (only if you implement the aforementioned buff) You could make it so there is EXP in Dashing and jumping and the whatnot which allowes for leveling up your vampires dash/flying abilities to buff them. New vampires are not as good at it as the older ones are.
    You have gained a level in Dashing! Now level (10)!
    [types /vexp]
    -=[Vampire Stats]=-
    - Dashing [22/48] [10] (<-- This would be for Dashing Around)
    - Flying [36/40] [8] (<-- This would be for Flying around)
    - Turning [2/10] [2] (<-- This would be for getting minions)
    Stat EXP would be based on the amount of blood spent on the ability. So if you do a twenty square dash, you lose 10 blood and gain 10 EXP in Dashing (Rounds Down or has a decimal system also) When the player Dies their EXP and levels would reset to 0 (zero) to represent rebirth and a new body.
    I believe raw meat should give about two blood points per raw meat. there is blood in raw meat. A lot in fact. I think it should be ok for players to be able to carry some "transportable" blood. It would also let them bland into society better, seem a little more deceptive. Raw Meat should give Two hearts and Bread should absorb blood. Players may eat the food, with varying results.
    Raw meat gives two points of blood per porkchop.
    Cooked Meat does nothing.
    Cake absorbs blood.
    Raw fish give 4 points of Blood per fish.
    Cooked fish give nothing.
    Bread absorbs blood.

    Configurable Options:
    I think you should make the "Item" that is needed for the powers optional based on ID. A lot of RP servers would have a better reason to download and use this mod if they didn't HAVE to use a red rose/feather (depending on the version you have)
    Also, making the distance/speed and blood consumption of the previous abilities will make this mod a lot more versatile for everyone.

    [More to come, I am just brainstorming here, I will edit this post.]
    [Please "Like" if you think this should be implemented! :D]
    [Olaf, please contact me...]
  28. Offline


    Instead of flying, I think it should be more like wall jumping. Like, you have to have contact with a wall or floor in order to do the jump. Otherwise, it's overpowered.
  29. Offline


    Not at all. since Flying would take up blood, it couldn't be infinite, and you sacrifice healing for flying.

    Also, Olof, I read the Source and I noticed you got rid of the Dash, and instead made a "Jump" ability.
    Why do this? What does it change?
  30. Offline


    Yes but flying basically makes walls useless for defense. I would think the creator of the Factions mod would have this sort of thing in mind.

    Like, I'm fine with leaping and stuff, that's fine, but being able to jump again in the air just seems a little wrong to me.
  31. Offline


    I'd like to be able to choose which features are active in our worlds. For example, I'd like to disable all of a vampire's strengths, but keep the need for blood and be damaged by sunlight.

Share This Page