Skip to content

A simple CS2 plugin to put configurable groups of text on a wall.

License

Notifications You must be signed in to change notification settings

M-archand/WallText

Repository files navigation

Important

Credits for the base plugin go to K4ryuu! I made some changes but can't fork it twice so had to make a new repo.


Wall Text

Creates text to display on the map.
Updates on map start.


Download

Dependencies

To use this plugin, 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.

Commands

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

  • !walltext # - Creates the wall text in front of the player and saves it to config file. E.g. !walltext 1 will add the text from group 1 in the config. You can place each group in as many locations as you please.
  • !removetext - Remove the closest wall text from your position and deletes in from the config file. (100 units max)

Configuration

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

Roadmap

  • Add color configs. See here for color names.
  • Add left alignment.
  • Add font size & scale to config.
  • Fix inconsistent results for !remove
  • Add configurabled commands.
  • Add configurable permissions.
  • Add text groups.
  • Add minor adjustment commands.

(back to top)

License

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

(back to top)