[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. Ok, its very simple: open vampire.jar in winrar, edit plugin.yml file there, change "v" char under "commands:" line to anything you like... thats all, save back to archive (jar file) and enjoy! Care, its space-sensitive, so do not add or remove spaces in file.
     
  3. Offline

    Cryston

    Something that has to be considered is the idea of having some way to cover yourself in the day. Like the ability to wear a full set of armor to hide from the sunlight. This would be an easy way to make people sneak around but still require a bit of commitment. also if humans want to confirm if a friend is still human they could just take off their armor in sunlight to prove it.
     
  4. Offline

    ImKharn

    It works with gastonomic.

    All you have to do is carry a raw porkchop on you as a vampire. You attempt to eat it, you hunger hits zero and then the vampire mod stops you from consuming it. So it all works out.
     
  5. Offline

    Monkah

    IDEA:
    If vampires are near a redstone torch, they become invisible. (configurable in .jsoc)
     
  6. Offline

    shadydeath999

    how about u can use a pumpkin to make u resist to the sun
     
  7. Offline

    kexus

    Could you make it so you can adjust the time it takes to become a vampire?

    I agree. That would make sense.

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

    dslip

    Could it be made that a vampire takes more damage from fire than a normal player?

    This could then tie in with the FireLord plugin to make gold swords deal fire damage (and thus be also good for killing vampires)
     
  9. Offline

    w4rgo

    @dslip

    Also I dont know if you noticed, but if you use firelord with vampires, then if the vampires wear the golden armor, they will can walk under the sun!
     
  10. Offline

    dslip

    @w4rgo
    I havent tried the two plugins together fully. I did not notice they became fire proof. That is kinda awesome too
    Would be good if they still took more fire damage, and that the armour only protected them in the sun.

    Eg,
    Gold armour lets a vampire:
    walk in sun
    does not protect against gold swords
    vampires take heavy fire damage (whether flint, lava, gold sword)

    Thus the armour is just a way to walk in daylight (but makes them obvious)
     
  11. Offline

    Daveyo

    Are you still working on the world guard/towny pvp off conflict? Really hope that is fixed so I can implement this. Fun addon.
     
  12. Offline

    w4rgo

    @dslip the problem is that gold armor protect vs gold swords in my plugin.
     
  13. Offline

    Olof Larsson

    This should be fixed now :) Tell me if I am wrong.

    I just released version 1.4
     
  14. Offline

    AgentKid

    Wow, this is a cool plugin :D One thing I'd like to request, though, is a way to have it multi-world compatible. What I mean by this is that I want to disable the vampire's effects/abilities on my no-pvp build world, but have them enabled on my pvp world. Is there any way that you can add this as a line in the config like "enabled-worlds=wilds,nether,airport"
     
  15. Offline

    Olat

    Vampire 1.3 (havent done 1.4 yet)

    when a vamp of mine uses the feather, server gets spammed with this.
    Code:
    23:02:44 [SEVERE] Could not pass event PLAYER_ITEM to Vampire
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
            at java.util.ArrayList.rangeCheck(ArrayList.java:571)
            at java.util.ArrayList.get(ArrayList.java:349)
            at com.bukkit.mcteam.vampire.VPlayer.dash(VPlayer.java:231)
            at com.bukkit.mcteam.vampire.listeners.VampirePlayerListener.onPlayerItem(VampirePlayerListener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:202)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:457)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  16. Offline

    CloseKnight

    This is a brilliant plugin but I noticed sun doesn't affect vampires if there is a layer of glass 5 blocks thick.
     
  17. Offline

    Residentevil70

    Hello, i'm blocked has 50 blood, i can't down :/
    Sorry for my English
     
  18. Offline

    ahlwen

    i cant use my dash ability at all is that a problem or did you change how it works completly i know im suposed to use red dye
     
  19. Offline

    Shasharala

    Hmm... when the mcMMO mod is used with this the acrobat skill can be leveled easily as a vampire because fall damage is cancelled instead of being manipulated to zero... would it be possible to fix this? Would you be willing? It would really make mixing the two mods together more plausible and it would be quite fun to have vampires running amok the normal people, striking them with lower level weapons but getting a 3x damage boost. =P
     
  20. Offline

    fyrus12345

    Can we have dash back? or make it configurable? Because it was awesome when you scared and confused your prey by dashing around it.:(
    Jumping and flying are cool but its better to have them both dash and jump.
     
  21. Offline

    TehJammers

    Just made a huge 5-level obsidian challenge tower with both types of altar at the top, ready for when I put Vampire Week on the server next week.
    Excited :D
    I've also made a vampirey version of my regular skin for the occasion :p
     
  22. Offline

    Raspberry

    With all due respect...

    Could you provide your release downloads in a more easy to obtain fashion?

    Part of the purpose of GitHub is that you have version history... that includes ALL files uploaded...

    So there's no obvious reason you couldn't just release the .jar for download under releases/ rather than have us download the "raw" zip file (with spaces in the name) and then unzip it to produce the jar file...

    I appreciate all of your effort (and am looking forward to actually starting to play around with this plugin)

    I work with a lot of plugins and this has to be one more cumbersome ones to download and extract.

    Thanks!
     
  23. Offline

    Olof Larsson

    That's on purpose. 2 layer thick glass should block sunlight. Think of it as UV resistant :)

    not red dye. Use the flower. Red rose.

    To "dash" you should use red rose right click. It won't teleport you but will "throw" you in the direction you are looking. To dash fast you could try to do a normal space button jump first.

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

    T4L_Goose

    Can you make it so if a server DOESN'T have permissions, people can still see their blood and stuff? My friend can't see his blood meter when he does "/v" or "/v blood" because it says he doesn't have permission, and I really cannot be assed to set up the permissions plugin for a server that has just a few friends on it.
     
  25. Offline

    fyrus12345

    how do we edit the amount of damage that we get from burning during the day?
     
  26. Offline

    Incendia

    If it's just a few friends, just give the default group the '*' permission.
     
  27. Offline

    LucidLethargy

    I don't *think* this works with the newest recommended build released a few days ago (556)
    Any chance of an update? (or DOES this work for others, and am I perhaps mistaken?)

    Note: The issue I am having is a "insufficient permissions" message when I (an admin) try to turn or cure myself (on my test server)

    Update: I was running 1.2 instead of 1.4... sorry :X

    The plugin works FLAWLESSLY with the newest build. I can't get over just how great this plugin is, too! The jumping power is absolutely fantastic!
     
  28. Offline

    ahlwen

    i tryed the flower it takes the blood but dosent move me at all
     
  29. Offline

    Olat

    @Olaf larsson
    Wow.... This Jump / Dash only taking 3 blood yet propelling me to sky limit in like 3 clicks.. is a BIT OP. The config files need to be updated so we can change the Distance Traveled by Jump and Dash and how much EACH use takes. This is a lil over the top even for my liking. PLEASE tweak this or let us configure it. For my PVP server this has to be disabled for now due to the extent this would be abused.
     
  30. Offline

    Kainzo

    I'm with the Herocraft Coding team - I'm interested in your source to integrate some features to the Heroes (RPG) plugin. If you have any objections please let me know asap - and if you are willing to assist the implementation feel free to let me know.
     
  31. Offline

    T4L_Goose

    This also conflicts with your factions mod. You can't get blood from humans even if you are at war with them when they are in their own territory. Can you make an option or something to enable this?
     

Share This Page