9a8b00ef9b | ||
---|---|---|
LICENSE | ||
README.md | ||
init.lua |
README.md
MODFORM
Client Sided Mod to help with the moderation of servers. I've done my best to make sure nothing goes wrong when banning, kicking or revoking shout. But I could have missed something. Use this CSM with caution.
This probably doesn't work anymore since I don't moderate ingame as much as I used to and so have stopped working on this
Features
Settings tab where you can:
- Tell the CSM what banning mod the server uses.
- Change what the command to open the formspec is
- Enable Addons. There is only one right now
Addons:
- Trashmouth - Puts a warning in chat if a player says a word that is in the 'bad words' list
Here is a list of commands this addon adds:
-
.addword <word> <significance>
- Adds a word to the bad word list<word>
- The word for trashmouth to search for in messages<significance>
- Number from 0 to 2 How bad the word is. 0 means 'not very bad', 2 means 'worst'
-
.delword <word>
- Remove a word from the bad word list<word>
- Word in the bad word list
-
.y <optional kick reason>
- Kick the last player to trigger the trashmouth<optional kick reason>
- The default kick reason is Swearing in chat
-
History Tab
The history page lists records of your bans, kicks, and unbans
Main Tab
-
Has a playerlist containing all of the players currently online. Problems:
- May not work if the join/leave messages on the server are not the same as the default ones
- Will not work if you do not see the contents of
/status
when you join - May not work if the contents of
/status
are different from the default contents
-
Has quite a few buttons (If you didn't notice)
-
Refresh
- Refresh the playerlist -
Ban
- Brings up a formspec where you can ban playersBan
(all ban mods) - Ban the chosen playerPlayername
- The name of the player you are banningReason
(xban & sban) - The reason that will be shown to the player when they are bannedTime
(xban & sban) - The amount of time the player will be banned forBack
- Takes the user back to the main page- You must type yes into the field before you can ban a player. This helps prevent accidental bans
- The command that will be issued is displayed above the field where you type in yes
-
Unban
- Brings up a formspec where you can unban playersReason
(sban) - The reason for unbanning the player
-
Kick
- Brings up a formspec where you can kick playersKick
- Kick the chosen playerPlayername
- Name of the player to kickReason
- The reason for the kickDisplay Reason In Chat
- If this is checked (true) then the reason will be sent to all online playersBack
- Takes the user back to the main page
-
Grant
- Brings up a formspec where you can grant player privilegesPlayername
- Name of the player to grant the privileges toBack
- Takes the user back to the main page- Dropdown
All
- interact and shoutInteract
- The interact privilegeShout
- The shout privilege
-
Revoke
- Brings up a formspec where you can revoke a player's privilegesPlayername
- Name of the player to revoke the privileges fromBack
- Takes the user back to the main page- Dropdown
All
- interact and shoutInteract
- The interact privilegeShout
- The shout privilegee
-
Ban Record
(sban) - Displays the chosen player's ban records and alts -
Xban Gui
(xban) - Brings up the Xban Gui
-