Raised This Month: $51 Target: $400
 12% 

[L4D2] $20 request


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dustinandband
Senior Member
Join Date: May 2015
Old 04-22-2017 , 10:59   [L4D2] $20 request
Reply With Quote #1

Hello!

I'm wanting two plugins created. Also will be providing some example plugins for templates as to make the job easier for creating these requests. $20 upon completion.

-----------------------------
1) Server auto-restarter / !restart vote / server restarts on all players DC'ing

(this one will require a simple shell script to complete)

First of all, every time the server restarts it'll execute an sh script that'll execute another sh script that executes the commands. I've seen other plugins that use the in-game server restart command and I'd rather use ./quit.sh and ./start scripts (located in the root folder) instead. When any restart is executed the server will: a) execute ./quit.sh, b) wait 3 seconds, c) execute start.sh. Since the server will be turned off, I'm figuring when the plugin executes script #1, that script will then execute script #2 because when the server's off the game won't be able to launch start.sh.

~All three features should be included in this one plugin~

auto-restarter: Server auto restarts at 5am every day. If players are in the server, it'll delay the restart by an hour. If there are still players in the server - another hour, etc.

!restart vote: Typing !restart calls a vote. If the vote passes the server gets restarted. See "nativevotes voting example" for template.

Restart on all players DC'ing: Restart script gets executed upon all players DC'ing. See emptyserverslots.sp for possible useful template for detecting all players DC'ing.

Ruleset:
* Spectators cannot call the !restart vote.
* (hopefully there's a way for the server to tell the difference between all players DC'ing and a temporary DC for a map change).
* auto-restarter can't restart while players are in server.
* Must use nativevotes extension (example plugin provided below):
https://forums.alliedmods.net/showthread.php?t=208008

Example plugins:

nativevotes voting example: https://pastebin.com/9ExhvSvS

emptyserverslots.sp: https://pastebin.com/xBqtR30a

-----------------------------

2) !playermode vote

Players can type !playermode # (# can be a value between 1 and 4) and the "sm_cvar survivor_limit" will be changed to that value. Again would want this to use the nativevotes extension. I'm not sure if there's a way to keep from reloading the map but I'll include an example plugin for this one that does the same thing without needing to reload the map.

Ruleset:
* # can only equal 1 - 4 (no more or less)
* plugin gets disabled in versus and survival mode
* spectators cannot call the vote.
* again should use nativevotes extension
* Upon all players DC'ing from server, "sm_cvar survivor_limit" will be set to 4
* hopefully no restart of map required. See example plugin below for possible template.

Example plugins:

nativevotes example: https://pastebin.com/9ExhvSvS

Breezy's playermode.sp script (originally configured for a hard coop custom config): https://pastebin.com/bGfKjp3B
dustinandband is offline
dustinandband
Senior Member
Join Date: May 2015
Old 04-23-2017 , 00:18   Re: [L4D2] $20 request
Reply With Quote #2

Upping to $30 upon completion. Really need the first plugin - second one is optional but a nice feature for people looking to do solos/ duos / trios and still allow for spectators.

$15 for each completed plugin (if someone just wants to finish one out of the two).
dustinandband is offline
dustinandband
Senior Member
Join Date: May 2015
Old 04-23-2017 , 09:10   Re: [L4D2] $20 request
Reply With Quote #3

Job now closed. Hired someone on my FL who saw the post. Thanks
dustinandband is offline
larrybrains
Senior Member
Join Date: May 2017
Old 07-18-2017 , 22:51   Re: [L4D2] $20 request
Reply With Quote #4

Quote:
Originally Posted by dustinandband View Post
Job now closed. Hired someone on my FL who saw the post. Thanks
Did you ever get that plugin built that auto restarts the server when all players have disconnected? Could use a plugin like that myself.

Last edited by larrybrains; 07-18-2017 at 22:54.
larrybrains is online now
Reply



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 19:11.


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