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

    For the next version, do you add an item who protect vampire of the sunlight ?

    sorry for my english i'm french people ^^
     
  3. Offline

    TrainYourBrain

  4. Offline

    Pedroboy16

    thx a lot :)

    But when it will be added, i could chose this item ?
     
  5. Offline

    TrainYourBrain

    @Pedroboy16

    Of course, it will be configurable ;)
     
  6. Offline

    DanteThanatos

    @TrainYourBrain

    Just tested >> /v turn MyName trueblood(didn't know about the "trueblood" part)
    Sucessfully turned me into a True Blood and I changed the time to 0,to 12400 and then to 23999.
    I dont use any time manager plugin and I know about the From 0 to 12400 Burn Time. No sunlight damage till now =/ and no error too, it could help if there were any error but I dont get any.
     
  7. Offline

    Pedroboy16

    Ah i've an other question. Can i reduce damage of the wooden item ?
     
  8. Offline

    dual★moon

    In the conf.json you can change the damage multipler. By default I believe it's 3.5x damage. I have it at 2x, ymmv.

    Edit 1: Someone should totally do a video for the OP, and make the background music Little Jinder's Youth Blood (or the 12th planet remix thereof) :p

    Edit 2:
    Unfortunately that requires client-side modding that's highly experimental right now. (It does exist though, thanks to ItemCraft!)
     
  9. Offline

    Demonofbirth

    In your changelog it should be when a human dies not died. Also when you make a werewolves plugin please post it in the first post.
     
  10. Offline

    Chosen

    Very Very THX for this
    "When a human died, he may become a vampire (configurable)." :)
    RESPECT
     
  11. Offline

    DarKMaKa

    Can it be possible to make night vision option?
     
  12. Offline

    panderiz

    Vampire 3.3 direct link

    md5sum : b30fcd7e5d1a0453071fbf587fabead0

    As this is voluntary on my part, I won't ALWAYS be up to date. I will be naming the plugins using Vampire_VERSION.jar

    Regarding the plugin...


    "radiusSpreadingNecrosis": false | true,
    "allowSpreadingNecrosis": false | true,

    Having those set still had the death spreading. It's also very fast(instantly for that matter), could you please make it so everything dies similar to how a torch melts snow? Great start on this, just needs some tweaking in my opinion.
    Maybe set a timer to run maybe every 1 sec(might as well make this configurable as well) and then choose a random block within the radius. You could also store which blocks have already been 'deathified' and just get another random number again.

    For the time being I've gone back down to 2.2 because the deathify part is still being worked on(I hope) and don't quiet fancy having vampires walking around and my entire town suddenly is dirt :D
     
  13. Request, either:

    - Multi-world support so I can enable this in a certain world only
    - Permission nodes(s), so I can enable this in a certain world only using Permissions.
     
  14. Offline

    DarKMaKa

    Request:
    - Night Vision for Vampires :D

    I just had this erore then the server crashes
    Code:
    2011-05-18 13:41:34 [INFO] [Vampire error] :-1
    2011-05-18 13:41:42 [SEVERE] java.lang.IllegalStateException: TickNextTick list out of synch
    2011-05-18 13:41:42 [SEVERE] at net.minecraft.server.World.a(World.java:1701)
    2011-05-18 13:41:42 [SEVERE] at net.minecraft.server.World.doTick(World.java:1467)
    2011-05-18 13:41:42 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:363)
    2011-05-18 13:41:42 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    2011-05-18 13:41:42 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-18 13:41:42 [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)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  15. Offline

    Cake=Lie

    More ideas
    A damage system in text files
    Could there be a certain textfile for damage like
    eg in the text file TrueBlood Vampire Damage to Common Vampire say 7 hearts?
    and Vampire damage to Trueblood 1 heart?
    This could also give an upside to being human eg
    Human 3 hearts> common vampire
    That way you can really show that a trueblood is superior to a normal vampire.
    Also I was thinking of a new class perhaps Vampire Hunters?
    They hunt vampires and could also be in the damage system?
    Eg they use bows and swords against vampires and in the damage system perhaps like can do more damage to vampires then a normal human, and be the protector of humans eg from blood thristy vampires?

    Thanks
    Cake=Lie
     
  16. Offline

    DarKMaKa

    Is that possible to add an item that make heavy damage against vampires (like a golden apple) ?

    Also, is there any plan to put back permissionn support?
    Because no admin can use OP commands
     
  17. Offline

    LucidLethargy

    So I STILL get the "Only OP can use this command", and it's kind of ruining any hope of me testing things in an efficient manner. The person above me is having the same problem it seems, so please fix this if you will! I did regenerate my config to a brand new one as well, so i've tried everything I can I believe... Turning the setting for "op" off even still gives the same message despite op's not being allowed.

    Also I love the true blood vs. generic thing you have going, I wonder if it might be even better if you could adjust the ticks of sunlight damage, though? I don't want to negate it entirely or else one becomes way too advantageous, but if there was a small difference it would detour people from cheating the germ off other vampires, and give the cost a better factor!
     
  18. Offline

    Blazednlovinit

    He replied to me earlier in this thread saying at the time he was working with another dev on the possibility of night vision
     
  19. Offline

    TruffleDucks

    Will Edward be there :)
     
  20. Is there any way to change only the color of the text and not the name?

    I use iChat for prefixes and this messes with that a lot, but I want to have something different in the chat for my players to see.
     
  21. Offline

    Valgaror

    I've got 2 questions:
    1. Necrosis doesn't seem to be working - I set it enabled for trueblood and disabled for common vampires, but it's currently not working for either.
    2. Is there a way to set it so common vampires can also infect others?
     
  22. Offline

    Cake=Lie

    Bug!! Commons arnt burning much anymore they can walk around the place even though there setting is to burn they only burn when they stand still please fix :D only bug ive found for now, its oncstant though

    EDIT: looked into it myself and found the problem fixed it and now the vampire plugin is a ok :D
     
  23. Offline

    zionite

    This is a great mod!

    I'd like to see the earlier "wearing diamond armor reduces sun damage" thing implemented. Or at least the option. Thanks!
     
  24. Offline

    pluisie

    for me when i fly like 10 seconds i get kicked for floating too long can anyone tell me how to fix this?
    (sorry for bad english or any other spelling failures im not good at english)
     
  25. Offline

    Acknowledgement

    i love u haha...added it to my server NO ONE seen it coming
     
  26. Offline

    Phealoon

    I want to change the Altar Cure Material to Double_Stone_Slab, but I get errors when I try,.. is the item id name different?

    -Phea

    This feature is really awesome in my opinion, it allows vampires to be tracked by Ranger classes easier.

    -Phea

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  27. Offline

    Kudos

    Go to your server properties and set flying to true.
     
  28. Offline

    jlu

    Can i have permissions to build good/evil Altar? For exemple, my priest can cure ma vampire dude with a good altar. Sry about my english, i hope you understand what i'm talking about.
     
  29. Offline

    Meiun

    please allow altars to be made of more than just two materials.

    permissions support also would be helpful.
    a node for all on/all off would be nice, nodes for each ability would be fantastic
     
  30. Offline

    DarKMaKa

    Is that possible to add an item that make heavy damage against vampires (like a golden apple) ?

    And I had again:
    Code:
    2011-05-20 19:07:22 [INFO] [Vampire error] :null
    2011-05-20 19:07:22 [SEVERE] at net.minecraft.server.World.a(World.java:1393)
    2011-05-20 19:07:22 [SEVERE] at net.minecraft.server.World.a(World.java:1366)
    2011-05-20 19:07:22 [SEVERE] at net.minecraft.server.World.a(World.java:505)
    2011-05-20 19:07:22 [SEVERE] at net.minecraft.server.MetadataChunkBlock.a(SourceFile:104)
    2011-05-20 19:07:22 [SEVERE] at net.minecraft.server.World.doLighting(World.java:1354)
    2011-05-20 19:07:22 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
    2011-05-20 19:07:22 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    2011-05-20 19:07:22 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-20 19:07:22 [SEVERE] Unexpected exception
    java.lang.NullPointerException
    at net.minecraft.server.World.a(World.java:1393)
    at net.minecraft.server.World.a(World.java:1366)
    at net.minecraft.server.World.a(World.java:505)
    at net.minecraft.server.MetadataChunkBlock.a(SourceFile:104)
    at net.minecraft.server.World.doLighting(World.java:1354)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  31. Offline

    Zeus1976

    Can you also make a werewolf mod :D that would be epic if players could because a were creature - maybe make gold items do more damage to them. Allow a higher jump, regeneration and other stuff
     

Share This Page