SuperShortcuts
Look ma, no typing!
Plugin description
A super efficient command/message binding plugin that uses your hotbar! Can be used to enhance the survival experience, implemented in minigames or even simply as a unique feature to make your server stand out. Works with Bukkit and Paper Minecraft servers.
Features
- Global or player-specific shortcuts, it's your choice!
- Prevent items from swapping if a shortcut is executed (or not, it's your choice!)
- Optional permissions system
- Easy to use!
Usage
Switch to your target hotbar slot and press the keybind which swaps items to your off-hand; F by default.
Commands
/ss - View your personal shortcuts
/ss (slot number) - Unbinds the shortcut for that slot number
/ss (slot number) (shortcut) - Sets a new shortcut for that slot number. Prefix with "/" to make the shortcut a command
/ssreload - Reloads the plugin's configuration files
Permissions
supershortcuts.use - Allows players to use /ss and shortcuts, if usepermission is enabled in settings.yml
supershortcuts.chat - Allows players to set chat messages as shortcuts
supershortcuts.admin - Allows player to use /ssreload
Configuration
The config is split into settings.yml and messages.yml
settings.yml
Code (YAML):
# What a line in messages.yml will start with if you don't want to use messageformat
# For example "Plugin > some message" is the default message
# You can change it to "some message" if you replace the default with the following in messages.yml
# example: "--some message"
negateformat
:
"--"
# Sets if the player will not swap hands, if a shortcut is executed
cancelswap
: true
# Sets if all players will use the defined shortcuts below. If not, they will have to define their own shortcuts
homogenize
: true
# Sets if players need permission "supershortcuts.use" to use shortcuts
usepermission
: false
# Sets the shortcuts that applies to all players, unless disabled above
# The position of a shortcut in the following list is the slot which the shortcut will activate
# Shortcuts without a / prefix will become chat messages the player will send
# Set a value to "" if you are not using a hotbar slot, but want to use hotbar slots after it
servershortcuts
:
-
"/me i love slot 1"
-
"i love slot 2"
-
""
-
""
-
"i love slot machines"
-
"i am very slotty"
-
""
-
""
-
"nein"
messages.yml
Code (YAML):
# The format that all messages will follow unless negated with prefix stated in settings.yml
messageformat
:
"&eSuperShortcuts &8> &f{message}"
nopermissions
:
"You can't use that command!"
usage
:
"Usage: {usage}"
thinksame
:
"Custom shortcuts are not enabled!"
invalidslot
:
"That's not a valid slot number"
removed
:
"Your shortcut for slot &e{number} &fhas been reset!"
setted
:
"Your shortcut for slot &e{number} &fhas been set to &e{new}&f!"
list
:
"Displaying shortcuts:\n\n{list}\nUse &e/ss (number) (new shortcut)&f to set a shortcut,\nor &e/ss (number)&f to remove one."
listelement
:
"&e{number} &7:&f {shortcut}\n"
Support
If you found a bug or have a suggestion,
add a comment
Satisfied? Leave a review!