egebilecen / PZServerDiscordBot

A Project Zomboid Discord Bot written in C# using Discord.NET to manage and execute commands on Project Zomboid Server.
GNU General Public License v3.0
62 stars 11 forks source link

!players #57

Open jun1024 opened 1 year ago

jun1024 commented 1 year ago

I have a suggestion about new feature, can you make a command for checking current user number? I used to type 'players' in startserver64.bat cmd, but I can't type it in cmd anymore with your bot. so It would be great if you add a checking player number command which I can use in discord channel.

egebilecen commented 1 year ago

Yeah, I will look into that. No exact time when it will be added though.

egebilecen commented 1 year ago

Hey, for a quick temporary fix, I added !server_cmd command which you can directly pass commands to the server. You can now simply write !server_cmd players then check the server console. I will add this feature to the bot as !player_count or something but I don't know when so this temporary fix should be good for now.

jun1024 commented 1 year ago

That was all I need, thanks.

reinierssp commented 7 months ago

Oye, para una solución temporal rápida, agregué un comando que puede pasar comandos directamente al servidor. Ahora puede simplemente escribir y luego verificar la consola del servidor. Agregaré esta función al bot como o algo así, pero no sé cuándo, así que esta solución temporal debería ser buena por ahora.!server_cmd``!server_cmd players``!player_count

The command only works in the console but I would like it to be represented in Discord, especially in the general channel and if possible show not the quantity but the names of the users.