XP Cannon

Discussion in 'Plugin Requests' started by HeroJackPvP, Dec 27, 2018.

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

    HeroJackPvP

    Version: 1.8

    What I want:

    This is an item (gold horse sattle) which when right clicked on will shoot any exp bottles in a players inventory. The exp cannon will "evolve" or shoot faster when it level up. It levels up with how many exp has been fired.

    (Idk how the config is setup but here is an idea to further explain what I want:)

    Level 1:
    Amount Fired: 0
    Speed: .5 (based on regular throwing rate being 1)

    Levcl 2:
    Amount Fired: 150
    Speed: 1

    Level 3:
    Amount Fired: 500
    Speed: 2


    The cannons will level up automatically once the amount needed has been fired and the name of the Item will be "&9&lEXP Cannon &b(Level (lvl))"

    Commands:
    /xpcannon give {player} (Starts on Level 1 always)
    /xpcannon levelup {player} (must be in there hand)

    Perms:
    xpc.admin (all the commands above)
    xpc.use (default) (ability to use the cannon)
     
  2. Offline

    KarimAKL

    @HeroJackPvP What exactly does the "speed" in the config do? Is it the amount of xp bottles thrown every second or how does it work?
     
  3. Offline

    HeroJackPvP

    Yes amount thrown a second.
    1 would be 1 per second. and .5 would be 1 every 2 seconds.
    @KarimAKL
     
  4. Offline

    KarimAKL

    @HeroJackPvP Where do you want it to shoot the bottles? In the direction the player is facing?
     
  5. Offline

    HeroJackPvP

    yes.

    it acts just as if a player was throwing one themselves.
     
  6. Last edited: Jan 9, 2019
  7. Offline

    HeroJackPvP

  8. Offline

    HeroJackPvP

    @CraftCreeper6 So the goal of this plugin was that it would be faster to use up xp bottles.

    I didn't want a cooldown I wanted the splash rate to be faster.

    If this is not possible then Maybe if it throws 2 at a time?
     
  9. @HeroJackPvP
    Not sure what you mean by that, it does use up the xp bottles quicker. Have you checked the config? The configurable item is the cooldown, not the splash rate. Because I found this easier.
    The faster the cooldown, the more it will throw per second.
     
  10. Offline

    HeroJackPvP

    I want it to be able to go faster than the regular speed.
    Again if this is not possible then throwing more than one at a time.

    So on my server xp bottles are going to be common to get. The point of this item is that players can level it up so that they can use them up faster. Faster than vanilla speed.
    @CraftCreeper6
     
  11. @HeroJackPvP
    If you set the cooldown to something less than the default throw speed then it will throw them faster.
     
Thread Status:
Not open for further replies.

Share This Page