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

    TrainYourBrain

    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
    Download: https://sourceforge.net/projects/bukkit-vampirem/files/3.3/Vampire.jar/download
    Source : https://sourceforge.net/projects/bukkit-vampirem/files/3.3/

    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
    Vampires…

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

    Altars
    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",



    Commands
    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.
    Installing



    1. Download the latest release: https://sourceforge.net/projects/bukkit-vampirem/files/3.3/Vampire.jar/download
    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.




    Updating

    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": [
    "MUSHROOM_SOUP",
    "COOKED_FISH",
    "APPLE",
    "RAW_FISH",
    "GOLDEN_APPLE",
    "BREAD",
    "GRILLED_PORK",
    "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.

    Changelog:

    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

    Pedroboy16

    Hum can you create an item who "protect" the vampire of the sunlight ?
    Like a block of lapiz lazuli or an other item rare ?
     
  3. Offline

    Cake=Lie

    Cool ill keep up to date with your forum :D
     
  4. Offline

    HunterAP

    Could you make this multi-world configurable? I run a server with several worlds, one world is specific for "Hardcore survival," and I think that this would be a great addition to it. However, I wouldn't want the effects on the creative worlds.
     
  5. Offline

    +Meta_Knight+

    Awesome! It works great!
     
  6. Offline

    TrainYourBrain

    @HunterAP

    I will take a look on how to do this ;) .

    Else, new released version, please read the update section :

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

    DanteThanatos

    Awesome plugin thanks for maintaining it.
    2 suggestions:
    1º How about the vampire sacrificing some amount of resources(Redstone, glowstone, obsidian,etc) and be protected by sunlight for a set amount of time? Can he be warned of how much time he has left? nothing fancy 1 or 2 minutes or configurable minutes =D.

    2º Could you create ANOTHER plugin? Werewolfs. Pretty please? Oh god please?!
    Vampires (True and Common) and Werewolfs, with Humans in the middle.
    Fights and death under the moonlight. Ragequits and the "Huh!" sound of people taking damage filling the air.
    Ah...Ok I got carried away XD

    Thanks again for keeping this plugin up.
     
  8. Offline

    Chosen

    is possible in this plugin change me in vampire when I will die?
    u know... i'm normal human and when mobs kill me I change to vampire

    Thx for replay

    Respect
     
  9. Offline

    TrainYourBrain

    @DanteThanatos

    1) Yes it's possible but I won't do it at the moment :S (but I keep the idea in Todo list :p)

    2) I can do this, but tell me which abilities Werewolves will have , cause I have no idea :)

    @Chosen

    Yes it's possible, I'll make it real in the next version ;)
     
  10. Offline

    HunterAP

    Thank you for your consideration!
     
  11. Offline

    Pedroboy16

    And for my item who protect the vampire of the sunlight ?
     
  12. Offline

    TrainYourBrain

    @Pedroboy16

    Incoming in 3.3 ;)

    EDIT : Do you want vampire not burning when they hold a certain item in the hand ? Or only when a certain item is in the inventory ?
     
  13. Offline

    Pedroboy16

    When certaine item is in the inventory.
     
  14. Offline

    Sleepywalker

    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.

    Sleepywalker
    Who walks in the night
     
  15. Offline

    Pedroboy16

    how can i do to the wooden item doesn't one shot vampires ?

    Thx for the "resistent item" :)
     
  16. Offline

    Nytemare3701

    Expanding on my previous request: Different cures for the two types. I'm making my True vampires hard to cure, but the common ones easier.
     
  17. Offline

    TrainYourBrain

    @Pedroby16

    Remove this from the con.json file :

    Code:
    "woodMaterials": [
        "STICK",
        "WOOD_HOE",
        "WOOD_AXE",
        "WOOD_SWORD",
        "WOOD_SPADE",
        "WOOD_PICKAXE"
      ],
    @Nytemare3701

    Understood ;)
     
  18. Offline

    Nytemare3701

    Every time I read this thread, I'm inspired anew. Mind putting as many variables as possible into the separate configs? that will make things like True vampires that can only be staked (with a stick) and take massive damage, while common vampires only have a mild weakness to wood weaponry.
     
  19. Offline

    Naur

    Awesome plugin. Can't run my server without it. Also great job with updates, love the Necrosis feature and separate vampire types.

    Found a few problems though:
    Setting "allowBloodLoss" to false in TrueBlood.json doesn't change anything and changing the "jumpDeltaSpeed" in the conf.json also does nothing.

    I have a couple of suggestions too if possible:
    1. Make the blood loss amount configurable for common and True Blood vampires separately.
    2. Add some form of control over common vampires that a True Blood vampire turns. Like being able to see where they are, gain a small amount of blood every time they feed or receive less damage from them.
    3. A configurable maximum blood supply (Preferably separately for common and true blood vampires).
    4. A leveling system based on the amount of time someone has been a vampire or the amount of blood the vampire has drained. This way if someone has been a vampire for a long time they would gain increased resistance to damage, wooden weapons and sunlight, bigger blood supply, less blood loss over time, etc.
     
    Faust likes this.
  20. Offline

    DanteThanatos

    Must be something that I did wrong but:

    I made that Common dont trigger necrosis and dont take Sunlight Damage
    The oposite is true to Truebloods...Necrosis On and Sunlight damage on.

    It seems that my Trueblood is not taking Sunlight damage.
    The only thing besides that wich I changed was the Vampire Chat from RED to DARK_RED.

    No error message what so ever. =/
     
  21. Offline

    Faust

    I like these ideas, but instead of being able to see where common vampires are, they should instead do almost no damage to a true vampire, but if they manage to drink the blood(kill) of a true vampire they should become true vampires themselves.
     
  22. Offline

    Phealoon

    I got this error and it crashed my server:

    Code:
    2011-05-16 15:07:36 [SEVERE] java.lang.IllegalStateException: TickNextTick list out of synch
    2011-05-16 15:07:36 [SEVERE]     at net.minecraft.server.World.a(World.java:1701)
    2011-05-16 15:07:36 [SEVERE]     at net.minecraft.server.World.doTick(World.java:1467)
    2011-05-16 15:07:36 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:363)
    2011-05-16 15:07:36 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    2011-05-16 15:07:36 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-16 15:07:36 [SEVERE] Unexpected exception
    java.lang.IllegalStateException: TickNextTick list out of synch
        at net.minecraft.server.World.a(World.java:1701)
        at net.minecraft.server.World.doTick(World.java:1467)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:363)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    -Phea
     
  23. Offline

    Demonofbirth

    Yes you could make this plugin "Vampires and Werewolves"
    Werewolves should have super high health.
    Be a true Werewolf from getting bit/attacked by a wolf (very very low chance)
    A common Werewolf from getting attacked by a true Werewolf.
    Werewolves have high amounts of health.
    Wolves befriend them on right-click (only a few wolves at once) or possibly the other way around wolves hate them.
    Long leaping jumps but no flying.
    true Werewolves being able to climb walls would be awesome.

    All these features at night only of course (moon being out). Maybe exceptions for true Werewolves.
    True Werewolves have more health than common werewolves.

    PS
    Any testing of these features if you develop them is welcomed on my server :)
     
  24. Offline

    Blazednlovinit

    i like having two different types now, maybe an option to set the max blood of each type? still planning on the night vision?

    just noticed, i configed tru blood to not lose blood but it seems to be
     
  25. Offline

    Windwaker

    Yay! This finally got released!

    Gratz
     
  26. Offline

    Cake=Lie

    Hay its me again just adding some more ideas
    In the seperate configs could you please add breathing under water true/false for each common/trueblood
    and could you add like with the turning grass to dirt also add something for each 1 like snow on the set radius in the config file? EDIT: Could fall damage on and off be added in the seperate config files too? or the amount common/trueblood can take?
    If werewolves are going to be added could in each seperate config file for common/tureblood/werewolf could you please add a simple is enabled setting in the config incase u dont want vampires or u dont want werewolves?
     
  27. Offline

    dual★moon

    So far so freakin' awesome. This is one of my favorite mods so far and has led to some pretty heavy balancing and huge epic race wars...humans versus vampires. Great stuff. One thing though: could we disable blood transfer between vampires? Would really make things a lot more perfect. Also, wouldn't mind being able to tweak damage mods for each individual items. And if anyone is wondering, to make arrows do staking damage, add "BOW" to your list. Took me a bit to figure that out; adding "ARROW" doesn't do anything. Thanks again Train, this is the bomb.
     
  28. Offline

    Kudos

    Once again, thanks for keeping this mod updated and popping in new features! I've been using this mod since a little bit before you started working on it, and it continues to get better!

    I too, think having some sort of werewolf addition would be fun. I guess as far as powers are concerned, that wall climbing ability, akin to spiders, would be awesome, in addition to the jumping (as someone mentioned before), only the jumping should work when there is ground beneath their feet. Their fuel source could be stamina, and recharges quickly when under the moonlight (open night sky). Their health could regenerate during night as well. This way, they could still use powers during the day, it's just that their stamina would not recharge until nightfall. Hmm, perhaps werewolves could also activate supernatural speed with a right click, which would allow them to have increased moving speed which continuously saps their stamina without recharge, until they turn it off with another right click.

    I think it would be a good idea to make vampires and werewolves unable to use any weapons but their fists for fighting though, since they'll be pretty strong. As a default, I think werewolves should have a greater damage resistance than vampires.

    Working in the opposite direction, I think it would be great to balance the tables by giving the humans a fighting chance with priests. If a human uses a holy altar, then they can become a priest and have the following abilities:
    -added resistances from damage given by a vampire or werewolf
    -increased damage dealt against a vampire or werewolf
    -perhaps an ability to heal themselves and others? (I've seen a few mods that do this one)
    -an ability where the priest acts as a light source, shedding light around themselves and viewable by others.

    If you were to package werewolves and priests together with the vampire mod so far, you could possibly call it the Hearts of Darkness plugin :p
     
  29. Offline

    TrainYourBrain

    New release :

    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.

    So about Vampire/Werewolves, I just want to notice you it will be splitted into two different plugins.

    @Naur

    Bugs fixed, and thanks for all your ideas ;)

    @DanteThanatos

    I fixed the bugs ;)

    @Demonofbirth

    Great suggestion, I'll keep your ideas

    @Cake=Lie

    Yeah, it will be added.

    @dual★moon

    You're right, a vampire shouldn't be able to drain another vampire's blood ;)

    @Kudos

    Thanks about information regarding werewloves ! It's very useful ;)
     
  30. Offline

    DanteThanatos

    Extra damage from Iron(Closest to Silver than Gold in Minecraft,IMO) to Werewolfs?
    I like the Idea of extra resistance and regeneration, but stamina seems a bit of...How about Cooldowns?
    Everything about the Werewolf powers being only useable at night is acceptable, but Wall Climbing is preferable being able to turn it off or on in the config file. Supernatural speed with right-click...Alert of putting a block in front of you just before moving XD. I thought about eating something(Raw Pork?) and getting that speed for some time.
    Extra damage with Fists(Claws)?

    I'm probably going to die in my bed for saying this but: Can a plugin change the Miner skin to a Wolf? Im not saying change the colors. Its about turning the Player into a Wolf under de moonlight.

    Limiting weapons for Vampires and Werewolfs? Oh pls dont do that XD
    Had some awesome fights displaying swordplay with Rapiers and Klaives in RPG.

    And before happening im going to say...Make it impossible to a Vampire become a Werewolf and vice-versa. Only humans can change.
    Thanks again. o/

    EDIT: I hate to bring bad news:
    True Bloods still dont take sunlight damage. I completely erased any older Vampire plugin before downloading the last one and used the /v turn command... Turned me into a Common vampire. Fine by me and sun burned me...Then I went to the Player config file to turn me into a True Blood. No damage...I turned damage on in the True Blood file and off in the Common file. Maybe they're connected? Sorry =/
     
  31. Offline

    TrainYourBrain

    @DanteThanatos

    And what happens if you cure from common vampire, turn into TrueBlood (/v turn DanteThanatos trueblood) ? instead of directly change the players.json file :) .
    Remember the plugin may be buged due to other weather plugin such RegionalWeather, ExtendDay etc... cause those plugins modify the time day and it screw up the vampire burning system...
     

Share This Page