Skip to content

SharpTimer companion plugin to display map records, points leaders, or map completions.

License

Notifications You must be signed in to change notification settings

SharpTimer/WallLists

Repository files navigation

UpdateManager Compatible


SharpTimer Wall Lists

Provides three lists to display on the map: Times List, Points List, Completions List.
Dynamically updates on either map start or a given interval. Supports automatic updates.


Download

Dependencies

To use this server addon, you'll need the following dependencies installed:

  • CounterStrikeSharp: CounterStrikeSharp allows you to write server plugins in C# for Counter-Strike 2.
  • K4-WorldText-API: This is a shared developer API to handle world text.
  • SharpTimer: SharpTimer is a timer plugin for game modes such as Surf or BHOP.

(back to top)

Commands

Default Access: @css/root, can be configured. All commands can be configured, these are the default commands:

  • !timeslist - Create a map records list for the current map in front of the player and save it to a config file.
  • !pointslist - Create a points list in front of the player and save it to a config file.
  • !completionslist - Create a # of map completions list in fron of the player and save it to a config file.
  • !removelist - Remove the closest list from your position. (100 units max)
  • !reloadlistcfg - Reload your config live in-game. Takes about 15 seconds.
  • !updatelistcfg - Update your config with any new variables that have been added in a new version.

Configuration

  • A config file will be generated on first use located in /addons/counterstrikesharp/configs/SharpTimer-WallLists
  • The coordinates are saved in json files, located in /addons/counterstrikesharp/plugins/SharpTimer-WallLists/maps
  • You can see an example with detailed comments here: SharpTimer-WallList.example.json

Roadmap

  • Update for SharpTimer usage.
  • Add color configs. See here for color names.
  • Add font size & scale to config.
  • Add SQLite & PostgreSQL support. // 1=MySQL, 2=SQLite, 3=PostgreSQL
  • Merge MapList/PointsList plugins into a single plugin.
  • Add database table prefix to config to support latest version of SharpTimer.
  • Fix inconsistent results for !removelist
  • Add configurabled commands.
  • Add configurable permissions.
  • Add left alignment.
  • Add a Map Completions List.
  • Add alignment options for each type of list.
  • Add minor position adjustment commands.
  • Add database support for more convenient multi-server maintencance.

(back to top)

Important

Credits for the base plugin go to K4ryuu! I made changes for it to work with SharpTimer and added several extra features.

License

Distributed under the GPL-3.0 License. See LICENSE.md for more information.

(back to top)