ZeepTourney 1.0.1

dotnet add package ZeepTourney --version 1.0.1
                    
NuGet\Install-Package ZeepTourney -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ZeepTourney" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZeepTourney" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="ZeepTourney" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZeepTourney --version 1.0.1
                    
#r "nuget: ZeepTourney, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ZeepTourney@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZeepTourney&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=ZeepTourney&version=1.0.1
                    
Install as a Cake Tool

ZeepTourney is a package that implements generic settings for use in Zeepkist Tournaments

Each individual tournament project can apply these settings without having to implement them by starting the tournament via the ZeepTourney.TourneyApi. The tournament settings will then be unapplied when ending the tournament via the Api.

Settings

Tournament settings define the basic parameters of the tournament that can be applied to any additional mod specific parameters or just used alone for a generic tournament. These can be accessed in game by using the mod settings UI. ZeepTourney provides the following options:

<b>Custom Points</b> provides a way to modify how points are awarded to players.

  • Use Custom Championship Points: Use the other settings in this section (disabled will use default game settings)
  • Baseline Points: The number of points awarded to anyone who sets a time
  • DNF Points: The number of points awarded to players who DNF
  • Points Distribution: The number of points awarded to the top X players (semicolon separated e.g. "64;48;36;27;20;15;11;8;6;5;4;3;2;1;1;1" will award 64 points to first place, 48 to second, and so on for the top 16 players, then the Baseline Points is given to the rest)
  • Reset Championship Points: Reset how many points players have at the beginning of the tournament to 0 (in most cases recommended, but could be disabled to apply handicaps or resume an incomplete tournament)
  • Sort Using Championship Points: Show the players on the small racing leaderboard by points secured (not recommended as it obscures how players are ordered in the current round)

<b>Room</b>

  • Private Lobby for Tournament: Will automatically make the lobby private while the tournament is active, then make it public again at the end. (Can still manually change lobby privacy with host controls)

<b>Racing Times</b>

  • Remember Times: ZeepTourney will remember the time a player set in the current round even when they leave a lobby so if they return they will get that time restored
  • First Time Best Time: Players are only allowed to set one time each round, once they do all subsequent attempts will be blocked

<b>Team Setup</b>

  • Team Time Strategy: Method to use for computing a team's time, Average Time or Slowest Time
  • Counted Team Times: Number of team members to use in the team time calcuation ordered by fastest
  • Min Members: Minimum number of team members required
  • Max Members: Maximum number of members allowed on a team
  • Team Tournament: Set the tournament as a team event

Available Chat Commands in Game

<b>Host Commands</b>

/zeeptourney start [tourney-name] - start a named tourney /zeeptourney stop - stop an active tourney /zeeptourney reg open|close|clear - open, close, or reset team registration /zeeptourney unreg - Unregister the local player from a team

<b>Any Player Commands</b>

!zt reg [team] - Register to a team when registration is open !zt unreg - Unregister from a team when registration is open

API

API calls can be used by other mods to enhance ZeepTourney for more complicated tournaments. ZeepTourney is used in Pursuit, Top->Out, and Rushtick for example. The ZeepTourney package is available at NuGet. Only specific API calls are exposed to use, therefore one must also install the ZeepTourney mod, not just use the package.

To call API commands one must include and use the ZeepTourney namespace. The support API commands are:

bool readyToStart()

void startNamedTournament(string name) - Start a tournament named name

void endTheTournament() - Stop an active tournament

float getPlayerTime(ulong steamID, bool delay=false) - Get the player's current race time (float.NaN if none), or previous time with a delay

float getTeamTime(ulong steamID, bool delay=false) - Get the players' team time (float.NaN if none), or previous time with a delay (if no team will call getPlayerTime)

int getTeamDNFs(ulong steamID, bool delay=false) - Get number of players on a team that still need a time for a team time to be calculated, or previous with delay (if no team will return if they have a time)

string getPlayerName(ulong steamID) - Get the player's full name including their tag

string getTeamName(ulong steamID) - Get a players' team name (if no team will call getPlayerName)

int getPlayerAwardedPoints(ulong steamID) - Get the amount of points the player will be awarded at the end of the round based on their current time

int getPlayerCurrentPoints(ulong steamID) - Get the amount of points the player currently has secured

int getTeamCurrentPoints(ulong steamID) - Get the amount of points a players' team has

int getTeamAwardedPoints(ulong steamID) - Get the amount of points a players' team will be awared at the end of the round based on current placements

void setPlayerPointTotal(ulong steamID, int points) - Change the amount of points a player has

bool isPlayerInLobby(ulong steamID) - Check if a player is currently in the lobby

bool isTeamTourney() - Check whether the config is set to team tourney

void addPlayerToTeam(ulong steamID, string team) - Add a player to a team

void removePlayerFromTeam(ulong steamID) - Remove a player from a team

bool teamHasEnoughMembers(string team) - Check if a team has the minimum required members

bool isParticipant(ulong steamID) - Check if a player is eligible to participate in a tourney based on team config and membership

string teamTimesUIMessage() - Get a string with each team and their current time listed row by row

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 106 10/16/2026
0.0.5 278 2/8/2025
0.0.3 215 12/7/2024
0.0.2 210 12/5/2024
0.0.1-beta 188 11/16/2024