Mute/Unmute all online

Python 3 Server Controller for Trackmania and Shootmania for script-only modes.

Moderators: TheM, toffe, NADEO

User avatar
ramires
Posts: 53
Joined: 16 Apr 2013, 12:11
Contact:

Mute/Unmute all online

Post by ramires » 05 Dec 2019, 10:27

Greetz,

I need the possibility to mute/unmute all actual online players,... I wrote here, because maybe somenone using such feature,..?! Is this a big programming thing?

After yeras of using uaseco I want test something new,... so I'm new to pyplanet and especially to python,... It will take a while for me to "do the right things there" ;-)
TM2
«ramires»«[PUB[RPG.PL4YGROUND]]» / JOIN
«ramires»«[PUB[RPG.SPECIAL.ONES]]» / JOIN

For contact & suggestions find me on Discord JOIN

race on,... ;-)

User avatar
Miss
Posts: 1993
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Mute/Unmute all online

Post by Miss » 05 Dec 2019, 11:55

What do you need this for, out of curiosity?
1070 GTX, Ryzen 3700X, 16GB RAM, Windows 10
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream on Twitch and tweet on Twitter.

User avatar
ramires
Posts: 53
Joined: 16 Apr 2013, 12:11
Contact:

Re: Mute/Unmute all online

Post by ramires » 05 Dec 2019, 12:04

Just to "focus" all players for an admin chat announcement,... without any interruption,...
TM2
«ramires»«[PUB[RPG.PL4YGROUND]]» / JOIN
«ramires»«[PUB[RPG.SPECIAL.ONES]]» / JOIN

For contact & suggestions find me on Discord JOIN

race on,... ;-)

User avatar
toffe
Posts: 712
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Mute/Unmute all online

Post by toffe » 05 Dec 2019, 13:20

This function already exist: //chat
;)

User avatar
ramires
Posts: 53
Joined: 16 Apr 2013, 12:11
Contact:

Re: Mute/Unmute all online

Post by ramires » 05 Dec 2019, 20:35

Ahhhhh,.. very cool,...

how it works excactly,... I'm alone on my dev server,... :shock: :clap:

I only see the enabled/disabled message for the public chat,.. disbaled, no mesagges were send to the chat, with the ecxeption of admin messages..? :D
TM2
«ramires»«[PUB[RPG.PL4YGROUND]]» / JOIN
«ramires»«[PUB[RPG.SPECIAL.ONES]]» / JOIN

For contact & suggestions find me on Discord JOIN

race on,... ;-)

User avatar
toffe
Posts: 712
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Mute/Unmute all online

Post by toffe » 05 Dec 2019, 21:25

Exactly that! Only admins can write text

HaagseSmurf
Posts: 2099
Joined: 13 Apr 2011, 19:46
Contact:

Re: Mute/Unmute all online

Post by HaagseSmurf » 05 Dec 2019, 23:53

This video shows how it perfectly works in a match.
At 1.48 min. the public chat is disabled



Greetz
HaagseSmurf

Check Smurfen.net and / or Smurfen.nu for all info.
You can also like our facebookpage at FaceBook Smurfen.net.
Or just visit
our Smurfen.net Canyon servers,
the Smurfen.net Valley and Royalserver.

User avatar
ramires
Posts: 53
Joined: 16 Apr 2013, 12:11
Contact:

Re: Mute/Unmute all online

Post by ramires » 06 Dec 2019, 12:55

Perfect!! Thx for your video,... One last question, because it wasn't used, admin messages will go "through" this? or hide it himself too...? :-)

Thx for help and explanation,...

greetz,...
TM2
«ramires»«[PUB[RPG.PL4YGROUND]]» / JOIN
«ramires»«[PUB[RPG.SPECIAL.ONES]]» / JOIN

For contact & suggestions find me on Discord JOIN

race on,... ;-)

HaagseSmurf
Posts: 2099
Joined: 13 Apr 2011, 19:46
Contact:

Re: Mute/Unmute all online

Post by HaagseSmurf » 06 Dec 2019, 13:48

ramires wrote:
06 Dec 2019, 12:55
Perfect!! Thx for your video,... One last question, because it wasn't used, admin messages will go "through" this? or hide it himself too...? :-)

Thx for help and explanation,...

greetz,...
Admin messages to all the players are still visible for everyone!

Greetz,
HaagseSmurf

Check Smurfen.net and / or Smurfen.nu for all info.
You can also like our facebookpage at FaceBook Smurfen.net.
Or just visit
our Smurfen.net Canyon servers,
the Smurfen.net Valley and Royalserver.

User avatar
ramires
Posts: 53
Joined: 16 Apr 2013, 12:11
Contact:

Re: Mute/Unmute all online

Post by ramires » 06 Dec 2019, 14:03

Ok,.. tyvm,... ^^ Now I read that toffe wrote it above,... my eyes, my eyes,.. :-)

can be closed,... happy weekend,...
TM2
«ramires»«[PUB[RPG.PL4YGROUND]]» / JOIN
«ramires»«[PUB[RPG.SPECIAL.ONES]]» / JOIN

For contact & suggestions find me on Discord JOIN

race on,... ;-)

Post Reply

Return to “PyPlanet”

Who is online

Users browsing this forum: No registered users and 2 guests