Skip to content

Limmek/MStats-for-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

MySql Stats Log for Rust

Rust plugin that logs player and server statistics to MySql.

Plugin creates database tables if not exists. NO SQL file needed!


How to use and install the plugin

  1. Download and put MStats in plugn folder.
  2. Edit the config file (MStats.json).
  3. Reload the plugin.

Plugin options

All options is set to FALSE as default!

  • ForceDatabaseCreation - Create database.
  • TruncateDataOnMonthlyWipe - Clear database on rust force wipe.
  • TruncateDataOnMapWipe - Clear database on map change.
  • _LogAirdrops - Logs cargo planes spawned.
  • _AdminLog - Logs if player call for admin.
  • _LogChat - Logs Global chat.
  • _LogTeamChat - Logs Team chat.
  • _LogConsole - Logs server messages/commands, etc admin spawn item.
  • _MySQL - Enable this for plugin to work.
  • _AdminLogWords - Specific words writen by players to be loged.
  • _LogServerCargoship - Logs cargoships spawned.
  • _LogServerPatrolhelicopter - Logs Patrol helicopters spawned.
  • _LogServerBradleyAPC - Logs bradleys spawned.
  • _LogServerCH47 - Logs ch47 spawned.

Console Commands

After Drop Table plugin must be reloaded for a new tables to be created!

  • mstats.reload - Reload the plugin.
  • mstats.empty - Truncate tables. Clear all tables from data.
  • mstats.drop - Drops all tables. Removes all table from database.

Version info

1.0.1 = x.x.d

x.x = Plugin version 1.0
d = Database version 1
The database version is for the plugin to respond on update if an update on tables is made and might need to be removed.

About

Logs player statistics and other server stuff to MySql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages