How to install AMXBans by Website - Splitted

Ask questions about errors and problems related to the amxbans project.
The more details you give, the better answer you will receive, READ the sticky topics before posting!

Be sure to post in the right sub forum: Bugs and Security
DeadMan
Posts: 7
Joined: 09 Feb 2014, 15:56

How to install AMXBans by Website - Splitted

Postby DeadMan » 09 Feb 2014, 15:59

I am having trouble with the website thing.

After done from uploading, run through the installation setup.
http://www.website.com/amxbans/setup.php

When I try to run that I get an error.

Code: Select all

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.


Also whenever I change the sql.cfg

amx_sql_host "Your website IP"

That part when I change it to my database IP address the server crashes.

sami1
Posts: 53
Joined: 18 Jul 2013, 21:28

Re: How to install AMXBans by Website

Postby sami1 » 09 Feb 2014, 20:18

go to amxbans folder(web part), find a file called .htaccess and DELETE IT.


before you run the amxbans plugins, make sure you installed the web part. I think this is why your server is crashing. Make sure you delete .htaccess, then INSTALL amxbans and finally, open your server and connect the plugins.

DeadMan
Posts: 7
Joined: 09 Feb 2014, 15:56

Re: How to install AMXBans by Website

Postby DeadMan » 10 Feb 2014, 04:52

Thanks that was it. Seems everything shows up now.

Although I cannot seem to ban people in server or HLSW.
The amx_ban doesn't do anything. I disabled the admin.amxx like how the tutorial says.

My server is showing up as well but it says Server not available.
OS = N/A
VAC = N/A
SERVER NAME = IT DOES DISPLAY MY SERVER NAM
PLAYER = Server not available
MAP = Server not available

Do you know why?

sami1
Posts: 53
Joined: 18 Jul 2013, 21:28

Re: How to install AMXBans by Website

Postby sami1 » 10 Feb 2014, 17:40

try adding yourself as admin in the website, then try banning someone.

as for the server not showing in website.com/amxbans/view.php,


go to amxbans.cfg



find this:

// AMXBans tries to get the address from the server automatically.
// You can set a different one here - ex. "<ip>:<port>"
amxbans_server_address "1.2.3.4.5.6.7"


replace 1.2.3.4.5.6.7 with your IP, then restart server and refresh amxbans page

DeadMan
Posts: 7
Joined: 09 Feb 2014, 15:56

Re: How to install AMXBans by Website

Postby DeadMan » 10 Feb 2014, 19:03

Server still is showing as not available. I change the IP like you said restarted the server and cleared the cache from amxbans but no luck.

When I type amx_ban it shows this: amx_ban <steamID or nickname or #authid or IP> <time in mins> <reason>

But when I try to ban
amx_ban "STEAM_0:1:67981745" "1" "TEST"
This comes out: [AMXBans] amx_ban <Time in Minutes> <SteamID | Nickname> <Reason>
Tells me to put TIME first NOW instead of name? Do you know Why?

Now when I do it that way the player does get ban but only if in server.

// To be able to ban players not in the server. 1 enabled and 0 disabled.
amxbans_ban_evenif_disconnected 1 // I HAVE THIS SET TO ONE BUT PLAYER NEEDS BE IN SERVER ELSE BAN DOESN'T REGISTER.

(NVM ON THIS I NOTICE THERE IS A HISTORY TAB OF ADMIN BANS)
Also is there a way to make it so in the Ban List it shows the Admins STEAM ID as well encase the admin is using a different name at time of ban?
(NVM ON THIS I NOTICE THERE IS A HISTORY TAB OF ADMIN BANS)

sami1
Posts: 53
Joined: 18 Jul 2013, 21:28

Re: How to install AMXBans by Website

Postby sami1 » 11 Feb 2014, 19:44

i have no idea.. i never use amx_ban, but I highly recommend that you use amxmodmenu


AMXMODMEnu -> Ban Menu -> choose a player -> Choose time for the ban -> Reason - > ENTER, and done. i use this and never had any issues with it.

DeadMan
Posts: 7
Joined: 09 Feb 2014, 15:56

Re: How to install AMXBans by Website

Postby DeadMan » 11 Feb 2014, 21:24

Okay so right now AMXBANS cannot ban players that are not connected in server right?
Like say a player has never been in server but I want to ban him only way of doing this is by doing it at the SITE.

And for Server Settings tab what is this for
motd URL:

Is this for the same thing as already in server motd.txt?
Or is it a Motd Page that it shows players when they are ban?

sami1
Posts: 53
Joined: 18 Jul 2013, 21:28

Re: How to install AMXBans by Website

Postby sami1 » 14 Feb 2014, 09:42


Bullet*
Posts: 4
Joined: 05 Aug 2014, 23:35

Re: How to install AMXBans by Website

Postby Bullet* » 05 Aug 2014, 23:37

Hello, i have installed everything. but when i go to servers in web it shows an empty list, doesnt show my server at all? can someone tell me the problem?

YamiKaitou
Amxbans Developer
Posts: 257
Joined: 17 Apr 2013, 14:09

Re: How to install AMXBans by Website

Postby YamiKaitou » 06 Aug 2014, 04:26

Did you add your server yet?


Return to “Support and Help”

Who is online

Users browsing this forum: No registered users and 8 guests