coop-deluxe / sm64coopdx

An official continuation of https://github.com/djoslin0/sm64ex-coop on sm64coopdx for the enhancements and progress it already has.
https://sm64coopdx.com
403 stars 71 forks source link

Add ban-kick buttons to playerlist #356

Open Cooliokid956 opened 1 month ago

Cooliokid956 commented 1 month ago

Adds two buttons for banning/kicking when hovering over a player list entry.

Kick

Click once to bring up a confirmation button, click again to kick. image image image

Ban

Click once to bring up a confirmation button, click again to ban. image

Perm Ban

Click the ban button, then the Kick button will transform into the Perm Ban button. Once clicked, click again to confirm. You may also click Go Back (or stop hovering over the player) to reset the buttons. image image

Pixelsz64 commented 1 month ago

Super peak!

Pixelsz64 commented 1 month ago

Is the blood included (i wish)

Pixelsz64 commented 1 month ago

I suggest making the player list toggleable so you don't have to hold tab down and add roles. Aka owner, admin, player etc.

EmeraldLoc commented 1 month ago

I'd be curious on what other players think, however for me, I don't like having the mouse be unusable for the camera when the playerlist is open. Perhaps if mouse look is on, you could have the user press a button to activate the mouse, but that might be a bit too complicated for new players.

Isaac0-dev commented 1 month ago

While I think its a great idea to have such an easy way to kick and ban, I also feel like it'd be pretty weird having the cursor active while the player list is up.

Skeltan commented 1 month ago

I think it would be better to have something like that in the host/moderator djui pause menu instead. You could also be able to add players as moderators in there as well