oaexploits icon

oaexploits -----

Prevent exploits on your server.



hotfix oaexploits
  1. Fixed Bug Where Players Could Not Drop Items or Interact with Them:

    Problem: The plugin's GUI implementation inadvertently prevented players from dropping items or interacting with their inventories outside of the custom GUI.

    Solution:
    • The event handling logic was updated to specifically check if the interaction was within the custom GUI.
    • A set was used to track which players have the custom GUI open. This ensures that only those players are affected by the interaction restrictions, allowing all other players to interact with their inventories normally.
  2. Fixed GUI Reload Not Working:

    Problem: The previous implementation of the GUI's reload functionality did not properly reload the configuration from the config.yml file.

    Solution:
    • A new command ReloadCommand was implemented and registered to handle reloading the plugin configuration.
    • The method in the GUI class that handles the reload was updated to programmatically execute the reload command. This ensures that when the "Reload Configuration" item in the GUI is clicked, the reload command is executed, which correctly reloads the configuration and updates any necessary settings.
Additional Feature
  • Reload Command Usable In-Game: The new reload command can also be used in-game by executing /oaexploits reload. This allows administrators to reload the plugin configuration directly from the game without needing to access the server console.
Benefits of the Fixes
  1. Improved User Experience: Players can now interact with their inventories and drop items normally when not using the custom GUI, improving overall gameplay experience.

  2. Reliable Configuration Reload: The configuration reload functionality now works as expected. Admins can reload the configuration via the GUI, ensuring that any changes to the config.yml file are applied without needing to restart the server.

  3. Convenient In-Game Administration: Administrators can easily reload the plugin configuration while in-game using the /oaexploits reload command, making server management more convenient.
----------, Jul 4, 2024
Resource Information
Author:
----------
Total Downloads: 388
First Release: Jun 28, 2024
Last Update: Jul 26, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings