ModsJava
OffHandActions [1.9.x upto 1.12.x]
Java mod listed for Minecraft 1.9–1.12. Download on the author's site.
⬇ Download on Spigot
OffHandActions
Add actions when player switches between his main and off hand (clicks F button)! Send message, run console command or make the player do it.
Actions that can be added in configuration:
- [ConsoleCommand] - Run any command from console, has variable %player%
- [PlayerCommand] - Make player who used the action run the command, has variable %player%
- [Message] - Send player any message, has variable %player%
Example:
'[Message] &6Hello &e%player%!'
Config:
Code (Text):
# ---------------------------------------------
# OffHandActions by N3kas
# ---------------------------------------------
# Help:
# disable-offhand: [true/false] - Should the off hand be disabled or not?
# actions: List of actions:
# [ConsoleCommand] - Run any command from console, has variable %player%
# [PlayerCommand] - Make player who used the action run the command, has variable %player%
# [Message] - Send player any message, has variable %player%
# NOTE: THESE ACTIONS CAN BE ADDED UNLIMITED TIMES TO THE LIST (meaning: you can run multiple commands
# or send multiple chat messages at once)
# ---------------------------------------------
# Good luck /w the plugin :) - N3kas
# ---------------------------------------------
disable-offhand: true
actions:
- '[ConsoleCommand] tell %player% This server is using OffHandActions!'
- '[PlayerCommand] /me Hey! :)'
- '[Message] &7This server is using &eOffHandActions&7!'
# OffHandActions by N3kas
# ---------------------------------------------
# Help:
# disable-offhand: [true/false] - Should the off hand be disabled or not?
# actions: List of actions:
# [ConsoleCommand] - Run any command from console, has variable %player%
# [PlayerCommand] - Make player who used the action run the command, has variable %player%
# [Message] - Send player any message, has variable %player%
# NOTE: THESE ACTIONS CAN BE ADDED UNLIMITED TIMES TO THE LIST (meaning: you can run multiple commands
# or send multiple chat messages at once)
# ---------------------------------------------
# Good luck /w the plugin :) - N3kas
# ---------------------------------------------
disable-offhand: true
actions:
- '[ConsoleCommand] tell %player% This server is using OffHandActions!'
- '[PlayerCommand] /me Hey! :)'
- '[Message] &7This server is using &eOffHandActions&7!'
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.9, 1.10, 1.11
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
OffHandActions [1.9.x upto 1.12.x] is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12. Downloaded 685 times (via Spigot). Download it and open it directly in the game.