Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Update moderation documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindgamesnl committed Sep 17, 2022
1 parent 8460818 commit 1fac9cc
Show file tree
Hide file tree
Showing 27 changed files with 252 additions and 39 deletions.
51 changes: 37 additions & 14 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/addon-activated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/addon-home-screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/addon-installer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions content/assets/back.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/fingerprint-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/fingerprint-in-minecraft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/getting-started.mp4
Binary file not shown.
Binary file added content/assets/imaginefun.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/macbook.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/matt.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/matterhorn_winter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/modrenew.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions content/assets/searchbar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
function search_tags() {
let input = document.getElementById('searchbar').value
input=input.toLowerCase();
let hide_title = document.getElementsByClassName('hide_on_search');
let x = document.getElementsByClassName('search_tags');
let count = 0;
for (i = 0; i < x.length; i++) {
if (!x[i].innerHTML.toLowerCase().includes(input)) {
x[i].closest("div > a").parentElement.style.display="none";
}
else {
x[i].closest("div > a").parentElement.style.display="initial";
count+=1;
}
}
if (input != ""){
if (count > 0){
document.getElementById("search_result_count").innerHTML = count + " results found."
}
else {
document.getElementById("search_result_count").innerHTML = "no tags found, try again using another keyword."
}
for (i = 0; i < hide_title.length; i++) {
hide_title[i].style.display="none";
hide_title[i].parentElement.classList.remove("border-b-2","py-10");
hide_title[i].parentElement.classList.add("py-1");
}
}
else {
document.getElementById("search_result_count").innerHTML = "";
for (i = 0; i < hide_title.length; i++) {
hide_title[i].style.display="flex";
hide_title[i].parentElement.classList.add("py-1");
hide_title[i].parentElement.classList.add("border-b-2","py-10");
}
}
}
function search_table() {
let input = document.getElementById('searchbar').value
input=input.toLowerCase();
let x = document.getElementsByClassName('search_column');
let count = 0;
for (i = 0; i < x.length; i++) {
if (!x[i].innerHTML.toLowerCase().includes(input)) {
x[i].parentElement.style.display="none";
console.log(x[i].parentElement)
}
else {
x[i].parentElement.style.display="";
console.log(x[i].parentElement)
count+=1;
}
}
if (input != ""){
if (count > 0){
document.getElementById("search_result_count").innerHTML = count + " results found."
}
else {
document.getElementById("search_result_count").innerHTML = "no tags found, try again using another keyword."
}
}
else {
document.getElementById("search_result_count").innerHTML = "";
}
}
//coded by someone awesome lol
62 changes: 62 additions & 0 deletions content/assets/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
.logo {
background: linear-gradient(217deg, #c54a2e, #da14e4, #2b4ac8);
background-size: 600% 600%;

-webkit-animation: LogoBlinking 2s ease infinite;
-moz-animation: LogoBlinking 2s ease infinite;
-o-animation: LogoBlinking 2s ease infinite;
animation: LogoBlinking 2s ease infinite;
}

@-webkit-keyframes LogoBlinking {
0%{background-position:90% 0%}
50%{background-position:11% 100%}
100%{background-position:90% 0%}
}
@-moz-keyframes LogoBlinking {
0%{background-position:90% 0%}
50%{background-position:11% 100%}
100%{background-position:90% 0%}
}
@-o-keyframes LogoBlinking {
0%{background-position:90% 0%}
50%{background-position:11% 100%}
100%{background-position:90% 0%}
}
@keyframes LogoBlinking {
0%{background-position:90% 0%}
50%{background-position:11% 100%}
100%{background-position:90% 0%}
}

pre {
margin-top: 10px;
margin-bottom: 10px;
padding: 5px;
background-color: rgb(128, 128, 128, 0.2);
}

code {
padding: 3px;
background: black;
color: rgb(167,139,250);
}

p a {
color: #da14e4;
text-decoration: underline;
}
h1{
font-size: 140% !important;
font-weight: bold;
}
h2{
font-size: 130% !important;
font-weight: bold;
}
h3{
font-size: 115% !important;
font-weight: bold;
}


32 changes: 22 additions & 10 deletions content/voicechat_moderation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,27 @@
[//]: # (ICON:fas fa-user-shield)
[//]: # (DESCRIPTION:How to moderate your player experience with Mutes and bans)
[//]: # (TAGS:voice,voicechat,proximity,talking,calling,calls)
[//]: # (COMMANDS:/oa pv mod {username},Loads a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.)
[//]: # (COMMANDS:/oa vc mod {username},Loads a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.)
[//]: # (COMMANDS:/oa voice mod {username},Loads a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.)
[//]: # (COMMANDS:/oa voicechat mod {username},Loads a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.)
[//]: # (COMMANDS:/oa proximity mod {username},Loads a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.)
[//]: # (COMMANDS:/oa pv inspect {username},Loads a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.)
[//]: # (COMMANDS:/oa vc inspect {username},Loads a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.)
[//]: # (COMMANDS:/oa voice inspect {username},Loads a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.)
[//]: # (COMMANDS:/oa voicechat inspect {username},Loads a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.)
[//]: # (COMMANDS:/oa proximity inspect {username},Loads a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.)

# Moderation
OpenAudioMc has native support for:
- Essentials player mutes
- Litebans player mutes
# VoiceChat Moderation
Playing with your friends is fun, but some players can really sour an entire community.

and comes with built-in moderation utilities. Moderators can inspect a player by running `/oa voice mod <name>`,(like `/oa voice mod Mindgamesnl`) and the plugin will load a GUI showing names of the 15 most recent players that they talked to, when they were last seen, as well as allowing you to ban them from using Proximity Voice Chat at all.
We provide a handful of utilities to server moderators, allowing them to check in with players, validate reports and completely ban players from voice chat.

## Inspect
The inspect command (`/oa voide inspect {username}`) is used to manage players (online and offline). It shows a list of recent peers (other players they talked to), their current status (if they're connected) and provides a ban option (where you can kick them from their current call, and prohibit them from using voice-chat again)

![example gif](assets/Screen_Recording_2022-09-17_at_13.50.44.gif)

## Moderation Mode
::warningstart::<strong>WARNING!</strong> This feature needs to be enabled in the config, as it's disabled by default to prevent abuse.::warningend::
In some cases, moderators may need to listen in on a conversation to validate a report, as bad actors usually stop as soon as they see any form of enforcement. To aid moderators, we've added a moderation mode that allows them to do just that.
It can be toggled on/off with the command `/oa voice mod` (requires the permissions `openaudiomc.commands.voice`). When enabled, all other moderators will receive an in-game notification (`ToetMats started moderating`) and the player won't be visible or audible in voicechat, but can still walk up to and hear other players.

Since it has no visual artifacts or limitations, moderators may forget to disable it after a while or use it for other purposes; therefore, it'll automatically disable itself after a configured amount of time (2 minutes by default). Moderators will receive an in-game countdown during the last 15 seconds, reminding them to extend it if they're still using it.

![mod renew screenshot](assets/modrenew.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/modrenew.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1fac9cc

Please sign in to comment.