该项目将于正式版发布后进行开源,当前为快照版。
This project will be open sourced after the official release, currently it is a snapshot version.
LiteCommandEditor is a plugin used for managing commands, freely creating and editing commands. It can be easily used without requiring you to have a certain understanding of programming languages, and the editing difficulty is equivalent to editing a GUI for a menu plugin. You can freely create a simple command based on the comments in the plugin's configuration file or the help in the wiki. You can set the name, usage permissions, executor functions, TAB completion function, and other functions of this command in a command configuration file. Command executors support infinite nested functions, function triggering conditions, etc; The basic functions include: sending messages, broadcasting, executing other commands, playing sounds, playing title messages, giving items, etc. By the way, the plugin also presets some player functions and world functions through the Bukkit API for more advanced editing. In addition to the main function of "custom commands", plugin also include other command management functions. For example, disabled command (Delete a command from this server), redirect command (similar to EasyCommand, directing command input to another command), and so on.
By using a simple YAML configuration file, the following functions can be achieved:
Messages
Broadcast
Commands
Reward-Items
Take-Items
Server-Teleport
(Need BungeCord or Velocity)Titles
(Can only be used by players)Action-Bars
(Can only be used by players)Sounds
(Can only be used by players)Set-Placeholders
(Set or remove a placeholder that can be used anywhere)Player-Functions
(More functions provided by Bukkit API with a specific player as an instance)World-Functions
(More functions provided by Bukkit API with a specific world as an instance)Compound-Functions
(Put multiple functions into a list for execution)Functions
(Functions can have sub functions and can be infinitely nested)Break
Permission
Priority
Sequence
Conditions
Comparison
HasItem
Permission
HasPlaceholder
Player
(More player attributes provided by some BukkitAPI)World
(More world attributes provided by some BukkitAPI)Recipes
Text
(It can be a combination of placeholders and text)Players
(Can be a regular expression)Items
(Can be a regular expression)Sounds
(Can be a regular expression)Commands
(Simulate TAB when entering specific commands)Exceptions
(If the same content exists in the recipe, it will be removed)Functions
(Functions can have sub functions and can be infinitely nested)Break
Permission
Conditions
Comparison
HasItem
Permission
HasPlaceholder
Player
(More player attributes provided by some BukkitAPI)World
(More world attributes provided by some BukkitAPI)JSON component is a functional text that acts on the chat bar, such as a window displayed when the mouse hovers over text, clicking on text to execute commands, and so on.
Item collection can be used in some settings related to item IDs based on the name you defined for them (not the name displayed on the item)
Command (Main is /litecommandeditor or /lce) | Feature |
---|---|
/litecommandeditor reload | Reload all settings |
/litecommandeditor info | View command's info |
/litecommandeditor load | Load a custom command configuration |
/litecommandeditor unload | Unload a command configuration |
/litecommandeditor delete | Delete a command |
/litecommandeditor itemcollection | Manage item collection for command configuration |
/litecommandeditor debug | Debugging Mode Comprehensive Command |
/litecommandeditor list | List all loaded custom command configurations |
/litecommandeditor listall | List all commands |