/TF2-ECJ-JumpAssist

Core plugin for a TF2 rocket jump server.

Primary LanguageSourcePawnGNU General Public License v3.0GPL-3.0

TF2-ECJ-JumpAssist

Build Requirements:

https://github.com/JoinedSenses/SM-JSLib
https://github.com/JoinedSenses/SM-SaveLoc
https://github.com/JoinedSenses/SourceMod-IncludeLibrary/blob/master/include/color_literals.inc

Various differences compared to nolem's (arispoloway) version:

If switching from nolem's version to this one, a new database will need to be created due to changes in the database structure.

Too many differences to really list. TL;DR this version is more efficient

Syntax updates
Database structure
Improved race functionality
Integrated hide plugin
Changed chat messages/colors (Change theme colors by editing cTheme1/2 and recompiling)
Removed updater.
Removed speedrun functionality (Available in self-race)
Showkeys improvements (Efficiency/responsiveness. Also improved /skeyspos)
Tons of other undocumented misc changes.

This plugin supports SaveLoc functionality found here:
https://github.com/JoinedSenses/SM-SaveLoc

Public Commands

Command Description
======== Help ========
ja_help Shows JA's commands.
sm_jumptf Shows the jump.tf website.
sm_forums Shows the jump.tf forums.
sm_jumpassist Shows the forum page for JumpAssist.
======== General ========
sm_save, sm_s Saves your current position.
sm_tele, sm_t Teleports you to your current saved location.
sm_reset, sm_r Sends you back to the beginning without deleting your save.
sm_restart Deletes your save, and sends you back to the beginning.
sm_undo Restores your last saved position.
sm_ammo, sm_regen Regenerates weapon ammunition
sm_superman Makes you strong like superman. (Reduces damage taken)
sm_hardcore Enables hardcore mode (No regen, no saves)
sm_hide Hide other players.
sm_hidemessage Toggles display of JA messages, such as save and teleport
sm_preview Toggle noclip to preview map/stage. Location is restored after use.
======== Spec ========
sm_spec <optional:targetname> Open spectate menu or type a players name to spectate
sm_speclock Spec lock another player (Retarget player if they die, change teams/class)
======== ShowKeys ========
sm_skeys Toggle showing a client's keys
sm_skeyscolor, sm_skeyscolors Changes the color of the text for skeys.
sm_skeyspos, sm_skeysloc Changes the location of the text for skeys.
======== Race ========
sm_race Initializes a new race.
sm_leaverace Leave the current race.
sm_specrace Spectate a race.
sm_racelist Display race list
sm_raceinfo Display information about the race you are in.

Admin Commands

Command Description
sm_server_race, sm_s_race Invite everyone to a server wide race
sm_mapset Change map settings
sm_send Send target to another target.
sm_fspec <targetname> <optional:targettospec> Force target to spectate

CVars

CVar Def Description
ja_enable 1 Turns JumpAssist on/off.
ja_welcomemsg 1 Show clients the welcome message when they join?
ja_ammocheat 1 Allows engineers infinite sentrygun ammo?
ja_crits 0 Allow critical hits?
ja_superman 1 Allows everyone to be invincible?
sm_hide_explosions 1 Enable/Disable hiding explosions