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

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

    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.
    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:
    • Add to the admin group:
    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 :)

    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:
    There will be cake if you join me in the coding [cake] :)
  2. Offline


    @Azrooh : I did not experience that with it on 602, however, I'm not going to try putting this on 617 until he either says it does in fact work with 617, or updates it to work with 617.
  3. Offline


    I was using 617, I will try it again after he updates it. Thanks.
  4. Offline


    cam you please make this for 617. my server was based mostly on this plugin and almost all users upgraded to 1.4 so i upgraded the server. btw this is an epic plugin
  5. Offline


    My vampire players are reporting that they are bursting into flame in random places - I checked it out and they are definitely having some troubles. I saw one burst into flame in a underground area that supposedly was not near any daylight or the surface. Anyway, love this plugin so hoping for a fix!

    I am on CB: 617 w/ the latest version of this plugin - 1.4.1
  6. Offline


    Can you update this plugin to MineCraft 1.4?
  7. Offline


    CPU Usage is definitely higher, though, I'm having trouble specifically narrowing it down to any one plugin. It seems to be a combination of this one, and one or two of a few others. Any one of them seems well enough by itself.
  8. Offline

    Olof Larsson

    Ok so this is the case:
    The plugin works with CB617 which means it works with Minecraft 1.4
    I have confirmed that rose jumping is broken and I will take a look at it when I have time.
    Thanks for pointing out high cpu usage issues, I have not experienced any of these myself but I will try to optimize the plugin a bit.

    I found out the reason rose jump was not working.
    Update to latest craftbukkit build. In the latest recommended it does not work. Download the very latest build.

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


    You made such a good plugin you should make on similar, but for werewolves now, were if you attack a wolf thats not yours and it bites you. You get the same affect as the vampire plugin. if you get what i'm saying :D
  10. Offline


    Just downloaded the latest one and it contains No Vampire.jar file or any type of .jar file, and it consists of the whole coding files as well. I am so lost here wheres the .jar file?
  11. Offline


    Think you could add an option that when an altar is used all the blocks are destroyed? I like to torment my users so they have to go out and find the altars when someone infects them, not much fun checking each one to see if it was used
  12. Offline


    Does this mean the rose jump will work? on what, 617?or do you still have work on it?
  13. Offline


    Sorry, most mods are made for 617 right now, as plugin authors commonly develop around the latest recommended build. I, and most other users, likely will not be updating until they have a new recommended version.
  14. Offline


    Not sure if this has been asked - but is there any way to restrict this to only one world?

    Would using Permissions, and only giving users "vampire.default.*" on this one world do the trick? Usually that means they can only use the Vampire stuff one this world. But I dont want my users to burn on the other worlds ;)
  15. Offline


    I've been playing this plugin for my server for a long time now, I love it... We just need werewolves haha. Strong at night and weak as hell in day. and take high damage from iron swords. Eh, I think it'd be fun.

    Minecraft or someone has to make a plugin where you can sleep regaurdless what time of day it is for the vampires :p

    I love this plugin :D
  16. Offline


    I have this issue:

    16:58:07 [GRAVE] PLAYER_INTERACT loading Vampire v1.4.1 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_INTERACT
    at org.mcteam.vampire.Vampire.onEnable(Vampire.java:119)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    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)
  17. Offline


    is the burning thing fixed for 617 yet ?
  18. Offline


    Yes I agree, but I also think at least for now, it should make all wolves hostile toward you when you encounter them in the wild. Then there can be vampires vs wolves.
  19. Offline


    please get vampire jumps working for cb#617 :(
  20. Offline


    Can we switch night/day views for vampires so that they can travel at night without torches? THey should have better night vision yes?
  21. Offline


    @Olof Larsson

    You need to build around CB#617, like others have stated all other plugins only work with 617 right now. We cant update CB to a non Recommended Build just for 1 plugin. Please get the redrose working for 617.
  22. Offline


    @Olof Larsson

    I totally agree with Olat!
    Please try hard to get it working for CB#617!
    This is one of the greatest plugins I'm using and it would be even more greater with vampire jumps by red rose!
  23. Hello. I just added your mod to my small minecraft server, and it works great. I just have some thoughts as to how to improve it. You may want to add that "praying" at a evil temple once you are a vampire gives you health, items, special powers, etc. And that "praying" at a good temple if not infected or turned gives you health. items, special powers, etc.
  24. Offline


    I love this!!
    I am trying to turn my server into factions.. I would love for one of the factions to be vampires!! But I don't want the infection to spread.

    Right now we are using groups for factions. I am thinking about trying your factions plugin, but worry that it might bot be compatible with herochat.

    Thoughts? Answers?

    Is this all I really need to do:
    infectionCloseCombatRisk": 0.00,​
  25. Offline


    Same here, I noticed jumping isn't working.
  26. Offline


    yup jumps down for me too
  27. Offline


    What do the vampires look like? :D
  28. Offline


    Use Recommended CB#670
  29. Offline


    I can't seem to get permissions for default to work, this is exactly how i have it let me know if its wrong..
    - 'vampire.default.*'
    thanks in advance..
  30. Offline


    found a bug: blooddecrease per minute increases the blood, it don't decrease it
  31. Offline


    people still sometime random catch fire on my server as vamoire during night time

Share This Page