Add list setting -> chatcmd def for external access #62
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: minetest-stuffs/dragonfire-client-dragonfire#62
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "list_setting"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This adds the setting name to the listcmd chatcommand to allow external mods to access the mapping between command name and setting.
e.g. https://github.com/corarona/nlist
It's a good addition, but the
_df_
prefix is unnecessary sinceregister_list_command
is was added by dragonfireclient in the first place.I'm unsure whether documentation should be added to the
### Chat command definition
section or toregister_list_command
, it'd probably beneficial to add it to both, maybe with the### Chat command definition
forwarding the reader toregister_list_command
.force pushed to change the field to _list_setting
Added documentation to both
I removed the underscore and fixed a missing word in the documentation, I have no further objections. If this is good with you, Squash and Merge.
i guess it doesn't seem likely minetest would add a field named list_setting but generally i try to stick to that convention.