Inactive [MECH/FUN] Vampire v3.3 - The horror continue on your server [766]

Discussion in 'Inactive/Unsupported Plugins' started by TrainYourBrain, May 8, 2011.

  1. Offline


    Hey guys,

    Since Olof Larsson's vampire plugin seems to be inactive I will continue his great job, you can check the original version at Vampire Original Topic.
    All credits go to Olof Larsson, I've done some fixes that's all.

    Please if you find something weird or if you want something to be added or even a bug, please tell me ;-)

    Current version: 3.3
    Source :

    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.
    The plugin is fully configurable, see the "Configuring the plugin" section.

    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.

    Since version 3.0 it exists two vampire types : The TrueBlood and the Common.
    The main difference is TrueBlood can infect other player, whereas Common can't.
    True Blood are those who turn into vampire thanks to an evil altar.
    The common are human infected (and turn) because of an other vampire.

    A human become True Blood vampire using an evil altar.
    A human become Common vampire when a TrueBlood vampire attack him.

    Being a vampire

    • Burn in sunlight, but not when it's raining/snowing/thundering.
    • 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 except fresh pork to recover blood.
    • 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).

    Configuring the plugin

    Show (open)

    So there are 4 configuration files :
    • Conf.json include general Vampire plugin variables.
    • Lang.json contains all the text. (So this is the file you'll need to translate if you don't want the text to be in English ;))
    • TrueBloodConf.json contains attributes about TrueBlood vampire.
    • CommonConf.json contains attributes about Common vampires.
    FAQ :

    First, to configure the plugin, edit the conf.json file located in Vampire directory.

    How can I change the necrosis system radius effect ?

    Set the radiusSpreadingNecrosis value to true/false.

    How to enable/disable the things becoming death when vampire are close to them (spreading necrosis system) ?

    Change "allowSpreadingNecrosis" value to true or false (respectively enable/disable).

    How to enable/disable draining blood over time ?

    Change "allowBloodLoss" value to true or false (respectively enable/disable).

    How to change the color vampire name when the vampire send a message in chat box ?

    Change the following variable that are use to set the vampire name color and the message color of a vampire :

    "vampireChatNameColor": "RED",
    "vampireChatMessageColor": "WHITE",

    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] [TrueBlood]
      Instantly turn a player into a common or trueblood vampire.
      Ex: "/v turn Toto" will turn Toto in common vampire.
      "/v turn Toto trueblood" will turn Toto in True Blood 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.
    • v help
      Show help
    • v chatcolor [enable/disable]
      Enable or disable the system chat color : When a vampire write something, the vampire nickname is write in red
    • v burntime [From] [To]
      Set time when the vampires will burn. Ex: /v burntime 0 12400
    • v feed [playername][amount]
      Give blood to the vampire.

    1. Download the latest release:
    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.


    If you have an older version of Vampire, you may update the plugin, so the simplest way to update the plugin is to replace your current Vampire.jar by the one you downloaded and to remove Vampire directory.
    However if you don't how to delete them ('cause you've translated the conf.json for instance) you have to :
    (For instance : if your version is 1.3 do the things write in "If your version was < 2.1" but also the things write in "If your version was < 2")

    Show Spoiler

    If your version was < 3.2 /!\ VERY IMPORTANT

    Show Spoiler

    - Remove your Conf.json
    It will be created once again, when you restart your server

    If your version was < 3.1

    Show (open)
    Edit config.json in Vampire directory, and add the following lines :

    "allowBloodLoss": true,
    "allowSpreadingNecrosis": true,
    "radiusSpreadingNecrosis": 2,
    "messageTrueBloodVampire": "You are a True Blood vampire.",
    "messageBasicVampire": "You are a common vampire.",
    "turnTrueBloodMessages": [
    "Your heart stops. You don\u0027t breathe anymore.",
    "You are now a True Blood vampire, able to infect.",
    "To see your blood supply:",
    "Type \"/v\" or simply \"v\" in the chat."

    If your version was < 2.2

    Show (open)
    Edit config.json in Vampire directory, and add the following lines :

    "vampireNameColor": "RED",
    "vampireChatMessageColor": "WHITE",

    And add this lines in the part regarding helpMessages :

    "/v burntime [From] [To] Set time in which vampires will burn.",
    "/v chatcolor [enable/disable] Enable/Disable vampire player name color.",
    "/v help Show this message."

    If your version was < 2.1

    Show (open)
    Edit config.json in Vampire directory and remove the "Pork" item from food material :

    "foodMaterials": [
    "PORK" <-remove this

    If your version was < 2

    Show (open)
    Edit config.json in Vampire directory, and add this line between the second and third line :

    "allowOPToUseAdminCommand": true,

    Incompatibility with other plugins :

    You'll maybe meet some bugs if you use a Weather plugins.


    Version 3.3
    • When a human died, he may become a vampire (configurable).
    • Bug fixes
    • True Blood vampire can use different recipes than Common vampire , in order to cure.
    Version 3.2
    • Added the possiblity to vampire (True Blood and/or Common) to prevent from burning.
    • Configuration file (Conf.json) splitted in 4 :
      - Conf.json includes general Vampire plugin variables.
      - Lang.json contains all the text. (So this is the file you'll need to translate if you don't want the text to be in English)
      - TrueBloodConf.json contains attributes about TrueBlood vampire.
      - CommonConf.json contains attributes about Common vampires.
    • Red roses don't disappear if "spreading death" ability is enabled.
    Version 3.1
    • Drain blood overt time is now available and configurable.
    • Server operators can feed vampire (give blood to vampire)
    • A vampire will bring death to the world. It's mean all entity next to the vampire become dust.
      For instance, flowers will disappear, grass will become dirt, snow will melt.
    • Added True Blood vampire and Common vampire. True Blood are the vampire turn thanks
      to an evil altar, and common vampire are those infected by other vampire.
    • And other bug fixes...
    • CB 740->766
    Version 2.2

    • Added : help command : "/v help"
    • Added : set burn time (time during the vamprie will burn) command : "/v burntime [From] [To]"
    • When a vampire say something in the chatbox, his/her nickname is colored in red, this feature is disable by default. Use the "/v chatcolor enable" command to enable the chat color system.
    Version 2.1

    • Vampire can walk out the day when it's raining/snowing or even thundering.
    • Vampire can eat pork to get blood.
    • /v command fixed
    Version 2

    • Bugs fixes when it's day light, a vampire who flight over the 127th block (y) will now burn.
    • Removed Permissions Plugin Support due to some errors (only OP can use admin command).
    • Removed Help Plugin Support due to some errors (only OP can use admin command).
    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
  2. Offline


    Please keep updating it!
  3. Offline


    needs to be updated :p
  4. Offline


    I think vampires should gain boosted night vision. They should be able to see in the dark better because, after all, they are creatures of the night. I think in dark places PERCEIVED light levels should be boosted. I think minimum should be redstone torch level everywhere, but once you get above that, it is not boosted any more. After all, half of the reason we put torches down while mining is to keep mobs from spawning. With the monster truce, that problem is negated, so why should we have to use torches. Also, to pair with this, I think high levels of light should also harm the vampires in some way. Not damage, but maybe for each light level above what monsters spawn in (7 or below I think?), the vampire should lose some of it's combat buffs (the damage given multiplier and damage received reducer) until they are beneath human level in a VERY well lit area. An alternative would be to add more blood loss when in a heavily lit area.

    Also, I found a bug. Ghasts are NOT friendly towards vampires (at least in the nether).
  5. Offline


    gg !!!!
  6. Offline


    I love how bosecon got de-listed because its title was not updated for 1 week, and we still have plugins that are dead and not being worked on that are listed... love it...
  7. Offline


    Tested/verified on 860 (1.6.6) - 953 (1.7.2).
  8. Offline


    rufust, tested and so far everything seems to be correct. One nice adition would be to add permissions support.

    Thank you for your help in this.

  9. Offline


    @Xcite4Ever, that's something I'm currently looking into. Right now, I'm trying to get organized so I can officially get this plugin back in "active" state.

    Side note for anybody who grabbed the .jar from my site before this morning: check the MD5 hash of the Vampire.jar file, if it's not 3a4ba3c21a97060f80166ca072fa3f53, then you'll want to download again. I'll make sure I include hashes of the files in future releases so you people know you have the right version.
  10. Offline


    @rufust You're great! I'll test the new version today but seeing Xcite4Ever response I guess everything is ok. Big thank you from me and my players! ;) By the way, meaby you could start your own thread after bringing this plugin back to life? Would be much easier for new server admins to find your latest version. Just a suggestion :)
    Oh and I too would love the night-vision thing. If it's at all possible.
  11. Offline


    Do i have to add any commands in the groupmanager to use this plugin?
  12. Offline


    what is the sulphur? o.o
  13. Offline


    It's sort of apparent that this plugin is going inactive... Wondering if anyone is considering taking it over? I would -- If I knew how to program in Java... >.<

    I want to try this plugin so much but don't want to risk using a 766 plugin on a 953 server...
  14. Offline


    Just read the last couple pages.
  15. Offline


    To all: I will be officially starting a new thread this week to make it more identifiable that this plugin is in fact continuing development. You'll have to bare with me during these initial stages as I'm still digging through the source to follow the past developers' logic. One of my major goals right now is to get some Permissions bindings in place and trying to fix as many of the bugs as I can. I am still familiarizing myself with the Bukkit API, but the more I get used to it, the greater chance I can get some of your requests in as well!
    LlmDl likes this.
  16. Offline


    Be great if could get the permission support for the altars or OP only.
  17. Offline


    shavid, the goal would be to have everything permissionable
  18. Offline


    Looks interesting, will have to try this out xD
  19. Offline


    Yeah... That's my bad, sometimes I forget to read some of the posts before I post...
    You, my friend... Are awesome! :D
  20. Offline


    soo.. is this the third one taking over this plugin?
  21. Offline


    I don't think anyone has officially taken over the plugin, and if someone already has, I'll be happy to step down. If not, I was planning to continue active development on it as the official developer. I guess until someone says otherwise, I'll continue with my plans and maybe later on merge with other developer(s).
    LlmDl likes this.
  22. Offline


    Darkride and Yuckfoo were only updating the plugin to keep it updated. rufust is the first one to show interest in actually continuing development and improvements to it.
  23. Offline


    hey how do u turn the spreading death off its killing me to know
  24. Offline


    You open the trueblood.json and the common.json and turn spreading to false
  25. Offline


    Maybe, if you were holding a designated item (server creator's choice) it would act like garlic and give you a forcefield that doesnt allow vampires to get close to you. Maybe a golden apple or something like that.
  26. Offline


    Its not mentioned in plugin incompatability however. Hunger mods. 1. vampires shouldent have to eat. 2. vampires cant eat so it may make them weaker. Is there something in place to prevent death by hunger in vampires? Does it vary by plugin? Or am i going to have to modify my permissions file and give my vampires all the permission to not die form hunger?
  27. Offline


    If what you are meaning is the hunger plugin, then yes you need to modify permissions for your vampires to not die from hunger, because this is a separate plugin. But if you are talking about vampire blood hunger, you can disable dying of blood starvation in the config file.

    Also you can also modify what foods vampires can and cant eat in the config file. It's a very configurable plugin
  28. Offline


    Thanks. I was talking about other hunger plugins and if there was any support for them. Its just alot of work to have to setup each vampire manually in permissions or else they are doomed to die because they cant eat.
  29. Offline


    outdated like hell, im guessing this mod is done, bummer
  30. Offline


    Well, if he's still planning on it -- Rufust (Read up a few posts) is planning on taking over the plugin.

    Hopefully he's still planning on it. :)
  31. Offline


    Sorry people, had some unexpected visitors this past weekend so haven't had time to create the new thread. I'm catching up on real-world responsibilities but will have the new thread created either tomorrow or Tuesday.

Share This Page