Plugin category: teleportation Suggested name: Lavatp What I want: I would like a plugin that wil execute a command if you touch lava and that you can set in the config what commands it wil execute and if you get hurt or not Ideas for commands: No commands needed for this plugin. Ideas for permissions: None
Sounds pretty easy, I'm on it. I have a few questions: 1. Is the command used set in game or through a configuration file? 2. Is the command the same for all players or does each player have a different command?
the commands that wil be execited wil be set in the config so if someone's touches lava only he/she wil execute the commands
Here you go! http://www.mediafire.com/download/4pxdp1pxvb9icja/LavaTP.jar Special thanks to Tigerheart95 for lots of help with the project and debug! In the config.yml you need to make two fields called "command" and "doDamage". Set the command you wish to be executed as "command" (Without the "/" symbol) and set "doDamage" to true or false depending if you want the lava to damage the player. Either way the player WILL still be set on fire due to some technical difficulties. Enjoy!
thanks, but how do u make the config? cause some things i tried it gives an error Code: #Do NOT include the "/" symbol in your command command:tp 0 100 0 doDamage: false
I need to go now but I'll take a look at this tomorrow. Sorry about any inconveniences, this is my first plugin using a config file.
<Edit by Moderator: Redacted mediafire url> Try this one. The config file is now exclusively in the jar file, sorry if that makes it a little difficult but it was the easiest fix I could think of.
[quote uid=90861149 name="xxMOxMOxx" post=1776885]<Edit by Moderator: Redacted mediafire url> Try this one. The config file is now exclusively in the jar file, sorry if that makes it a little difficult but it was the easiest fix I could think of.[/quote] thanks! but u still take damage from the fire, even the dodamage thing is false
Yeah sorry about that. I tried to set the remaining fire time on the player to 0 but that didn't work, I'm not sure why
but thanks, i'l see if i can disable the fire damage in essentials or worldguard edit: it's working great Wanna see it live in action? join: play.azzamo-network.com and type /server parkour EDIT by Moderator: merged posts, please use the edit button instead of double posting.