Advertisement
Guest User

Untitled

a guest
May 19th, 2019
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.77 KB | None | 0 0
  1. ###################################################################
  2. # #
  3. # Negativity #
  4. # AntiCheat by Elikill58 #
  5. # #
  6. # If you have a problem or a suggestion, #
  7. # You can contact me on: #
  8. # - Discord: @Elikill58#0743 #
  9. # - my Discord server: https://discord.gg/KHRVTX2 #
  10. # - Mail: arpetzouille@gmail.com #
  11. # - SpigotMC: Elikill58 #
  12. # - Minecraft.fr: Elikill #
  13. # #
  14. ###################################################################
  15.  
  16. log_alerts: true
  17. tps_alert_stop: 19 # if you get less TPS then this value, all alert will be disabled
  18.  
  19. # To enable or disable /report
  20. report_command: true
  21.  
  22. # To enable or disable /nban /nunban
  23. ban_command: true
  24. unban_command: true
  25.  
  26. # To enable or disable /suspect . Auto disable if the 'suspect.enabled' is on false.
  27. suspect_command: true
  28.  
  29. Database {
  30. isActive: false
  31. # To get the information. We use the player uuid to get the information.
  32. # We get only what you write. We never add or remove something.
  33. # We don't save your private information about your database
  34. url: "127.0.0.1/myDb"
  35. user: root
  36. password: "myPassword"
  37. table_perm: "myTable"
  38. table_lang: "myTable"
  39. table_ban: "ban"
  40. column_perm: "rank"
  41. column_lang: "lang"
  42. saveInCache: false # To do less request to your database
  43. }
  44.  
  45. inventory {
  46. alerts {
  47. no_started_verif_cheat: false # Don't see if the player isn't analsye for this cheat
  48. only_cheat_active: true # The cheat with an active detection
  49. }
  50. inv_freeze_active: true
  51. }
  52.  
  53. # Bypass when you add effects
  54. #
  55. items {
  56. #ITEM_NAME:
  57. # when: WHEN_DISABLE_DETECTION
  58. # cheats: CHEATS_DETECTION_DISABLED (it's the ID of the cheats like fly, speedhack)
  59. #
  60. # when available:
  61. # always : disable when the player get it in their hand
  62. # right_click : disale when the player right click
  63. # left_click : disale when the player left click
  64. #
  65. COMPASS {
  66. when: "always"
  67. cheats: "speedhack,fly"
  68. }
  69. }
  70.  
  71. #
  72. # Configuration about the permissions (basic and custom)
  73. #
  74. Permissions {
  75. defaultActive: true
  76. #
  77. # Only if it's an integer.
  78. # It's if your rank system work with power.
  79. # For example: If a player have 50, and you write 40, he would can use it
  80. #
  81. canBeHigher: false
  82. # Use "," to split all possibilites of custom permission
  83. showAlert {
  84. default: "negativity.alert"
  85. custom: "MOD,ADMIN"
  86. }
  87. verif {
  88. default: "negativity.verif"
  89. custom: "MOD,ADMIN"
  90. }
  91. mod {
  92. default: "negativity.mod"
  93. custom: "MOD,ADMIN"
  94. }
  95. manageCheat {
  96. default: "negativity.managecheat"
  97. custom: "MOD,ADMIN"
  98. }
  99. report_wait {
  100. default: "negativity.reportwait"
  101. custom: ""
  102. }
  103. notBanned {
  104. default: "negativity.notbanned"
  105. custom: "ADMIN"
  106. }
  107. ban {
  108. default: "negativity.ban"
  109. custom: "MOD,ADMIN"
  110. }
  111. unban {
  112. default: "negativity.ban"
  113. custom: "MOD,ADMIN"
  114. }
  115. bypass {
  116. active: false
  117. all {
  118. default: "negativity.bypass.all"
  119. custom: "ADMIN"
  120. }
  121. forcefield {
  122. default: "negativity.bypass.forcefield"
  123. custom: "ADMIN"
  124. }
  125. fastplace {
  126. default: "negativity.bypass.fastplace"
  127. custom: "ADMIN"
  128. }
  129. speedhack {
  130. default: "negativity.bypass.speedhack"
  131. custom: "ADMIN"
  132. }
  133. autoclick {
  134. default: "negativity.bypass.autoclick"
  135. custom: "ADMIN"
  136. }
  137. fly {
  138. default: "negativity.bypass.fly"
  139. custom: "ADMIN"
  140. }
  141. antipotion {
  142. default: "negativity.bypass.antipotion"
  143. custom: "ADMIN"
  144. }
  145. autoeat {
  146. default: "negativity.bypass.autoeat"
  147. custom: "ADMIN"
  148. }
  149. autoregen {
  150. default: "negativity.bypass.autoregen"
  151. custom: "ADMIN"
  152. }
  153. antiknockback {
  154. default: "negativity.bypass.antiknockback"
  155. custom: "ADMIN"
  156. }
  157. jesus {
  158. default: "negativity.bypass.jesus"
  159. custom: "ADMIN"
  160. }
  161. nofall {
  162. default: "negativity.bypass.nofall"
  163. custom: "ADMIN"
  164. }
  165. blink {
  166. default: "negativity.bypass.blink"
  167. custom: "ADMIN"
  168. }
  169. spider {
  170. default: "negativity.bypass.spider"
  171. custom: "ADMIN"
  172. }
  173. fastbow {
  174. default: "negativity.bypass.fastbow"
  175. custom: "ADMIN"
  176. }
  177. scaffold {
  178. default: "negativity.bypass.scaffold"
  179. custom: "ADMIN"
  180. }
  181. step {
  182. default: "negativity.bypass.step"
  183. custom: "ADMIN"
  184. }
  185. noslowdown {
  186. default: "negativity.bypass.noslowdown"
  187. custom: "ADMIN"
  188. }
  189. fastladders {
  190. default: "negativity.bypass.fastladders"
  191. custom: "ADMIN"
  192. }
  193. phase {
  194. default: "negativity.bypass.phase"
  195. custom: "ADMIN"
  196. }
  197. autosteal {
  198. default: "negativity.bypass.autosteal"
  199. custom: "ADMIN"
  200. }
  201. edited_client {
  202. default: "negativity.bypass.edited_client"
  203. custom: "ADMIN"
  204. }
  205. }
  206. }
  207.  
  208. Translation {
  209. active: false # enable or disable the translation
  210. lang_available = [
  211. "en_US"
  212. "fr_FR"
  213. "pt_BR"
  214. "no_NO"
  215. "ru_RU"
  216. "zh_CN" ]
  217. use_db: false # to get the lang
  218. default: "en_US"
  219. }
  220.  
  221. #
  222. # You can put this plugin on your Bungeecord/Waterfall !
  223. #
  224. # Why ? You can know when a player hack even if you're not on the same spigot's server !
  225. #
  226. hasBungeecord: false
  227.  
  228. # The time between 2 /report
  229. # in millisecondes
  230. time_between_report: 1000
  231.  
  232. ban {
  233. active: true
  234. # Where he save ban (file or database). For database, don't forget to edit the login information
  235. storage: "file"
  236. # If you want to destroy BDD line / File line
  237. destroy_when_unban: false
  238. reliability_need: 90
  239. alert_need: 5
  240. # How to calculate the time during the player will be banned
  241. # IN MILLISECONDES
  242. time {
  243. # %reliability% : reliability of last alert
  244. # %alert% : number of alert sent
  245. calculator: "360000000 + (%reliability% * 10 * %alert%)"
  246. }
  247. def {
  248. # Number that you need to be ban definitly
  249. ban_time: 4
  250. }
  251. # To save banned player on config file (/plugins/Negativity/dir)
  252. #
  253. file {
  254. dir: "ban"
  255. }
  256. db {
  257. column {
  258. # For the UUID
  259. uuid: "uuid"
  260. # To know when the player is unbanned
  261. time: "time"
  262. # If the ban is def
  263. def: "def"
  264. # reason of ban
  265. reason: "reason"
  266. # the name of the cheat that ban the player
  267. cheat_detect: "cheat"
  268. # Who ban the player
  269. by: "by"
  270. # All other column that it must be filled
  271. other {
  272. # Replace olders:
  273. # %uuid% : player's uuid
  274. # %name% : player's name
  275. # %reason% : ban reason
  276. # %gm% : player's gamemode
  277. # %walk_speed% : player's walk speed
  278. # %level% : player's level
  279. # %life% : player's life
  280. #
  281. name: "%name%"
  282. }
  283. }
  284. }
  285. }
  286.  
  287.  
  288. suspect {
  289. # Start cheat detection when people suspect a player
  290. # Suspecting detected with the chat and with /report
  291. #
  292. enabled: true
  293. chat: true
  294. with_report_cmd: true
  295. }
  296.  
  297. cheats {
  298. #
  299. # WARNING: An auto verification of all cheat can be create some lag on your server.
  300. #
  301. forcefield {
  302. ping: 150
  303. exact_name: "ForceField"
  304. isActive: true
  305. reliability_alert: 60
  306. autoVerif: true
  307. setBack: false
  308. kick: false
  309. alert_to_kick: 5
  310. reach: 3.97
  311. }
  312. jesus {
  313. ping: 150
  314. exact_name: "Jesus"
  315. isActive: true
  316. reliability_alert: 60
  317. autoVerif: true
  318. setBack: false
  319. kick: false
  320. alert_to_kick: 5
  321. }
  322. antipotion {
  323. ping: 150
  324. exact_name: "AntiPotion"
  325. isActive: true
  326. reliability_alert: 60
  327. autoVerif: true
  328. setBack: false
  329. kick: false
  330. alert_to_kick: 5
  331. }
  332. nofall {
  333. ping: 150
  334. exact_name: "NoFall"
  335. isActive: true
  336. reliability_alert: 60
  337. autoVerif: true
  338. setBack: false
  339. kick: false
  340. alert_to_kick: 5
  341. }
  342. autoeat {
  343. ping: 150
  344. exact_name: "AutoEat"
  345. isActive: true
  346. reliability_alert: 60
  347. autoVerif: false
  348. setBack: false
  349. kick: false
  350. alert_to_kick: 5
  351. }
  352. fastplace {
  353. ping: 150
  354. exact_name: "FastPlace"
  355. isActive: true
  356. reliability_alert: 60
  357. autoVerif: true
  358. setBack: false
  359. kick: false
  360. alert_to_kick: 5
  361. }
  362. speedhack {
  363. ping: 150
  364. exact_name: "SpeedHack"
  365. isActive: true
  366. reliability_alert: 60
  367. autoVerif: true
  368. setBack: false
  369. kick: false
  370. alert_to_kick: 5
  371. }
  372. autoclick {
  373. ping: 150
  374. exact_name: "AutoClick"
  375. isActive: true
  376. reliability_alert: 60
  377. click_alert: 20
  378. autoVerif: true
  379. setBack: false
  380. kick: false
  381. alert_to_kick: 5
  382. }
  383. fly {
  384. ping: 150
  385. exact_name: "Fly"
  386. isActive: true
  387. reliability_alert: 60
  388. autoVerif: true
  389. setBack: false
  390. kick: false
  391. alert_to_kick: 5
  392. }
  393. autoregen {
  394. ping: 150
  395. exact_name: "AutoRegen"
  396. isActive: true
  397. reliability_alert: 60
  398. autoVerif: true
  399. setBack: false
  400. kick: false
  401. alert_to_kick: 5
  402. }
  403. antiknockback {
  404. ping: 150
  405. exact_name: "AntiKnockback"
  406. isActive: true
  407. reliability_alert: 60
  408. autoVerif: true
  409. setBack: false
  410. kick: false
  411. alert_to_kick: 5
  412. }
  413. blink {
  414. ping: 150
  415. exact_name: "Blink"
  416. isActive: true
  417. reliability_alert: 60
  418. autoVerif: true
  419. setBack: false
  420. kick: false
  421. alert_to_kick: 5
  422. }
  423. fastbow {
  424. ping: 150
  425. exact_name: "FastBow"
  426. isActive: true
  427. reliability_alert: 60
  428. autoVerif: false
  429. setBack: false
  430. kick: false
  431. alert_to_kick: 5
  432. }
  433. spider {
  434. ping: 150
  435. exact_name: "Spider"
  436. isActive: true
  437. reliability_alert: 60
  438. autoVerif: true
  439. setBack: false
  440. kick: false
  441. alert_to_kick: 5
  442. }
  443. sneak {
  444. ping: 150
  445. exact_name: "Sneak"
  446. isActive: true
  447. reliability_alert: 60
  448. autoVerif: true
  449. setBack: false
  450. kick: false
  451. alert_to_kick: 5
  452. }
  453. scaffold {
  454. ping: 150
  455. exact_name: "Scaffold"
  456. isActive: true
  457. reliability_alert: 60
  458. autoVerif: true
  459. setBack: false
  460. kick: false
  461. alert_to_kick: 5
  462. }
  463. step {
  464. ping: 150
  465. exact_name: "Step"
  466. isActive: true
  467. reliability_alert: 60
  468. autoVerif: true
  469. setBack: false
  470. kick: false
  471. alert_to_kick: 5
  472. }
  473. noslowdown {
  474. ping: 150
  475. exact_name: "NoSlowDown"
  476. isActive: true
  477. reliability_alert: 60
  478. autoVerif: true
  479. setBack: false
  480. kick: false
  481. alert_to_kick: 5
  482. }
  483. fastladders {
  484. ping: 150
  485. exact_name: "FastLadders"
  486. isActive: true
  487. reliability_alert: 60
  488. autoVerif: true
  489. setBack: false
  490. kick: false
  491. alert_to_kick: 5
  492. }
  493. phase {
  494. ping: 150
  495. exact_name: "Phase"
  496. isActive: true
  497. reliability_alert: 60
  498. autoVerif: true
  499. setBack: false
  500. kick: false
  501. alert_to_kick: 5
  502. }
  503. autosteal {
  504. ping: 150
  505. exact_name: "AutoSteal"
  506. isActive: true
  507. reliability_alert: 60
  508. autoVerif: true
  509. setBack: false
  510. kick: false
  511. alert_to_kick: 5
  512. }
  513. edited_client {
  514. ping: 150
  515. exact_name: "Edited Client"
  516. isActive: true
  517. reliability_alert: 60
  518. autoVerif: true
  519. setBack: false
  520. kick: false
  521. alert_to_kick: 5
  522. }
  523. all {
  524. ping: 150
  525. exact_name: "All"
  526. isActive: true
  527. reliability_alert: 60
  528. autoVerif: true
  529. setBack: false
  530. kick: false
  531. alert_to_kick: 5
  532. }
  533. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement