[FUN] AmnesiaCraft v1.1.2 - Fear the Dark [935]

Discussion in 'Inactive/Unsupported Plugins' started by Kevin Forte, Apr 28, 2011.

  1. Offline

    Kevin Forte

    AmnesiaCraft: Adding the Element of Fear
    Version: 1.1.2​
    Download: [JAR]

    Ever play "Amnesia: The Dark Descent"? I did, and it was amazing. I thought it would be a nice touch to make the dark more intimidating in Minecraft as well.

    • Adds the elements of a player's heart rate and level of sanity, where sanity drops when in the dark and heart rate rises.
    • If sanity drops too low, player slowly takes damage until death.
    • /sanity
    Check your vitals. Usage can speed the process of going insane very slightly (The more often you question your own sanity, the more insane you become).

    There is one node that will prevent a player from experiencing the effects of this plugin:
    • Drop sanity more quickly when monsters are in view.
    • Reduce the speed in which sanity drops when other players/wolves are near.
    • Various effects when sanity is very low.
    • A config file.
    • Multi-world support (be patient about this one please...)
    Possible To-do:
    • Consumable item to gain sanity.
    • Lightning striking near a player spikes their heart rate
    • Rewrite code more conviniently
    Bug list:
    • Null returns with /sanity.
    • Items are destroyed when a player dies.
    Show Spoiler

    Version 1.1.2
    • Items now drop normally when a player dies.
    Version 1.1.1
    • Fixed the null returns.
    Version 1.1
    • Added a permission node to prevent sanity loss.
    • Lowered the light level at which a player loses sanity significantly.
    Version 1.0
    • Initial plugin release.
  2. Offline

    Kevin Forte

    Change the node to '-ac.levelhead' :)
  3. Offline


    Is this plugin still going to be updated/supported? I noticed the title still says its for CB#803.
  4. Offline

    Kevin Forte

    I should probably change that, as although it hasn't been updated it does still work.
  5. Offline


    Will it still be updated though? I'm looking forward to some of the things listed in this plugin's to-do list. :p

    I completely agree.
  6. Offline

    Kevin Forte

    That was my first thought, but I have no idea how to do it.
    Possibly, I haven't been in a big coding mood lately haha. I'll have to see how that torch thing works.
  7. Offline


    About the thing with you not being able to handle client-sided things...
    I think someone wrote this before, but maybe [maybe ^^] this could help you:


    Don't know anything about Plugin Development, Java, or programming languages at all ;)

    Just wanted to tell you ^^

    But a very good idea....Amnesia -> one of the best games ever :3
    I still can't get myself to play the torture chambers D:
    Maybe I should play with friends and a lot of alcohol...yeah, that may help....nah, back to topic ;D
  8. Offline

    Kevin Forte

    The torcher chambers were quite scary. xD I think if I were to use BukkitContrib, I'd need some serious help with this haha. I'm not that good at Java xD
  9. Offline


    Hmmm -- I was just thinking -- And I know I've mentioned it before but... The TorchLight plugin at this point seems like its going to go inactive soon -- But if you could incorporate that plugin into this one so that torches could be like the lantern from Amnesia... That would be very awesome. :D


    Another thing I would like to say -- I've also mentioned this before -- Is it'd be great if you could get some of the stuff on your to-do list done, mainly looking forward to...
    • Drop sanity more quickly when monsters are in view.
    • Reduce the speed in which sanity drops when other players/wolves are near.
    • Various effects when sanity is very low.
    • A config file.
    This plugin has amazing potential, I wouldn't want to see it just sit here and not get any of these awesome features added. :)
    Zedeik likes this.
  10. Offline


    @Kevin Forte
    Have you considered using the Player.sendBlockChange() method for effects? You can, for example, spawn fake lava near the player that wont show up for other players. It will set the player on fire, but no damage is done.

    Essentially, it 'fakes' client side blocks. I can see that being REALLY useful for this sort of thing :)
  11. Offline


    @Kevin Forte
    Received this error as a member logged out of the server.
    13:28:43 [WARNING] Task of 'AmnesiaCraft' generated an exception
    at kforte318.AmnesiaCraft.AmnesiaCraft$2.run(AmnesiaCraft.java:218)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  12. Offline


    Can you make it so that permissions is not needed? I installed it,and AmnesiaCraft worked until I enabled building rights for all groups,then it stopped working.

    Great job on it tho,I hope you'll continue to support it.
  13. Offline


    22:12:38 [SEVERE] java.net.SocketException: Socket closed
    22:12:38 [SEVERE]       at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    22:12:38 [SEVERE]       at java.net.SocketOutputStream.write(Unknown Source)
    22:12:38 [INFO] [Heroes] Saved hero: qazz42
    22:12:38 [SEVERE]       at java.io.BufferedOutputStream.flushBuffer(Unknown Sour
    22:12:38 [SEVERE]       at java.io.BufferedOutputStream.flush(Unknown Source)
    22:12:38 [SEVERE]       at java.io.DataOutputStream.flush(Unknown Source)
    22:12:38 [SEVERE]       at net.minecraft.server.NetworkWriterThread.run(SourceFi
    22:12:40 [WARNING] Task of 'AmnesiaCraft' generated an exception
            at kforte318.AmnesiaCraft.AmnesiaCraft$1.run(AmnesiaCraft.java:192)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    What does this mean? I am confused, it appears at rondom moments, what should I do to fix it?
  14. Offline


    Is there a way to change the light level at which people go insane? I'd like to make it so the cutoff is anything darker than night, if that's possible.
  15. Offline


    Can you add it so that you can hold something in your hand, and that supplies light? THAT would be cool

    EDIT: can you also, PLEASE PLEASE PLEASE, get rid of all the error messages the amnesiacraft generates? Pleassse? It is really spamming my console >.> but I don't wanna get rid of it as it is such an awesome plugin
  16. Offline


    I would suggest using Spout to add optional features. As your sanity decreases, if you're using the Spoutcraft launcher you could slowly make the fog come further and further in. Small touches like that.
  17. Offline


    You should update this! Also I always get a 'internal error' when I try to use /sanity. Maybe cause its 935 and I'm using 1000. Its a great idea I wish I could have but sadly doesn't work for me. Would pare awesome with the herobrine plugin I have since you never know when he is coming and I have his hp and attack really high on him. Oh well.
  18. Offline


    this sounds awesome. if spout could incorporate the glsl shaders you could do all kinds of things with insanity blurring/warping your vision etc...a similar effect (not requiring glsl shaders) would be to use a custom pumpkin helmet overlay image to simulate tunnelvision or even things in your peripheral vision (if you could flash it for half a second)...that would require spout though too, and im not even sure if spout is ready for that yet...

    *watched* hope this stays updated/worked on :)
  19. Offline


  20. Offline


    this has been shut down :(
  21. Offline


    I am begging you, please port this to single player! Sp needs this!!
  22. Offline


  23. This looks great! One suggestion I have is that you try to add the gnashing teeth sound that the original amnesia had. That plus the blurring of the screen and it would make one very accurate and successful recreation of amnesia. Best of luck, I'm looking forwards to seeing the results! :D
  24. Offline


    Can anyone that has this plugin or a similar Sanity plugin please pm me?

Share This Page