AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   AutoChangeLevel v1.1 (https://forums.alliedmods.net/showthread.php?t=57734)

Nicolous 07-10-2007 10:17

AutoChangeLevel v1.1
 
2 Attachment(s)
Description :
Change the level if there are less than 2 players on the server.

Installation :
- Place the AutoChangeLevel.smx file inside of the addons/sourcemod/plugins/ folder.
- Place the plugin.AutoChangeLevel.cfg file inside of the cfg/sourcemod/ folder. It will be automatically excuted

Cvars :
* autochangelevel_clientscount_limite
Number of players in lower part (and from) of which a changelevel is considered.

* autochangelevel_exclude_bots
If the plugin count the bot when it determinates if there are lessthan 2 players on the server.
1 = bots are not counted
0 = bots are counted

* autochangelevel_time_before_changelevel
Time (in minutes) before changelevel (0 = off)

* autochangelevel_type_changelevel
Type of changelevel.
0 = nextmap (mapcyclefile)
1 = current map ("reset" timeleft)
2 = map provided by acl_type_2_map ConVar

* autochangelevel_type_2_map
If acl_type_changelevel is 2 ! Map loaded at the auto-changelevel.

--------------------
Update 1.1 :
* add autochangelevel_clientscount_limite cvar (see description)

Hell Phoenix 07-10-2007 10:44

Re: AutoChangeLevel v1.0
 
Great idea! Can I make a suggestion though? Make the number of people to change the level a cvar so people can change it to whatever they want =D

Nicolous 07-10-2007 10:47

Re: AutoChangeLevel v1.0
 
Yes it's a good idea. It would be done as of the first update ;)

ferret 07-10-2007 11:03

Re: AutoChangeLevel v1.0
 
I was planning to do this soon :P Good job. I'll have this in my new Map Management plugin too, but it's not nearly ready. I'm a firm believer that there should always be options. Small specific-purpose plugins like this are great :)

Nicolous 07-10-2007 17:18

Re: AutoChangeLevel v1.0
 
Quote:

Originally Posted by Hell Phoenix (Post 501465)
Make the number of people to change the level a cvar so people can change it to whatever they want =D

Done :)

I'm not english, if you have better descriptions for the cvars (or anything else) don't hesitate to speak about it ;)

Nicolous 07-13-2007 05:57

Re: AutoChangeLevel v1.1
 
Update the public cvar flag for plugin track.

SirCole 07-20-2007 02:33

Re: AutoChangeLevel v1.1
 
Goodwork :)

and your english is good! (you said your not english above didn't you :P)

DeaD_EyE82 07-22-2007 08:18

Re: AutoChangeLevel v1.1
 
Hi, there is a bug in your plugin. After a few seconds I will get a error message i my server console:
Code:

Unknown command "joueur"
Unknown command "joueur"
Unknown command "joueur"

Can you fix this?

Nicolous 07-22-2007 08:26

Re: AutoChangeLevel v1.1
 
Quote:

Originally Posted by DeaD_EyE82 (Post 506495)
Hi, there is a bug in your plugin. After a few seconds I will get a error message i my server console:
Code:

Unknown command "joueur"
Unknown command "joueur"
Unknown command "joueur"

Can you fix this?

Fixed, thanks for the report.

DeaD_EyE82 07-22-2007 08:28

Re: AutoChangeLevel v1.1
 
wow very fast, thx n1 plugin :-)


All times are GMT -4. The time now is 03:39.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.