Addon Details

Watch - Add Favorite


SourceMessagingService ScreenShot

Does this version work for you?
41
w00ts
w00t!2

SourceMessagingService - Version 2

posted on 2009-07-30 23:23:34
by SuperDave



Description

Sends SMS text message alerts to the cell phones of server admins. Requires ES 2.1+ and ThreadPool

This addon requires ThreadPool to run: http://addons.eventscripts.com/addons/view/threadpool

Options:
ES:
    // SourceMessagingService release 2 options
    // ./addons/eventscripts/sms/sms.cfg
    // <!-- m --><a class="postlink" href="http://addons.eventscripts.com/addons/view/sms">http://addons.eventscripts.com/addons/view/sms</a><!-- m -->
     
    // Load this addon with: es_load sms
     
     
    // To configure language or TEXT MESSAGE CONTENT settings for SourceMessagingService please see sms_languages.ini
     
     
    // SMS service provided by: <!-- m --><a class="postlink" href="http://www.onlinetextmessage.com/">http://www.onlinetextmessage.com/</a><!-- m -->
     
     
    // ***** Return e-mail ****
    // Text messages are required to have a source so this option dictates the return e-mail.
    // The e-mail address provided will receive replies from SourceMessagingService text messages
    // but will also receive "thank you" e-mails from onlinetextmessage.com
     
    // Reply e-mail address for text messages
       sms_return_address ""
     
     
    // ***** On-demand alerts *****
    // The name of on-demand alerts is "on_demand".
     
    // Level of authorization players must have to use the on-demand SMS feature
       sms_demand_authorization "IDENTIFIED"
    // Possible values are: ROOT ADMIN POWERUSER IDENTIFIED
    // For more information see the authorization FAQ: <!-- m --><a class="postlink" href="http://www.eventscripts.com/pages/Authorization_FAQ">http://www.eventscripts.com/pages/Authorization_FAQ</a><!-- m -->
    // Players with the "sms_demand" capability will also be able to use the demand SMS feature
    // If no authorization service is loaded all players with a valid Steam ID will be able to use the on-demand feature
     
     
    // Say command to send a text message alert to admins
       sms_demand_command "!alert"
     
     
    // 0 = no chat announcement, 1 = display say command in console only, 2 = display say command in chat area and console
       sms_demand_command_announce_chat 2
     
    // 0 = no HUD announcement, 1 = display say command in a HUD hint
       sms_demand_command_announce_hud 0
     
     
    // 0 = no chat announcement, 1 = display not authorized message in console only, 2 = display not authorized message in chat area and console
       sms_demand_command_acknowledge_chat 2
     
    // 0 = no conter announcement, 1 = display not authorized message in a center message
       sms_demand_command_acknowledge_center 1
     
    // 0 = no HUD announcement, 1 = display not authorized message in a HUD hint
       sms_demand_command_acknowledge_hud 0
     
     
    // 0 = no chat announcement, 1 = display not authorized message in console only, 2 = display not authorized message in chat area and console
       sms_demand_command_noauth_chat 2
     
    // 0 = no conter announcement, 1 = display not authorized message in a center message
       sms_demand_command_noauth_center 1
     
    // 0 = no HUD announcement, 1 = display not authorized message in a HUD hint
       sms_demand_command_noauth_hud 0
     
     
    // ***** Server restart alert *****
    // The name of the restart alert is "server_restart".
     
    // 0 = no alert on server restart, 1 = alert text message on server restart
       sms_alert_restart 1
     
     
    // ***** Ban alert *****
    // Players registered to receive "server_addban" alerts will receive an alert when a player is banned.
     
     
    // ***** Cvar alerts *****
    // All cvar alert names are "cvar_" follow by the name of the variable.
     
    // Use the following server command to mark cvars to be watched by SMS:
     
    // sms_cvar_watch -cvar-
     
     
    // Place your sms_cvar_watch commands below:
     
     
    // Uncomment the following default options if you wish to use them:
     
    // sms_cvar_watch rcon_password
    // sms_cvar_watch sv_cheats
    // sms_cvar_watch sv_password
     
     
    // Use the following command to remove variables from the being watched by SMS:
     
    // sms_cvar_unwatch -cvar-
     
    // Due to the fact watched cvars can be specified above, this command will not be used by most users.
     
     
    // ***** Phone numbers *****
     
    // Use the following server command to add phone numbers to SMS:
     
    // sms_number_add -"phone number"- -carrier- ["Steam ID"]
     
    // Dashes, spaces and parenthesis are optional. See the bottom of this file for a list of carrier codes.
    // If provided, SMS will check the Steam ID corresponding with each number to see if the player is connected.
    // If connected, the player will not receive a text message and will instead receive an ESC-menu.
     
     
    // Place your sms_number_add commands below:
     
     
    // Uncomment the following example options if you wish to use them:
     
    // sms_number_add "(573) 555-1234" 41 "STEAM_0:0:00001"
    // sms_number_add "(253) 555-1235" 176 "STEAM_0:0:00002"
    // sms_number_add "(412) 555-1236" 203 "STEAM_0:0:00003"
     
     
    // Use the following command to remove phone numbers from SMS:
     
    // sms_number_remove -variable-
     
    // Due to the fact phone numbers can be specified above, this command will not be used by most users.
     
     
    // Number of seconds to display ESC text box to players in lieu of text messages, 0 = always send text message
       sms_connected_display 30
     
     
    // ***** Alert groups *****
     
    // Use the following server command to register phone numbers to receive alerts:
     
    // sms_register_for_alert -"number"- -"alert name"-
     
    // Phone numbers will only receive alerts they are registered to receive.
     
     
    // Place your sms_register_for_alert commands below:
     
     
    // Uncomment the following example options if you wish to use them:
     
    // sms_register_for_alert "(573) 555-1234" "server_restart"
    // sms_register_for_alert "(573) 555-1234" "on_demand"
    // sms_register_for_alert "(573) 555-1234" "cvar_rcon_password"
    // sms_register_for_alert "(573) 555-1234" "cvar_sv_cheats"
    // sms_register_for_alert "(573) 555-1234" "cvar_sv_password"
     
    // sms_register_for_alert "(253) 555-1235" "on_demand"
    // sms_register_for_alert "(253) 555-1235" "cvar_sv_password"
     
    // sms_register_for_alert "(412) 555-1236" "on_demand"
    // sms_register_for_alert "(412) 555-1236" "cvar_sv_cheats"
    // sms_register_for_alert "(412) 555-1236" "cvar_sv_password"
     
     
    // Use the following command to unregister phone numbers for alerts:
     
    // sms_unregister_for_alert -phone number- -"alert name"-
     
    // Due to the fact alerts can be specified above, this command will not be used by most users.
     
     
    // ***** Carrier codes *****
    // Carrier codes are for reference only -- they are not options.
     
    // 36 - Alltel PCS
    // 41 - AT&T PCS
    // 69 - Cingular Wireless
    // 178 - SunCom
    // 176 - Sprint PCS
    // 182 - T-Mobile / Voicestream
    // 203 - Verizon PCS
    // 214 - Nextel
     
    // 1 - MTS (Russia)
    // 2 - PGSM (Hungary)
    // 3 - Telecom Italia Mobile (Italy)
    // 4 - Vodafone Omnitel (Italy)
     
    // 5 - Max.Mobil (Austria)
    // 6 - Orange (United Kingdom)
    // 7 - Tele Danmark Mobil (Denmark)
    // 8 - Sonofon (Denmark)
    // 9 - Telia Mobitel (Sweden)
    // 10 - Comviq GSM (Sweden)
     
    // 11 - Europolitan (Sweden)
    // 12 - Telenor Mobil (Norway)
    // 13 - Netcom GSM (Norway)
    // 14 - Plus GSM (Poland)
    // 15 - D1 De TeMobil (Germany)
    // 16 - D2 Mannesmann Mobilefunk (Germany)
     
    // 17 - E-Plus (Germany)
    // 18 - Celcom (Malaysia)
    // 19 - Mobitel (Tanzania)
    // 20 - Telecel (Portugal)
    // 21 - Optimus (Portugal)
    // 22 - TMN (Portugal)
     
    // 23 - LMT (Latvia)
    // 24 - UMC GSM (Ukraine)
    // 25 - Kyivstar GSM (Ukraine)
    // 26 - Si.Mobil (Slovenia)
    // 27 - Mobitel (Slovenia)
    // 28 - Eurotel (Czech Republic)
     
    // 29 - Cellis & LibanCell (Lebanon)
    // 30 - 3 River Wireless
    // 31 - ACS Wireless
    // 32 - Advantage Communications
    // 33 - Airtouch Pagers
    // 34 - AlphaNow
     
    // 35 - Alltel
    // 36 - Alltel PCS
    // 37 - Ameritech Paging
    // 38 - Ameritech Clearpath
    // 39 - Andhra Pradesh Airtel
    // 40 - Arch Pagers (PageNet)
     
    // 41 - AT&T PCS
    // 42 - AT&T Pocketnet PCS
    // 43 - Beepwear
    // 44 - BeeLine GSM
    // 45 - Bell Atlantic
     
    // 46 - Bell Canada
    // 47 - Bell Mobility (Canada)
    // 48 - Bell Mobility
    // 49 - Bell South (Blackberry)
    // 50 - Bell South
    // 51 - Bell South Mobility
     
    // 52 - Blue Sky Frog
    // 53 - Bluegrass Cellular
    // 54 - Boost
    // 55 - BPL mobile
    // 56 - Carolina Mobile Communications
    // 57 - Cellular One East Coast
     
    // 58 - Cellular One South West
    // 59 - Cellular One PCS
    // 60 - Cellular One
    // 61 - Cellular One West
    // 62 - Cellular South
    // 63 - Central Vermont Communications
     
    // 64 - CenturyTel
    // 65 - Chennai RPG Cellular
    // 66 - Chennai Skycell / Airtel
    // 67 - Cincinnati Bell
    // 68 - Cingular
    // 69 - Cingular Wireless
     
    // 70 - Clearnet
    // 71 - Comcast
    // 72 - Communication Specialists
    // 73 - Comviq
    // 74 - Cook Paging
    // 75 - Corr Wireless Communications
     
    // 215 - Cricket Wireless
    // 76 - Delhi Aritel
    // 77 - Digi-Page / Page Kansas
    // 78 - Dobson Cellular Systems
    // 79 - Dobson-Alex Wireless / Dobson-Cellular One
    // 80 - DT T-Mobile
     
    // 81 - Dutchtone / Orange-NL
    // 82 - Edge Wireless
    // 83 - EMT
    // 84 - Escotel
    // 85 - Fido
    // 86 - Galaxy Corporation
     
    // 87 - GCS Paging
    // 88 - Goa BPLMobil
    // 89 - Golden Telecom
    // 90 - GrayLink / Porta-Phone
    // 91 - GTE
    // 92 - Gujarat Celforce
     
    // 93 - Houston Cellular
    // 94 - Infopage Systems
    // 95 - Inland Cellular Telephone
    // 96 - JSM Tele-Page
    // 97 - Kerala Escotel
    // 98 - Kolkata Airtel
     
    // 99 - Kyivstar
    // 100 - Lauttamus Communication
    // 101 - LMT
    // 102 - Maharashtra BPL Mobile
    // 103 - Maharashtra Idea Cellular
    // 104 - Manitoba Telecom Systems
     
    // 105 - MCI Phone
    // 106 - MCI Page
    // 107 - Meteor
    // 108 - Metrocall
    // 109 - Metrocall 2-way
    // 110 - Metro PCS
     
    // 111 - Microcell
    // 112 - Midwest Wireless
    // 113 - MiWorld
    // 114 - Mobilecom PA
    // 115 - Mobilecomm
    // 116 - Mobileone
     
    // 117 - Mobilfone
    // 118 - Mobility Bermuda
    // 119 - Mobistar Belgium
    // 120 - Mobitel Tanzania
    // 121 - Mobtel Srbija
    // 122 - Morris Wireless
     
    // 123 - Motient
    // 124 - Movistar
    // 125 - Mumbai BPL Mobile
    // 126 - Mumbai Orange
    // 127 - NBTel
    // 128 - Netcom
     
    // 129 - NPI Wireless
    // 130 - Ntelos
    // 131 - O2
    // 132 - O2 (M-mail)
    // 133 - Omnipoint
    // 134 - One Connect Austria
     
    // 135 - OnlineBeep
    // 136 - Optus Mobile
    // 137 - Orange
    // 138 - Orange Mumbai
    // 139 - Orange - NL / Dutchtone
    // 140 - Oskar
     
    // 141 - P&T Luxembourg
    // 142 - Pacific Bell
    // 143 - PageMart
    // 144 - PageMart Advanced /2way
    // 145 - PageMart Canada
     
    // 146 - PageNet Canada
    // 147 - PageOne NorthWest
    // 148 - PCS One
    // 149 - Personal Communication
    // 150 - Pioneer / Enid Cellular
    // 151 - PlusGSM
     
    // 152 - Pondicherry BPL Mobile
    // 153 - Powertel
    // 154 - Price Communications
    // 155 - Primco
    // 156 - Primtel
    // 157 - ProPage
     
    // 158 - Public Service Cellular
    // 159 - Qualcomm
    // 160 - Qwest
    // 161 - RAM Page
    // 162 - Rogers AT&T Wireless
     
    // 163 - Rogers Canada
    // 164 - Safaricom
    // 165 - Satelindo GSM
    // 166 - Satellink
    // 167 - SBC Ameritech Paging
    // 168 - SCS-900
     
    // 169 - SFR France
    // 170 - Skytel Pagers
    // 171 - Simple Freedom
    // 172 - Smart Telecom
    // 173 - Southern LINC
    // 174 - Southwestern Bell
     
    // 175 - Sprint
    // 176 - Sprint PCS
    // 177 - ST Paging
    // 178 - SunCom
    // 179 - Sunrise Mobile
    // 180 - Surewest Communicaitons
     
    // 181 - Swisscom
    // 182 - T-Mobile / Voicestream
    // 183 - T-Mobile Austria
    // 184 - T-Mobile Germany
    // 185 - T-Mobile UK
    // 186 - Tamil Nadu BPL Mobile
     
    // 187 - Tele2 Latvia
    // 188 - Telefonica Movistar
    // 189 - Telenor
    // 190 - Teletouch
    // 191 - Telia Denmark
    // 192 - Telus
     
    // 193 - TIM
    // 194 - Triton
    // 195 - TSR Wireless
    // 196 - UMC
    // 197 - Unicel
    // 198 - Uraltel
     
    // 199 - US Cellular
    // 200 - US West
    // 201 - Uttar Pradesh Escotel
    // 202 - Verizon Pagers
    // 203 - Verizon PCS
    // 204 - Vessotel
     
    // 205 - Virgin Mobile
    // 206 - Vodafone Italy
    // 207 - Vodafone Japan
    // 208 - Vodafone Spain
    // 209 - Vodafone UK
    // 210 - WebLink Wiereless
     
    // 211 - West Central Wireless
    // 212 - Western Wireless
    // 213 - Wyndtell
    // 214 - Nextel


Please see the forum link below for more translations or if you have a translation to add. Please also post general questions or comments.

Installation

Install with:
ES:
Load once for sms.cfg to appear:
ES:
Configure your options in sms.cfg and then reload the addon.

Version Notes For 2

Updated on: 2011-06-19 13:04:34 EST by SuperDave (View Zip Contents)
-Updated to use ThreadPool

( Previous Versions )