May 22, 2022, 05:30:01 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: [1]

Author Topic: [server] Non-permanent IP ban (improvable) (requested)  (Read 1463 times)

[FR]YB

  • 2013 Haxxy Award Winner
  • *
  • Karma: 28
  • Offline Offline
  • Posts: 642
  • There are 11 people playing holy sh
[server] Non-permanent IP ban (improvable) (requested)
« on: May 08, 2013, 02:03:05 pm »

Requested by RBY

Yeah, this is not the real perma-ban RBY had requested. But this plugin still grants the admin the power of the force kicking players, making sure they won't come back until the server reboots.

Of course anyone can download this file, make changes and reupload the new source files. There's still a lot of things to add to make it .

Note that I didn't test it much. As I'm not a good host ( :z7: ) I've only tried to ban and unban myself using two different clients. So if you experience any bugs or fatal errors (even if you shouldn't) please post here with screenshots or logs if possible.

Features
 :c8: Autokicks banned players when they join
 :c8: Uses player's IP to ban
 :c8: Can unban
 :c8: Can't ban yourself :z5:
 :c9: Ban is not as easy as kicking
 :c9: Banlist is reset on reboot
 :c9: No ban log
 :c9: Players don't know they are banned (they either get a "you got disconnected" or a "wrong nb of players while deserializing" message)

Screenshot
(click to show/hide)

How to install
Download the attached .gml file and place it in your Plugins folder; then run a new server.
You have to be the host to run the plugin (obviously, you shouldn't be able to ban players from other servers)
« Last Edit: May 08, 2013, 05:05:53 pm by [FR]YB »
Logged

GG2RBY

  • Guest
Re: [server] Non-permanent IP ban (improvable) (requested)
« Reply #1 on: May 08, 2013, 02:08:40 pm »

Thanks man  :z5:
Logged

cmb

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 337
  • Mario Bros
Re: [server] Non-permanent IP ban (improvable) (requested)
« Reply #2 on: May 08, 2013, 03:18:44 pm »

You are a pro

bullets (obviously)

  • Seasoned Member
  • *****
  • Karma: 40
  • Offline Offline
  • Posts: 1962
Re: [server] Non-permanent IP ban (improvable) (requested)
« Reply #3 on: May 09, 2013, 04:17:30 am »

 :yaymoney:
Logged

Machidro

  • 2013 Haxxy Award Winner
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 1675
  • Gardicolo time is over.
Re: [server] Non-permanent IP ban (improvable) (requested)
« Reply #4 on: May 14, 2013, 03:22:46 pm »

I keep seeing high quality content come out of this one. Good job YB.
Logged
A CHALLENGER HAS ARRIVED.
Pages: [1]
 

Page created in 0.038 seconds with 36 queries.