https://github.com/suprovsky/etf2ldivs
Sourcemod plugin for showing ETF2L divisions for certain gamemodes
https://github.com/suprovsky/etf2ldivs
api etf2l-org sourcemod
Last synced: 10 days ago
JSON representation
Sourcemod plugin for showing ETF2L divisions for certain gamemodes
- Host: GitHub
- URL: https://github.com/suprovsky/etf2ldivs
- Owner: suprovsky
- License: mit
- Created: 2020-06-25T18:39:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-27T22:54:11.000Z (over 5 years ago)
- Last Synced: 2025-04-07T07:45:34.547Z (10 months ago)
- Topics: api, etf2l-org, sourcemod
- Language: SourcePawn
- Homepage: https://supra.tf
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ETF2LDivs
This SourceMod plugin shows players ETF2L team and division in the server chat when they are joining the server. It is based on [thraaawn's tETF2LDivision plugin](https://github.com/thraaawn/tETF2LDivision). At this point I wanted to thank [JoinedSenses](https://github.com/JoinedSenses) for converting whole tETF2LDivision plugin to a new SourceMod syntax and whole help provided to me while making this plugin.
## Dependencies
- [System2](https://github.com/dordnung/System2)
- [SourceMod 1.10](https://www.sourcemod.net/downloads.php?branch=stable)
## Building
- download SM 1.10 and System2 extension, place System2 files in their respective folders
- in `addons/sourcemod/scripting` execute `spcomp ETF2LDivs.sp` or `spcomp64 ETF2LDivs.sp` if you are using a 64-bit OS
## Variables
- `sm_etf2ldivs_enable` (`0`/`1`) (def. 1) - disables/enables plugin
- `sm_etf2ldivs_teamtype` (`Highlander`, `6on6`, `2on2`, `1on1`) (def. 6on6) - defines team type shown in all announcements
- `sm_etf2ldivs_announce` (`0`/`1`) (def. 1) - disables/enables announcing players with their ETF2L data on join
- `sm_etf2ldivs_seasonsonly` (`0`/`1`) (def. 0) - disables/enables placements in fun cups
- `sm_etf2ldivs_announce_adminsonly` (`0`/`1`) (def. 0) - disables/enables announcements only for server administrators
## Commands
- `!div` / `sm_div` - shows up divisions for all players on the server
- `!divdetails ` / `sm_divdetail ` - opens a ETF2L profile in a MOTD window if it is possible to find the player on the server, otherwise ETF2L search window opens up
- `div?` in any chat message will print sender's team/division info