[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
    Vampires…
    • 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.

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

    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]
      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.
    Installing
    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:
      -'vampire.default.*'
    • Add to the admin group:
      -'vampire.*'
    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 :)

    Changelog:
    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:
    http://help.github.com/fork-a-repo/
    http://help.github.com/pull-requests/
    There will be cake if you join me in the coding [cake] :)
     
  2. Offline

    siroro

    Re-download the jar file, I uploaded a new one which stops burning in rain.
     
  3. Hello. First off, I love your mod, and it is a big part of what makes up my RPG server. But it seems to be a little buggy with the new 1.5_01 update. Vampires will only burn in sunlight some of the time. And normally will not burn after it rains.
     
  4. Offline

    Drithyl

    Siroro's fix seems to work great, thanks. However, I found an interesting issue that should be fixed: you can drain blood by hitting mobs or players with arrows, which is kinda stupid in itself. Also, if you shoot the arrows at 90º to the sky and they hit yourself, you obtain blood from yourself.
     
  5. Offline

    Shasharala

    Hahaha! Now that's amusing!
     
  6. Offline

    Votex09

    @siroro: It works thanks much! I need to get into coding... I took a java class <.<
     
  7. Offline

    LucidLethargy

    I have been informed by one of my players that there is no longer a message when someone turns into a vampire - thought I'd pass it on :p

    Love your work, as always!
     
  8. Offline

    darklust

    Looking forward to an update man :]
     
  9. Offline

    u83rju1c3

    Also looking forward to an update on this, any news, Olaf? Are you in fact working on an update for this awesome plugin?
     
  10. Offline

    Soffu

    This plugin is great but when a vampire is out in the sun he doesnt seem to be taking any damage from it...dont know if its just me ....
     
  11. Offline

    salutwww

    The vampire should be able to have a night vision, because they have to get out the night, so it would be useful for them.
     
  12. Offline

    LucidLethargy

    There is no way to do this with current mechanics.

    Also, this plugin is broken I hear - my players are unable to turn into a vampire, however they lose all their items upon trying.
     
  13. Offline

    siroro

  14. Offline

    Phealoon

    hey I just wanted to mention that that I love this pluging, but I also have Voxelsniper available for the admins to continue world building. It seems that because voxel also uses /v command that it makes it hard to use both. Is there a way to change the /v to /vamp or even /vp etc?

    -Phea
     
  15. Offline

    Jakkumn

    As a thought, if you decide to, with the multiworld support/nether capability, the nether could be the vampire's "homeland" and there they have no blood costs and have native use of all of their abilities.
    -Jakkumn
     
  16. Offline

    PHombie

    Best plugin ever! tnx to coders! but we want more xD Werewolfs!!
     
  17. Offline

    mmdawg1

    could you make it so vampires can sleep during the day?
     
  18. Offline

    Plague

    considered inactive
     
  19. Offline

    Zebra

    What do you meen with red rose and how can i made one?
     
  20. Offline

    KillingEdge

    You can hold a rose in your hand, and rightclick and leftclick, to run very fast or jump very high if you are a Vampire. Do not use the dye rose red, use the flower instead.
     
  21. Offline

    salutwww

    Is it possible to do a version that is compatible with Canarymod?
     
  22. Offline

    u83rju1c3

    Code:
    18:35:50 [SEVERE] Exception in thread "Timer-2"
    18:35:50 [SEVERE] java.lang.NoSuchFieldError: a
    18:35:50 [SEVERE]       at org.mcteam.vampire.VPlayer.damageVisualize(VPlayer.ja
    va:650)
    18:35:50 [SEVERE]       at org.mcteam.vampire.VPlayer.infectionAdvance(VPlayer.j
    ava:520)
    18:35:50 [SEVERE]       at org.mcteam.vampire.VPlayer.infectionAdvanceTime(VPlay
    er.java:501)
    18:35:50 [SEVERE]       at org.mcteam.vampire.VPlayer.advanceTime(VPlayer.java:9
    1)
    18:35:50 [SEVERE]       at org.mcteam.vampire.VampireTask.run(VampireTask.java:1
    6)
    18:35:50 [SEVERE]       at java.util.TimerThread.mainLoop(Unknown Source)
    18:35:50 [SEVERE]       at java.util.TimerThread.run(Unknown Source)
    a few of the badass errors i am getting now with Vampire 1.4.1
     
  23. Offline

    diabolichero0

    I really think that vampires at night should be able to see better like make it look light to just vampires
     
  24. Offline

    msw1

    This needs to be updated for 740.
     
  25. Offline

    LucidLethargy

    Thank you so much, me and my entire server appreciate your efforts - we rely on this plugin for ALL our pvp interests at the moment, so your efforts are not overlooked in the least.
     
  26. Offline

    Kudos

    I've just recently added this plugin to my small private server for my friends, and I have to say, it is quite enjoyable. Great job to the creator and to siroro for the fix to make it compatible with the current version of Minecraft.

    A few things that could possibly be added in the future, if anyone decides to pick it back up:
    -Maybe a way to save blood for later use, perhaps buckets?
    -Alternative bonuses to being human. I'm not entirely certain what these bonuses could be as of yet.
    -Another class (with another kind of altar) that grants different abilities. I have seen people mention werewolves; that could be interesting.
    -Make it so that when a human uses a good altar, they become the next stage in good - maybe a cleric? They could have defenses against creatures of the night (both offensive and defensive) along with a few other perks.

    Of course these changes would go beyond the simple vampire plugin as it stands. This could always be a stepping stone in reaching a nice "Creatures of Darkness" mod though :p
     
  27. Offline

    Cake=Lie

    I love this mod I have not gone a day without having it on the server but I really hate burning in sunlight its just plain annoying... could you add a type of vampire like ~Pure_Blood~ vampires? and they dont burn in sunlight and only ~Pure_Blood~ vampires can infect humans.. and ~Pure_Blood~ vampires can only be chosen by ops/admins? and normal vampires still burn in sunlight? because that would be a great addition and maybe just a extra text file could do this sort of thing would be nice :) Love the mod keep up the good work
     
  28. Offline

    TrainYourBrain

    The vampire horror continue here .

    @ Cake=Lie

    If you don't want your vampire burn at sunlight, edit conf.json file in Vampire directory and set those two variable to 0 :

    Code:
    "combustFromTime" : 0,
    "combustToTime" : 0,
     
  29. Offline

    Shadowlordz

    Maybe I understood wrongly from my server Admin, but I'm pretty sure that he said that he developed something on the plugin so that if you're infected by another vampire, you're a regular vamp, but if you get infected by an altar, you become a deathbringer, which kills flowers and grass and stuff nearby (not working atm but will do soon) and you dont burn in sunlight.
     
  30. Offline

    jimmyy4

    The infections wont work!
    PLEASE HELP!!!!
    :(
     
  31. Offline

    happypumkin

    its a red flower, you find them on grass with yellow flowers
     

Share This Page