Comments (5)
Sorry about the warning in the logs, if you migrate right now you will need to change every one of the aliases again for 1.0.0
because the format has changed. I recommend sticking with the old one for now, if you want to still go ahead and do it. The config/commandaliases
folder takes individual aliases only. So for example it would look something like this:
JSON format
config/commandaliases/tonnerre.json
{
"commandMode": "COMMAND_REDIRECT_NOARG",
"redirectCommand": {
"command": "tonnerre",
"redirectTo": "weather thunder"
}
}
TOML format
config/commandaliases/tonnerre.toml
commandMode = "COMMAND_REDIRECT_NOARG"
[redirectCommand]
command = "tonnerre"
redirectTo = "weather thunder"
YAML format
config/commandaliases/tonnerre.yml
commandMode: COMMAND_REDIRECT_NOARG
redirectCommand:
command: tonnerre
redirectTo: weather thunder
from commandaliases.
Ok ! Thanks for your quick reply.
Specify that commandalias folder is for individual command alias as it's unclear :)
It's not a problem for me to switch to individual files... I just need to ssh a little ;o)
... and duplicates my files across my servers!
from commandaliases.
Ok ! Thanks for your quick reply.
Specify that commandalias folder is for individual command alias as it's unclear :)
It's not a problem for me to switch to individual files... I just need to ssh a little ;o) ... and duplicates my files across my servers!
I would actually recommend against moving yet if you plan to update to 1.0.0
. The 1.0.0
format is slightly different from these. If you migrate them now and want to update to 1.0.0
you will need to rewrite them again.
from commandaliases.
Seems good :)
06:51:56] [Server thread/INFO]:
commandaliases
├── tonnerre.json - Successfully loaded
├── pluie.json - Successfully loaded
├── clair.json - Successfully loaded
├── jour.json - Successfully loaded
├── nuit.json - Successfully loaded
├── survie.json - Successfully loaded
├── creatif.json - Successfully loaded
├── aventure.json - Successfully loaded
├── spectateur.json - Successfully loaded
├── paisible.json - Successfully loaded
├── facile.json - Successfully loaded
├── normal.json - Successfully loaded
└── difficile.json - Successfully loaded
...
pluie
[06:53:28] [Server thread/INFO]: Set the weather to rain
from commandaliases.
Ok ! Thanks for your quick reply.
Specify that commandalias folder is for individual command alias as it's unclear :)
It's not a problem for me to switch to individual files... I just need to ssh a little ;o) ... and duplicates my files across my servers!I would actually recommend against moving yet if you plan to update to
1.0.0
. The1.0.0
format is slightly different from these. If you migrate them now and want to update to1.0.0
you will need to rewrite them again.
Not a big deal :)
I switched only on my currently running server, remaining others on the old format.
Thanks anyway for this mod !
It make easier for childs to change weather :p
from commandaliases.
Related Issues (20)
- 1.19.3 support HOT 1
- Keep getting Unsupported Schema Version message HOT 1
- 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
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.