BlockEffect
Credits to AgentOrange110 for the banner!
BlockEffect
Introduction
Get potion effects by walking over a block. All minecraft blocks are compatible, and all configurations are possible! Any block can have its own effect, duration and tier!
Setting a new block
For all blocks on the server
To set/configure a new block you have to use a simple command, /blockeffect
How to use this command: /blockeffect <blockID> <blockDamage> <potionType> <potionDuration> <potionTier> <permission>
<blockID> = the ID of a block, for example 1 for stone, a full list can be found here: http://minecraft-ids.grahamedgecombe.com/
<blockDamage> = the damage value of the block, you can find this by looking at the ID, it sometimes is ID:number, for example 38:4 for a red tulip, the item ID would be 38, and the damage value 4. http://minecraft-ids.grahamedgecombe.com/ for a full list of IDs and damage values
<potionType> = the type of potion which you will get when you walk over this block, not all potion types are available right now, here is list of the supported ones:
Invis: invisibility (you are invisible for other players)
Jump: jump boost (you can jump higher)
Blind: blindness (you cant see...)
Heal: instant healing (you get some health back)
Resistance: resistance (you take less damage)
Absorption: absorption (extra hearts)
Poison: poison (you take some damage until you have half a heart, or the potion effect is worn off)
Nausia: nausia (your screen twists and turns a bit)
Strenght: strength (you do more damage)
Regeneration: regeneration (you heal a bit, the opposite of poison)
Speed: swiftness (you become faster)
Slow: slowness (you become slower)
Fatigue: mining fatigue (you mine slower, some interacts get slown down as well)
Haste: haste (mine faster)
Hunger: hunger (lose food)
Fireres: fire resistance (be immune to/take les damage from fire)
WaterBreathing: water breathing (use less oxygen underwater, last longer in a dive)
Weakness: weakness (do less damage)
Wither: wither (a nasty potion effect)
Clear: remove all effects from a player
<potionDuration> = the time the player gets the potion effects (1 second = 20, 2 seconds = 40, 3 seconds = 60, etc)
<potionTier> = the tier of the potion a player gets, 0 is tier 1 (Jump Boost 1 for example), 1 is tier 2 (Jump Boost 2), etc)
<permission> = the permission a player needs to get the effect from this block
For just 1 block (coord specifik)
If you don't want all blocks on the server to get this effect, simply look at the block you want to give the effect and type /blockcoord <potiontype> <duration> <tier> <permission>
What do these <> things mean? look above!
Configuration
This plugin comes with a configuration, and you can edit this configuration. However, editing this is not recommended, we recommend to just use the command to add a new block/effect.
If you, however, want to remove a block you will have to do this via the config, and just delete the whole sub-section of that block, it shouldn't be too difficult.
New effects
There are not that many effects available on this plugin right now, I chose the most useful ones for now. Do you need any other potion effects right now? Just comment or add me on skype!
Bugs
This is a very young plugin, so there could be some bugs in there, I have yet to find one... but if you find one, please leave it in the comments of this page or add me on skype, my skype name is simgar98
Tutorials
This is a tutorial of this plugin in german, thanks to LeokoTime!
If you want to make a tutorial about it or have made one, please PM me! ^.^
Wonderful plugin!
Would it be possible to set range in block for the effect? So effect will be applied in an area, instead a single block?
Thank you!!!!
hi i dont know how i remove a effect from a Block pls help me
Thx HerobrineLPMCYT
Simgar98, can you please make this plugin compatible with 1.7.5 CB? That will be very cool if you can :D
Please could you make this work on transparent blocks like water? On my server i want to have a group of players that get certain potion effects while in water/underwater, such as water breathing and strength. Sadly the plugin doesn't let you apply potion effects to water.Also it it doesn't re-apply the effect unless the player is moving, meaning my water breathing players would drown if they stood still underwater. Please can you add this, i would be very grateful
@gyrados46
You should be able to use the same permission node on different blocks just fine!
Hey Simgar98, if I do this command /blockcoord <potiontype> <duration> <tier> <permission> on one block and do it again on another does each permission have to change?
Let's say I have a dirt block. If I set the permission as blockeffect.dirt and set another block of dirt, can I use the same permission or will it have to change for each block that I set?
Reached 500 downloads, HURRAY!
@catprowler
You could use blockcoords for every single block? Or you could put those arenas in a diff world, and set up world specific perms with your favorite permissions plugin :)
Hi there, I wanted to set up an arena using these block effects. If I set it up so that players will get the permission for the block effects, will they still be affected by those blocks on the whole server? Is there a way to contain it within a region? Thank you :D
@MipCrab
Go to the blockeffect folder, coords.yml and delete the part from the x coord of the block until the next part ;)
How to delete a blockcoord!!!
Coord specifik effect blocks
I'm busy adding coord support! stay tuned! It should be ready soon!
EDIT; After some coding Ive managed to add this function! I'm doing some tests, and I'll hopefully upload this version tomorrow!
EDIT2: Uploaded it and edited the page! Have fun!
@Weemarkie
1) all blocks that have that bock ID & sub-ID 2) you could just add a perm that all players allready have, like essentials.warp, or stomething else, to give everyone permission 3) open up your plugins folder, blockeffect folder, config.yml & remove the piece between that blockID & the next blockID and your effect has been deleted
I think I will in the future add the coords blocks with an effect... i THINK I will
1) When you use the command for whatever reason on whatever block ID, does it apply to all blocks, example: I put blind on grass, do all 123400 grass blocks around me now change?
2) It would be easier if you could use the command without the permission. If no permission parametre is added, then all players are effected.
3) How do you remove effects on blocks?
You should be able to use it on anyrhing, just watch your damage value (sub-id), I think that is the problem you are having.
Regions... I might add support so you can select a certain block (coord) to give an effect... I dont know yet...
Hi there, are there only certain blocks that we can use to apply the effects to? It works for obsidian, but I can't get it to work for the tnt, oak leaves, or sponge? Do you think you will be adding any feature to this so that we can use it in certain regions like worldguard and not effect the whole server? Thank you :D
@Jerimu
No falldamage... so if you land on a configured block you dont get fall damage? I dont think that is very relevant to this plugin tho :/
MAybe no falldamage its very handy for kitpvp servers