Miner's Insanity
Miner's Insanity
Description
Miner's Insanity makes players start to slowly go insane if they spend to much time deep underground. This plugin is ideal for arena style servers where some players will choose to hide underground instead of joining the fight. It also works well with any server that encourages players to spend less time digging and more time exploring or fighting. The idea of insanity was first thought up by dillyg10 in his plugin Insanity. This is a complete remake of his idea meant to give even more control over the way players experience insanity. Almost everything is configurable, everything from the depth at which players go insane to the amount of damage a player will receive while insane. (Even disable damage if you just want to have players experience blindness and confusion effects.) You can even set messages to display to players while insane. There are currently no commands or permissions, but players in creative mode are exempt from the effects of insanity.
Features
- Become Insane!
- While insane, experience confusion and blindness potion effects
- Slowly loose health while insane!
- Insanity messages can be sent to insane players.
- Sanity Bar to keep track of Sanity.
- Spawn Hallucinations that will attack the player!
Configuration
You can change...
- The Y-value that triggers sanity loss.
- The total amount of sanity a player has.
- The rate at which players lose sanity.
- The rate at which players lose health while insane.
- The amount of health players lose every X seconds due to health loss rate.
- The chance of the player experiencing certain insanity effects.
- The actual insanity messages. (up to 10 messages)
Configuration Page
Installation and Dependencies
- Installation of Miner's Insanity is incredibly simple!
- Simply download and drop MinersInsanity.jar into your plugins folder.
- Start up and then stop the server.
- Edit the config.yml file in the MinersInsanity folder.
- Start up your server again and enjoy!
- Miner's Insanity has one optional dependency.
- Download and drop BarAPI.jar into your plugins folder.
- Download it here: ====> BarAPI <====
- You can now enable the ShowSanityInBar option of the config!
Permissions and Commands
There are very few commands for this plugin as they are not needed.
- /insanity help ==> Displays the commands for insanity.
- /insanity info ==> The only command; gives a small description of what insanity is.
All permissions default to true. A player will have all permissions without setting anything.
- minersinsanity.help
- minersinsanity.info
- There is no insanity bypass commands, but all creative mode players are unaffected.
Future Changes
Create hallucinations.(Done)Addition of BarAPI for a more interesting Sanity bar.(Done)- Allow light levels to determine insanity instead of just height
- Add more effects.
- Insanity resistant items/armor
Set the rate at which insanity is recovered.(Done)- Allow per-world options
- Any other ideas you guys have!
Help
Leave a comment, send me a PM, or shoot me an email at [email protected] Also, feel free to add me on Skype: mc.Ajaxan
Donations
If you like my work feel free to support me. I love making plugins but this is a great way to motivate me to make certain changes or updates! Thanks for using my plugins and being awesome!
@Lukethenuke
It is possible to make players not take damage. Just set HealthLossAmount to 0. I'll work on some of your other suggestions. 3-7 are all possible and I could look into adding them. I'll probably add configuration for choosing which effects you want to apply.
@Ajaxan
I'm glad those have piqued your interest. One suggestion I have for Miner's Insanity is an option to not kill them but instead put infinite blindness and nausea on them so that they basically wish for death.
Also I have no idea if this is possible but, I'm wondering if there is a way to make them think monsters are near them but can't hurt them? As in, a few zombies appear on their screen around them but don't actually do damage and they also vanish after being shown for a few seconds. I'd call this Dementia. I have a few other ideas for effects that can really derail their underground parties but have no idea if they're possible:
1. Flip their screen upside down for a configurable time with a rate system similar to waiting an amount of seconds before the next one happens. Maybe an option of how many sanity bars need to be left for this to start happening.
2. I don't know if this is possible but an effect might be making them think they're no longer underground and are surrounded by grass blocks. They might think they've been teleported to the surface or something along those lines.
3. Making them think they're on fire or surrounded by fire but not taking damage.
4. The direction they're facing gets switched around making them confused if they are trying to retrace their steps.
5. A slowness effect would be good to come at configurable times. Slowness will make them even more vulnerable when they're being ambushed by mobs or players.
6. Speaking of mobs, have a chance of mobs spawning maybe with the message "Get out of our home!" forcing the player to fight in their condition. Right now, barely any mobs spawn underground unless you set a custom spawner up in certain places and this would help with that.
7. Despite the things above, I think a pumpkin with a configured lore, when worn will give the player slightly more resistance to insanity. It would likely slow down the sanity bar depleting by a configured amount of seconds. This way at least they have a way of improving their odds of survival but then having to wear a pumpkin on their head to do it. I personally think its a hilarious concept.
These seem pretty evil but some players need a little extra reason to stay above ground sometimes. Currently, I've made it so that you get 30 sanity bars starting at 54 y or below and they have 5 minutes to go mining and get back to the surface. They can still live underground for those 5 minutes, go above ground to recover their bars and then go back down in their base which means they only exposed themselves for a short while. While I could set the y value to even higher, I'd rather there be a config option to set how fast sanity bars are recovered. If I make it so that it takes like 10 seconds to recover one bar, they will have to wait 5 minutes for a full recovery. This will encourage them to stick to high ground instead. With all the effects they could encounter even in the middle of the sanity bar dropping down, they'll likely want to be very careful with their mining operations and not blindly jump through random mining holes. I hope it will be intense for them as much as possible.
That's about all I could think of. This actually took a few hours to think up so I hope they're to your standards and hopefully most of them are doable.
Thanks for all your work man and I look forward to finding out what you think of these!
@Lukethenuke
I like both your ideas! They both present a big challenge and they haven't been done yet. I will probably look into both ideas.
Your first idea is very cool and could literally have it's own mini-game, "Skin Stealers." I could perhaps have it tie into mcMMO as a skill, but still have it function by itself as well. This one, at least to me, seems harder than the second, but I'll know for sure after a bit more exploration.
The second idea you had is very cool and I've seen it in action on the Shotbow Network. The general makeup would to just have the items run a command when you click them like the CreateYourOwnMenus plugin does. The items would all be configurable and could be different based on permissions.
Thanks for the ideas, and if there are any features you would like added to Miner's Insanity feel free to ask!
Nice idea! Love it!
Thanks a lot for making this request for me. I appreciate it a lot. It will help me stop players from living in bases underground. I do have a few ideas of what could be harder than the projects you've listed. I only suggest these though because your zombie ai has already been done to some degree in the plugin: Monster Apocalypse But you could still get hordes of zombies to work together as a separate project.
1.One idea in particular would be hooking into a plugin that gives you player's heads when you kill them but when you right click with their head, you disguise as them for a configured timer. Probably means also hooking into a disguise plugin. You could take this a step further and make it take "skill" aka a stat plugin to magically disguise as a player using their head alone which means having a high fail chance in the beginning levels with a higher chance of success rising each level.
2. An even harder project than that idea? Well let's just say this idea is merely doable. Chest Commands Create-your-own-menus Respawn-Screen-Remover http:dev.bukkit.org/bukkit-plugins/realistic-backpacks/ I link these plugins to support the capability of this idea. I would like a plugin that prevents you from using a configured amount of hotbar slots that will instead hold a custom menu item only. As an example, using Realistic Backpacks, the 9th hotbar slot leads to a backpack for that player and they can't change the location of the backpack nor will it ever be dropped on death. It'd be cool to read your thoughts on these.
Nice, this plugin looks promising!