Raised This Month: $30 Target: $400
 7% 

Server Lock with max players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 05-08-2020 , 16:23   Server Lock with max players
Reply With Quote #1

Hi There!
I am totally new in Amxx community. A newbie and a noob too.
Though I am good in coding, but have very little skills in amxx scripting.

I have a suggestion for a new plugin. I would call it Server Lock When a number of players reached.
I want your help please. Please make a plugin like this, because I almost searched the whole forums and can't find that plugin. So making new request here.
-------------------------------------------------------------------------------
Features:
A cvar which will define min players to execute this plugin.
I have server which has 16 slots, so I want when 8 slots are filled (8 players connected), the plugin must start working.
Also a condition, when a admin is present (online) in the 8 or 8+ players, the plugin should not execute.
When there are minimum 8 players (Any Admin is offline), the server must show a MOTD File and basically lock the server. Lock means no movement like freeze. All players freeze in place and it shows the MOTD File.
The MOTD file shows a advertisement for our server that you can buy/rent the server at this cost. Players must have 2 options: Contact me or unfreeze them temperory as they are not interested.

The MOTD File must freeze for 5 seconds at the start of every round (Compulsory). Then the players have the option to unfreeze themselves. This means constant disturbance when there are 8+ players, and if no admin is online.
I hope someone would help me. You can also give me suggestions and clues, how can I make the plugin, if you don't want to code it fully.

(I think this would be a great idea for new paid servers, so that server contributors can earn to clear off their expenses.)
allroundernaman is offline
dustinandband
Senior Member
Join Date: May 2015
Old 05-09-2020 , 05:33   Re: Server Lock with max players
Reply With Quote #2

This is the sourcemod forum, not AMX.

I’d be surprised if you had any players willing to stick around while getting spammed with PTP ads.
dustinandband is offline
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 05-09-2020 , 06:48   Re: Server Lock with max players
Reply With Quote #3

Hi Sir!

Thank you for replying. I don't understand what do you mean by "SourceMod Forum" (I am noob).
I am looking for a plugin for that purposes.
I don't want players to get willing or not. It is just to cover up the expenses of the server contributors.
allroundernaman is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 05-09-2020 , 11:30   Re: Server Lock with max players
Reply With Quote #4

Moved to AMXX section.

Quote:
Originally Posted by allroundernaman View Post
Hi Sir!

Thank you for replying. I don't understand what do you mean by "SourceMod Forum" (I am noob).
I am looking for a plugin for that purposes.
I don't want players to get willing or not. It is just to cover up the expenses of the server contributors.
Look at the forum sections. AMXX = Half-Life/CS 1.6; Sourcemod = Half-Life 2 /CSS/CSGO
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 05-09-2020 , 11:45   Re: Server Lock with max players
Reply With Quote #5

Thanks for moving!
Now someone can help me? Or I should delete this forum and create a new one?
allroundernaman is offline
safetymoose
Senior Member
Join Date: Feb 2015
Old 05-09-2020 , 12:24   Re: Server Lock with max players
Reply With Quote #6

That's a great way to annoy players and make them leave the server..

Why freeze and annoy them with MOTDs? Why not just a simple ad message?

https://forums.alliedmods.net/showthread.php?t=27814
safetymoose is offline
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 05-10-2020 , 03:07   Re: Server Lock with max players
Reply With Quote #7

Hello Sir

I am already using this plug-in, but actually everyone is ignoring the simple text messages. No one even looks at the chats
To say something I have to use hud message, so they atleast see the message of Admin.

So as I told, MOTD and freeze would actually make them see my advertisement. Please if someone can make a plugin, or can help me in doing that. I just have coding skills, not pawn expert.
allroundernaman 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 00:54.


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