Home›Java›Mods›Press F
Press F
ModsJava

Press F

Java mod listed for Minecraft 1.12–1.17. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
[​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

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Press F is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13, 1.14, 1.15 and newer. Downloaded 408 times (via Spigot). Download it and open it directly in the game.

Explore more