Raised This Month: $276 Target: $400
 69% 

[TF2] Workshop Vote (v1.0.3, 2020-09-26)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
llamasking
New Member
Join Date: Jul 2020
Plugin ID:
7292
Plugin Version:
v1.0.3
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
2 
Plugin Description:
Allows players to call votes to change to workshop maps.
Old 09-15-2020 , 16:08   [TF2] Workshop Vote (v1.0.3, 2020-09-26)
Reply With Quote #1

Description
Allows players to call votes to change to workshop maps.

Commands
  • sm_wsmap / sm_wsvote <workshop id> - Call a vote to change to a workshop map.
  • Chat command (!wsmap, /wsmap, etc.) equivalents work as well.

ConVars
  • sm_workshop_min_subs - The minimum number of current subscribers for a workshop item. (Default: 50)
  • sm_workshop_version - Plugin version.

Dependencies
  • NativeVotes - I compile my own build off the GitHub version with PRs #3 and #8 applied. I'll attach my version if you don't want to compile yourself.
  • SteamWorks - Used to access the SteamAPI.
  • [Optional] Updater - Automatic updates.
  • [Compile] Multi Colors - Only worry about this if you want to compile your own version of the plugin.

Changelog
Quote:
v1.0.4 (2020-09-26)
- Just another leak fix. This one more likely than the last.

v1.0.3 (2020-09-26)
- Add notice if debug mode is on
- Fix possible leak if a vote is called while another is as well

v1.0.2 (2020-09-26)
- Oh, fuck! Debug mode is on!

v1.0.1 (2020-09-25)
- Fix compilation errors if debug is defined
- Add notice to vote caller about possible issues
- Say '10' rather than 'a few' seconds
- Just use the changelevel command

v1.0.0 (2020-09-15)
- Initial release
Credits
  • Sikari and Impact on the AM Discord - Feedback on the first revision of my code.
  • dustinandband - I referenced his code when figuring out how to use NativeVotes.

Note: Due to the NativeVotes requirement requirement, "Get Plugin" doesn't work. Please use the attached .smx file.
Attached Files
File Type: zip NativeVotes.zip (148.7 KB, 3 views)
File Type: smx wsvote.smx (16.3 KB, 0 views)
File Type: sp Get Plugin or Get Source (wsvote.sp - 0 views - 7.7 KB)
__________________

Last edited by llamasking; Yesterday at 21:59. Reason: Release patch v1.0.3
llamasking is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:57.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode