Last active
January 24, 2016 20:33
-
-
Save mrspartak/d6be64a50ea5ebb6decd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var RustStatsCom = { | |
| Title : "Rust-Stats.Com", | |
| Author : "John Wick", | |
| Version : V(0, 0, 1), | |
| Description : "Collect stats from server to site rust-stats.com", | |
| Init: function() { | |
| print("Init works!"); | |
| rust.RunServerCommand('status', {}); | |
| }, | |
| Unload: function() { | |
| print("Save files, destroy timers, etc."); | |
| }, | |
| LoadDefaultConfig: function() { | |
| print("Config loaded!"); | |
| this.Config.Options = { | |
| "api_key" : 'key from rust-stats.com', | |
| }; | |
| }, | |
| CanBeWounded: function(player, info) { | |
| print("CanBeWounded works!"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment