Code Monkey home page Code Monkey logo

globalban's Introduction

Global Ban

This repository replaces the old Rocketmod 4 version that is the base of this forked repository. With this plugin, you can ban players off your Unturned 3 server without having to ban them in all servers one by one.

Current Features

Command & Arguments Description
/ban <player> [time] [reason] Bans a player for [time] (seconds) with the specified reason. Note that the reason does not have to be in double quotes ("reason").
/banhistory [player] Displays the last 4 bans of a player or yourself. (Cannot display bans of console, so this will instead throw a friendly exception).
/bans [player] Displays the total number of bans in the server as well as how many are active. If a player is specified, it will instead display the number of bans they have, as well as how many are active.
/kick <player> [reason] Kicks a player with the specified reason.
/slay <player> [reason] Kills and permanently bans the player for the specified reason.
/unban <player> Unbans the specific player. This can also be their IP or their HWID as displayed in the DB.

/ban has a configuration option that allows it to no longer provide IP & HWID bans, but /slay will always support IP & HWID banning.

If a player goes on an alt account and they have their IP / HWID banned, this alt account will also be banned automatically and permanently.

Discord webhook support is also present for the following commands: /ban, /kick, /slay, /unban. It is also available when the player tries to evade a ban.

Database Stored Data

The database currently stores the following values:

  • Ban Entry ID (Id)
  • Steam 64 ID of the banned player (PlayerId)
  • IP Address (IP)
  • Hardware ID (HWID)
  • Steam 64 ID of the Admin (AdminId)
  • The reason of the ban (Reason)
  • The duration of the ban (Duration)
  • The Server ID related to the ban [See PIL's Servers table] (ServerId)
  • The Date when the player has been banned (TimeOfBan)
  • If this ban no longer counts no matter of the time remaining (IsUnbanned)

globalban's People

Contributors

fr34kyn01535 avatar gigawiz avatar pustalorc avatar trojaner 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.