New config system implemented
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
config:
|
||||
plugin:
|
||||
key: "beta" # Put your license key here. If you do not have one, join the discord to verify your purchase
|
||||
lang: "en_us.json" # Languages
|
||||
lang: "en-us.json" # Languages
|
||||
# --------------------------------
|
||||
# Anti-Nuke Setup (Do this first)
|
||||
# --------------------------------
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
{
|
||||
"dictionary" : { // Comment!
|
||||
"if-you-see-this-lang-is-broken" : "Sentinel language is working!", // Comment!
|
||||
"no-permission" : "§cInsufficient Permissions!",
|
||||
"cooldown" : "This action is on cooldown!",
|
||||
"false-positive-report-success" : "Successfully reported a false positive!",
|
||||
"no-online-player" : "§cYou must provide an online player to send a message to!",
|
||||
"no-message-provided" : "§cYou must provide a message to send!",
|
||||
"elevating-perms" : "Elevating your permissions...",
|
||||
"log-elevating-perms" : "Elevating the permissions of %s",
|
||||
"already-op" : "You are already a server operator!",
|
||||
"log-already-op" : "The permissions of %s are already elevated! Retrying...",
|
||||
"no-trust" : "You are not a trusted user!",
|
||||
"no-user-reply" : "§cYou have nobody to reply to!",
|
||||
"spy-enabled" : "SocialSpy is now enabled.",
|
||||
"spy-disabled" : "SocialSpy is now disabled.",
|
||||
"action-automatic" : "§7This action was preformed automatically\n§7by the §bSentinel Anti-Spam§7 algorithm.",
|
||||
"action-automatic-reportable" : "§7This action was preformed automatically \n§7by the §bSentinel Profanity Filter§7 algorithm!\n§8§o(Click to report false positive)",
|
||||
"unicode-warn" : "§cDo not send non standard unicode in chat!",
|
||||
"message-sent" : "§d§lMessage §8» §b[§fYou §e>§f %1$s§b] §7%2$s",
|
||||
"message-received" : "§d§lMessage §8» §b[§f%1$s §e>§f You§b] §7%2$s",
|
||||
"spy-message" : "§d§lSpy §8» §b§n%1$s§7 has messaged §b§n%2$s§7.",
|
||||
"spy-message-hover" : "§8]==-- §d§lSocialSpy §8--==[\n§bSender: §f%1$S\n§bReceiver: §f%2$S\n§bMessage: §f%3$S",
|
||||
"profanity-mute-warn" : "You have been auto muted for repeated violation of the profanity filter! §7§o(Hover for more info)",
|
||||
"profanity-mute-notification" : "§b§n%1$s§7 has been auto-muted by the anti-swear! §8(§c%2$s§7/§4%3$s§8)",
|
||||
"slur-mute-warn" : "§cYou have been insta-punished by the anti-slur! §7§o(Hover for more info)",
|
||||
"slur-mute-notification" : "§b§n%1$s§7 has been insta-muted by the anti-swear! §8(§c%2$s§7/§4%3$s§8)",
|
||||
"swear-block-warn" : "§cPlease do not swear in chat! Attempting to bypass this filter will result in a mute! §7§o(Hover for more info)",
|
||||
"swear-block-notification" : "§b§n%1$s§7 has triggered the anti-swear! §8(§c%2$s§7/§4%3$s§8)",
|
||||
"spam-notification" : "§b§n%1$s§7 might be spamming! §8(§c%2$s§7/§4%3$s§8)",
|
||||
"spam-notification-hover" : "§8]==-- §d§lSentinel §8--==[\n§bPrevious: §f%1$s\n§bCurrent: §f%2$s\n§bSimilarity §f%3$s",
|
||||
"spam-block-warn" : "Do not spam in chat! Please wait before sending another message.",
|
||||
"spam-mute-warn" : "§cYou have been auto-punished for violating the anti-spam repetitively!",
|
||||
"spam-mute-notification" : "§b§n%1$s§7 has been auto-muted by the anti spam! §8(§c%2$s§7/§4%3$s§8)",
|
||||
"filter-notification-hover" : "§8]==-- §d§lSentinel §8--==[\n§bOriginal: §f%1$s\n§bSanitized: §f%2$s\n§8§o(Click to report false positive)",
|
||||
"severity-notification-hover" : "§8]==-- §d§lSentinel §8--==[\n§bOriginal: §f%1$s\n§bSanitized: §f%2$s\n§bSeverity: §c%3$s\n§7§o(click to report false positive)"
|
||||
}
|
||||
}
|
||||
@@ -1,81 +0,0 @@
|
||||
{ // Comment!
|
||||
"plugin": {
|
||||
"license": "beta", // Here is a comment!
|
||||
"prefix": "§d§lSentinel §8» §7", // Here is another one!
|
||||
"webhook": "https://discord.com/api/webhooks/id/token",
|
||||
"lang": "en-us.json",
|
||||
"trustedPlayers": [
|
||||
"049460f7-21cb-42f5-8059-d42752bf406f"
|
||||
],
|
||||
"blockSpecific": true,
|
||||
"preventNBT": true,
|
||||
"preventCmdBlockPlace": true,
|
||||
"preventCmdBlockUse": true,
|
||||
"preventCmdBlockChange": true,
|
||||
"preventCmdCartPlace": true,
|
||||
"preventCmdCartUse": true,
|
||||
"cmdBlockOpCheck": true,
|
||||
"dangerous": [
|
||||
"op",
|
||||
"deop",
|
||||
"stop",
|
||||
"restart",
|
||||
"execute",
|
||||
"sudo",
|
||||
"esudo",
|
||||
"fill",
|
||||
"setblock",
|
||||
"data",
|
||||
"whitelist"
|
||||
],
|
||||
"logDangerous": true,
|
||||
"logCmdBlocks": true,
|
||||
"logNBT": true,
|
||||
"logSpecific": false,
|
||||
"logged": [
|
||||
"give",
|
||||
"item"
|
||||
],
|
||||
"deop": true,
|
||||
"nbtPunish": false,
|
||||
"cmdBlockPunish": false,
|
||||
"commandPunish": false,
|
||||
"specificPunish": false,
|
||||
"punishCommands": [
|
||||
"smite %player%",
|
||||
"ban %player% ]\u003d- Sentinel -\u003d[ You have been banned for attempting a dangerous action. If you believe this to be a mistake, please contact the server owner."
|
||||
],
|
||||
"reopCommand": false
|
||||
},
|
||||
"chat": {
|
||||
"antiSwear": {
|
||||
"antiSwearEnabled": true,
|
||||
"lowScore": 0,
|
||||
"mediumLowScore": 1,
|
||||
"mediumScore": 3,
|
||||
"mediumHighScore": 5,
|
||||
"highScore": 7,
|
||||
"scoreDecay": 3,
|
||||
"punishScore": 20,
|
||||
"strictInstaPunish": true,
|
||||
"swearPunishCommand": "mute %player% 15m Do not attempt to bypass the Profanity Filter",
|
||||
"strictPunishCommand": "mute %player% 1h Discriminatory speech is not tolerated on this server!",
|
||||
"logSwears": true
|
||||
},
|
||||
"antiSpam": {
|
||||
"antiSpamEnabled": true,
|
||||
"defaultGain": 1,
|
||||
"lowGain": 2,
|
||||
"mediumGain": 4,
|
||||
"highGain": 6,
|
||||
"heatDecay": 1,
|
||||
"blockHeat": 10,
|
||||
"punishHeat": 25,
|
||||
"clearChat": true,
|
||||
"chatClearCommand": "cc",
|
||||
"spamPunishCommand": "mute %player% 1m Please refrain from spamming!",
|
||||
"logSpam": true
|
||||
},
|
||||
"antiUnicode": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user