Cool down for items and animal summon

Discussion in 'Plugin Requests' started by Elle_ooo, Aug 7, 2020.

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

    Elle_ooo

    Category: Role-Playing

    Version: 1.15

    `What I want: Single use items like potions/splash potions get a cool down get a cool down like enderpearls and preferably I can change for how long in config
    `When you spawn a horse or dog from a egg it comes tamed and it dies on your death

    Suggested name: Reloaded Uses

    Suggested Commands: n/a

    Ideas for permissions: not sure

    When would I like it by: Before the 12th
     
  2. Offline

    iNato

    Hey ive done the following:

    Pets/Tammed Mobs
    when a wolf or horse is spawned they are automaticlly assigned to the player that spawned them (config option to display "PLAYER_NAME's Horse/Wolf"

    *Currently havent found an efficient way to kill tammed animals so when a player spawns a mob it gets saved to a list and when the player dies we kill all mobs in that list*

    Potions
    Currently splash and normal potions are considered the same so a cooldown for a jump potion will also be effective for a splash positon. i've attached the jar of the current build as well as some gifs feel free to have a play around and suggest changes


    download and test the jar from https://github.com/natowb/ReloadedUses
    view some gifs here https://imgur.com/a/Ip1Tg5C
     
  3. Offline

    prscampbell

    Hi, few questions:

    1) Would the cooldown apply to all single use items?
    So if I wanted to use a potion and then use an enderpearl would be there a cooldown between them or would the cooldown be per item type?

    2) Should there be a permission to exclude people from this cooldown?
     
  4. Offline

    Elle_ooo


    The Potion looks like they work right
    I cant really test the animals right now waiting for help to come online
    but it would be best if a list is created per player is the end goal.
    I can't seem to get it to run on 1.15 so far
    also nice pfp :)
     
    Last edited: Aug 8, 2020
  5. Offline

    iNato

    @Elle_ooo I've overhauled the system and tested it on 1.15.2, 1.16, and 1.8.8 and it seems to be working.

    I've Overhauled it and split it into two different plugins in case people want only 1 section of it

    https://www.spigotmc.org/resources/usecooldowns.82545/
    <Edit by Moderator: Redacted not allowed paid resource url>

    let me know if there are any problems

    EDIT: make sure to delete config files if the previous plugins made some
     
    Last edited by a moderator: Aug 10, 2020
Thread Status:
Not open for further replies.

Share This Page