Sueta

Press F-Key for Actions! UNIQUE plugin

1.1.2

execute a command when pressing F/Swap-Key

·Plugin

1.9+ Press F-Key for Actions

What is PressFKeyForActions?
PFFA is one of the most unique plugin, that you will ever find. This plugin let's you bind commands to the F-Key (Swap Items). You can make conditions like holding a specific item or be in a certain world.

Example Config

actions: example,example2//list the action
cooldown: 30 //inticks
action:
  example:
    name: Example Action
    itemname: any
    command: say %player% has pressed F-Key!
    asop: true
    itemid: any
    cancelswap: true
    world: any
    permission: none
    nopermissions: Sry you don't have permissions to do that!
  example2:
    name: Example Action 2
    itemname: Super stone
    command: say %player% has pressed F-Key and held a stone!
    asop: true
    itemid: 1
    cancelswap: true
    world: world,world_nether
    permission: examplepermission
    nopermissions: Sry you don't have permissions to do that!


Commands
/pffa listactions - lists all registers actions
/pffa version - shows plugins version
/pffa help - shows this list of commands

Thank you LuminatiMC for your suggestion to add cooldowns

Please leave a review! ★★★★★
If you have some ideas for other features, then let me know ;)
Also I would appreciate, if you could send me the IP of your server, if you are using this plugin so I can check it out :)

Check out my other plugin!

Similar projects

Plugin →