added a new feature that requires the owner to use the grappling hook. If so when using /phook sound you are also required to be the owner to toggle.
added optional update notification on login. (Can be disabled in config.yml)
fixed phook sound permissions to work correctly.
new config
Code (Text):
#due to issues related to reloading plugins, I decided only to reload messages.yml using the /phook reload.
#So to make any changes here you will need to restart the server, then edit the file and start the server again.
#get notified when new updates on login.
notify_updates: true
fishhook:
#supports hex colors &#c1c1c1
hook_name: '&b&l[&a&lPenguin &6&lHook&b&l]'
#Full command is /phook give <target|player> <velocity> <cooldown>
#Giving velocity and cooldown stats are optional. If you do not add <velocity> and/or <cooldown> they will get the default cooldown and velocity.
#You can change velocity and cooldown by simply doing /phook edit <cooldown> or <velocity>
default_velocity: 0.3
default_cooldown: 0.5
#Use particles true / false
hook_particles: true
#Particle type list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
particle_type: 'SMOKE_LARGE'
particle_amount: 25
#Enable or disable sound
sound: true
#NB.. the list https://www.digminecraft.com/lists/sound_list_pc.php if you find for example : entity.bee.hurt' you have to write 'ENTITY_BEE_HURT'.
sound_name: 'ENTITY_WITHER_SHOOT' #Select your preferred sound
#Volume has to be between 1-15
volume: 15
pitch: 1.5
#Should the grappling hook be unbreakable?
unbreakable: true
#should ONLY the player who is given the hook be able to use the hook?
use_owner: true
Planned updates
- allow
phook.admin to bypass both owner and sound command when not the owner.
- adding stats to the grappling hook. (Will be optional)