Solved help whit plugin

Discussion in 'Plugin Help/Development/Requests' started by MinniPvP, Sep 3, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    MinniPvP

    Hello, I just wanna ask if you guys know about a plugin that execute a command when the player dies. I have tried so many different plugins and the did not work for me. So i would really appreciate if you guys could tell me a good one and tell me how it works or create one if possible. Thank you very much

    Best regards
    MinniPvP
     
  2. Offline

    oceantheskatr

  3. Offline

    MinniPvP

    Hi, I appriciate the help. But I have already tried this plugin and it would not work for me. The reasons why is: Whenever i want to set a deathcommand, it ask me for playername. And i want this to work for every player who dies. Annother reason of why this plugin did not work was because whenever i sat a command on die. It would not execute because the player dont have the permission, and i dont want him to have the permission. Therefor i tried the /addopcommand. This would not work when i tried to connect it with death command.

    So do you guys have any other suggestions or knows how to fix this? Thank you!

    Best regards
    MinniPvP

    I also wanna add that i have tried this plugins, that did not work for me: Deathcommand, rTriggers and VariableTrigger. But if you guys know how to set it up pls let me know i the comment section. That would help me a lot!

    EDIT by Timtower: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 4, 2015
  4. Offline

    oceantheskatr

    What command would you like to run when a player dies? If it's somewhat simple I could probably make it for you :)
     
  5. Offline

    MinniPvP

    Hi. I want this command to be executed on death every time someone dies:

    /jail <the player who dies> 90 Died Died


    It would be Awesome if you could make this plugin to me!!!!

    Best regards
    MinniPvP
     
  6. Offline

    oceantheskatr

    I'd be happy to make that :) I'll get back to you in a bit with an update.

    EDIT 1: Done, however I'd like some clarification. /jail <player> 90 Died Died. What's all that mean? Do you want them to be sent to a jail named 90? Or do you want them sent to a jail named Died for 90 seconds/minutes. I'm basing this off of Essentials' jail commands, so just let me know.

    EDIT 2: They're jailed when they respawn, as you're not able to jail someone while they're dead.
     
    Last edited: Sep 4, 2015
  7. Offline

    MinniPvP

    No. I am using the plugin named Jail. The command means /jail (player) the 90 means = 90 minute and the Died is the name of the prison and the last Died is just a reason.

    But if you can't make a plugin that execute the command for this jail plugins, you can make for essentials. If you are going to make it for essentials I want the time to be 90 minutes. Thanks :) just tell me if you are making it for the essentials jail plugin or the jail plugin that I have posted a link below.

    Here is the list of commands of the jail plugin I am using: http://dev.bukkit.org/bukkit-plugins/jail/pages/commands/

    I just wanna tell you that i would really really!! Appreciate if you make this plugin to me. It means a lot for me thank you :)

    Best regards

    MinniPvp

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 11, 2016
  8. Offline

    oceantheskatr

    Here you go. Simply toss it on your server and it'll jail people as they respawn after dying. If you have any problems or need anything changed just let me know!
     

    Attached Files:

  9. Offline

    MinniPvP

    Hi, so i tried this plugin. But the problem Is that when they re spawned nothing happens to them. And I have named the essential jail for Died. Could you please help me? Thx :)

    I also wanna add that my server is 1.7-1.8 spigot
     
    Last edited: Sep 4, 2015
  10. Offline

    oceantheskatr

    Oh, you said you were using the "Jail" plugin lol! This plugin works with that. Would you like it to work with Essentials' jail or your Jail plugin?
     
  11. Offline

    MinniPvP

    I tried with my jail plugin and it would not work so I tried to delete the jail
    Plugin and then tried the essentials one, but they did not work. I am sorry if I wrote that, but could you try to make it with essentials? Jail. I wan them to be jailed in 90 minutes in the jail named Died
     
  12. Offline

    oceantheskatr

    Alright no problem, I'll change it in a bit. In the middle of a League match :p
     
  13. Offline

    MinniPvP

    Ok thank you very much!!! :D
     
  14. Offline

    oceantheskatr

    Updated to work with Essentials' jail!
     

    Attached Files:

  15. Offline

    MinniPvP

    You are Awesome!!! Thank you very much! I have been looking for this kinda plugin so long. I really appreciate that you made this plugin for my server. :D

    Hi. I just wanna ask you. Do you know how i can set the spawn when the players get out of the jail. Because after they have been unjailed. They just teleport 3 blocks from the jail spawn. I want them to be teleported to the spawn of the server. I am very new to the essentials jail, thats why i am wondering about this. And i also liked to ask you, if i find a jail plugin that has the same command as the essentials jail. Will the plugin you gave me still work?

    <Edited by bwfcwalshy: Merged posts, please use the edit button rather than double posting.>
     
    Last edited by a moderator: Sep 5, 2015
  16. Offline

    oceantheskatr

    Yes, it should still work. If you want I can change it so that you can set the command in the config? I'll also see if I can change the player's last location to spawn, so that when they get out of jail they'll go to spawn. Would you mind telling me the x, y, and z of the spawn?
     
  17. Offline

    MinniPvP

    Hi that would be awesome! Could I please tell you the cords of spawn tomorrow. Because I am not home at the moment. I will be back tomorrow :)
     
  18. Offline

    oceantheskatr

    No problem.
     
  19. Offline

    MinniPvP

    Hello! I am back now. The spawn coordinates are: X: 0 Y: 64 Z 0. I just have one question. Could you maybe do that instead of getting the message 'You have been jailed' when you get jailed. Could you do that they get this message: 'You have been DeathJailed for 90 minutes!' Just do this if it is easy for you to do :)

    Could you also do that they can build when they are in the jail?

    Thank you very much!

    Best regards
    MinniPvP
     
  20. Offline

    oceantheskatr

    I was able to actually send the player to spawn when they respawned, and then jail right after. They're at spawn for less than half a second, so they can't do anything :) I can not change the message, as it's part of Essentials so you'd have to edit the locale and change it yourself. as for the building in jail, that's also up to Essentials I believe, and I don't think one could change it easily.
     

    Attached Files:

  21. Offline

    MinniPvP

    I just have one last questions. Will it be hard for you to set the command to a different command. Because i want to use this plugin: http://dev.bukkit.org/bukkit-plugins/bukkit-jail/ And the command is: /jail <Player> [reason] [time]

    If you could do this to me it would be awesome :), but if it is to much job i will find a way. I really need this plugin to finish my server
     
  22. Offline

    oceantheskatr

    Sure, no problem. I'm in bed and will be going to sleep soon so I'll do it tomorrow. I'll just make the command configureable in the config so that you can change it whenever :)
     
  23. Offline

    MinniPvP

    You are really Awesome! Thank you very much!
     
  24. Offline

    oceantheskatr

    Updated. Now you can set the command in the config. %player% will be replaced by the player's name.
     

    Attached Files:

  25. Offline

    MinniPvP

    Hi thank you for making this plugin. I just have one problem, whenever i die i am not getting jailed. Could you please help me if you have the possibility?

    Thank you!
     
  26. Offline

    oceantheskatr

    I'm guessing that you're opped, so it won't jail you. I don't think there's anything I'm able to do about that. With the other Jail plugin you were talking about, maybe it will jail opped players.
     
  27. Offline

    MinniPvP

    It suddenly just worked xD. When i tested it earlier i would not work, but THANK YOU VERY MUCH! For creating this plugin for me.
     
  28. Offline

    oceantheskatr

    Alright, I'm glad that you're happy with it! Make sure to mark your thread as filled. To do this follow these instructions:

    Go to the top of your thread, click Thread Tools then click on Edit Thread, then click Prefix and change it to Filled.
     
Thread Status:
Not open for further replies.

Share This Page