Cuberite Forum

Full Version: Bullet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Bullet
Is a little plugin I created that makes you able to shoot bullets.(you see diamond blocks in the direction you are looking at for a brief moment, and if the laser hits something in range it explodes.)

Commands:
  • none

Permissions:
  • Bullet.laser
  • People with this permission are able to use the bullet.

Config:
  • Range
    The range of the laser you fire. The default is 75.
  • Item
    The item you use to shoot the laser. The default is an arrow.
  • BulletSpeed
    The speed wich the bullet is moving towards it's goal.
  • BulletSize
    The size of the bullet.
  • ExplosionSize
    The size of the explosion when a bullet hits something.
    Example:
    [General]
    Range=75
    Item=arrow
    BulletSpeed=4
    BulletSize=1
    ExplosionSize=5

Source: https://github.com/NiLSPACE/Bullet
Download: https://github.com/NiLSPACE/Bullet/archive/master.zip
Cool Smile
I'm also finishing another plugin, but I can't upload it atm. Probably tomorrow Wink.
Would like to see this on Github.Big Grin

The plugin is currently using the deprecated GetLocalDirectory, instead of GetLocalFolder.
Well, it's an old plugin after all ^^, It's almost 2 years old now Smile

I'll update it and post it on Github, but the code is probably really bad Wink

The code is uploaded
At least the plugin works.Tongue

Thanks!