SWAT4 Snitch Mod Admin Reference 2
About
In-game Admin Login
Edit: Added "3. In game admin login example in case you use SnitchMod plugin"
If you are not familiar with AMMod created by Gez, you can read AMMod manual before this setting.
1. SETTING
Modifying Swat4XDedicatedServer.ini or Swat4DedicatedServer.ini in System directory.
CASE A
For an admin.
If your clan tag is |ABC|, if player name is |ABC|(DEF)Swat4Admin and if your admin password is AdminPW
Your Name Key is defswat4admin. (Removed the clan tag |ABC|, using only alphabets A to Z and numbers. *Corrected: name key was abcdefswat4admin in old example )
Add/Edit the lines below in Swat4XDedicatedServer.ini or Swat4DedicatedServer.ini in System directory:
[AMMod.AMAdmin]
AdminPassword=AdminPW
[SnitchMod.SMAdmin]
gArrSMAdminUsers=defswat4admin|0|-|-
[SnitchMod.SMPlayerManager]
SMC_CLAN_TAG=|ABC|
NOTE: To avoid a problem which comes from the difference of the encoding, add those lines by Typing, without using Copy and Paste. Or, use Copy and Paste after normalizing the text by text editor.
CASE B
For a super admin.
If your clan tag is {GHI}, if player name is {GHI}Swat4SuperAdmin and if your super admin password is SuperAdminPW
Your Name Key is swat4superadmin. (Removed the clan tag {GHI}, using only alphabets A to Z and numbers. *Corrected: name key was ghiswat4superadmin in old example)
Add/Edit the lines below in Swat4XDedicatedServer.ini or Swat4DedicatedServer.ini in System directory:
[AMMod.AMAdmin]
AdminPassword=SuperAdminPW
[SnitchMod.SMAdmin]
gArrSMAdminUsers=swat4superadmin|1|-|-
[SnitchMod.SMPlayerManager]
SMC_CLAN_TAG={GHI}
NOTE: To avoid a problem which comes from the difference of the encoding, add those lines by Typing, without using Copy and Paste. Or, use Copy and Paste after normalizing the text by text editor.
2. IN-GAME LOGIN
AS AN ADMIN (CASE A) / A SUPER ADMIN (CASE B)
CASE A
For a an admin.
1. Type in the in-game console,
kick mc getAdminKey AdminPW
2. The server should generate an admin key for you.
3. Hit "ADMIN LOGIN" button on your game screen and enter your admin key in the field
4. Hit tick button
Done
CASE B
For a super admin.
1. Type in the in-game console,
kick mc getAdminKey SuperAdminPW
2. The server should generate an admin key for you.
3. Hit "ADMIN LOGIN" button on your game screen, and enter your admin key in the field
4. Hit tick button
Done
3. In game admin login example in case you use SnitchMod plugin(stand-alone version of Snitch)
Examples in Snitch v166r76
A. IF: You use a clan-tag on your player name
Your player name: {ABC}NoFace, super admin
Your IP address: 192.168.0.1
A-1. Add,
[SnitchMod.SMAdmin]
SMC_CLAN_TAG={ABC}
gArrSMAdminUsers=noface|1|-|-
Note: Remove clan tag part
A-2. Add,
[SnitchMod.SMAdminCore]
SuperAdminPassword=pwOfYourChoice
gArrAdminNames=NoFace
B-3. In game chat, type,
*mc* getadminkey pwOfYourChoice
DISPLAY: xyz0123
B-4. In game chat, type,
*mc* adminLogin xyz0123
DONE
B. IF: You don't use a clan-tag on your player name
Your player name: NoFace, super admin
Your IP address: 192.168.0.1
B-1. Add,
[SnitchMod.SMAdminCore]
SuperAdminPassword=pwOfYourChoice
gArrAdminNames=NoFace
B-2-a. Add,
[SnitchMod.SMAdmin]
gArrSMAdminUsers=noface|1|-|-
gbSMSysClanTagRequiredForAdmin=False
gbSMSysSnitchListenerStateRequiredForAdmin=True
gbSMSysClanTagRequiredForSnitchListener=False
[SnitchMod.SMStorage]
arrStrSMListenerRec=ListenerName:NoFace,ListenerIPAddress:192.168.0.1
Note: Property names and the listener name, all case-sensitive for arrStrSMListenerRec
B-3. In game chat, type,
*mc* getadminkey pwOfYourChoice
DISPLAY: xyz0123
B-4. In game chat, type,
*mc* adminLogin xyz0123
DONE