The New TF2maps Discord Bot - Feedback and Discussion Thread

14bit

L14: Bit Member
aa
Oct 5, 2014
642
2,066
Goodbye, Vbot

Staring as a simple bot designed to help us keep track of maps that needed testing in late 2015, and dutifully maintained for years by @Fantasma, our chat bot Vbot survived the jump from Steam Chat to Discord and completely revolutionized how we organized testing for TF2 maps. For their significant contributions to the mapping community with their work on Vbot, Fantasma was awarded a Map Maker's Medallion when they announced they were moving on from the community and could no longer maintain Vbot in January of 2019.

Since being transferred to our servers in January, it became clear that nobody knew how to properly maintain Vbot now that the original creator was gone. In light of this, @drp and the rest of the Staff team decided that the best course of action was to create a new bot from the ground up, and on August 9th, 2019, Vbot was taken offline and replaced with our shiny new TF2maps Bot.

Introducing TF2Maps Bot

TF2Maps Bot is our replacement for Vbot. It has many of the same features, though some features Vbot had may be missing or incomplete.

TF2maps Bot lives here:
https://bot.tf2maps.net/

The current command list can be found here:
https://bot.tf2maps.net/commands.php

The major (public-facing) improvements over Vbot include:
  • Automatic uploading of maps to the servers
  • Cleaner Discord responses (with fancy embeds!)
  • Automatic synchronization of the VIP role between the forums and Discord
  • Easier to navigate website
  • Direct links to feedback and demos for the last 10 maps played on the site
We need your feedback!

Since TF2Maps Bot has been built entirely from the ground up, some things don't work quite the same as they did with Vbot. We'd like your thoughts on the new bot and some of the changes we've made.

Suggestions for improvements? Complaints about missing features? Glowing reviews of @drp's bot-making skills? Discuss them below and we'll see what we can do!
 
Last edited:

Muddy

Muddy
aa
Sep 5, 2014
2,574
4,592
Not sure if this is implemented already, but maybe the bot should only auto-delete maps if they've been tested with a minimum player count (like 7v7) so mappers don't lose time to maps run with like 4v4s at the end of an imp.
 

drp

aa
Oct 25, 2007
2,273
2,628
Not sure if this is implemented already, but maybe the bot should only auto-delete maps if they've been tested with a minimum player count (like 7v7) so mappers don't lose time to maps run with like 4v4s at the end of an imp.
This is somewhat already implemented. It'll only consider your map "played" if the server had more than 10 players. Otherwise is stays on the list.
 

I dinne ken

Has currently had enough
aa
Apr 16, 2016
324
432
This is somewhat already implemented. It'll only consider your map "played" if the server had more than 10 players. Otherwise is stays on the list.

Would it be possible to add another condition where the map isn't considered played if it ends with nobody on it? Since a playercount can easily go from 11 players to 0 pretty quickly.
 

Izotope

Sourcerer
aa
May 13, 2013
698
764
Does the Forums-Discord synchronization apply to other roles besides VIP as well? (e.g. Veteran)
 

Narpas

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
A way to add maps to the maplist without going through Discord, such as directly through the site, would be nice; that way, people who are banned from the Discord wouldn't have to ask someone else to add their map, and you'd still be able to add maps if Discord was down
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
Allowing !update to use the same filename would be cool (and a dedicated !noteupdate command) - people are getting issues like this where it seemingly doesn't work if the filename doesn't change
upload_2019-8-14_17-51-12.png
upload_2019-8-14_17-52-2.png
 

Narpas

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
Currently, it seems like the bot doesn't check to make sure filenames follow the "gamemode_name_version" naming convention (such as "koth_trainsawlaser_rc2" instead of just "koth_trainsawlaser"). It isn't listed under the rules in the Discord at the moment, but it used to be, and is listed in this guide to uploading maps to the bot. It's a useful rule to have because if people have a different map of the same name (which is likely to happen if someone updates their map without updating a version string), they'll get a file mismatch error upon trying to connect to the server. I personally won't test maps if they don't have a version string, and advise imp hosts not to, and I often ask for a staff or server mod to delete maps without version strings along with a note to tell the submitter to add a version string. If you could add a function to the bot to check and make sure that the filenames of all maps submitted at least follow the "*_*_*" format, similar to how it checks to make sure the filename submitted to the bot is the same as the name of the file, that'd help a lot.

Another feature I'd love to see but would probably be much more difficult to achieve would be if maps submitted to the bot were automatically "claimed" by the submitter on the feedback site (seen by logging into the feedback site through Steam and clicking "CLAIM" on a map page). This would require data to be passed between the bot and the feedback database, and would require users to have both a Discord user (to know which user is submitting) and a Steam user (for claiming) attached to their profile, but it would make accessing feedback for your map a lot easier, and would also allow people testing the map to see who the author is in-game without having to do too much. Again, this is definitely harder to implement, and not quite as important as the first, but it's still something which I would appreciate a lot. Cheers!
 

Narpas

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
Some more filaname issues: in addition to making sure filenames follow the "gamemode_name_version" naming convention, it'd be nice if the bot also made sure that filenames don't contain capital letters or special characters, as I've heard that that can cause issues with the server. The bot also says "Your map name and file name are different. They must match." if the file uploaded to the site isn't a .bsp, which is confusing some newer mappers. I think that the bot should check for the file type of the uploaded map, and instead say something like "Your map file is a [file type] file, not a .bsp. Only .bsps can be uploaded to the server."

On a more project-wide scale, it seems only Dr. P has access to the bot's code, meaning any and all changes need to be made directly by him, which means we may need to wait for quite some time for features to be added. If he gave other staff members access to the code so functionality could be added quicker and by more people, or even made the whole bot open source like Fanta's bot, that would be much appreciated, but I can understand if he doesn't want to do that.