AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   SourceBans 2.0 Alpha (2013/09/04) (https://forums.alliedmods.net/showthread.php?t=219657)

DJ Tsunami 07-01-2013 12:00

SourceBans 2.0 Alpha (2013/09/04)
 
We are pleased to release an alpha version of SourceBans 2. SourceBans 2 is still under heavy development, and we may introduce significant changes without prior notice. Please use it for testing purposes only.

There are still several bugs and missing features, but we encourage you to play around with the application, and give us feedback. While documentation is in the works, installation still consists of uploading the contents of the "web" folder to a web server and visiting http://hostname/sourcebans/install. We intend to provide an upgrade path for SourceBans 1 in the beta release.

Some notable differences from SourceBans 1
  • Multi-language and SMTP email support.
  • Logging of all admin commands performed on each server.
  • Admins can now authenticate by Steam ID, IP address or name.
  • Server groups and server admin groups have been merged. Admins can now have multiple server groups, which are assigned to one or more servers. For example, you can make a "TF2 Junior Admins" group which only applies to your TF2 servers. For simplicity's sake, you can no longer set individual permissions per admin.
  • You can easily import admins and server groups from admins_simple.ini, admins.cfg, admin_groups.cfg, and even clients.txt from Mani Admin Plugin.
  • The database prefix is now "sb_" instead of just "sb".
  • Extensible through third-party game plugins and PHP plugins, as well as a PHP API which any external script can include to access SourceBans functionality.
See the roadmap for a full list of features.

→ We are still looking for a designer to make a custom theme based on Bootstrap, so for now it just looks like default Bootstrap.

To keep up to date with development, visit our GitHub repository.
Feel free to report any bugs or request features on the GitHub issue tracker. Please do not use this for issues with SourceBans 1.

If you disagree with how a certain feature has been implemented, or are unsure if your feature request should be implemented, please post either in our design discussions forum, or in this topic.

Screenshots
Demo (thanks Rytis)

Download: zip

Rytis 07-01-2013 13:06

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Thank you, I'll test it soon! :D

AeroAcrobat 07-01-2013 14:11

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Any plans for "sign in through steam" for the web interface ? http://i.imgur.com/yBajGYI.png

DJ Tsunami 07-01-2013 14:16

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
It's been asked before, but I'm not sure for what specifically you would need to register using Steam? Admins need to be added by other admins first, so you're already registered. Everything else is public to everyone.

samsah 07-01-2013 14:54

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Nice! Now we're talking about!

Rytis 07-01-2013 17:06

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
http://bans-beta.rts-server.net/
Heh, looks pretty nice! :)

ecca 07-01-2013 18:17

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Very nice , but it seems like the servers page "jump" when you click on a server to see the players :>

Rytis 07-01-2013 18:19

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by ecca (Post 1981514)
Very nice , but it seems like the servers page "jump" when you click on a server to see the players :>

Yup, it kinda jumps to the left side

Smarmy 07-02-2013 05:33

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Looking very good.

Smarmy 07-02-2013 07:18

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by DJ Tsunami (Post 1981364)
It's been asked before, but I'm not sure for what specifically you would need to register using Steam? Admins need to be added by other admins first, so you're already registered. Everything else is public to everyone.

I'm not sure it's only about registering with Steam. I think being able to add an admin by his SteamID and not having to worry about passwords would be nice. Then they just log in to SourceBans with Steam. No fuss.

eXplode82 07-02-2013 13:39

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by DJ Tsunami (Post 1981256)
→ We are still looking for a designer to make a custom theme based on Bootstrap, so for now it just looks like default Bootstrap.

I'm a graphic and web designer. I can help you with the design.

AeroAcrobat 07-02-2013 15:25

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by DJ Tsunami (Post 1981364)
It's been asked before, but I'm not sure for what specifically you would need to register using Steam? Admins need to be added by other admins first, so you're already registered. Everything else is public to everyone.

  • I'm worried about that someone "cracks" an pw from an admin therefore I've already made admin names hidden. Also so no one will shitstrom an admin.
  • It's easier to use the steam login and more safe (steam guard)
  • Admins don't have to remember more pw's & login names.
Thats what I basicly have in mind. If steam provides this feature, why not use it ?
We use it in out forum as login and it's very comfortable.


I'd really love to see that as an option :3


Quote:

Originally Posted by Rytis (Post 1981484)
http://bans-beta.rts-server.net/
Heh, looks pretty nice! :)

Everything looks so clean now. Good job! I like it very much :3

Quote:

Originally Posted by Smarmy (Post 1981756)
I'm not sure it's only about registering with Steam. I think being able to add an admin by his SteamID and not having to worry about passwords would be nice. Then they just log in to SourceBans with Steam. No fuss.

Exactly :)

DJ Tsunami 07-02-2013 15:33

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Your arguments make sense. In SourceBans 2 the password and email address aren't required anymore when adding an admin, so it would be nice to just add the name and Steam ID, and let admins log in via Steam.

Quote:

Originally Posted by eXplode82 (Post 1982018)
I'm a graphic and web designer. I can help you with the design.

That would be awesome! I'll probably PM you tomorrow.

eXplode82 07-02-2013 15:45

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Ok ;)

FlyingMongoose 07-02-2013 18:46

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by AeroAcrobat (Post 1982100)
  • I'm worried about that someone "cracks" an pw from an admin therefore I've already made admin names hidden. Also so no one will shitstrom an admin.
  • It's easier to use the steam login and more safe (steam guard)
  • Admins don't have to remember more pw's & login names.
Thats what I basicly have in mind. If steam provides this feature, why not use it ?
We use it in out forum as login and it's very comfortable.


I'd really love to see that as an option :3


Everything looks so clean now. Good job! I like it very much :3

Exactly :)

Here is the flaw in allowing steam login to sourcebans.

ANYONE can log into your SourceBans web site using Steam Login.

Now there are a few things that can be done in place.

1: Add the person's steam ID and their access anyway, but don't allow them admin access until they log into the web site.
2: Allow sourcebans a public registration system, but only give access to the people you pick and choose.
3: htaccess password protected location that you give password to only admins, then they Steam ID log in and then again, you STILL have to enter the access of the person.

Either way you are still doing MANUAL entry.

The 3rd point of this is, that's a potentially huge users database of people that you may not even want IN the users database.

I really don't see how this is a more efficient way of adding administrators, I think it just adds clutter.

ocwoody 07-02-2013 21:21

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by FlyingMongoose (Post 1982213)
Here is the flaw in allowing steam login to sourcebans.

ANYONE can log into your SourceBans web site using Steam Login.

Now there are a few things that can be done in place.

1: Add the person's steam ID and their access anyway, but don't allow them admin access until they log into the web site.
2: Allow sourcebans a public registration system, but only give access to the people you pick and choose.
3: htaccess password protected location that you give password to only admins, then they Steam ID log in and then again, you STILL have to enter the access of the person.

Either way you are still doing MANUAL entry.

The 3rd point of this is, that's a potentially huge users database of people that you may not even want IN the users database.

I really don't see how this is a more efficient way of adding administrators, I think it just adds clutter.

I think he was thinking more along the lines of still manual entry. For example the administrator would simply add an admins steamid and his name assigning him the proper groups etc. Then the admin would simply need to Log-in with his steam to access the features made available. If an individual tried to log in with steam that didn't match a admin steamid, they would simply get rejected/redirected.

AeroAcrobat 07-02-2013 23:24

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by FlyingMongoose (Post 1982213)
Either way you are still doing MANUAL entry.

Sure. The "master admin" would create a new user, enter his steamID and asign him to a group.
  • Maybe the username could be pulled from steam, so you always know who it is ?
Quote:

Originally Posted by ocwoody (Post 1982276)
If an individual tried to log in with steam that didn't match an admin steamid, they would simply get rejected/redirected.

Yes, this.

This is how I imagine it:
http://i.imgur.com/bysBbwW.png
Personaly, I see no use for collecting all the steamID's if someone will login.
Only allowing access to the (web) back-end to steamID's that are in the list. Everyone else will get redirected to the main page.

Smarmy 07-02-2013 23:33

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
The only thing I can think of that would be an issue is if Steam was down and you couldn't log in at all. In this case I think providing a fallback password would be ideal. If the site cannot access Steam it will request the fallback password. I'm not sure if the auth goes down enough to warrant such a thing, but something to consider.

You could have an option to require users to Steam login to submit a ban request/appeal. In the cases of appeals it would only allow you to do a ban appeal on a ban made against you. Similarly, it may be handy to have the SteamID of a person who submits a ban request for easy follow ups. Though making a user who wants to submit a ban request jump through hoops may not be a good thing. I do think requiring it for appeals would be nice.

Dr. McKay 07-02-2013 23:36

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by Smarmy (Post 1982312)
The only thing I can think of that would be an issue is if Steam was down and you couldn't log in at all. In this case I think providing a fallback password would be ideal. If the site cannot access Steam it will request the fallback password. I'm not sure if the auth goes down enough to warrant such a thing, but something to consider.

I couldn't imagine a situation in which logging into SourceBans would be so urgent that you can't wait for Steam to come back up. Plus, if Steam is down, nobody on the servers are going to have Steam IDs anyway.

FlyingMongoose 07-03-2013 03:08

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
In discussion on #sourcebans on IRC we figured out one use case for a publicly register-able sourcebans...

DJ Tsunami 07-03-2013 03:32

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
We indeed had a lengthy discussion about this on IRC yesterday, and there are definitely some interesting things to consider. Fact is though that SourceBans has had a public ban appeal/request system for 6 years, and I haven't heard a single complaint of abuse. So for me it would be more about convenience (people not knowing or having to look up their Steam ID) than protection. And I agree that requiring them to register and remember yet another username and password would most likely scare people away, so using Steam login would be a nice middle ground.

11530 07-03-2013 03:40

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
If not done already, I'd like to see a method employed that'd let us change ServersIDs instead of editing the various MySQL tables directly.

extremeg 07-03-2013 10:07

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
How i must open the admin menu ingame ? normal with !admin is not work at me

extremeg 07-03-2013 10:33

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
I have found my mistake its okey

DJ Tsunami 07-03-2013 11:25

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by 11530 (Post 1982391)
If not done already, I'd like to see a method employed that'd let us change ServersIDs instead of editing the various MySQL tables directly.

Server IDs are generated and used internally, so unless I'm misunderstanding you, you shouldn't be changing them. They're also not displayed on the web anymore, and the SourceMod plugin has been switched to using the server's IP address (which it attempts to detect).

I have added some screenshots of the administration pages to the first post, for people who don't feel like installing it. Also thanks to everyone for the positive feedback, it makes the work worthwhile :)

11530 07-03-2013 12:52

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by DJ Tsunami (Post 1982575)
Server IDs are generated and used internally, so unless I'm misunderstanding you, you shouldn't be changing them. They're also not displayed on the web anymore, and the SourceMod plugin has been switched to using the server's IP address (which it attempts to detect).

I have added some screenshots of the administration pages to the first post, for people who don't feel like installing it. Also thanks to everyone for the positive feedback, it makes the work worthwhile :)

That'll be helpful, thanks. With SourceBans 1.4 it's a bit more external. Originally we used Servers IDs 1-9 however after deleting 4-6 to move to another machine, it wouldn't reallocate those IDs and instead uses 10-12. Changing them in MySQL should be fine as long as I'm through in checking every table. Or I could switch to SourceBans 2.0 now and save myself some hassle. How stable it is so far?

FlyingMongoose 07-03-2013 13:35

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by 11530 (Post 1982610)
That'll be helpful, thanks. With SourceBans 1.4 it's a bit more external. Originally we used Servers IDs 1-9 however after deleting 4-6 to move to another machine, it wouldn't reallocate those IDs and instead uses 10-12. Changing them in MySQL should be fine as long as I'm through in checking every table. Or I could switch to SourceBans 2.0 now and save myself some hassle. How stable it is so far?

I would say is stability is fair. It is more feature rich but is up to you, ultimately there is no upgrade install yet so you will have to install fresh and export old bands to import them and probably readd admins. I would at least get the move process to see if all of those features work properly before making it live.

nomy 07-03-2013 13:37

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
It looks great! But I think SB team should have merged SourceComms on version 2.

DJ Tsunami 07-03-2013 14:34

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
@11530: So it's kind of an OCD thing? ;) You can also use the 1.5 plugin, it's exactly the same as the 2.0 plugin but it works with the old database structure. Under "Changes" there's an explanation of the ServerIP option.

11530 07-03-2013 14:53

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by DJ Tsunami (Post 1982692)
@11530: So it's kind of an OCD thing? ;) You can also use the 1.5 plugin, it's exactly the same as the 2.0 plugin but it works with the old database structure. Under "Changes" there's an explanation of the ServerIP option.

Very likely. :bee: I'd much prefer my servers using 1-to-9 than 1-to-3-and-7-to-12 :) I'll probably check out the 2.0 so I know what database structures to expect. Thanks for this too by the way - one of the most useful plugins out there.

lyric 07-03-2013 19:35

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
the 2.0 download is missing files? says i need (/application/config/sourcebans.php) and there isnt any file named that in the download package in the OP. where to get this file?

Rytis 07-03-2013 19:48

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by lyric (Post 1982862)
the 2.0 download is missing files? says i need (/application/config/sourcebans.php) and there isnt any file named that in the download package in the OP. where to get this file?

Have you run the setup?

lyric 07-03-2013 19:51

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
i'm running the /install right now and its at the system requirements thing

Rytis 07-03-2013 19:56

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Remove all files and redownload from here: https://github.com/GameConnect/Sourc...ive/master.zip

lyric 07-03-2013 20:06

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by Rytis (Post 1982869)
Remove all files and redownload from here: https://github.com/GameConnect/Sourc...ive/master.zip

http://i.imgur.com/CK1agLO.png

still, there is no sourcebans.php in my /application/config folder

Rytis 07-03-2013 20:09

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Hmm, then create the file and chmod must be 777

nomy 07-03-2013 20:10

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by lyric (Post 1982862)
the 2.0 download is missing files? says i need (/application/config/sourcebans.php) and there isnt any file named that in the download package in the OP. where to get this file?

Where does it say that? Paste the exact line from server logs or maybe a screenshot if it appears on the browser.

Rytis 07-03-2013 20:13

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by nomy (Post 1982874)
Where does it say that? Paste the exact line from server logs or maybe a screenshot if it appears on the browser.

Quote:

Originally Posted by lyric (Post 1982872)
http://i.imgur.com/CK1agLO.png

still, there is no sourcebans.php in my /application/config folder


lyric 07-03-2013 20:15

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by Rytis (Post 1982873)
Hmm, then create the file and chmod must be 777

so i need to create a blank sourcebans.php file and chmod it to 777 and put it in my /application/config directory?

Quote:

Originally Posted by nomy (Post 1982874)
Where does it say that? Paste the exact line from server logs or maybe a screenshot if it appears on the browser.

you may want to look at the image i posted. i mean it says it at the very bottom in red even. i'm not making this stuff up.

Dr. McKay 07-03-2013 20:17

Re: SourceBans 2.0 Public Preview (2013/07/01)
 
Quote:

Originally Posted by lyric (Post 1982876)
so i need to create a blank sourcebans.php file and chmod it to 777 and put it in my /application/config directory?

Yes, that should work.


All times are GMT -4. The time now is 10:05.

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