[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

    ToitagL

    Damn, 1.2 and altars are fucking great !

    Can I stay with CB 493 and upgrade your plugin ? With every custom messages ?

    Thanks for your plugin and your work. You made my day.
     
  3. Offline

    Olof Larsson

    Good point but I like the command being very short. Especially as vampires will type /v a lot to see their blood supply :) You may just change it in the jar file if you have conflicts. Edit the plugin.yml file and set it to whatever you wan't. No need to compile the plugin or anything.
    [MERGETIME="1299681904"][/MERGETIME]
    It works with 493 as well.
    You should rename config.json to config.json.old. Then start server and stop it. Then paste you custom messages into the new file. It might work without doing thins but I am not sure.

    Thanks :)
     
  4. Offline

    Timelimit

    Can't download... It says the zip file is corrupted or something.

    D:

    EDIT: Got it somehow.
     
  5. Offline

    Exone

    Awesome olof :D I'm gonna make a fan banner/picture for this. Just for fun :p
     
  6. Offline

    lokiman72

    i dont mean twilight shit, but i was just thinking of some kind of way for vampires to see in dark, moron
     
  7. Offline

    LucidLethargy

    Does vampirism get cured upon death? I would love to have that option if not! My idea is to make vampirism a taboo on my server, and so when we see them using powers we lynch them. The idea with this is you kill them and the townsfolk win - they have to go to it again after that, or join the community as a mortal, rather than a crazy vampire we all want to kill!
     
  8. Offline

    Olat

    @Olof Larsson

    Please explain every line in the Config file.
    I would like to modify the chance to become a vampire along with many other things of this mod. But I dont know whats going on in there and I dont want to mess anything up.
     
  9. Offline

    Redyugi

    Can I request a change on the good altar items? I took a vote a while back, and no body really wanted to go to the Nether. That's a problem, because glowstone resides there.
    Also, a toggable feature to set apart the vampires from the humans. I say toggable, because some servers would like it, and some won't.
    A way to see in the dark would also be nice.
    I know it's a lot to ask but.. It'd make this plugin great. Thanks alot
     
  10. Offline

    Olat

    Edit the conf.json you can make the Altar items be what ever you want.
     
  11. Offline

    Redyugi

    I didn't see that. Haha. Thanks.
    Sorta just skimmed your post.
     
  12. Offline

    fugue2005

    i have a suggestion, vampire repellent blocks, designate a block type that vampires can't get near.
     
  13. Offline

    Daveyo

    seems like the ingrediants to change someone from vampire and not, are not requiring you to have them. It's just free to change in and out of infection

    also we have an issue with the no pvp zone, people can still be infected without taking damage. Using worldguard latest cb 522 vamp 1.2
     
  14. Offline

    LucidLethargy

    One more idea!

    Upon death, a vampire is sent somewhere special (other than normal spawn.) If that were true, we could really do some amazing things with this plugin! Like send them to a hell world! When they die THERE they can be cured or something even :p
     
  15. Offline

    Incendia

    Code:
    $ wget https://github.com/oloflarsson/Vampire/blob/master/releases/Vampire%20v1.2.zip --no-check-certificate
    --2011-03-09 22:22:32--  https://github.com/oloflarsson/Vampire/blob/master/releases/Vampire%20v1.2.zip
    Resolving github.com... 207.97.227.239
    Connecting to github.com|207.97.227.239|:443... connected.
    WARNING: certificate common name `*.github.com' doesn't match requested host name `github.com'.
    HTTP request sent, awaiting response... 200 OK
    Length: 29607 (29K) [text/html]
    Saving to: `Vampire v1.2.zip'
    
    100%[=============================================================>] 29,607      --.-K/s   in 0.03s
    
    2011-03-09 22:22:32 (861 KB/s) - `Vampire v1.2.zip' saved [29607/29607]
    
    $ unzip Vampire\ v1.2.zip
    Archive:  Vampire v1.2.zip
      End-of-central-directory signature not found.  Either this file is not
      a zipfile, or it constitutes one disk of a multi-part archive.  In the
      latter case the central directory and zipfile comment will be found on
      the last disk(s) of this archive.
    unzip:  cannot find zipfile directory in one of Vampire v1.2.zip or
            Vampire v1.2.zip.zip, and cannot find Vampire v1.2.zip.ZIP, period.
    
    :confused:
     
  16. Offline

    LucidLethargy

    Man hands down one of the greatest and most well thought out plugins on bukkit. I am extremely impressed from this plugins versatility (can modify EVERYTHING) and all the things that have already been thought of. Amazing work!
     
  17. Offline

    Olof Larsson

    Nice please post it when it's done :)
    [MERGETIME="1299750996"][/MERGETIME]
    Yeah... vampires do see better in the dark according to some fiction. I can't think of another way to simulate this rather than making the vampires glow in the dark... however that would also give them away...

    Take a look at this plugin: http://forums.bukkit.org/threads/me...ry-torches-rather-than-placing-them-450.6009/

    If you use that on your server anyone could glow in the dark. That might be a good solution.
    [MERGETIME="1299751252"][/MERGETIME]
    That's a good idea.
    [MERGETIME="1299751409"][/MERGETIME]
    I should probably add a configuration guide XD... There are so many config options I have not taken the time to do it yet :)
    [MERGETIME="1299751823"][/MERGETIME]
    It's just that glowstone looks so great :) Take a look at the screens of the altars a made:
    http://mcteam.org/plugins/vampire/
    But... what item do you suggest instead of glowstone?

    Set apart the vampires from the humans... please explain what that means :) Separate spawn point?
    [MERGETIME="1299752279"][/MERGETIME]
    To contract the infection through a evil altar will cost you the ingredients.
    To remove the infection through a good altar will cost you nothing
    To cure vampirism using a good altar will cost you the ingredients.

    So it is important to keep in mind that the infection and vampirism is not the same thing. The issue with worldguard is a plugin conflict. I'll look into it.
    [MERGETIME="1299752737"][/MERGETIME]
    Thanks :) Also all the feedback I get is awesome. I now have some new ideas on things to add...
     
  18. Offline

    riuthamus

    Gethub is not working, the download anyway.
     
  19. Offline

    Olof Larsson

    yes it does. try more. you will figure it out ^^
     
  20. Offline

    riuthamus

    I have clicked on the download tar and the zip, just sits there, might be because im in Japan, but honestly I have never had a problem with other file locations. I think gethub is horrible... anyway ill keep "trying"

    **EDIT** yes it works now... not sure why... YOU DID SOMETHING I SWEAR!!
     
  21. Offline

    ProfSmiles

    Definitely add the jump height thing - I wanna do crazy Crysis jumps will chasing people :D
    Perhaps hold space to go up, drawing x blood for every block you go up with a limit of y
     
  22. Offline

    Olof Larsson

    Hehe :) no i did not. The thing is that "save as" does not work at a certain page although it looks like it should work.
     
  23. Offline

    Daveyo

    Vampires can one shot others with diamond swords. Does the full 20 points of damage.

    like ok, a wood sword is suppose to be stronger but it one shots the vampire. Maybe a little balancing lol


    Ok, I am wrong on this, the config file for it is incredibly extensive. I can simply balance all of it myself. Very well thought out plugin


    SUGGESTION:
    any chance we can see a double jump with the feather or optional flying both at the cost of blood.

    Also in the config file you only have combat modifer which increases damage with all weapons as a vampire. Don't you want it to increase hand to hand combat only?
    The wood sword is incredibly too powerful against vampires also. Hard to balance since a wood ax will do practically no damage if you reduce the ratio of wood weapon damage
     
  24. Offline

    riuthamus

    Didnt use save as, just saying it would hang up on the page to download, click the link and it just sits there. NO worries, it worked now so all is well. I cant wait to try this out on my server.
     
  25. Offline

    Olat

    @Olof Larsson

    Vampires is a fun plugin but a Vampire shooting an Arrow should not give the vampire blood.
    It needs to be in melee combat only preferrably with Fists only. Giving them more dmg with Fists would be a bonus or a nice benefit too.

    Unlike humans they cant use food in combat to instantly heal. Why not let them use a portion of blood to instantly heal like Food? with a certain item Redstone perhaps? Let it take 20 Blood and heal 4 hearts. Incase they are in combat and need to heal some.
     
  26. Offline

    Axrael999

    This mod is amazing. I love how configurable it is. It really gives me the power to balance how strong I want the vampire to be. The alters are really cool as well.

    I also like the idea of a vampire "potion" of sorts, but the can always dash away so, I dont know.
    Great work so far tho.[​IMG]
     
  27. Offline

    KPDGaskell

    This is great fun on my server, especially as I get to be a vampire banker [​IMG]

    Can I suggest a few things (obviously I can understand if some are too hard to implement:
    Coffins, they would work the same as beds but skip to night;
    Killing a vampire cures everyone he infected;
    Vampires can respawn where they died unless killed with a wooden weapon (Though this is a little over-powered).

    Just some ideas, loving the mod so far though [​IMG]
     
  28. Offline

    Bronski

    Very cool! I'm glad someone put some more thought into this idea and really fleshed it out. Can't wait to see how it evolves :D
     
  29. Offline

    Olof Larsson

    New version with Permissions plugin support and Help plugin support is released :)
     
  30. nice plugin but where can i download 1.3 ?
     
  31. Offline

    Sroxah

    As there are already some altars in this plugin, do you have any plans to add others? Perhaps one that requires more than one vampire to use it that controls switching the server to night?

    I would imagine it should have some pretty steep requirements as it impacts everybody on the server. Maybe not to the point of needing several diamonds which wouldn't be worth it, but requiring full stacks of a material that is somewhat difficult to acquire, like full stacks of coal or something to that effect.
     

Share This Page