Jump to content
  • 0

Removing maps/resources in-game


nisses

Question

First of all I'm sorry if this has been asked before I did search but I couldn't find anything.

I recently added a bunch of maps to my server and it is always a hassle to write up the names of the crappy maps and then remove them from the resources folder.

I can't find anything in the admin panel that can remove the maps while playing and I'm starting to wonder if this is even possible anymore?

Is it possible to remove them in anyway while playing or at least make them not show up when voting?

Thanks in advance.

Link to comment

7 answers to this question

Recommended Posts

  • 0

Ok, Thanks.

I have already cleaned up and configured resources that aren't maps I just wrote resources because of maps being resources instead of a ".map" file now.

Anyone know if something like this would ever be implemented? It is really useful when running a server where users can upload maps.

Link to comment
  • 0

That is actually a really interesting idea I will have to see what I can do as my knowledge of scripting is at most basic, Any pointers on how to achieve this? Otherwise I'm just gonna go ahead and read more on the wiki.

Also thanks for the help so far.

Link to comment
  • 0

you'll need the xml functions to store the names, a commandhandler which lists the current map / a map with a specific name, then for changing the map youll need the onResourceStart event and just check for the type, if map then getResourceName and compare it to all listed mapnames with a for loop, ifi t matches with one you'd need to force a new map vote

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...