←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

[Any] Language Checker (v0.1, 16.12.2012)

Adminek AMXX.PL - zdjęcie Adminek AMXX.PL 16.12.2012

I am annoyed by people, which are always writing in languages, although my serverrules say, german or at least english. So i have written this plugin to get rid of these guys.Cvars:

  • sm_lc_languages - language files, seperatet by ";"
  • sm_lc_enabled - enables plugin
  • sm_lc_logging - enables debug logging
  • sm_lc_min_wordcount - minimal written words before warning or kicks come
  • sm_lc_min_warnings - minimal warnings before kick
  • sm_lc_kick - enables kick
  • sm_lc_kick_ratio - ratio of unrecognized words to kick (0.0-1.0)
  • sm_lc_warn_ratio- ratio of unrecognized words to warn (0.0-1.0)
Commands:
  • sm_init_dict - reinitialize dictionary files
Dictionary Files:Dictionary Files are located in addons/sourcemod/gamedatathe files are named lc_.txtso if you want the languages en_us and en_gb, you set you sm_lc_languages to "en_us;en_gb" and have the files lc_en_us.txt and lc_en_gb.txtbe careful, on linux the files are casesensitive (so you have to rename the files in the zip ;))these Files have one word per lineInstallation:Extract zip file to addons/sourcemod/ or just normal install the plugin file and get your dictionary somewhere.Changelog: Quote: v0.1 16.12.2012Initial Release Known Bugs:
  • Words with signs like "hello!" are not recognized
Todo:
  • Bugfixing
  • Command to reset player statistics
  • immune player
  • dictionary indexing
  • code cleanup
Attached Files Dołączona grafika language_check.smx (7.7 KB) Dołączona grafika language_check.phrases.txt (258 Bytes) Dołączona grafika Get Plugin or Get Source (language_check.sp - 9.3 KB) Dołączona grafika language_checker.zip (1.54 MB)

Wyświetl pełny artykuł
Odpowiedz