How to use the "Others" section from the settings to add your own checks
How does the section work?
# Example configuration of the listener for an example client/version/mod#The name of the configuration section (you can use what you want, it is not important)ExampleSectionName:#The channel name sent by the client that HackedServer will interceptChannel:"EXAMPLE CHANNEL"#The name of the subsection (because you can detect differents clients/mods/versions on the same channel)ExampleSubSectionName:#It is a condition : if the message sent by the client contains this text, HackedServer will read the rest of this subsectionContains:"I'm using ExampleClient"#The client name that HackedServer will display in its messagesClientName:"ExampleClient"#Actions to do when a player join with this client/mod/versionActions:#Enabled Placeholders in Commands and AlertMessage : %p%, %version%, %message%#Commands you want to be performed by the ConsoleConsoleCommands: - "kill %p%"#Commands you want to be performed by the player (as an op)OppedPlayerCommands: []#Enable alerts for players who have permission hackedserver.alertAlert:true#Alert message to send if enabledAlertMessage:"&c %p% &7sent the plugin message \"&c%message%&7\" using the version &c%version%"
Example section: Rift
McBrandChannel:Channels: - "MC|Brand" - "minecraft:brand"Rift:ClientName:"Rift"Contains:"rift"Actions:ConsoleCommands: []OppedPlayerCommands: []Alert:trueAlertMessage:"&c %p% &7just logged in using \"&c%version%&7\" !"
You can also read this little article on medium that explains my approach with examples