Skip to content

Releases: Jochyoua/PhantomBan

Minor Release 1.0.2

17 Feb 01:17
Compare
Choose a tag to compare

v1.0.2 Release

Hello! Got a small update for y'all.

  • Added some debug messages, along with a new command called phantomban debug.

    • This command provides useful information to help resolve any issues with the plugin and generates files in the plugin folder.
    • When the command is run, three files are created: debug/INFO.log, debug/SEVERE.log, and debug/WARNING.log. Both the severe and warning messages are announced to the console.
  • Reorganized a lot of the code and added some bStats analytics: bStats Analytics.

  • Added an update checker thanks to mfnalex.

Full Changelog: v1.0.1...v1.0.2

Minor Release 1.0.1

14 Feb 20:38
Compare
Choose a tag to compare

v1.0.1 Release

A little mishap, and now here we are! I forgot to add support for the vanilla ban system so now that's been added! If you encounter any more issues please let me know and I'll attempt to get them squared away asap!

Full Changelog: 1.0.0...1.0.1

Major Release 1.0.0

14 Feb 03:47
f5b6b1e
Compare
Choose a tag to compare

v1.0.0 Release

Welcome to the initial release of PhantomBan, a Minecraft plugin introducing a unique "phantom ban" system. Allow players to join while restricting their actions to encourage positive behavior.

Code Summary

The provided source code for PhantomBan includes several classes and configuration files that work together to create the plugin's functionality:

  1. PhantomBan.java: The main plugin class that initializes and manages various components such as event handlers, permission handlers, and online time tracking for phantom-banned players.

  2. PhantomBanCommand.java: Handles the /phantomban commands, including adding/removing players from the blacklist, reloading the configuration, and displaying help messages.

  3. DynamicEventHandler.java: Registers and handles custom events based on the plugin's configuration. It restricts specific actions for phantom-banned players and sends configurable messages.

  4. PlayerConnectionListener.java: Listens for player login, join, and quit events. It manages the phantom-banned players' status and tracks their online time to implement loyalty rewards.

  5. DynamicPermissionHandler.java: Manages dynamic permissions for bypassing event restrictions for phantom-banned players. It registers and unregisters permissions based on the configured events.

  6. config.yml: The main configuration file where server administrators can customize blacklist settings, loyalty rewards, event restrictions, messages, and more.

  7. plugin.yml: Defines the plugin's basic information, commands, and permissions.

This release aims to enhance server moderation by introducing a flexible and dynamic way to manage player behavior.