GithubHelp home page GithubHelp logo

josantonius / minecraft-whitelist Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.2 MB

A basic whitelist plugin based on player nicknames only

Home Page: https://josantonius.dev

License: MIT License

Kotlin 100.00%
minecraft minecraft-plugin minecraft-whitelist whitelist

minecraft-whitelist's Introduction

Minecraft PvP Plugin

License

A basic whitelist plugin based on player nicknames only.

Requirements

  • Java 17 or higher.
  • Purpur server 1.19.3 or Bukkit/Spigot/Paper server compatible with the Purpur API version used.

Installation

  1. Download the JAR file: whitelist-1.0.0-purpur-1.19.3.jar.

  2. Place the JAR file in the plugins folder of your Minecraft server.

  3. Restart the server to load the plugin.

Building

To build the plugin yourself, follow these steps:

  1. Make sure you have Java 17 or higher and Gradle installed on your system.

  2. Clone the plugin repository on your local machine:

    git clone https://github.com/josantonius/minecraft-whitelist.git
  3. Navigate to the directory of the cloned repository:

    cd minecraft-whitelist
  4. Use Gradle to compile the plugin:

    gradle build

Commands

  • /wl on - Enable whitelist

  • /wl off - Disable whitelist

  • /wl add <player> - Add player to whitelist

  • /wl remove <player> - Remove player from whitelist

  • /wl info <player> - Check if player is on the whitelist

  • /wl help - Show help

  • /wl reload - Reload the plugin

All commands requires the wl.admin permission to be used.

Configuration

The plugins/Whitelist/config.yml file contains specific plugin configurations.

Enable or disable the whitelist

If enabled, only players on the whitelist will be able to join the server. If disabled, all players will be able to join the server.

enabled: true

Exclude ops from the whitelist

If enabled, ops will be able to join the server even if they are not on the whitelist. If disabled, ops will not be able to join the server if they are not on the whitelist.

excludeOps: true

Kick players who are not on the whitelist

If enabled, players who are not on the whitelist will be kicked from the server when use the command /wl on or wl del <player>.

notifyOps: true

Notify ops when a player tries to connect to the server and is not on the whitelist

notifyOps: true

Messages

The plugins/Whitelist/messages.yml file contains all the messages that the plugin uses. You can change the messages to your liking.

TODO

  • Add new feature
  • Create tests
  • Improve documentation

Changelog

Detailed changes for each release are documented in the release notes.

Contribution

Please make sure to read the Contributing Guide, before making a pull request, start a discussion or report a issue.

Thanks to all contributors! โค๏ธ

Sponsor

If this project helps you to reduce your development time, you can sponsor me to support my open source work ๐Ÿ˜Š

License

This repository is licensed under the MIT License.

Copyright ยฉ 2023-present, Josantonius

minecraft-whitelist's People

Contributors

josantonius avatar

Watchers

 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.