Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 2.24 KB

README.md

File metadata and controls

48 lines (38 loc) · 2.24 KB

BStats Statistics are obtained through bstats metrics.

Links

SpigotMC - over 4500 downloads (26/01/2025).

About

This is a plugin for a minecraft server. It allows you to add players for a certain time or permanently.

The plugin is made and tested for paper 1.21.4, also supports folia.

Commands and Permissions

Command Permission
/whitelist add [nickname] (time) whitelistbytime.add
/whitelist remove [nickname] whitelistbytime.remove
/whitelist check [nickname] whitelistbytime.check
/whitelist checkme whitelistbytime.checkme
/whitelist time set/add/remove [nickname] [time] whitelistbytime.time
/whitelist getall (page) whitelistbytime.getall
/whitelist freeze [nickname] [time] whitelistbytime.freeze

Note:

  • [nickname] - this argument is required.
  • (page) - page of list, if not specified, defaults to 1.
  • (time) - the duration for which the player will be added to the whitelistByTime.
    Example: 2d 3h 10m.
    Leave this value empty if you want to add the player permanently.

Placeholders:

All output can be configured in the config.

%wlbytime_in_whitelist% - In whitelistByTime or not.
%wlbytime_time_left% - How much is left in whitelistByTime.

TODO

  1. Cleanup command
    command to clear the white list if a player has not logged in for a long time or has not logged in at all

FAQ

  1. Why does the plugin weigh so much?
    Because it contains libraries such as omrlite (database), caffein (cache), bstats (metrics), elytrium-serializer (configs).
  2. I have a problem/idea where should I write?
    Create an issue in this repository and describe it in detail. I would be happy to get any feedback!
  3. Will there be bungee\velocity support?
    No, I plan to develop the plugin for paper and folia only.