[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

    T4L_Goose

    For some reason, random chunks in the world will cause vampires to burn as if they were standing in sunlight, even if they are deep underground.
     
  3. Offline

    Yahyahkeekoot

    Use a feather, right click the square you would like to tele to... all this is, is a short range tele based on a number count system so that it isnt OP. ((in 1.3))
     
  4. Offline

    LucidLethargy

    I would love to have some sort of item to keep vampires out of cities and settlements! I'm thinking crucifixes or a substitute for garlic or something? Just a thought anyway, love your work :)
     
  5. Offline

    davidush

    thanks i will try it :)
     
  6. Offline

    Rurikar22

    I'm having a problem where sometimes players will die and then there health will regen making them alive once again and breaking Respawn. Would it be possible to drain all there remaining blood and make them not a vampire when they die?



    Half of what you are requesting can be done via the config. Also a leveling system for vampires? Thats really taking away the point. Seems kinda dumb that someone who is a new vampire just spams right click to "level" it up.​

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  7. Offline

    Yahyahkeekoot

    HEY, THEY ARE JUST SUGGESTIONS :D

    lol, anyways, If you're having problems keeping vampires out of your homes, add skylights. It only helps during the day but allows you to tell who is a vampire so you can forcefully remove them from your premises when you see them next time. Other than that you're kind of screwed as far as keeping a vampire from going where he/she wants to.
     
  8. Offline

    ScorchRaserik

    Couple of suggestions:
    1) Multiworld support (Or some sort of way to restrict vampirism in parts of the server. I just want a PVP section of my server, not PVP everywhere)
    ^This would by my number one suggestion. You can really skip over the rest of the post if you feel like it.

    2) Sticks hurt vampires a lot (Possibly on right click. It's the closest thing to a stake Minecraft has)

    And I know this one sounds a little wacko, but going off of a Halloween theme here...
    3) Pumpkin-headed vampires get some sort of special attribute or bonus (The only reason to put a jack o' lantern on your head. Night vision, maybe?)
    It's sort of a win-win for balance, too. The vampire gets a boost, but his view is hindered and everyone on the server knows he's a vampire.
     
  9. Offline

    neorat44

    I love the plugin but for some reason altars arent working I even copied the one in your photo gallery i right click the lapis/gold
     
  10. Offline

    T.J.


    Over all try to make the vampires stronger, faster, jump higher :D
     
  11. Offline

    Rurikar22

    Having a small issue with the amount of messages that are spammed when being a vampire. While you can make those messages blank, is there a way to make them just not appear at all?
     
  12. Offline

    LucidLethargy

    Look at your config file, it can do all those things - also why did you just quote the entire OP? -.-

    Also does this work with 602? I imagine not yet?
     
  13. Offline

    Alzecha

    Unfortunately this is not yet compatible with 602. Just checked.
     
  14. Offline

    Rurikar22

    Another suggestion would be for blocks that can infect the player. For example, plays near Netherrack can become infected. This would allow us to throw a couple netherrack blocks in the world and suddenly people become vampires when they get too close
     
  15. Offline

    Olof Larsson

    Now it works with 602 ^^
     
  16. Offline

    Shinfo

    yeah same
     
  17. Offline

    Olof Larsson

    For me it works. Have you updated?
    Make sure you are using CB 602 together with Vampire v1.4.1.
     
  18. Would you consider adding this to CraftBukkitUpToDate?
     
  19. Offline

    ltan

    I second CraftBukkitUpToDate ftw!
     
  20. Offline

    jtherrien

    Hey, I've updated to Craftbukkit build 608 and Vampire 1.4.1, and everything seems good except that when I, a vampire, go out at night, I still burn like I was in the sun. It's doesn't matter if it is midnight or not, I always burn and get the warning message that vampires burn in sunlight. The console doesn't display any errors. Also, an old configuration from an old version cannot be at issue either because I removed the conf.json file and let a new one be generated, which happened as expected. Is anyone else having this issue?

    Anyways, while I'm posting, I'll also go give great praise to this plugin, which I enjoy using on my server greatly. Keep up the good work.
     
  21. Offline

    Kas

    Hello..
    I've tried to install Vampries 1.4.1 with CraftBukkit 605, the plugin loads and stuff, and I can turn myself into a vampire with OP commands, however, I cant rosejump and the v command must be typed with a / in front of it.
    Something is going wrong here... I also get this stacktrace when my server starts

    This happened when i upgraded from bukkit 544 to 605
    Code:
    00:15:34 [SEVERE] PLAYER_ITEM loading Vampire v1.4 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_ITEM
            at com.bukkit.mcteam.vampire.Vampire.onEnable(Vampire.java:123)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:93)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:71)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    00:15:34 [INFO] Done (0.069s)! For help, type "help" or "?"
     
  22. Offline

    kahlilnc

    Vampire worked for me build 612.
     
  23. Offline

    habbah

    Please tell me you plan to bring this to 612! My server is based around this addon, made npc`s and quests for it xD if i have to give up vampires ill cry!
     
  24. Offline

    shadydeath999

    vampires burn in moon light on build 612
     
  25. Offline

    darkhax

    this is an epic mod. i added it to my server today. it takes a while to become infected and you get hurt when your going under the process of turning but it is cool it fit my charecter file nicley since i have a obsidian castle on the top of a mountait and i put the evil altar in a locked area and then i have the good alter built 20 blocks belowe the mountain my castle is built on and i flooded the room with water. it looks epic. then i seald off the good alter lol
    epic mod though
     
  26. Offline

    habbah

    i tied the newest Vampire.jar on cb 617, Night doesent burn you, Hitting animals does give you blood, no loss of hearts from drowning is working, but holding a red rose while jumping is broken, the sun does burn you as it should, there is no monster aggro. this is what i gatherd from 5 mins of testing
     
    LT Rodrick likes this.
  27. Offline

    jtherrien

    Thanks, I tried the newest version of Craftbukkit, 621 at the moment, and the night burning problem is now gone.
     
  28. Offline

    LT Rodrick

    for some reason, after all the updating and what not, the super rose power jump of fun doesnt work. I am running the latest craftbukkit (i think) with latest server, minecraft, and McMyAdmin. what's wrong here?
     
  29. Offline

    Jany95

    pls make this plugin for 1.4 i love this plugin. it works, but jump is not working: you loose blood but there is no jump. if you make this it will rain [diamond], if you don' it rains [creeper] xD
     
  30. Offline

    OmniFlare

    Hello, me and a couple friends decide to add this to our server before we launch, and we like it alot, now with the 1.4 update, and the craft bukkit update, we are having problems with it like, burning at night and broken rose jump abilities. Just wanted you to know this. It be great to have this fixed, it is an enjoyable plugin.

    Edit: We also are experiencing massive CPU usage from this plugin. We are currently use the 602 build.
     
  31. Offline

    Azrooh

    After adding this plugin, I experienced massive CPU usages - spiking to 99% at times. After taking it off, the server is back to its steady 10%. Is anybody else experiencing this?
     

Share This Page