Index
Overview
1.02
1.01
1.0
Installation
Modifications
Rcon, Admin, and Knight Commands
Client Commands
Emote Commands
Saber Damage CVars
Saber Damage Amplifier CVars
Message CVars
Other CVars
Known Issues
Acknowledgments
Disclaimer
Overview
This mod was created initially for the Jedi Academy.
The JAE Mod is a server-side only modification designed administrate a server with ease. It is loaded with Admin Commands, Client Commands,
Server Options and cVars; Extremely modified to meet any clans and admins expectations. This is truly the only mod you will
ever need to get that doesn't alter the normal game play of Jedi Knight: Jedi Academy®. Please visit us at http://jamod.jk3files.com,
or on IRC at #jae @ irc.quakenet.org.
1.02
- ---Updates---
- New CVar g_mAdminLoginControl allows specific settings for restricting the clients that are authorized to enter your server without the hassle of altering passwords all the time. Great for clan servers.
- New Saber Damage Amplifier CVars - to fully adjust your saber combat to the extent it needs should you prefer a different feel to your server.
- @ allows you to do admin chat directly from any chat mode.
- Time can now be tracked during private duels.
1.01
- ---Features---
- Refactored some code having to do with the saber damage cvars.
- Linux Makefile has been revamped to mirror the one originally created by Raven Software. Raven Makefile is also included with the source code.
- Project has been upgraded to compile in Visual Studio 2005. VS 2002 and 2003 projects still exist.
- Over 10 new bugfixes applied from authors in LucasForums. Author credit is commented in the code.
- New emsit4, emsit5, and emsit6 emotes so you can sit proper in those chairs. That is a total of 20 emotes in all.
- New g_mPSayMode CVar to control the location of the private chat messages.
- New warning system based on the idea introduced by MultiPlayer Xtra mod.
- Re-added g_mSaberDMGIdle and g_mSaberDMGThrow CVars to better control the saber system should it deviate from basejk.
- New CVars g_mDuelTimer and g_mDuelTimerWait to control the waiting period a client needs to wait between another private duel.
- New Cvar g_mBanFile to signify the name of the file you want to save the banned IP addresses in.
1.0
- ---Features---
- Source Code available via Subversion
- Built off of the Jedi Academy Mod for Jedi Knight: Jedi Outcast.
- New documentation rewritten and verified in XHTML 1.0
- Rank name automatically appended to names for chatting.
- Admin levels use shared command names.
- All new emotes
- Custom chat colors
- Fixed buffer overflow in amsay.
- Completely refactored code base to increase speed and overall optimizations.
- New commands !about, !license to view the terms of the software.
- Fixed security issue with viewing the rconPassword using the mvstr command.
- Windows binaries and Linux shared objects are packaged together.
Installation
Windows:
Create a directory like this:
X:\...\Star Wars Jedi Knight Jedi Academy\GameData\jae
where 'X:\...\Star Wars Jedi Knight Jedi Academy\' is the path where you installed
Jedi Academy. Now you can start the server with the '+set fs_game
jae' argument followed by your server scripts.
Example:
jampDed.exe +set dedicated 2 +set fs_game jae +set net_port 29071 +exec jae_server.cfg
Important:
For the Banning system, you will need to have Administrator privileges for the operating system to the jae folder.
Linux/Unix:
Create a directory like this:
/usr/local/games/ja/jae where '/usr/local/games/ja/' is the path where you installed Jedi Knight: Jedi Academy.
Place the jampgamei386.so into the jae folder and grant full admin
rights to the jae folder.
Now you can start the server with the '+set fs_game jae' argument followed by your server scripts.
Example:
./linuxjampded +set dedicated 2 +set fs_game jae +set net_port 29071 +exec jae_server.cfg
- Perl Server Log Backup Script:
- Place the script in location of your server's jka root directory.
- View the cron script by using the crontab -1 command to see the script.
- Next edit the script using the crontab -e command and map the path to the perl script.
- If you wish to Back-up at 5 am every week, every month, type the following.
- 0 5 * * 0 /path/jkaroot/jkalogbackup.pl
- If you wish to have an email sent to you in case the script fails, type MAILTO="youremail@somewhere.com"
Modifications
- Various Admin and Knight commands
- Logging of player IP when player connects to the server. Logging happens in the following format:
mlog_ClientConnect: <player client id> '<player name>' -> '<player ip>'
- Logging of Admin and Knight commands. Every command will be logged in the following format:
mlog_command <playername>
- Removed the 2 player at a time duel limit.
- Sabers don't automatically ignite at the start of a duel.
- When player wins a duel, they receive their pre-duel health and shields back.
- Typing !motd or !rules when in any chat mode shows the motd to the player who said it.
- Typing !version or !author when in any chat mode shows the version number and author.
- Typing !home or !web when in any chat mode shows the JA home page link.
- Typing !license or !about when in any chat mode shows the license and JAE mod information.
- Rcon command "cvar_restart" now resets all JAE mod cvars back to the defaults, except admin passwords.
- Clients can now automatically log into the server with admin access if admin password is supplied instead of the server password.
- Clients can have Admin Only servers if g_password matches any of the passwords defined for g_mAdminPassword or g_mKnightPassword.
- Applied MAX_VEHICLES fix to be 64 instead of 16.
- Unable to lame bots in a private duel when bot_honorableduelacceptance is enabled.
- Private duels can continue if the server timelimit has been met. No new duels can be initiated. Thanks to lmo.
- amsay or ?amsay when in any chat mode will go directly into admin chat. Now your chat will go to the right people in case of a typo
RCon, Admin, and Knight commands
playerid - Can be a client id, full
player name or partial player name. For example if there's a player
named 'Padawan' and you want to kick him you can use this: mkick
pad; mkick pada; mkick wan; etc. (Just watch out if there are
more players with the same sequence in their name. At this point
only the first encountered player is taken for the command. Also
note that the keyword 'all' has special meaning. Most commands
take the 'all' keyword to execute the command on all players on the server.
madminaccess
<playerid> <level> |
|
|
|
Gives the client admin access level
Type the value for g_mRankName or "admin" for level 1; Type the value of g_mRankName2 or "knight" for level 2. |
mdenyadminaccess
<playerid> <level> |
|
|
|
Denies the client admin access
Type the value for g_mRankName or "admin" for level 1; Type the value of g_mRankName2 or "knight" for level 2. |
minfo |
aminfo |
|
|
Show all the available commands you have access to as well as the version of the binary. |
mhelp |
amhelp |
|
|
Quick Help for commands available in mod. |
msleep
<playerid> |
amsleep
<playerid> |
sleepgun |
1 |
Places client in a sleeping position. |
mwake
<playerid> |
amwake
<playerid> |
wakegun |
|
Wake the player if he's asleep (undo the effects of msleep) |
msilence
<playerid> <mode> |
amsilence
<playerid> <mode> |
|
2 |
Silence players so they can't talk. Mode passed could be 'global' for all chat disabled and
'private' for just public chat disabled. |
munsilence
<playerid> <mode> |
amunsilence
<playerid> <mode> |
|
|
Unsilence players so they can talk again. Mode passed could be 'global' or 'gm' for all chat enabled and
'private' or 'pm' for just public chat enabled. |
mlockteam
<team> |
amlockteam
<team> |
|
4 |
Locks a specific team in CTF mode so no one can join. (Red, Blue, Spectator) |
munlockteam
<team> |
amunlockteam
<team> |
|
|
Unlocks a specific team in CTF
mode so people are allowed to join. (Red, Blue, Spectator) |
mrandteams |
amrandteams |
|
8 |
Randomizes Teams in CTF Gameplay. |
mallowvote
<playerid> |
amallowvote
<playerid> |
allowvotegun |
16 |
Allows client to use the voting feature again. |
mdenyvote
<playerid> |
amdenyvote
<playerid> |
denyvotegun |
|
Disables use of voting to a specific client. |
mshowmotd
<playerid> |
amshowmotd
<playerid> |
showmotdgun |
32 |
By default the motd is shown whenever a player enters the game.
This can be used to remind someone of the motd/rules by showing it to them again. |
mrename
<playerid> <new name> |
amrename
<playerid> <new name> |
|
64 |
Remotely renames a player. |
mpsay
<playerid> |
ampsay
<playerid> |
|
128 |
Send a message to a specific player. 'All' parameter send the message to everyone. |
mtele
<playerid> <x> <y> <z> <yaw> |
amtele
<playerid> <x> <y> <z> <yaw> |
|
256 |
This can teleport any client to any desired location on a map.
|
mnotarget
<playerid> |
amnotarget
<playerid> |
notargetgun |
512 |
Toggles client to be a target for NPC's. |
morigin
<playerid> |
amorigin
<playerid> |
origingun |
1024 |
This gets client's X, Y, and Z coordinates on the map and prints them to the console. |
mkick
<playerid> <reason> |
amkick
<playerid> <reason> |
kickgun |
2048 |
Same as kick but enhanced to also take a clientid or a partial player name, and a reason from the admin for being kicked. |
mkickban
<playerid> <reason> |
amkickban
<playerid> <reason> |
kickbangun |
4096 |
Bans and kicks the player at the same time with a reason why they were kicked. No need to enter an ip. |
mbanrange
<playerid> <security> <reason> |
ambanrange
<playerid> <security> <reason> |
|
8192 |
Kicks and Bans client's ip range. The security levels can be l, m, or h. (light, medium, heavy)
Warning: Banning IP ranges can cause unfortunate events in masking out an entire ISP. Only use as a last resort. |
mvstr
<vstr/name> |
amvstr
<vstr/name> |
|
16384 |
Executes and selects the map desired available in the rotation. |
mnextmap |
amnextmap |
|
32768 |
Executes and selects the next map available in the rotation. |
mforceteam
<playerid> <team> |
amforceteam
<playerid> <team> |
|
65536 |
Transfers a client to a specified team in CTF gameplay. (Red, Blue, Spectator) |
status |
amstatus
<playerid> |
statusgun |
131072 |
Altered version of status. This displays the clietid, ip address, and name. |
mgametype
<gametype> <map> |
amgametype
<gametype> <map> |
|
262144 |
Allows the admin to change Map and Gameplay. |
mnpcaccess
<playerid> |
amnpcaccess
<playerid> |
npcgun |
524288 |
Grants / Denies the client ability to spawn NPC's. |
mslap
<playerid> |
amslap
<playerid> |
slapgun |
1048576 |
Slaps some sense into the client. |
mempower
<playerid> |
amempower
<playerid> |
empowergun |
2097152 |
Empowers a client with all Force powers and stronger skills. |
munempower
<playerid> |
amunempower
<playerid> |
unempowergun |
|
The client returns to normal player abilities. |
mterminator
<playerid> |
amterminator
<playerid> |
terminatorgun |
4194304 |
Enables the client to have all weapons and full power. A lethal weapon. |
munterminator
<playerid> |
amunterminator
<playerid> |
unterminatorgun |
|
The client returns to normal player abilities. |
mprotect
<playerid> |
amprotect
<playerid> |
protectgun |
8388608 |
Protects a client from attacks. |
munprotect
<playerid> |
amunprotect
<playerid> |
unprotectgun |
|
The client is no longer protected. |
mtimescale
<scale> |
amtimescale
<scale> |
|
16777216 |
Alters the speed of the game. |
mwarn
<playerid> |
amwarn
<playerid> |
warngun |
33554432 |
Warns a client. If the client meets or exceeds the g_mMaxWarnings,
they are kicked or kickbanned. |
mforgive
<playerid> |
amforgive
<playerid> |
forgivegun |
|
Forgives a client that has been previously warned. |
- Included is a jae_admin.cfg script which allows the admin user to access the admin gun commands with ease. Place this file in your base folder and type \exec jae_admin.cfg in game console when in game.
Client Commands
--Client Commands can be used by all clients. Admin Commands only for logged in admins and knights and are controlled via g_mAdminCommands and g_mKnightCommands cVars.
amlogin
<password> |
g_mAllowAdminLogin |
Allows Secondary Admins to use the Admin Commands |
amlogout |
g_mAllowAdminLogin |
Allows Admins and Knights to Logout. |
amwhois |
g_mWhois |
Allows user to see who is logged in as an admin. |
amsay
<message> |
|
Sends a message to all logged in Admins and Knights. |
ignore
<playerid> |
|
Ignores chat from a certain player. (repeat to disable) |
Emote Commands
--Emote Commands can be used by all clients. These commands allow the user to execute
certain animations in game which is ideal for roleplay type servers.
emsit |
1 |
Performs a sitting animation. |
emsit2 |
2 |
Performs a laidback sitting animation. |
emsit3 |
4 |
Performs yet another sitting animation. |
emwait |
8 |
Clamps your hands behind your back. Player is able to move. |
emsurrender |
16 |
Puts your hands up in the air. Player is able to move. |
emsorrow |
32 |
Places the character at a sorrowful animation, kneeling on the ground. |
emhonor |
64 |
Places the character at a honorable animation, kneeling before their master. |
emnod |
128 |
The client nods their head. |
emshake |
256 |
The client shakes their head. |
empraise |
512 |
The client raises the roof. |
emattenhut |
1024 |
The client stands at attention. |
emcrossarms |
2048 |
The client leans against an entity with their arms crossed. |
emalora |
4096 |
The client executes the Alora taunt from SP mode. |
emthrow |
8192 |
The client randomly throws the saber in two different directions. |
emtavion |
16384 |
The client executes the Tavion taunt from SP mode. |
empoint |
32768 |
The client points in a general direction. |
emcomeon |
65536 |
The client motions the other client to come here. |
emsit4 |
131072 |
Performs a proper sitting animation. |
emsit5 |
262144 |
Sitting in crouched position, slouched forward. |
emsit6 |
524288 |
Sitting upright, leaning back. |
Saber Damage CVars
--Commands that can be used to control the damage certain moves do.
Note that certain moves have a min and a max damage. The min damage is in the beginning and ending of the move the max damage is usually the middle of the move.
The values are interpolated over the whole range of the move. As a rule of thumb the number of HP that will go off is about equal to half of the damage.
Increase the values for higher damage and decrease the values for lower damage. Default values are the normal Jedi Academy (basejk) values.
g_mSaberDMGIdle |
Damage for saber idle. (Default is 1) |
g_mSaberDMGThrow |
Damage for saber throw. (Default is 30) |
g_mSaberDMGKick |
Damage for a kick when saber in hand. (Default is 2) |
g_mSaberDMGTwirl |
Damage for dual/staff saber twirl. (Default is 10) |
g_mSaberDMGDualKata |
Damage for Dual Saber Kata. (Default is 90) |
g_mSaberDMGStaffKataMin |
Min Damage for Staff Saber Kata. (Default is 60) |
g_mSaberDMGStaffKataMax |
Max Damage for Staff Saber Kata. (Default is 70) |
g_mSaberDMGSpecialMin |
Min Damage for Dual/Staff Saber Specials. (Default is 2) |
g_mSaberDMGSpecialMax |
Max Damage for Dual/Staff Saber Specials. (Default is 90) |
g_mSaberDMGMultiMin |
Min Damage for Dual/Staff Saber Normal Attacks. (Default is 2) |
g_mSaberDMGMultiMax |
Max Damage for Dual/Staff Saber Normal Attacks. (Default is 70) |
g_mSaberDMGRedNormal |
Normal damage for normal red slashes. (Default is 100) |
g_mSaberDMGRedNormalMin |
Min damage for normal red slashes. (Default is 2) |
g_mSaberDMGRedNormalMax |
Max damage for normal red slashes. (Default is 120) |
g_mSaberDMGRedDFAMin |
Min damage for the red Death From Above move. (Default is 2) |
g_mSaberDMGRedDFAMax |
Max damage for the red Death From Above move. (Default is 180) |
g_mSaberDMGRedBackMin |
Min damage for the red backslash move. (Default is 2) |
g_mSaberDMGRedBackMax |
Max damage for the red backslash move. (Default is 30) |
g_mSaberDMGYellowNormal |
Normal damage for the yellow slash. (Default is 60) |
g_mSaberDMGYellowOverheadMin |
Min damage of the yellow downward slash. (Default is 2) |
g_mSaberDMGYellowOverheadMax |
Max damage of the yellow downward slash. (Default is 80) |
g_mSaberDMGYellowBackMin |
Min damage for the yellow backslash move. (Default is 2) |
g_mSaberDMGYellowBackMax |
Max damage for the yellow backslash move. (Default is 25) |
g_mSaberDMGBlueNormal |
Normal damage for the blue slash. (Default is 35) |
g_mSaberDMGBlueLungeMin |
Min damage for the blue lunge move. (Default is 2) |
g_mSaberDMGBlueLungeMax |
Max damage for the blue lunge move. (Default is 30) |
g_mSaberDMGBlueBackMin |
Min damage for the blue backstab move. (Default is 2) |
g_mSaberDMGBlueBackMax |
Max damage for the blue backstab move. (Default is 30) |
Saber Damage Amplifier CVars
--Amplifies the damage level when a certain move is unblockable. It is highly recommended not to adjust these values. They are soley for the purpose of tweaking your own kind of saber behavior for a more realistic feel. Default values are the normal Jedi Academy (basejk) values.
g_mSaberDMGTwirlAmplifier |
Damage for dual/staff saber twirl. (Default is 10) |
g_mSaberDMGLungeAmplifier |
Damage for the blue lunge move. (Default is 2) |
g_mSaberDMGDFAAmplifier |
Damage for the red Death From Above move. (Default is 5) |
g_mSaberDMGOverheadAmplifier |
Damage for the yellow downward slash move. (Default is 5) |
g_mSaberDMGAutoAmplifier |
Damage for any unblockable move other than the above specials. (Default is 5) (Max is g_mSaberDMGAutoAmplifier + 5) |
Message CVars
--These CVars are custom messages that can be set for certain commands. This is what players see when a command is executed.
Note that some commands allow the use of %s to be replaced with the affected player's name. Also note that
in most CVars a \n can be used to insert an enter.
g_mMessageUnSilenceEveryone |
g_mMessageUnSilenceBroadcast |
g_mMessageUnSilenceTarget |
g_mMessageSilenceEveryone |
g_mMessageSilenceBroadcast |
g_mMessageSilenceTarget |
g_mMessageSlapEveryone |
g_mMessageSlapBroadcast |
g_mMessageSlapTarget |
g_mMessageEmpowerEveryone |
g_mMessageEmpowerBroadcast |
g_mMessageEmpowerTarget |
g_mMessageUnEmpowerEveryone |
g_mMessageUnEmpowerBroadcast |
g_mMessageUnEmpowerTarget |
g_mMessageTerminatorEveryone |
g_mMessageTerminatorBroadcast |
g_mMessageTerminatorTarget |
g_mMessageUnTerminatorEveryone |
g_mMessageUnTerminatorBroadcast |
g_mMessageUnTerminatorTarget |
g_mMessageWakeEveryone |
g_mMessageWakeBroadcast |
g_mMessageWakeTarget |
g_mMessageSleepEveryone |
g_mMessageSleepBroadcast |
g_mMessageSleepTarget |
g_mMessageTeleEveryone |
g_mMessageTeleBroadcast |
g_mMessageTeleTarget |
g_mMessageForceTeamEveryone |
g_mMessageForceTeamBroadcast |
g_mMessageForceTeamTarget |
g_mMessageVoteAllowEveryone |
g_mMessageVoteAllowBroadcast |
g_mMessageVoteAllowTarget |
g_mMessageVoteDenyEveryone |
g_mMessageVoteDenyBroadcast |
g_mMessageVoteDenyTarget |
g_mMessageProtectEveryone |
g_mMessageProtectBroadcast |
g_mMessageProtectTarget |
g_mMessageUnProtectEveryone |
g_mMessageUnProtectBroadcast |
g_mMessageUnProtectTarget |
g_mMessageWarningEveryone |
g_mMessageWarningBroadcast |
g_mMessageWarningTarget |
g_mMessageWarningKickedEveryone |
g_mMessageWarningKickedBroadcast |
g_mMessageWarningKickedTarget |
g_mMessageForgiveEveryone |
g_mMessageForgiveBroadcast |
g_mMessageForgiveTarget |
Other CVars
--These are some miscellaneous CVars that are primarily used for control switches that enable and disable certain features in Jedi Academy Empire. You will find these very useful.
g_mAdminPassword |
The password for the Jedi Academy Admins. |
g_mKnightPassword |
The password for the Jedi Academy Knights. |
g_mRankName |
The rank name for the Jedi Academy Admins. |
g_mRankName2 |
The rank name for the Jedi Academy Knights. |
g_mRankDisplay |
Determines if the rank name will be displayed for authed admins. (Default is 1) |
g_mAdminCommands |
This value determines which commands are available
to the "Admin" level admin. Its value is
the sum of all the desired command's bitwise value. Default is 67108863 ( All
enabled ) |
g_mKnightCommands |
This value determines which commands are available to the "Knight" level admin. Its value is
the sum of all the desired command's bitwise value. Default is 8523171 ( JA
Empire default ) |
g_mEmotes |
This value determines which emotions are available
to the client. Its value is
the sum of all the desired command's bitwise value. Default is 1048575 ( All
enabled ) |
g_mAllowEmotes |
Allows user to use emotes in certain situations.
0 = Off / basejk - Emotes only allowed in Duel and Powerduel gamemodes.
1 = Taunts in FFA only, not allowed in Private Duels.
2 = Taunts in Private Duels only.
3 = Taunts in FFA and Private Duels only.
4 = Taunts not allowed in Private duels, but everywhere else. (Default is 4) |
g_mAdminLoginControl |
Allows user to supply an admin password at connection time and be able to login automatically.
0 = Off - You won't be able to login as an admin upon connection time.
1 = Admin only server.
2 = Knight only server.
3 = Admin and Knight only server.
4 = Admin and those who supply the g_password only server.
5 = Knight and those who supply the g_password only server.
6 = Admin, Knight, and those who supply the g_password only server. (Default is 6)
Note:
1. For settings 4, 5, and 6 - If the g_password is not needed on the server, then the user can login as an admin or knight this way as long as the setting is not 0.
2. There is no restriction on the login once in the server and using the amlogin command. To restrict that, you need to change g_mAllowAdminLogin to 0. |
g_mAllowTeamSuicide |
If this is set to 1, Clients can use the \kill command during team gameplay. (Default is 1) |
g_mAllowTeamDuel |
If this is set to 1, Clients can enguage in private duels during team gameplay. (Default is 0) |
g_mDebugEmpower |
If this is set to 1 and if "No Force" rule for servers is active, than it will disable the use of force for empowered clients. |
g_mDebugTerminator |
If this is set to 1 and if "Saber Only" rule for servers is active, than it will disable the use of weapons for terminator clients. |
g_mGiveAdmin |
If this is set to 1, Rcon can give clients a level of admin access. |
g_mDuelStats |
If this is set to 1, Duelers are able to see stats after private duels. If this is set to 2, Everyone can see the Duel Stats. If this is set to 0, it reports basejk style. This feature is also available in the Duel gametype. |
g_mDuelTimer |
If this is set to 1, The player cannot duel until a certain time period has been met. (Default is 0) |
g_mDuelTimerWait |
The amount of time a client has to wait before initializing another private duel in milliseconds. (Default is 10000) |
g_mNerfBacta |
If this is set to 1, you can alter the health regeneration for Large and Normal size Bacta canisters. |
g_mBigBactaHP |
This CVar alters the health regeneration for Large size Bacta canisters. (Default is 50) |
g_mBactaHP |
This CVar alters the health regeneration for Normal size Bacta canisters. (Default is 25) |
g_mAllowBlack |
If this is set to 1, Clients can use the color black for names. |
g_mEnforceDuel |
If this is set to 0, Clients can use the multiplayer duel option. |
g_mAllowDuelRegen |
If this is set to 1, Server can change the Force pool regeneration time for Private Duels Only. |
g_mDuelForce |
The amount of Force pool the winner receives after a Private Duel. (Default is 100) |
g_forceRegenTimeDuel |
The Force pool regeneration time for Private Duels Only. (Default is 200) |
g_mAllowBotLimit |
If this is set to 1, Server Admin can set the g_mMaxBots and g_mMinHumans on the server. |
g_mMaxBots |
Set to any number of max bots you want on your server. When g_mMinHumans is reached or excelled, they will be kicked automatically. (Default is 1) |
g_mMinHumans |
The number of Humans on the server before a bot is kicked. (Default is 2) |
g_mJvsT |
If this is set to 1, Clients can play Empowered vs. Terminator game mode. Must set jediVmerc to "1" as well. |
g_mSTFU |
If this is set to 1, clients are silenced in Duel and Powerduel gamemodes. |
g_mScreenSpam |
Determines whether clients will see admin command messages.
0 = Off
1 = Clients will see admin command message printing in center screen.
2 = Clients will see the admin command message printing in the console. (Default is 1) |
g_mWhois |
Allows user to see who is logged in as an admin.
0 = Off
1 = Only Admins can see who is logged in.
2 = Just shows the user who is logged in.
3 = Shows all users who is logged in. (Default is 1) |
g_mPSayMode |
Determines the location of the private chat message.
1 = Clients will see the private message printing in center screen.
2 = Clients will see private message printing in the console.
3 = Clients will see the private message printing in center screen and in the console.
(Default is 3) |
g_mSayChatColor g_mTeamChatColor g_mTellChatColor g_mASayColor |
Allows user to change chat color for messagemode, messagemode2, messagemode3, and admin chat.
0 = Off / White
1 = Red.
2 = Green.
3 = Yellow.
4 = Blue.
5 = Cyan.
6 = Magenta.
7 = White. (Default is 2, 5, 6, 5) |
g_mAdminGun |
If this is set to 1, All Admins can use the crosshair to aim and execute admin commands on the target. |
g_mNoAdminFollow |
If this is set to 1, clients are unable to follow admins in spectator mode. |
g_mWelcomeMessage |
Shows custom welcome message in the console. |
g_mHelpInfo |
This info aids clients on the server. |
g_mLoggedInAdmin |
This displays custom message to client when
they log in as an admin. |
g_mNotLoggedInAdmin |
This displays custom message to client when they fail to log in as an admin and attempt to use a command. |
g_mLoggedInKnight |
This displays custom message to client when
they log in as an knight. |
g_mMOTDContents |
The contents of the message of the day. |
g_mMOTDShowTime |
The time to show the message of the day in milliseconds. (Default is 3000) |
g_mPlayerDuelShield |
If this CVar is -1 then nothing changes. If it is between 0 and 200, on a duel start the players stats will be saved and the HP will become 100 and the shield will become g_mPlayerDuelShield units. After the duel the stats of the remaining player is restored. This should make duels a bit more fair. (Default is 50) |
g_mMaxWarnings |
The maximum amount of warnings a client will receive before being kicked or kickbanned. (Default is 3) |
g_mWarningPunishment |
If this is set to 1, the client will be kicked. If this is set to 2, the client will be kickbanned. If this is set to 0, the clients warnings will be logged only. (Default is 1) |
g_mBanFile |
The name of the file where the IP addresses are stored when a client has been kickbanned. (Default is banip.dat) |
Please see the enclosed jae_server.cfg file for an example.
Known Issues
- When changing some message CVars you can use '%s' to add the player
name to the message. When changing the message in the console however,
the '%' becomes a '.' so the name won't be displayed. A workaround
for this is to only change the values in the config file and rerun it.
- The "am" commands need a '/' or '\' (without quotes) in front of
them when executing. Else the command will be shown as a talk command
to all players.
Acknowledgments
- Special Thanks to my friends Darth Mobility and Virtue for being there for me
and inspiring me to mod this game again.
- Thanks to the JA community for their support throughout the years.
- Thanks to Bad_Hex for helping me with some JA coding issues.
- Thanks to Orion for implementing some functionality from the JAR days.
- Thanks to the OJP team and their open arms approach at making this game and community a better society and supplying fixes for the game.
- Extra Thanks to Setementor, R2D2, and the rest of the QA team for testing the application.
Disclaimer
Use this mod on your own risk. I take no responsibility what so ever for
anything that might happen when using it. The mod has been primarily tested
in all modes and gameplays on Windows and Linux servers. You may not decompile or modify this mod in any shape or form. |