I'm trying to use this mod to fix some of the issues I have with Essential Command's (Fabric Mod) syntax and make it more like the syntax from EssentialsX (Paper Plugin). Essentially map /home tp home to just simply /home and then any other home to /home {home name}. So far I've figured out how to get everything working but the suggestions, and the documentation seems to cover nothing but CommandAliases' built-in database.
{
"schemaVersion": 1,
"commandMode": "COMMAND_CUSTOM",
"command": "home",
"message": "Teleporting to default home",
"children": [
{
"child": "homename",
"type": "argument",
"argumentType": "minecraft:word",
"suggestionProvider": {
"suggestionMode": "COMMAND_LIST_LOOKUP",
"suggestion": "essentialcommands:home tp"
},
"actions": [
{
"command": "essentialcommands:home tp {{homename}}",
"commandType": "CLIENT"
}
]
}
],
"actions": [
{
"command": "essentialcommands:home tp home",
"commandType": "CLIENT"
}
]
}
(For clarity, I've remapped /home to essentialcommands:home, and the commands themselves do work).
When I try this I get the following message in my server console:
[Server thread/ERROR]: [SERVER] COMMAND_CUSTOM - Invalid suggestion "essentialcommands:home tp": <filepath>\homehome.json
I'm sure there's some other syntax I'm supposed to be using for this use case. Any help would be much appreciated!
Thanks!
I'm trying to use this mod to fix some of the issues I have with Essential Command's (Fabric Mod) syntax and make it more like the syntax from EssentialsX (Paper Plugin). Essentially map
/home tp hometo just simply/homeand then any other home to/home {home name}. So far I've figured out how to get everything working but the suggestions, and the documentation seems to cover nothing but CommandAliases' built-in database.(For clarity, I've remapped /home to essentialcommands:home, and the commands themselves do work).
When I try this I get the following message in my server console:
I'm sure there's some other syntax I'm supposed to be using for this use case. Any help would be much appreciated!
Thanks!