Comments (5)
What version are you running? Is it possible that you can provide those command aliases files as well?
from commandaliases.
Version: MC 1.19.2, Fabric 0.4.10, CommandAliases 0.9.4
addbonus:
{
"commandMode": "COMMAND_CUSTOM",
"customCommand":
{
"parent": "addbonus",
"permission": 4,
"actions":
[
{
"command": "lp user $executor_name() parent add bonus",
"commandType": "SERVER"
}
]
}
}
removebonus replaces the add
argument with remove
, and changeorigin
doesn't need to run in an mcfunction.
The point of this is as a workaround due to luckperms not allowing the use of selectors in commands. Running execute as @a run addbonus
in a command block works fine. I just can't reference addbonus in the mcfunction.
from commandaliases.
Quick question does reloading the datapack using /reload
still not let you reference addbonus
?
To be honest, I have no idea why it won't let you reference it as a command.
I assume you can reference lp user @a parent add bonus
directly.
from commandaliases.
Nah, it still doesn't let me reference addbonus
. I can reference lp user @s parent add bonus
directly, but at the time, my config was a default where lp wouldn't let me use selectors. Turns out, you can allow lp selectors in config, so I don't this solution anymore, but it's still weird
from commandaliases.
The main issue is that Command Aliases are registered after default mod commands and datapacks, making it impossible for the datapack to locate them. Additionally, moving the Command Aliases registration to the default one would cause a failure to locate commands from mods loaded after Command Aliases.
from commandaliases.
Related Issues (20)
- Tellraw JSON keeps failing HOT 3
- [SERVER] COMMAND_REDIRECT_NOARG - Could not find existing command "gamemode creative" HOT 3
- "gamemode survival" not working HOT 2
- Aliases loading order HOT 2
- trigger command not aliasing correctly HOT 2
- Feature Request: Fabric PlaceholderAPI HOT 5
- NoClassDefFoundError: org/yaml/snakeyaml/error/YAMLException HOT 1
- PlaceholderAPI Implementation HOT 2
- Unsupported schema version error HOT 3
- MySQL error after enabling mysql database HOT 1
- Better Command Action Scheduling System HOT 2
- Unable to create suggestion provider using JSON_LIST option / documentation does not exist HOT 3
- Command not working HOT 3
- Backup Mods HOT 3
- Doesn't load at all if there is an error in the configuration
- Add formatting support in "message" for other symbols, not just ยง
- Can be marked as 1.20.2 compatible
- Cannot assign "trigger" command HOT 1
- Running any Command in 1.20.4 crashes the server
- Unable to Figure Out How to Use COMMAND_LIST_LOOKUP Suggestions From Documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commandaliases.