TeslaCoil
TeslaCoil - Tesla Coil mob control:
Version: v2.6.5
Usage: the player must construct a tower of no less than 3 iron(configurable) blocks, and connect this directly to a redstone current. While the current is active, targetted mobs and players within a configurable radius, above or below ground, will be fried. The towers ping every second by default, so mobs chasing you will quickly regret it :p Feedback/constructive criticism is welcome.
Features:
- Tower of 3> configurable blocks will continually zap mobs in a proportionate radius
- Lightning striking mobs on sand turns the sand into glass
- Configuration for radius, vertical radius, sand-to-glass, toggleable targets, and ping time
- Sign-based mob filtering, and player targeting.
- Option to hit all mobs but those specified.
- To avoid being hit as a targeted player, pumpkin helmets have been added as a safe item.
- Command /teslareload allows ops to reload config without reloading all plugins.
- Only users with the permission 'teslacoil.use' can activate coils, and 'teslacoil.reload' for the config.
- Users can be limited with 'teslacoil.limit.#' as well as 'teslacoil.use.mobs' and 'teslacoil.use.players'. shoutout to Chaznuts thanks buddy!
- Towers may have a general cap set, or be limited per group/user.
- Can warn users if they are approaching dangerously close to a coil.
- The towers can be built to shoot fireballs, wither skulls, or simply ignite targets.
- Towers can construct an iron-fence shell.
Configuration:
Permission:
teslacoil.use | Activate coils teslacoil.use.mobs | Ability to target mobs teslacoil.use.players | Ability to target players teslacoil.reload | Use /teslarelaod teslacoil.nolimit | Bypass coil restriction teslacoil.limit.# | # is the number of coils that should be restricted per user/group
Configuration Properties
coillimit: 3 #How many coils users without teslacoil.nolimit can activate, max sandtoglass: true #If false, sand will not turn into glass if a mob is standing on it vradius: 2 #Sets veritcal radius to scan for mobs setping: 1 #Sets seconds the towers wait to ping the area around them blocktype: 42 #Type of block for tower teslaradius: 8 #Can be 0(based on tower height) or a number to set a constant radius. deathblocktype: 49 #Type of block that should be present at the top of the tower for wither mode. radiusmultiplier: 1 #Used only if teslaradius is 0; for each block, the radius is this much bigger. safelightning: false #Safe lightning will only hit the target and not cause splash-damage. fireblocktype: 89 #Type of block that should be present at the top of the tower for fireball mode. buildcage: false #When a normal (not fire-type) coil is enabled, constructs an iron-fence cage around it. warnthreshold: 10 #Can be 0(deactivated) or a number to designate, from the coil's usual effect radius, at what point an approaching player is warned. igniteblocktype: 20 #Type of block that should be present at the top of the tower for ignite mode. damage: 0 #Can be 0(no additional damage) or a number indicating how much additional damage will be applied to targets.
Signs:
Signs may be placed anywhere on the coil, above the block the power is running in through.
To Filter Players:
Same idea as below, place a sign on any side of the block above where the power is input, with the first line being [players] and the subsequent lines containing a player name per line. You can have as many of these signs as there are places on the coil to put them.
To Filter Mobs:
Place a sign above the block where the power is input (doesn't matter which direction it faces), where the first line is [mobs] and the second line contains a list of all mobs that should be targeted by the coil. Alternatively, by including 'ex' on the top of any sign (like [players]ex) will put the coil in Exclusion mode, avoided the specified mobs and hitting all others. The characters are as follows:
c - Creeper s - Spider k - Skeleton z - Zombie h - Chicken o - Cow e - Sheep w - Angry wolf p - Cave Spider b - Blaze m - Magma Cube v - Villager d - Ender Dragon i - Pig Zombie n - Enderman q - Ocelot r - Wither t - Witch l - Slime
Mine has not been working for a while, tho this weeks update probably made things worse.
I did have a large tower tho, but other towers didn't work either.
Been witout so long ive forgotten the errors
Can you add option to disable pumpkin immunity?
This may be a stupid question, the Tesla coil can attack players if you tell them who. But how can I have it attack all players except for the ones I add on the sign in exclusion mode?
@Darklusst
though it can be fixed by taking out coils.yml, if people make yoo big towers it will get an error saying "could not give player move event to tesla tower" (or something like that its a small while since i had the error) apart from that there is no major errors, really.
edit: by the way, i now have naturally spawning giants on my server. what is the letter to kill giants?
@th19s
I did not originally implement the pigs because they would turn into pig zombies and refuse to die, this can be added now.
Is the plugin still working for everyone else? I've tested on the latest version of minecraft and I apologize for my absence, but I will fix any caveats if they exist.
i really like this plugin is there any way to add pigs?
Love this plugin, i put them up at my spawn with all the mobs and then if i see anyone spawnkilling i add them aswell
Awesome plug in.. is there any way to add golems to the list? (keeps killing all of m iron golems =P)
teslacoil.reload #Use /teslarelAOd
Error /teslarelOAd
THX for great plugin.
@MattSheridan
Edit: This thing still is running smooth on my server, protecting my servers house in the nether
It's rather behind in updates, but TeslaCoil is still working nicely, for me.
This project still active?
It's on my watch list as a possible replacement to the thundertools plugin going idle
@Chaznuts
i agree, it has its problems, but its better than having no teslacoil at all, and very fun :) i have the same problem, people can make massive towers, and then it crashes my server.
@Chaznuts
If you ever update, Darklusst, I have a couple more requests to go with the ones in the linked post. I would love to have a permission-based limit of coils, instead of just no limit or limited to a set number. Then, I could give my moderators the ability to make more, which they want.
Also, is there a way you can set the owner of the coil to be whoever makes the sign, instead of flips the lever? Anyone can come around and flip someone's lever twice, which it will then set it as theirs. Very problematic in my opinion!
Hope you're still active! Thanks.
@Ronzi3 take out coils.yml, it worked for me :)
best plugin ever!!!!! thank you for this! :D
EVERYONE WITH CANT DO PLAYER MOVE EVENT TO TESLACOIL, REMOVE THE COILS.YML AND IT SHOULD FIX! IF NOT, REDUCE THE PING RATE TO 3 IN THE CONFIG.YML!
Plugin works for me except that on some teslacoils placing any sign on the coil causes the coil to kill all players (including me) even through god mode, which is pretty impressive, if annoying.
I have those errors too, and tesla coil is not working well for me with last bukkit update, it seems it can't recognize player movement anymore or something... hope the manager updates it asap :(