Hello everybody my name is loyal and today I will be showcasing my brand new mod called Watchtower it was pretty simple to make and my hope is that it’ll be helpful for Server owners admins and moderators to keep their server safe from any any evildoers I thought of this premise um I Was talking with a server owner and even though we have a whit list he was still worried about people griefing the server which is a legitimate concern Whit list and only go so far and the my my solution to this was why don’t we create a reporting database where server owners And admins can create a report against a user and that’ll just get tagged onto you know their profile their account within the database and when a player has reached a certain threshold that’s determined per server they will not be allowed to join that server I will kind of showcase what I mean real Quick um I’ll go into here on the left side I have my operator account and you will need op for this I have not done anything with luck perms or any sort of thing basically it just checks if the person running the command is an op and If they are you can go ahead and do it so first I’ll kind of show off uh some of the configuration commands so I can go into config we can go into the report and we can do get all and this will basically just show what the current thresholds are so This basically means um if the person has 23 reports against them they can no longer Join This Server same against um hacker and grief Griefer and these are just columns within the database um that’s nothing Dynamic yet right now this is just a proof of concept and I Would like to expand expand upon this and make it so we can uh make it a little more Dynamic and useful to server owners we can do get uh I’ll do get Griefer and that just displays one we can also set the thresholds dynamically like I said we Can do bot and then I’ll set it back to I’ll set it to one and this will come into play later so now we have um you know if a player tries to join and they have one report of botting they’re no longer able to join and right now I I Don’t have a way to display a user’s current uh report count but right now um my test account able to join and that’s perfectly fine now let’s say that this user I bad bad botting so what I can do is I can go into Watch Tower create a report against Royal 0713 and they were Bing so from here I can go ahead and do do the normal kick Royal and that’s fine now we can go over here and they’re like oh well I want to go botting again I will go ahead and try to join and you’ve been banned for too many bot Reports and we can go back and we can we can remove this and that will clear all the reports it doesn’t clear I I kind of go into depth later about how the reporting Works within the database and the API um but you can see now that I have removed the Bing Report they’re able to join again I can go into here within the config folder I have this Watchtower properties file very simple you just have this bot Griefer hacker report threshold and you can set it here and when I stop the server we can uh it’s save the current values and if We have not defined if if if there is no config file it gets set to these values right here which is five so yeah let me pull up this database and we can kind of look at what’s going on in the back end to see how how the current reporting and Checks are working so here I have a database um this is just to keep track of users that are within that have had reports or have reported so you can see here this is my username uu ID and my alts and this is used for this table Here oh it let me the reason why nobody’s showing up is there there’s no report so I’ll just create another report for Royal and we can go back to this if I go to here we can see that the reporter uuid player uid you know reporter is Loyal this is Royal and we got set as a bot flag with a report time and I will expand upon this later have like a bot flag time stamp for each specific one um and then I probably will want to not delete the reports but set a flag that Says this is an active report or an active report anyways what we can see happen is we can specify multiple types if I go to Griefer um we can go back to this and we can refresh and we can see that they got tagged with the griefer flag as well Just to give you more options to you know it’s not just one singular report it’s for specific uh you know for the we we we can specify by um the different type for right now we I only have it set up as a user to user report Limiting so what I mean by that is these two values are unique um when you create a report these two are the basically it checks if this if loyal has created again uh a report against Royal and this is unique on this whole table so if in the future I would like To expand this so it’s on a server kind of basis where loyal could have reported Royal in Hypixel but not in some other I’m blanking on server names but for right now I think this is a pretty good stepping stone I think it’d be very useful it’s very simple Right now but it at least gets you a way where if we have people that are reported or that are that have a consistency of always being Bots or always uh griefing or hacking that we can kind of start keeping track of those reports and we we we can we can start Taking an active approach instead of being passive and reactive I guess if you got any questions feel free to let me know uh send me a message or on YouTube or you know whatever but yeah feel free to download it I’ll I’ll get this up eventually I I like I said I Think this will be a very useful tool for administrators and those sort of people to be able to take a proactive approach and make sure that their servers stay uh healthy and you know Griefer hacker B free thanks for watching and I will talk to you guys later Video Information
This video, titled ‘Watchtower Mod – Alpha Preivew (Minecraft 1.20 Mod)’, was uploaded by Loyal0713 on 2023-12-07 07:19:25. It has garnered 823 views and 18 likes. The duration of the video is 00:08:08 or 488 seconds.
Short little showcase of a new mod I’m working on that should help server owners and moderators protect their servers.