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


    Thanks for the fixes! :)

    Another bug popped up though: When i set "allowSpreadingNecrosis": false for common vampire and "allowSpreadingNecrosis": true for True Blood vampires it doesn't work for either.

    Everything else works like a charm though.
  3. Offline


    Could you move more settings from the conf.json to the TrueBlood.json and Common.json? I would love to make the 2 types of vampires much different in what they can eat, how much blood they can have and still be fine, what the chance of them infecting someone is, etc.

    Faust likes this.
  4. Offline


    I agree, this would be great.
  5. Offline


    Being a professional tool of the liberal media, I've taken the liberty of editing the lang.json file so that it conforms to some standards of grammar. I offer this to you freely.
    For example:
    Was changed to:
    I have left the ellipsis in place for effect, but thought that many people would appreciate a more grammatically correct version.

    Attached Files:

  6. Offline


    I like this. =)
    I've been modifying the grammer everytime an update comes out. Quite a bother really.
    I havn't tried the mod since it forked, but this looks great.
  7. Offline


    You know what would be a amazing future update? If you made it so if other people are on or like if you didnt make the house you can't get in the house without the owner/owners of the house permission and if there was a command so you could make them walk in the day with a ring like with witches like mob witches that can hurt vampires but can also befreind them and the witch has to make the vampire a ring. and a couple more things Mabey werewolf mobs who hate vampires and turn at night And as the vampire gets older he gets stronger and gets less damage from wooden items and The yellow flower if vampires get hit with a yellow flower it makes them weak. I watch the vampire diaries that where I got most of this stuff from but please consider putting this in a future update I would love it so much :)
  8. i'd be cool if vampire slayers could be added and they have the power to turn vamps back to normal
  9. Offline


    Does this support permissions
  10. is there anyway to change the command from using "v" cus voxel sniper is incompatible then :(
  11. Offline


    Is anyone else having random deaths for their vampires? Before updating to 798, players would randomly die and not be able to spawn unless they re-logged. Now with 798 they're still dying randomly, but respawn where they died when they log back in.
  12. Offline


    Hey guys,

    I got a lot of things to do IRL (exams and other crap like this :p) , but I don't forget you don't worry ;)
  13. Offline


    Im am currently updating the plugin I can send you the jar to upload
  14. Offline


    I'm wondering If I shouldn't entirely rewrite the plugin to include WereWolf, Paladin (vampire slayers) with the improvement to stock data in MySQL database... just thinking of this at the moment :p


    Yes, of course, what did you improve ? (fix some bugs :p )
  15. Offline


    I'd really like to encourage making a single, permanent URL for your mod (one that won't change with updates) and providing that to the CraftBukkitUpToDate mod author for inclusion. It's a really handy utility, makes it very easy for your plugin users to get your updates without having to continually check the forums. As far as I can tell your plugin isn't currently supported there. All you need is a download address where the plugin can consistently know to check for updates.
    vrox likes this.
  16. i would really appreciate it if u could cange the /v to /vamp or something else thats not /v cus its inferfering with another plugin i really use called voxel sniper
  17. Offline


    Love to see this back from the dead !

    Just two questions : I'm unable to make Necrosis work. Is this due to my weather plugin ? (Mother Nature)
    And second question : Will you re-add Permissions support ? My MultiWorlds server would thanks you a lot.

    And thanks for continuing the plugin, that definitely made my day.
  18. Offline


    I would love to see the other classes included, but please consider SQLite support too.
  19. Offline


    common vampires are infecting bug D:

    cake=Lie forever
  20. Offline



    Anyway you can make it so that Arrows dont drain blood? I love this plugin but using a bow to get blood is kinda odd. Id like it if you could have the ability to turn this off or make it default off. Melee combat should be the only way to get blood IMO. Thanks for updating this amazing plugin!
  21. Offline


    Aye I second this.
  22. Offline


    Make other ways for curing a vampire other than using an alter, something thats more violent. Possibly on death...
  23. Offline


    Hi this is a Repost - but I feel i didn't get any response and I am having a lot of fights in my server with people losing items and people accidently killing one another.

    Hi I have been following this plugin and using it since version 1. Have temples and a whole server based on vampirism
    One thing that plagues my gameplay is Vampires being hated on because they are always accidently killing other players because they need blood (or they are just roleplaying the vampire) thanks for adding in pork to be eaten by the way.

    My Suggestion:
    Is it possible to give Humans a blood reservoir, and when a vampire attacks with a item (to be configurable) they drain blood from the human for say like 10 blood a hit (or a configurable amount) without doing actual physical damage to the human, and when the human has Zero blood they start taking damage. (Of course if the vamp attacked with normal weapons it happens the same as it does now etc)

    this would allow vampires to be able to feed but not kill the humans and stop a lot of un-needed PVP Deaths.
    also Humans could regenerate blood like a vampire loses blood

    just an idea puttin it out there man you seem to be a keen and fast coder who is motivated.

    Who walks in the night​
  24. Offline


    This is a pretty neat idea, I think it would be a nice thing to have.

    Also, I would like to second the SQlite support for any upcoming Werewolf/Paladin addon to the vampire plugin. I have to express my astonishment and thanks for you to continue working on this plugin and for considering the whole werewolf/paladin idea - I think it would be such a great thing to have.

    Once again, thanks for all your work thus far - it has enhanced my Minecraft experience.
  25. Offline


    I'm not really bothered going through all the comments and sorry if this was already suggested but can you make a Vampire Skin to go with it? Like When you turn into a Vampire a vampire skin is changed onto the player who became a vampire. This would make telling whether the person is a vampire or not easier.
  26. Offline


    Permissions to build altar?
  27. Offline


    That would be incredibly awesome but unfortunately, from what I understand, we can only upload or download skins from from our profile. This limits us in creation of NPCs with other mods (you have to assign their skin from an account) and of course, limits this idea from implementation. You can, however, edit your own skin (I recommend SkinEdit) as a vampire (as I've done :p) and it works nicely, heheh.
  28. Offline


    If somebody donated the money though they could have a premium account specifically made for keeping a vampire skin that this plugin could use to change yours to.
  29. Offline


    Good point, on my server i workaround by using worldguard blacklist, with the vampire group unable to use bows. Some people are dedicated vampires and thus are in the vampire group. If someone turns vamp, i have to add them to vamp group tho, or else we have bow-wielding vamps--- not cool!
    This was already addressed. No method currently of 'forcing' a skin onto someone.
    No perms needed. Just do it.
  30. Offline


    What about an item that does lot of dammage on Vampire ? (like nearly instat kill)
  31. Offline


    So like wooden weapons?

    "Take less damage in close combat except for attacks from wooden weapons which hurt them a lot."

Share This Page