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

Common Place for Extra Files Used by Custom Plugins?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 03-23-2004 , 15:07   Common Place for Extra Files Used by Custom Plugins?
Reply With Quote #1

Just a wierd kinda question here, but as I was developing a plugin for AMXX, I created a .html file to display in a MOTD window (like a help file for my plugin)..

My question/suggestion here is:

Is there/will there be a common folder like 'extras' in the 'addons/amxx' folder for such files used by Custom Plugins?

Mainly I ask, cuz' in AMX ppl just kinda put this stuff where ever they wanted, like putting a help.txt file associated with myplug.amx in 'addons/amx/help.txt' whereas some ppl would do 'addons/amx/myplug/help.txt' or some variant of..

It gets a lil' messy when they're everywhere.. so I was gonna make a folder for mine specifically, but then I thought of this idea.. maybe it will be incorporated into next release? (not much to add, just a folder named 'extras' or something, and let ppl know that custom HTML/TXT files used by there plugins should go in there for organization reasons only..)

Anyway, I just got to wondering where I should put mine for my custom
plugin, I will make my own folder anyway, but maybe there will be a common place I could put this along with all other HTML/TXT files used by other plugins without having to edit the source of some of them..

Wierd Q.. I know..
xeroblood is offline
Send a message via MSN to xeroblood
BAILOPAN
Join Date: Jan 2004
Old 03-23-2004 , 15:39  
Reply With Quote #2

I will provide a folder called "custom" in the next release people can use to throw custom plugin information in.
__________________
egg
BAILOPAN is offline
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 03-23-2004 , 15:41  
Reply With Quote #3

Nice! Now ima edit my plugin to reflect 'addons/amxx/custom/'..
Thx for the quick reply!!

Hopefully ppl catch on, and we can store all such files there!!
xeroblood is offline
Send a message via MSN to xeroblood
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 03-23-2004 , 17:23  
Reply With Quote #4

Any plugin config files still go in amxx\configs, correct?
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
BAILOPAN
Join Date: Jan 2004
Old 03-23-2004 , 17:26  
Reply With Quote #5

the core configs for amxx default stuff go in configs
custom configs can go in custom
__________________
egg
BAILOPAN is offline
knocker
Senior Member
Join Date: Mar 2004
Old 03-23-2004 , 17:49  
Reply With Quote #6

its a good idea to have a custom folder ... but you also could do it by yourself ;)
knocker is offline
Send a message via ICQ to knocker
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 03-23-2004 , 18:09  
Reply With Quote #7

having it as part of release will encourage other coders to write their plugins using that directory for custom files.. otherwise, they may place them anywhere..
xeroblood is offline
Send a message via MSN to xeroblood
knocker
Senior Member
Join Date: Mar 2004
Old 03-23-2004 , 18:19  
Reply With Quote #8

i got that from beginning- i wish they will do so ;)

but i edited almoste very plugin on my server to meet my requirements. so i edited some file locations too (atac/amx_war from amx/plugins/ folder to amx/extra/*) ...
knocker is offline
Send a message via ICQ to knocker
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 03-23-2004 , 18:21  
Reply With Quote #9

that's exactly what I don't want to have to do!!
probably others don't either!
xeroblood is offline
Send a message via MSN to xeroblood
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 03-23-2004 , 18:25  
Reply With Quote #10

A custom folder will be great, if that happens next release I will make sure I update ATAC to correspond with this change
__________________

BigBaller is offline
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 00:48.


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