A *grip* Of Amx Plugins

SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
edited January 2003 in General Server Discussion
We have a hole slew of plugins here for you.
All cvar are placed in the admin.cfg

<b>Afk.sma:</b>
Pretty self explanitory.. it checks for afker's. This plugin is smart enough not to kick the commander.
The checker will warn the afk after check then boot 15 seconds later if still hasn't moved.

amx_delayclient xx ' number of clients on the server before it starts checking (default 16)
amx_afkdelay xx ' number seconds to delay before checks for afk's (default 180)


<b>ns_team.amx:</b>
This plugin controls team switching. This works with 1.03, it'll reconnect
them and store their stuff into an array. Right now, it's not too complicated, and if you try to change more than 33 people in between map changes and they all don't reconnect, the plugin won't work and wierd stuff will happen.

amx_alien (name/#ID)
amx_marine (name/#ID)


<b>ns_say.amx:</b>
This contains all of the 'chat' commands, without the tsays. Like, amx_say, amx_chat, and
amx_psay. I put this in a different plugin because I don't think many people want to use this one this one.

amx_say (message)
amx_psay @(name) (message)


<b>ns_tsay:</b>
This contains all the tsay-using plugins, like MOTD, WelcomeMsg, and the tsays. It logs normal tsays to console
(It does NOT log the MOTD and WelcomeMsg tsays to consoles) I also added '@#<id>' for using id instead of the name. So,

say @[@][#id][name] < message >'
or
tsay[y] [@][#id][name] < message >.

for MOTD put the following in the admin.cfg
amx_motd Visit our website!!
amx_motd Don't you wish you could be a peppa too!
amx_motd be a peppa... DRINK Doctor Pepper!

amx_motdtime x ' time in minutes to repeat msg's

for WelcomeMsg put the following in the admin.cfg

NOTICE THE QUOTES ON THIS ONE!
amx_welcome_hudmsg "%name% enjoy your stay at %hostname%"



<b>ns_vote.amx:</b>
This has the vote_ commands. I also added a console vote_slay command, so people that get
confused won't be left out.

vote for changing the level:
amx_votemap < map > [ map ]
examples:
amx_votemap "de_dust"
amx_votemap "de_dust" "de_dust2" "cs_italy"

vote for kicking the player:
amx_votekick < part of nick >
examples:
amx_votekick "Man"

vote for banning and kicking the player for 30 minutes:
amx_voteban < part of nick >
examples:
amx_voteban "Man"

custom voting:
amx_vote < question > < answer1 > < answer2 >
examples:
amx_vote "sv_restart" "5" "0"
amx_vote "mp_timelimit" "20" "45"
amx_vote "are you hungry?" "yes" "no"

Note: The above need admin level access to use.

<b>motd.sma:</b>
This plugin allow for Clanmod/Statme like motd that you can use cvars in. It reads from the conmotd.txt in your amx dir.
You can use the following cvars in the conmod.txt file

&name&
&time&
&ip&
&wonid&
&hostname&
&team1&
&team2&
&timelimit&
&map&
&nextmap&
&maxplayers&
¤tplayers&


<b>plugin_hldsld_mapvote.sma</b>(rockthevote): (this almost the same as the one on the amx site but slightly modified)
It allows clients to call it with to specifiy how often and percent needed to pass.

say or console: 'rockthevote'

admin_vote_freq xx 'time before a new rockthevote can be called in seconds.

I will post the first on this post then follow up with the others

or you can get them here from a host thanks to SpiffyJr


<a href='http://www.umr-lan.com/plugins/afk.sma' target='_blank'>http://www.umr-lan.com/plugins/afk.sma</a>
<a href='http://www.umr-lan.com/plugins/motd.sma' target='_blank'>http://www.umr-lan.com/plugins/motd.sma</a>
<a href='http://www.umr-lan.com/plugins/ns_say.sma' target='_blank'>http://www.umr-lan.com/plugins/ns_say.sma</a>
<a href='http://www.umr-lan.com/plugins/ns_tsay.sma' target='_blank'>http://www.umr-lan.com/plugins/ns_tsay.sma</a>
<a href='http://www.umr-lan.com/plugins/ns_vote.sma' target='_blank'>http://www.umr-lan.com/plugins/ns_vote.sma</a>
<a href='http://www.umr-lan.com/plugins/plugin_hlds...sld_mapvote.sma' target='_blank'>http://www.umr-lan.com/plugins/plugin_hlds...sld_mapvote.sma</a>

or the handy zip file....

<a href='http://www.umr-lan.com/plugins/tcquest78.zip' target='_blank'>http://www.umr-lan.com/plugins/tcquest78.zip</a>

Planned plugins include:

modifed rockthevote plugin with popup menu
/listplayers plugin
on death modified statsme like message showing attackers and attackees.

If you have any suggestions or questions please let us know.

Also note this supersedes the previous versions of ns.amx and afk.amx AND THE TSAY'S WORK WITH NS

Tcquest is the master coder.. and I'm using my *cough* awesome *cough* server to beta test and
tweak all the great amx NS plugins he is coding!
«1

Comments

  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    plugin_hldsld_mapvote.sma (rockthevote)
  • Meiffe2Meiffe2 Join Date: 2002-11-19 Member: 9309Members
    Can you please make this Script

    1 Team is only closed, only player with access Level z (admin) can join this Team

    So i can play with all my friend as Marine (example)
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    That shouldn't be to hard... Tcquest78 is out of the country for a few weeks but I'm sure he can pop it out for you. In the mean time a quick an dirty way is using the ns_team.amx and force them to go to the other side.. they would have to reconnect in order to switch teams after you moved them. PPl may not like you for it though.
  • SimulationSimulation Join Date: 2002-11-01 Member: 3603Members
    good work m8
    can i use this plugins on Adminmod ?
  • Suicide_RunSuicide_Run Join Date: 2002-12-17 Member: 10939Members
    nope you have to have amx to use em

    i prefer amx over adminmod although they have many similarities

    (http://amxmod.net)
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    Great plugins and everything but did you forget to include a couple in the post? I'd be glad to host them on my website if you need a mirror. Just PM me or post here.
  • ECA_ShocK-TroopeRECA_ShocK-TroopeR Join Date: 2002-12-24 Member: 11472Banned
    admin mod plugins and meta small and amx are the same, they are all written in small, its just the functions you can call right?

    ill mirror them, i have 2 web servers at independant isp's.
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    thanks for offering to mirroring them.. if you could put up the page I will edit my orginal post and link to it.. I don't think I forgot any of the plugins.. but let me know what you are talking about .. there are more still to come and I will post them here when they are done.
  • lyndaklyndak God Join Date: 2002-11-13 Member: 8419Members, Constellation
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    Okay, the plugins I found a link for are as follows: afk.sma, motd.sma, ns_say.sma, ns_team.sma, ns_vote.sma, plugin_hldsld_mapvote.sma

    links are as follows:

    <a href='http://www.umr-lan.com/plugins/afk.sma' target='_blank'>http://www.umr-lan.com/plugins/afk.sma</a>
    <a href='http://www.umr-lan.com/plugins/motd.sma' target='_blank'>http://www.umr-lan.com/plugins/motd.sma</a>
    <a href='http://www.umr-lan.com/plugins/ns_say.sma' target='_blank'>http://www.umr-lan.com/plugins/ns_say.sma</a>
    <a href='http://www.umr-lan.com/plugins/ns_team.sma' target='_blank'>http://www.umr-lan.com/plugins/ns_team.sma</a>
    <a href='http://www.umr-lan.com/plugins/ns_vote.sma' target='_blank'>http://www.umr-lan.com/plugins/ns_vote.sma</a>
    <a href='http://www.umr-lan.com/plugins/plugin_hldsld_mapvote.sma' target='_blank'>http://www.umr-lan.com/plugins/plugin_hlds...sld_mapvote.sma</a>

    I believe you left out ns_tsay.sma (it's the one plugin I actually wanted the most)

    If I'm in error... pm me a link for the file and I'll mirror it. Thanks
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    You are Correct SIR!! .. I will get that for you monday
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    Monday! I can't wait till monday I gotta have it now <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
  • Tcquest78Tcquest78 Join Date: 2002-12-17 Member: 10949Members
    edited January 2003
    Oopsies <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->. Here it is...

    EDIT: Hmmm.... I can't seem to attach the damn thing...
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    edited January 2003
    Pssh... check your email.

    EDIT: At long last! The ns_tsay.sma plugin *superficial victory music plays here*
  • Tcquest78Tcquest78 Join Date: 2002-12-17 Member: 10949Members
    edited January 2003
    OK! Here's another try to attach it, as I can't seem to by editing the other post.. D:

    Edit: DAMN you're fast!
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    Okay SuicideDog, here's the full list of plugins... so edit your original post.

    <a href='http://www.umr-lan.com/plugins/afk.sma' target='_blank'>http://www.umr-lan.com/plugins/afk.sma</a>
    <a href='http://www.umr-lan.com/plugins/motd.sma' target='_blank'>http://www.umr-lan.com/plugins/motd.sma</a>
    <a href='http://www.umr-lan.com/plugins/ns_say.sma' target='_blank'>http://www.umr-lan.com/plugins/ns_say.sma</a>
    <a href='http://www.umr-lan.com/plugins/ns_tsay.sma' target='_blank'>http://www.umr-lan.com/plugins/ns_tsay.sma</a>
    <a href='http://www.umr-lan.com/plugins/ns_vote.sma' target='_blank'>http://www.umr-lan.com/plugins/ns_vote.sma</a>
    <a href='http://www.umr-lan.com/plugins/plugin_hldsld_mapvote.sma' target='_blank'>http://www.umr-lan.com/plugins/plugin_hlds...sld_mapvote.sma</a>

    or the handy zip file....

    <a href='http://www.umr-lan.com/plugins/tcquest78.zip' target='_blank'>http://www.umr-lan.com/plugins/tcquest78.zip</a>
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    Final question for ya tcquest. I take it I need to download the source for adminmod to compile your 'rockthevote' plugin. Am I correct?
  • Tcquest78Tcquest78 Join Date: 2002-12-17 Member: 10949Members
    Well, the adminmod.inc from JustinHoMi(It's an attempt to provide some of the adminmod functions in an include file so that converting will be much easier). I think if you search the forums(AMX) you should be able to find it. That plugin is about to go obsolete, though, because I got the menu based one working(methinks). I emailed SD about it, but I haven't gotten a reply. If you want it though, I can send it.
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    Check your blasted mail... sheesh it's late. Don't have crap to do. It's snowing so I'm definately sleeping in. Gimme that dern plugin so I can test it. <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo--> <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' valign='absmiddle' alt='mad.gif'><!--endemo-->
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    Sorry.. I've been sick.. so I haven't been looking at email.. I will check it out and post it
  • Tcquest78Tcquest78 Join Date: 2002-12-17 Member: 10949Members
    He was talking to me actually <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->. You shouldn't take offense from that :DDDD. Just that my sister tripped over the phone cord and broke it so I couldn't send him the new-and-improved vote plugin <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->.

    Anyway, SD, have you gotten my emails? I figured it was something wrong on my end, so I decided to wait until I got back to good ol' california to send em to you <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->. I updated the vote plugin since I sent you the last email, and I woulnd't recommend you use that one ;P.
  • TweedleTweedle Join Date: 2002-11-07 Member: 7581Members
    bump to the top!

    This was on page 8 browsing at 40 topics per page.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    this was the other page i was looking for...make sticky?
  • SpiritMasterSpiritMaster Join Date: 2002-11-07 Member: 7580Members, Reinforced - Shadow
    Thanks. I put em on NS Archive, since each post seems to have a few links that dun work.
  • TweedleTweedle Join Date: 2002-11-07 Member: 7581Members
    Just as a note, my server was crashing approx 20-30 seconds after each map cycle. I force_unload'ed amx and amxfun and it stopped.

    Possibly the use of old, 1.03 plugins? I'm not sure.. the ones in this thread are pretty old though. I haven't been able to test it yet (I'll wait until the server empties out.)
Sign In or Register to comment.