-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moderation tools #425
Comments
yea definitely want this 👍 |
want potentially use LMDB for this see can also use could also use something like https://github.com/nats-io/nats.rs with jetstream? cause we might want people to be able to ban people even if cannot execute commands 🤷 in general worth talking about |
I would want to implement this one next. While we already do have a permission storage via heed already I'd prefer not handling "Banned" as a permission. Doing that could make it harder to implement punishments for people that quit before they got their punishment and are thus offline. Also, would muted be it's own group then? That would disable users of hyperion to give muted people any kind of permissions. |
could always handle them as const MUTED: u8 = 0b1
const PLAYER: u8 = 0b10 so const MUTED_AND_PLAYER = MUTED | PLAYER
really good catch... I suppose it could just modify the database if the player is not currently on the server. Probably want to cache all Name -> UUID somewhere too so don't have to make an API call. |
I do have a few additional questions:
|
kinda confused what you mean here
indefinitely just like how permissions are stored. should persist in case the server crashes
game server for now; it is easier.... ..... also just a thought will likely be using velocity on top of main proxy so we can have viaversion. might be able to just use a velocity plugin (perhaps there is a velocity redis ban plugin?) 🤷 |
I meant that if you were to issue the Command
I was only mentioning this part because of the User -> IP address mapping. Because I doubt it would be a great idea to store every user's last IP address forever. Maybe we could hash their IP and then store it across restarts?
Sounds good. I know only a few that support mysql / mariadb / postgresql. Might want to look into that again though. |
Be it IP bans or user bans, these will be useful during the event.
[edited by Andrew]
/vanish
command #590ban {player}
mute {player}
if chat is supportedThe text was updated successfully, but these errors were encountered: