lavatp

Discussion in 'Archived: Plugin Requests' started by kaketoe, Jul 23, 2013.

  1. Offline

    kaketoe

    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
     
  2. Offline

    xxMOxMOxx

    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?
     
  3. Offline

    kaketoe


    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
     
  4. Offline

    xxMOxMOxx

    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!
     
  5. Offline

    kaketoe

    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
     
  6. Offline

    xxMOxMOxx

    Are you editing the config.yml inside the jar or your server? Try changing the other one.
     
  7. Offline

    kaketoe


    i did too
     
  8. Offline

    xxMOxMOxx

    Can you send me what your current config file says?
     
  9. Offline

    kaketoe

    it everythime get's empty if i start the server it gives a big crash
     
  10. Offline

    xxMOxMOxx

    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.
     
  11. Offline

    kaketoe


    ok thx
    pls fix it
     
  12. Offline

    xxMOxMOxx

    <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.
     
    Last edited by a moderator: Nov 6, 2016
  13. Offline

    kaketoe

    [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
     
    Last edited by a moderator: Nov 6, 2016
  14. Offline

    xxMOxMOxx

    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
     
  15. Offline

    kaketoe


    but thanks, i'l see if i can disable the fire damage in essentials or worldguard

    edit: it's working great :D

    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.
     
    Last edited by a moderator: Jun 3, 2016

Share This Page