Перейти к содержимому
Mineforgian

F-Command

Execute Commands by pressing Q or F

Загрузки
7K
Подписчики
11
Обновлён
4 апреля 2024 г.
Лицензия
GPL-3.0-only

Опубликован 29 июля 2023 г.

bStats Servers bStats Players Spiget Downloads Spiget Rating Modrinth Downloads

Discord

Description

F-Command is a little and easy to configure Minecraft Plugin which lets you set up multiple commands which are executed on pressing the F or Q key (Swap Hands or dropping Items).

You can configure every command exactly to your needs with the following easy to use options.

  • Which Key should be pressed
  • Per command Permission
  • Define per command if it should be executed by the Player or the Server
  • Should the action (Dropping item or swapping hand) be executed
  • Does the Player need to sneak or not?

And the best thing is: You can even use PlaceholderAPI within the commands, and therefore integrate hundreds of other Plugins!

Every one of thees options is available for every command you configure!

Usage Ideas

Click me

Server Menu

You have a menu where your players can easily switch servers on your network?
Make it easily accessible by pressing shift+F to open the menu!

Gui based AdminShop

You have a AdminShop in a GUI like EconomyShopGUI?
Why not open it by pressing F?
It's much easier than typing in a command!

Commands & Permision

Only one command, only one Permission!

/fcmd reload - Reloading your Config
fcommand.admin - Update notification and access to /fcmd reload

Config

# Only turn this on if you're asked by the Dev
# Might spam your console and/or chat ;-)
debug: false

# Example configuration
command:
  # Name of the Command.
  command1:
    key: f  # f or q
    # Does the Player need to sneak to execute the command?
    requireShift: false
    # Which permission is required to execute this command?
    permission: f-command.example
    # Which command should be executed as the player?
    # You can also use PlaceholderAPI here!
    # Enter without /
    command: say f no shift
    # Stopping item drop or hand swap from happening
    cancel: true
    # Should the command be executed from the Server?
    executeAsServer: false

  command2:
    key: F
    requireShift: True
    permission: f-command.example
    command: say F shift
    cancel: true
    executeAsServer: false

bStats

Ченджлог

2.6.1Релиз1.21.9, 1.21.10, 1.21.11 · 4 апреля 2024 г.

Basically rewrote everything so new features can be added faster, and old code can be replaced easily.

What's Changed

  • Rewrite/everything by @Hutch79 in #20

Full Changelog: 2.5.3...2.6.1

2.6.1-BetaБета1.21.9, 1.21.10, 1.21.11 · 2 апреля 2024 г.

Fixed Permission check if permission is set to "null" in config.yml


This happened after migrating old config files, where the permission level was not set.

2.6-BetaБета1.20.2, 1.20.3, 1.20.4 · 1 апреля 2024 г.

This Beta release is a complete Rewrite of the Plugin.
It does not add any new features, but improves maintainability and therefore allows for easier addition of new features.

The Configuration file has minimal changes, which are migrated fully automatically. To be precise, the command options where you configure the command which is executed now only allows a string list. Also, it got renamed.
Your old config file is not deleted but saved in ./migrations


Please report any bugs you encounter on GitHub.
Issues might happen on config migration or general functionality of the Plugin.
I tested as good as possible, but I'm not able to reproduce every production configuration.

Thanks for Testing!

2.5.3Релиз1.20.2, 1.20.3, 1.20.4 · 18 декабря 2023 г.

What's Changed

  • Minimal performance optimisation by @Hutch79 in #9
  • Fixed Q Detection after InventoryClickEvent by @Hutch79 in #11

Thanks to MINIMAN for reporting the Q Detection Bug!

Full Changelog: 2.5.2...2.5.3

2.5.2Релиз1.20, 1.20.1, 1.20.2 · 10 сентября 2023 г.
2.5.1Релиз1.19.4, 1.20, 1.20.1 · 29 июля 2023 г.

This Update allows you to execute multiple commands with one single command configuration.

What's Changed

Full Changelog: https://github.com/Hutch79/F-Command/compare/2.5...2.5.1

2.5Релиз1.19.4, 1.20, 1.20.1 · 29 июля 2023 г.

What's Changed

Full Changelog: https://github.com/Hutch79/F-Command/compare/2.4...2.5

2.5Релиз1.19.4, 1.20, 1.20.1 · 29 июля 2023 г.

Added:

  • Execute Commands on dropping an Item with Q

Fixes:

  • The debug config option now also gets reloaded by /fcmd reload

IMPORTANT TO UPDATE:

Please add the new key: feature to your config! https://github.com/Hutch79/F-Command/blob/main/src/main/resources/config.yml#L9

Full Changelog: https://github.com/Hutch79/F-Command/compare/2.3...2.4

Комментарии

Загружаем…