Moderation icon

Moderation -----

Complete server moderation! Jails, Bans, Mutes, Freezing, Warnings, Invsee, Reports, and History!




Good morning again everyone,

I've knocked out a few of the planned features in this update.
The first is that if a player is attempting to permanently ban, mute, jail, freeze, ect, they must have the "perm" permission.
The second is that closed reports now also show the resolution action taken in the history. when a staff member closes a report they must enter the resolution. this will display at the end of the closed report.
----------, Jan 15, 2025

This took a lot of brain power to figure out, but I got it!

+ /cspy This is a command to view the full commands of every player as they are issued. the permission is: moderation.commandspy

+ Fully fleshed out reports.
When someone with moderation.staff logs in, they will be sent a list of all reports assigned to them, and all unassigned reports.
/reports - views all open reports
/reports history - views all closed reports (due to chat limits, only about 15 will actually display in chat (large numbers might bother console))
/reports assign [ID] - assigns the report to themselves
/reports close [ID] - closes the report (must be assigned to them)
/reports [your name] - shows all reports assigned to themselves. (only works if you use your own name)
/reports clear - clears all reports. open/closed/assigned. All of them. Its meant to be an OP only permission. requires the permission: moderation.report.clear

----------, Jan 6, 2025

Apologies again guys. I forgot to add the report immunity (I have to delete it to test, as I only have one Minecraft account)

This hotfix has report immunity included.
----------, Jan 5, 2025

+ Added the moderation.jail.manage permission. This is used to set and delete jail locations.
+ Added /report Username this will send a message to anyone with moderation.staff and will also, optionally, log to the players history log.
- Removed the /setjailreturn command. Being unjailed will now teleport the player to wherever they were before being jailed.
- Removed a duplicate unjailed message.
----------, Jan 5, 2025

Overlooked an issue where if a player was unjailed when logged out they would be teleported to the jail return point every time they logged in. This hotfix corrects this issue.
----------, Jan 4, 2025

I forgot to upload the file. lol
----------, Jan 4, 2025

Added a check to see if a player was jailed, logged out, was released, and needed to be teleported out of jail.

Changed the unban history log to display the reason provided for unbanning.

Changed "permanent" time left to "NEVER" so it will read like: You have been jailed for Hacking. Expires: NEVER

Added a usage message to /moderation
----------, Jan 4, 2025

Good morning(?) everyone, i have incorporated all of the planned features, as well as a few other things. The full list is below:


There is now separate permissions for clearing /history (moderation.history.clear)
Display time remaining after player name for /moderation lists
Added a /moderation all command. This will show all currently moderated players at the same time, seperated by moderation type.
if a player dies, they will now be teleported back to the jail they were assigned.
Fixed a few dev notes i left in the skript. also actually added the test date/time this time (right now).
----------, Jan 4, 2025

Hello again everyone.

I know its been a while since you've seen any updates, but hey, im a busy guy.

Anyways, heres whats new:
Added timespan support. Commands will no longer use a minute digit system for tracking automatic events. you can now say /ban player 1 day.
Every single message is clearly defined above the actual script, making changing and fine tuning easy.
Added an /invsee command. Testing this on my development server under a few conditions, including stopping the server and heavy lag i was not able to dupe from it.
You can now easily define if you want the script to broadcast messages or DM them to moderated players. if you dont want either, you can just leave it blank (probably).
overhauled the history system. this means every action clearly states who did what, when, and why. I also intentionally made it so even if the history feature is disabled it will still record actions taken. There is also the feature to disallow players to clear their own history. any history clearing will be logged in the new history.
Lastly, the biggest change of all, the entire skript was rebuilt from the ground up. everything looks smoother, everything feels smoother, and everything is smoother. even with more features than the last version, this version is roughly 200 lines smaller.
----------, Jan 3, 2025

Things I added:
- Mute and jail can now be timed or permanent.
- Added a feature enable/disable
- Consolidated all lists into the /moderation command

Fixes:
changed permission moderation.lists to moderation.view
fixed the "currently (moderated) players" message not being tied to custom message
added a description to every message to help customize messages
actually fixed all the incorrect immune permissions
actually fixed timings not working correctly
deleted the online checks for jail and mute
----------, Jan 22, 2024

I haven't made 100% of the messages configurable yet, but this new version includes a complete moderation history against a user.

While I was at it I also did a few other things like:
changed duplicate messages (broadcasts and chat) to broadcasts and action bar messages.
Restructured how auto-unmoderating a user works
Fixed some of the wrong messages being sent
Changed mutes and jails to now only count down if the player is online.
----------, Jan 17, 2024

I made a mistake in some of the permissions code.
It was checking for "moderation.immune.immune.ban"
This has been corrected.
----------, Jan 16, 2024

I got sufficiently motivated to complete the skript! Its came out beautifully. Please, let me know if you have any issues or questions with this skript.
----------, Jan 15, 2024

I know I haven't posted anything in a while, but I am still working on it. (in fact its pretty much done)

The skript is complete, and has been tested, and works. Right now, I'm focusing on prettying it all up and making it easier to customize.
----------, Jan 14, 2024

This patch covers an error I noticed with jails not properly deleting. Previously, /deljail used to simply remove it from the list of jails, not actually delete it. This error has been corrected.
----------, Sep 5, 2023

Turns out I can still improve it!

Jails are now infinite capacity, instead of just 1 jail.
This also includes the ability to delete jails, view current jail names, set an infinite number of jails, and all will still correctly release on time and teleport back to the return area.

I also added a freeze function to lock players locations, with a message cooldown so their chat isn't spammed with frozen messages.
----------, Sep 3, 2023

Nothing functionally changed, just redid some of the output messages such as the double quotations on permissions messages.

(This is likely the last update. The skript looks very smooth and streamlined and ill move onto another skript project (have a special skript request? let me know!))
----------, Sep 3, 2023

I've been pretty bored the last few days, so im just going to optimize and perfect this skript until either I can no longer find anything to make better, or until my attention gets stolen.
----------, Sep 2, 2023

This version actually has a functional teleport return system that makes sense and isnt coords.
----------, Sep 2, 2023

I'd only realized after it was posted that I submitted a very old version of the skript!

This one has been rebuilt from the ground up because "0.1" was clunky and I'm frankly capable of doing better work.

This fixes the issues of timed events not unjailing/unbanning players when they are supposed to.

So! without further text fluff! V0.2!
----------, Sep 2, 2023

Resource Information
Author:
----------
Total Downloads: 682
First Release: Sep 2, 2023
Last Update: Jan 15, 2025
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings