Replies: 3 comments 4 replies
-
This kind of links in with beyond-all-reason/bar-lobby#188. Probably better to use this discussion to talk about it. I completely agree we should avoid using I'm currently of the thought that anything the client can do should be a JSON network request, and it should be the lobby's job to provide a If we decide go that route, we can add additional help information to commands in the schema generator such as To continue with that linked discussion: I personally think we should implement a Discord-like command interface into the chat, with the understanding that the majority (if not all) functionality should be eventually implemented in the GUI in some way. This would allow us to progress in a more iterative manner, and would allow server devs to implement new commands and for them to be easily usable in the lobby without first needing full GUI implementation - and making everything possible via chat commands is also handy for devs and power users. |
Beta Was this translation helpful? Give feedback.
-
Agreed. All commands should be a similar network structure but the interface is completely up to the application. Lobby host and Server can broadcast their commands and then the app works out how to show them.
This is exactly what I had in mind when I said about schemas but I didn't want to limit your ideas if you had others.
I think having a combination of |
Beta Was this translation helpful? Give feedback.
-
So broadly speaking I'm thinking we'd want:
|
Beta Was this translation helpful? Give feedback.
-
One of the really big advantages of text commands has been how extensible they have been. SPADs and Teiserver have both been able to add new commands without requiring changes from Chobby et al.
I'd like to keep that flexibility but not use the chat for it. At it's simplest it might be a case we just have a mirror of the chat messages but for commands. That said, we could go as far as having extra functionality like command lookups, schemas etc on those that supply them and the server purely forward the info.
Thoughts?
@Jazcash
Beta Was this translation helpful? Give feedback.
All reactions