Code Monkey home page Code Monkey logo

ulx-global-ban-fix's Introduction

Buy Me a Coffee at ko-fi.com

Also check out DarkRP Landing Page

image

ULX-Global-Ban

A Global Ban System designed to be used only with ULX & ULib Garry's Mod servers.
This Version has been fixed up by 1Day2Die#1337 (feel free to contact me on discord https://discord.gg/UgJcvgCg6N or via DM)

INFO

  • Created out of necessity.
  • Created by NigNog (Bcool) and Adobe Ninja.
  • This Version has been fixed up by 1Day2Die

FEATURES

Server Identification: When your server starts, it checks to see whether or not the IP:Port configuration is already there. If it's not it'll create it and assign the server an ID. If it is it'll assign the server an existing ID.

Bans: This addon overwrites the exists ULib function to add a ban, and inserts it into the MySQL Database.

Authentication: When the server Auths a player, the point where the SteamID is retrived and the normal ban status is checked, this addon checks the MySQL server to see if the user has been banned.

Information: When a user has been banned, their SteamID, Current Name, Reason, ServerID of the server which they where banned on, Admin(Banner) SteamID and Current admin name are all saved in the MySQL Database. Each time your server is started, the hostname is automagicly updated in the MySQL database.

Web: 3 Themes to decide from

PLANED/TODO

  • Nothing

CHANGELOG ==============,

  • [ADD] Web - New Modern theme
  • [ADD] Web - Steam API
  • [ADD] Web - Layout Changes
  • [ADD] Web - Webinstaller
  • [FIX] Made Operable again.
  • [ADD] Ban removal.
  • [ADD] Ban Modification.
  • [ADD] Ban listing in the xgui menus.
  • [ADD] Ban sync, your bans defaulty sync with the MySQL DB every 30 seconds.
  • [ADD] Config file with a small amount of configs for extra control.
  • [ADD] Limited GateKeeper functionality.
  • [FIX] Permanently Banned users could still get through.
  • [CHG] SQL Table Structure to incorporate all ULX ban details.

INSTALLATION

*Requires MySQLOO v9 *Requires ULX and ULib *Requires PHP Extention gmp (apt install phpx.x-gmp)

Create a new Database.

Upload the Webfiles to your webserver and open the website. You should now see the Installer. Run through the Installer and everything will be setup for you

Upload the ulx_globalbanmodule to your garrysmod/addons directory and edit "gb_config" to your liking.

Everything should be running smooth!

THEMES

image

image

image

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

ulx-global-ban-fix's People

Contributors

1day2die avatar bcool avatar jeffx539 avatar azarus avatar cschulz avatar maximecaruchet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.