Press F icon

Press F -----

Press F to pay respects.



[​IMG]

This plugin basically use the off-hand swap is mapped to the F keyboard shortcut, to allow you to run a custom command when a user does that action.

Code (YAML):
# ___                     ___
# | _ \ _ _  ___  ___ ___ | __|
# |  _/| '_|/ -_)(_-<(_-< | _|
# |_|  |_|  \___|/__//__/ |_|
# -----------------------------
# Discord: https://discord.gg/Be59ehc
# Github: https://github.com/benwoo1110/PressF.git
# Paypal: https://paypal.me/benergy10


# A list of commands to run when pressing F.
# You can customise this to any runnable commands on your server.
trigger-actions
:
 - 'console:title %player% times 40 120 60'
  - 'console:title %player% subtitle {"text": "Thank you for paying respects!"}'
  - 'console:title %player% title {"text": ":)"}'

# Indicates how frequent can a user trigger the custom action when pressing F.
# Time unit is in milliseconds, i.e. '1 second = 1000 milliseconds'.
cooldown
: 1000

do-item-swap
: true

# This is a list of worlds you do not want pressing F to trigger the custom actions.
disabled-worlds
:
#  - world1
#  - world1_nether
#  - world1_the_end
 
discord-logo-vector.png
Resource Information
Author:
----------
Total Downloads: 391
First Release: Oct 17, 2021
Last Update: Oct 17, 2021
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings