Filled SympaFly

Discussion in 'Plugin Requests' started by iWoof, Mar 1, 2019.

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

    iWoof

    Hello there!
    I would like someone to make me a plugin called SympaFly (my server name is Sympacraft) which will allow me to implement /fly into my donor shop while complying with the EULA. Ideally, the version should be 1.13.2.

    SympaFly - essentially, I want it to allow ALL users to fly for a specified amount of time, after that time has run out, they will take no fall damage for 15 seconds to ensure their safety. Users who join after the fly has been enabled will still be able to fly, but only for the time left. They will be notified on joining about this. I would like for there to be configurable announcements in chat telling users how long they have left to fly. Also, if possible, I would like for this to be 'stackable' e.g user one buys 30mins of fly for everyone on the (eula compliant) server store, it goes for 3 minutes then user two buys another 30 mins of fly for everyone. There will now be 57 minutes of fly (30 - 3) + 30 = 57.

    Ideal commands:
    /sympafly start [time] #self explanatory#
    /sympafly stop (manual override, stops fly before the plugin automatically does it) #self explanatory#
    /sympafly #when this command is entered, 1. user will be told if sympafly is enabled, and if the answer to 1 is true, then who bought it and how long there is left till sympafly is disabled#

    Ideal permissions:
    eulafly.start
    eulafly.stop
    eulafly.check

    I know this a lot to ask for, but if you are able to code this then I would be very appreciative of you, and I'm sure if you were to publish it you would receive many downloads due to the demand for this type of plugin.
     
  2. Offline

    KarimAKL

    @iWoof Two questions:
    1. Should the 15 seconds of no fall damage be cancelled when they hit the ground?
    2. You mean to say the command 'sympafly start [time]' would add to the current time, right?

    EDIT: Another question, is the '/fly' a command you want in the plugin or a command already on your server?
     
    Last edited by a moderator: Mar 1, 2019
  3. Offline

    iWoof

    The 15 seconds of fall damage should be cancelled after impact, yes. As for /sympafly, /sympafly start 10m would enable sympafly for 10 mins. If someone bought fly again for the server on the donation store, and the server ran /sympafly start 10m it should add to the current time, yes. Oh and I am using essentials, so /fly IS a command already on my server.
     
  4. Offline

    KarimAKL

    @iWoof Some more questions.
    1. How would the check be displayed? Multiple people can buy the fly so how would it display who bought it?
    2. How would people be able to fly? Would they just have fly enabled or would they have the permission for the command?
    3. How would you like the annoucements? (When would you like them?)
    4. Would it be okay to make the fly command in the plugin? I think that would make building around it easier.

    EDIT: Another question. How would you specify the player that added time? You want to display it with the command '/sympafly' but it's not required with the command '/sympafly start [time]', maybe you would want '/sympafly start [time] [player]'?
     
    Last edited by a moderator: Mar 1, 2019
  5. Offline

    iWoof

    Hi! Thanks for your response.
    1. It would display the name of the user who bought the fly time currently enabled. So e.g User1 buys 10 mins of fly, when you enter /sympafly it will show 'User1 bought fly blahblahblah' until that 10 minutes is up, then if User2 buys 10minutes of fly before it is up, it displays 'User2 bought fly blahblahblah' when it rolls over onto their purchase. If this doesn't make sense I apologise, I can try to specify further if you need.
    2. Users would automatically have fly enabled when SympaFly is on.
    3. There should be an announcement when it is enabled that should say who bought it, and then every 5 minutes until the last minute where it should say 1 minute remaining, then 30 secs remaining, then it will count down from 5 secs till it's disabled.
    4. Yes, if you need to make the fly command in the plugin that would be okay.
    5. I was just thinking that would be needed, so yes - /sympafly start [time] [player who bought it] (I plan to use Buycraft and so I can just use the (name) variable to automatically input the users name with the command in console)
     
  6. Offline

    iWoof

    bump
     
  7. Offline

    bluecreeper111

    I can do this, but it will take me a little bit.
     
  8. Offline

    KarimAKL

  9. Offline

    iWoof

    Hi! Thanks for the response. The 'example has bought sympafly' message works, and so do the count down messages. However, while testing with 2 accounts, my opped account was able to fly, whereas the deopped one was not. Also, the "/sympafly check" command returns an incorrect usage error, and "/sympafly stop" doesn't do anything, as in, it doesn't work and also doesn't give me an incorrect usage error. I appreciate your efforts though!
     
  10. Offline

    KarimAKL

    Last edited by a moderator: Mar 7, 2019
  11. Offline

    iWoof

    Thank you very much, you pretty much fixed all the errors I pointed out :D! Couple things I need to ask though; un-opped users are not able to use "/sympafly" to see if it is enabled, and also users take fall damage after sympafly has been disabled, if you are able to, could you possibly make it so that users don't take fall damage for a small amount of time after sympafly is disabled?

    One last thing, not an 'error' but is it hard to create a config file so I can easily change the announcement text? Or would it be easier to just ask you to change them? Thank you in advance!
     
  12. Offline

    KarimAKL

    @iWoof
    1. Glad to hear it.
    2. Not at my main computer at the moment so i can't check to be 100% sure but i think the players would need the permission 'eulafly.check' to use '/sympafly'
    3. My bad, forgot about that feature, i'll look at it when i'm back at my main computer.
    4. No, not hard at all, i'll create it aswell when i'm back.
     
  13. Offline

    KarimAKL

  14. Offline

    iWoof

    Sorry for the late response, haven't had much time to sit down this week - thank you VERY VERY much! It works perfectly and just how I imagined it, you've done a fab job!
     
    KarimAKL likes this.
Thread Status:
Not open for further replies.

Share This Page