srnyx / limited-lives

Each player has a limited number of lives. If you die, you are punished!
https://srnyx.com
MIT License
5 stars 1 forks source link

Added World Whitelist and Blacklist Functions #24

Closed ssquadteam closed 5 days ago

ssquadteam commented 5 days ago

Description

I have added the ability for the users to blacklist / whitelist worlds.

world-list:
  mode: blacklist  # Can be 'blacklist' or 'whitelist'
  worlds:
    - world_nether
    - creative_world

Motivation and Context

Primarily I needed this feature for Duels Worlds and stuff. And moreover, why not?

How Has This Been Tested?

I have tested the changes on my server Purpur 1.21. I ensured that all the features were working including commands and everything. And the effects to the codes are minimal. It primarily modifies the PlayerListener and LimitedConfig area of the codes.

Media:

N/A

Types of changes

Checklist: