Server Admins

Server Issues => Server Announcments => Topic started by: Sandman[SA] on August 04, 2013, 04:56:38 pm

Title: Sandbox Servers plugin list
Post by: Sandman[SA] on August 04, 2013, 04:56:38 pm
There has been countless times where someone asked me " How many plugins are on these servers? " and/or " Where can I get these plugins? "  Well, I am going to list them here and provide links to where you can find at least most of them. 

TheSandbox Marine Trainer: In total, including amxx modules and default plugins, this server has 82 plugins currently!

Amxmodx www.amxmodx.org (http://www.amxmodx.org)
Most of these plugins can be found at:
www.modns.org (http://www.modns.org)
http://amxmod.net (http://amxmod.net)
www.amxmodx.org (http://www.amxmodx.org)

Metamod www.metamod.org (http://www.metamod.org)

Later I will post the alien trainer plugins.
Title: Re: Sandbox Servers plugin list
Post by: Sandman[SA] on August 04, 2013, 04:57:49 pm
And to continue, here is the list for the aliens server.

TheSandbox Aliens Rampage: In total, including amxx modules and default plugins, this server has 86 plugins currently!

Amxmodx www.amxmodx.org (http://www.amxmodx.org)
Most of these plugins can be found at:
www.modns.org (http://www.modns.org)
http://amxmod.net (http://amxmod.net)
www.amxmodx.org (http://www.amxmodx.org)

Metamod www.metamod.org (http://www.metamod.org)
Title: Re: Sandbox Servers plugin list
Post by: Sandman[SA] on December 12, 2014, 01:26:09 am
For anyone who is interested, here is my colors list for the Glow Menu plugin.

Glowcolors.txt
Code: [Select]
Red 255 000 000
Blue 000 000 255
Green 000 255 000
Cyan 000 255 255
Teal 000 128 128
Lime 102 255 000
Purple 120 000 128
Violet 180 000 255
Pink 251 191 228
Magenta 255 000 255
Rose 255 054 173
Maroon 128 000 000
Yellow 255 255 000
Orange 255 131 000
Brown 102 051 000
White 255 255 255

glowmenu.sma
Code: [Select]
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <file>
#include <fun>

#define PLUGIN "Glow Menu"
#define VERSION "1.1"
#define AUTHOR "Demon RR"
#define MAX_COLORS 100

//This plugin allows glowing capablities for all players through the use of a menu.
//All colors for glowing must be in the file "configs/Glowcolors.txt" in the form of
// Color RED GREEN BLUE
//where Color is the name of the color to appear in the menu
//and RED GREEN BLUE are RGB values between 0 and 255
//each must be on its own seperate line and there should be no empty lines in between colors or at the end of the file


//by default 100 is the maximum amount of colors allowed in. That can be change by changing MAX_COLORS to a different value


//Changelog

//1.1
//changed so file now uses get_configsdir
//added amx_reloadglow to reload the Glowcolors.txt instead of restarting the server
//uses isalnum to for the file reader instead of the ascii characters (doesnt affect anything at all, just less code)
new mGlowMenu // Menu
new mcbGlowMenu // Menu Callback
new ColorStrings[MAX_COLORS][10]
new Colors[MAX_COLORS][3]
new Path[100]

public freadword(file, dest[])
{
new tempchar
new c = 0
fread(file, tempchar, BLOCK_CHAR)
while(isalnum(tempchar) && (feof(file) == 0))
{
dest[c] = tempchar
c++
fread(file, tempchar, BLOCK_CHAR)
}
return 1
}

public plugin_init()
{
/* Menu Glow Menu */
/* Use menu_display(id, mGlowMenu, 0) to show the menu to an user. */
mGlowMenu = menu_create("Glow Menu", "mh_GlowMenu")
mcbGlowMenu = menu_makecallback("mcb_GlowMenu")

get_configsdir(Path, 99)
add(Path,strlen(Path) + 15, "/Glowcolors.txt")
new filelen = file_size(Path,1)
new filehandle = fopen(Path, "r")
new tempcolor[4]
new i
new c
for(i=0;i < filelen;i++)
{
for(c = 0; c <= 3; c++)
{
if(c == 0)
{
freadword(filehandle, ColorStrings[i])
menu_additem(mGlowMenu, ColorStrings[i], "ma_GlowMenu", ADMIN_ALL, mcbGlowMenu)
}
else
{
freadword(filehandle, tempcolor)
Colors[i][c - 1] = str_to_num(tempcolor)
}
}
}
menu_additem(mGlowMenu, "Stop glowing", "ma_GlowMenu", ADMIN_ALL, mcbGlowMenu)
/* Menu End */

register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("say glow","player_glow",ADMIN_ALL, "Makes you glow a color.")
register_concmd("amx_reloadglow", "reloadglow", ADMIN_KICK, "Reloads the Glowcolors.txt file")
}

public reloadglow(id, level, cid)
{
if (!cmd_access(id, level, cid,1))
{
return PLUGIN_HANDLED
}
new filelen = file_size(Path,1)
new filehandle = fopen(Path, "r")
new tempcolor[4]
new i
new c
menu_destroy(mGlowMenu)
mGlowMenu = menu_create("Glow Menu", "mh_GlowMenu")
mcbGlowMenu = menu_makecallback("mcb_GlowMenu")
for(i=0;i < filelen;i++)
{
for(c = 0; c <= 3; c++)
{
if(c == 0)
{
freadword(filehandle, ColorStrings[i])
menu_additem(mGlowMenu, ColorStrings[i], "ma_GlowMenu", ADMIN_ALL, mcbGlowMenu)
}
else
{
freadword(filehandle, tempcolor)
Colors[i][c - 1] = str_to_num(tempcolor)
}
}
}
menu_additem(mGlowMenu, "Stop glowing", "ma_GlowMenu", ADMIN_ALL, mcbGlowMenu)
return PLUGIN_HANDLED
}

public player_glow(id)
{
menu_display(id, mGlowMenu, 0)
return PLUGIN_HANDLED
}

/* Menu Glow Menu */

public mh_GlowMenu(id, menu, item)
{
new iPlayerName[33]
get_user_name(id, iPlayerName,32)
if(menu_items(mGlowMenu) == item + 1)
{
set_user_rendering(id, kRenderFxNone)
set_hudmessage(255, 255, 255, 0.02, 0.54, 0, 6.0, 12.0)
show_hudmessage(0, "%s is no longer glowing!", iPlayerName)
}
else
{
set_user_rendering(id, kRenderFxGlowShell,Colors[item][0],Colors[item][1],Colors[item][2],kRenderNormal,15)
set_hudmessage(Colors[item][0],Colors[item][1],Colors[item][2], 0.02, 0.54, 0, 6.0, 12.0)
show_hudmessage(0, "%s is glowing %s!",iPlayerName, ColorStrings[item])
}
/* This event is called when someone presses a key on this menu */
}
public ma_GlowMenu(id) {
/* This event is called when an item was selected */
}

public mcb_GlowMenu(id, menu, item) {
/* This is the callback-event, here you can set items enabled or disabled. */
/* If you want to enable an item, use: return ITEM_ENABLED */
/* If you want to disable an item, use: return ITEM_DISABLED */
}


public client_putinserver(id)
{
set_task(20.0, "announce_glow",id)
}

public announce_glow(id)
{
client_print(id, print_chat, "This server is running GLOW plugin. Say 'glow' to start glowing.")
}

Title: Re: Sandbox Servers plugin list
Post by: J.A.C.95501 on December 12, 2014, 08:14:27 pm
When I try to click on the links, it goes to http://www.killerz.dns2go.com/smfbb20/index.php?action=dlattach;topic=2.0;attach=137, and it says "Cannot connect to webpage"...
Title: Re: Sandbox Servers plugin list
Post by: Sandman[SA] on December 13, 2014, 07:46:55 pm
Sorry about that.  I can not explain why the attachments function is working that way.  So I just added the code for the .sma.
Title: Re: Sandbox Servers plugin list
Post by: J.A.C.95501 on December 14, 2014, 02:17:28 am
Thank you! now I'm off to put it in my server!  ;D