Glow grenade

Discussion in 'Plugin Requests' started by icedmoca, Mar 8, 2016.

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

    icedmoca

    suggested name: glow grenade

    Category: MISC

    description: when you right click or left click gun powder it gets thrown 7 blocks away, then after 2 seconds the gunpowder on the floor is gone and causes the glow effect to any player in the radius of 6.
    Just like a grenade but doesn't explode it gives a effect
    No commands.
    No permissions.
     
  2. Offline

    CTRL

    1. How do you imagine a flying gunpowder?
    2. What is the glow effect

    Nice signature tho.
     
  3. Offline

    pie_flavor

    @CTRL
    1. Thrown like a snowball, most likely.
    2. 1.9 feature, you have a glowing white (or team-colored) outline around you that can be seen through blocks.
     
  4. Offline

    icedmoca

    Do you think you can do this?
     
  5. Offline

    CTRL

    I doubt it.
     
  6. Offline

    Ethan Rocks 365

    I look into this
     
  7. Offline

    xX1bumblebee1Xx

    Last edited: Mar 9, 2016
  8. Offline

    CTRL

    @up Are you going to post the source?
     
  9. Offline

    xX1bumblebee1Xx

    Sure, Added it to the previous post.
     
  10. Offline

    cluter123

    Do not use Thread.sleep();.

    That essentially stops the whole server and prevents the server from running. Instead use a AsyncDelayedTask from Bukkit#Schuduler

    Oh and check if the player's inventory has gunpowder, if not, then just stop the event, that way the server doesn't have run this code every time a player places a block, uses a chest, etc.
     
  11. Offline

    xX1bumblebee1Xx

    I seen somewhere that it was 'safe' to use like that :/ Fixed both things
     
  12. Offline

    cluter123

    Thread.sleep stops the server completely and waits for the timer to run out before it starts the server again, so players can't do anything until the sleep timer expires.
     
Thread Status:
Not open for further replies.

Share This Page