go to the Main page
slide show

www.Create-Server.com » Tutorials » How to Install Plugins?

Tutorials: How to Install Plugins?

Author: 3JIou-TaTaPuH (20-05-2009, 20:39)
How to install plugins?


plugins.ini - Adding more plugins

The plugins.ini file in your cstrike/addons/amxmodx/configs folder is the list of what plugins are run in your server. See below how to edit this file and add or remove plugins from your server. This is what the default plugins.ini looks like:

How to Install Plugins?


Download pre-compiled plugins or the source file and compile it:

1) Copy the .amxx file to your cstrike/addons/amxmodx/plugins/ folder
2) Add the line for that plugin to your cstrike/addons/amxmodx/configs/plugins.ini file.Let's say you have a plugin called bunnyhop.amxx
This is what it would look like if it was in the plugins.ini file.
;; Custom plugins for my server
bunnyhop.amxx ; This plugin can enable bhop like in half-life

I started a new section for any plugins that I added and left the default plugin section alone.
3) Now to test and see if the plugin you added is installed and running, start up your server. In the servers console type amx_plugins. You should get something like this:
Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.8.1.3746 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.8.1.3746 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.8.1.3746 AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.8.1.3746 AMXX Dev Team adminslots.amxx running
(etc, etc. Not all plugins shown)
[ 31] Super Bunny Hopper 1.2 Cheezy Peteza bunnyhop.amxx running

4) Trouble Shooting
If you see something like bad load under status or unknown under name while doing amx_plugins, or [AMX] Plugin file open error (plugin "some_plugin.amx") while your server was starting up then possibly:
- the plugin wasn't copied to the cstrike/addons/amxmodx/plugins/ folder
- the name of the plugin doesn't match what you typed in the plugins.ini file.
- if server was running while you were installing plugins, do restart or change a map, because changes won't take effect without it.
- Also the compiled plugin needs to be compiled to your version of AMXX or it may not work.
-When you upgrade AMXX you should recompile all your plugins anyway.
-You should know how to compile plugins, its very easy and many edits can be made by non programmers.
5) If there are additional files, its must be copied in corresponding folders.
Often there are .cfg ,.ini and .txt files.
So.cfg and.ini must be copied to cstrike/addons/amxmodx/configs folder.
and .txt - to cstrike/addons/amxmodx/data/lang folder.
If necessary you can edit these files at own discretion.
6) To disable any plugin, add a semi-colon ';' to the beginning of its line in the plugins.ini file (Delete any associated files.).
;telemenu.amxx ; teleport menu (Fun Module required!)

7) All plugin CVAR's must be saved at cstrike/addons/amxmodx/configs/amxx.cfg file.
Tags: plugins, tutorial
Custom Search
Views: 8934  Comments (6)  Print
Related News...:

Guests
Joined: --, ICQ:
#1: ivan s (9 April 2010 07:58)
how to create plugins pls tell me some one 07
    

Guests
Joined: --, ICQ:
#2: m7thebest2 (14 January 2011 12:21)
my says error set_cvar_string in u moudles help plz
    

Guests
Joined: --, ICQ:
#3: tanay (24 April 2011 06:53)
there is no ans from the console when i type ' amx_plugins " in the console ..
    

Guests
Joined: --, ICQ:
#4: simranjeet (26 June 2011 02:28)
i have no addons folder! wth? pls help!!
    

Users
Joined: 6.12.2011, ICQ:
#5: harshkapoor (9 January 2012 02:40)
how to edit CVARS ??????? 09 21 13
    

Administrators
Joined: 26.03.2009, ICQ:
#6: 3JIou-TaTaPuH (9 January 2012 03:29)
Quote: harshkapoor
how to edit CVARS ???????
7) All plugin CVAR's must be saved at cstrike/addons/amxmodx/configs/amxx.cfg file.
For example: amx_mulijump 3 in the last line of amxx.cfg

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


How To Make CS Server
How ot run server in console mode
How to make itself Admin
Basic AMXX admin commands
Port Forwarding and Firewalling!
    

Users
Joined: 6.12.2011, ICQ:
#7: harshkapoor (14 January 2012 04:40)
3JIou-TaTaPuH,

THANX BRO,
SERVER N PLUGINS BOTH R WORKING GR8.................. 03 06 16
    
Information
Information
Members of Guests cannot leave comments.



Copyright © 2009-2010. All rights reserved.
Terms of Use - Use of this site signifies your agreement. www.Create-Server.com ™