COWMODSКаталог модов

oaexploits

Prevent exploits on your server.

Автор: fanlim8543обновлён 26 июл. 2024 г.
ЭкономикаМеханики игрыУправление

Описание

Key Features and Configurations

Key Features

  1. /oaexploitsgui Command Features:

    • Ban and Unban GUI: Intuitive GUIs for banning and unbanning players with player heads for easy identification. Includes confirmation messages for admins and prevents self-banning.
  2. Illegal Items Management:

    • Detects and removes illegal items from inventories and containers.
  3. Chunk Limiter:

    • Sets limits for specific items within each chunk to prevent excessive block placement.
  4. Command Control:

    • Blocks specific commands and allows a whitelist of permitted commands.
  5. Customizable Notifications:

    • Sends customizable messages to players when they interact with illegal items.
  6. /stats Command:

    • Provides comprehensive world statistics for admins and players.
  7. Admin Alerts:

    • Sends alerts to admins when players interact with illegal items.
  8. Deop on Leave:

    • Automatically deops players upon leaving the server, with optional teleportation and messages.
  9. Logging and Debugging:

    • Logs illegal item actions with configurable log levels and debug mode.
  10. Wither Spawn Sound Alert:

    • Plays a sound for all players within a configurable radius when a Wither is spawned.
  11. Clear Withers in Chunk:

    • Allows admins to clear all Withers in a chunk using the GUI.

Configuration (config.yml)

Spoiler
config-version: 1.3.81

# Illegal items configuration
illegal-items:
  blocks:
    - CHAIN_COMMAND_BLOCK
    - COMMAND_BLOCK
    - COMMAND_BLOCK_MINECART
    - REPEATING_COMMAND_BLOCK
    - BEDROCK
    - BARRIER
    - STRUCTURE_BLOCK
    - STRUCTURE_VOID
    - NETHER_PORTAL
    - LIGHT
    - END_PORTAL_FRAME
    - END_PORTAL
    - SPAWNER
  items:

discord-alerts:
  webhook-url: "YOUR_DISCORD_WEBHOOK_URL" # Replace with your actual Discord webhook URL

# define the radius on how far the wither-spawn sound should be
wither-sound:
  radius: 20
  sound: ENTITY_WITHER_SPAWN
  volume: 1.0
  pitch: 1.0

# Chunk limiter configuration
chunk-limiter:
  limits:
    CHEST: 400
    TRAPPED_CHEST: 400
    TNT: 200
  messages:
    block-limit-exceeded: You cannot place more than {limit} {block} blocks in this chunk.

# Command whitelist configuration
command-whitelist:
  enabled: true
  commands:
    - help
    - vote
    - joindate
    - kill
    - discord
    - togglechat
    - toggleconnectionmsgs
    - toggletells
    - togglewhispering
    - toggleprivatemsgs
    - ignore
    - ignorelist
    - ignorehard
    - toggledeathmsg
    - dmt
    - worldstats
    - playtime
    - stats
    - tps
    - msg
    - whisper
    - w
    - m
    - t
    - pm
    - tell
    - r
    - reply
    - last
    - kill
    - shop
    - skin

# Command blacklist configuration
command-blacklist:
  enabled: true
  commands:
    - op
    - deop
    - plugins
    - pl
    - bukkit:plugins
    - bukkit:pl
    - bukkit:?
    - bukkit:help
    - .plugins

# Additional configurations
additional-configs:
  check-interval: 10 # Time in seconds between periodic checks
  inventory-scan-depth: 3 # Depth of inventory scanning, affects how many nested inventories are checked

removal-options:
  remove-illegal-items: true
  clean-shulkers-on-place: true
  notify-player-on-illegal-placement: true

messages:
  illegal-item-placement:
    title: "&cIllegal Block!"
    subtitle: "&cThis is an illegal item!"
  illegal-item-interaction:
    title: "&cIllegal Item!"
    subtitle: "&cYou tried to interact with an illegal item: %item%"
  illegal-item-movement:
    title: "&cIllegal Item!"
    subtitle: "&cContainer tried to move an illegal item: %item%"
  illegal-item-removal:
    title: "&cIllegal Items Removed!"
    subtitle: "&cIllegal items were removed from your inventory."
  admin-alert: "&c%player% tried to interact with an illegal item: %item%"

# Maximum levels for enchantments
max_enchantment_levels:
  PROTECTION: 4
  FIRE_PROTECTION: 4
  FEATHER_FALLING: 4
  BLAST_PROTECTION: 4
  PROJECTILE_PROTECTION: 4
  RESPIRATION: 3
  AQUA_AFFINITY: 1
  THORNS: 3
  DEPTH_STRIDER: 3
  FROST_WALKER: 2
  BINDING_CURSE: 1
  SHARPNESS: 5
  SMITE: 5
  BANE_OF_ARTHROPODS: 5
  KNOCKBACK: 2
  FIRE_ASPECT: 2
  LOOTING: 3
  SWEEPING_EDGE: 3
  EFFICIENCY: 5
  SILK_TOUCH: 1
  UNBREAKING: 3
  FORTUNE: 3
  POWER: 5
  PUNCH: 2
  FLAME: 1
  INFINITY: 1
  LUCK_OF_THE_SEA: 3
  LURE: 3
  LOYALTY: 3
  IMPALING: 5
  RIPTIDE: 3
  CHANNELING: 1
  MULTISHOT: 1
  PIERCING: 4
  QUICK_CHARGE: 3
  MENDING: 1
  VANISHING_CURSE: 1

# Enchantment settings
enchantment_settings:
  revert_items: true
  notify_player: false
  log_illegal_items: true

# Enchantment messages
enchantment_messages:
  illegal_item: "&aAn item in your inventory had illegal enchantments and has been reverted to a legal state."
  log_illegal_item: "&eIllegal enchantment detected on item: &c%item% &efrom player: &c%player%"
  admin_alert: "&c%player% tried to interact with an illegal item: %item%"

deop-on-leave:
  enabled: true  # Set to false to disable deop on leave
  whitelist:
    players:
      - "AdminPlayer1"
      - "AdminPlayer2"
  teleport:
    world: "world"
    x: 0.0
    y: 64.0
    z: 0.0
    yaw: 0.0
    pitch: 0.0
  message: "&cYou have been deopped, your inventory cleared, and you have been teleported to the spawn point."
  title:
    main: "&cDeopped"
    subtitle: "&cYou have been deopped and teleported to the spawn point."
    fade-in: 20  # Duration in ticks (1 second = 20 ticks)
    stay: 60  # Duration in ticks
    fade-out: 20  # Duration in ticks

# Admin alerts configuration
admin-alerts:
  enabled: true
  permission: oaexploits.alerts
  cooldown: 60 # seconds between alerts to avoid spam

# Logging settings configuration
log-settings:
  log-illegal-item-actions: true
  log-file: logs/oaexploits.log
  log-level: WARNING

# Debug mode configuration to see what commands people are executing
debug-mode: false

For any issues or support, please visit the OaExploits Discord. Leave a review of the plugin on Spigot and let us know what you think!

Последние версии

Все версии →
release

oaexploits 1.4.3

1.4.3
26 июл. 2024 г.176Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21bukkit, paper, purpur, spigot
Скачать
Что нового
### Added cross-inventory checks to prevent illegal items
release

oaexploits 1.4.2

1.4.2
25 июл. 2024 г.39Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21bukkit, paper, purpur, spigot
Скачать
Что нового
### Fixed a problem with the Oaexploits GUI not being usable on version 1.20.6.
release

oaexploits 1.4.1

1.4.1
25 июл. 2024 г.38Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21bukkit, paper, purpur, spigot
Скачать
Что нового
### Changelog **Version 1.4.1** **New Features:** - **Permission Bypass:** Introduced the `oaexploits.bypass` permission. - Players with this permission can bypass illegal item checks, avoiding the removal or notification processes. - Configurable via luckperms **Improvements:** - Enhanced logging for illegal item interactions. - Improved inventory scanning performance. **Bug Fixes:** - Fixed issues with handling commands that include subcommands or arguments. - Removed the `regeneratechunk` command and its associated permission `oaexploits.regeneratechunk`.
release

oaexploits 1.4.0

1.4.0
23 июл. 2024 г.36Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21bukkit, paper, purpur, spigot
Скачать
Что нового
#### Version 1.4.0 - **Update Notification**: Enhanced the update message format when a new version is available on Spigot. - **Java Version**: Updated the plugin to be built on Java 17. - **Paper Version**: Upgraded to Paper version 1.21 (from 1.20.6) to support new items. - **Discord Webhook**: Refined the Discord webhook code for sending embed messages.
release

oaexploits 1.3.95

1.3.95
22 июл. 2024 г.41Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21bukkit, paper, purpur, spigot
Скачать
Что нового
#### New Features - **Discord Webhook Integration:** - Added support for sending alerts to a Discord channel using webhooks. - Configurable webhook URL to specify the Discord channel for receiving alerts. - Alerts include details about illegal items interactions, such as the player's name, the item involved, and the action taken. - Item images are displayed in the alerts using the Minecraft Item API. #### Improvements - **Configuration File Enhancements:** - Reorganized and categorized the configuration file for better readability and maintainability. - Added comments to the configuration file to provide clarity on each section's purpose. #### Bug Fixes - Fixed issues with missing or incorrect item images in Discord alerts. - Improved logging for illegal item interactions and enhanced error handling in the Discord alert system. #### Configuration Changes - **New Configuration Section for Discord Alerts:** ```yaml discord-alerts: webhook-url: "YOUR_DISCORD_WEBHOOK_URL" # Replace with your actual Discord webhook URL ``` - Ensure to replace `"YOUR_DISCORD_WEBHOOK_URL"` with the actual URL of your Discord webhook. - **Example Configuration for Discord Alerts:** ```yaml # Discord alerts configuration discord-alerts: webhook-url: "YOUR_DISCORD_WEBHOOK_URL" # Replace with your actual Discord webhook URL ``` #### How to Upgrade 1. **Backup Your Configuration Files:** Before upgrading, make sure to back up your existing configuration files. 2. **Update the Plugin:** Replace the old OaExploits plugin JAR file with the new version. 3. **Modify Configuration Files:** - Add the new `discord-alerts` section to your configuration file. - Review the configuration file for any other new settings or changes. 4. **Restart Your Server:** Restart your Minecraft server to apply the changes. #### Known Issues - None reported in this release. Please report any issues on our [GitHub Issues page](https://github.com/fanlimgames/oaexploits/issues).
release

oaexploits 1.3.92

1.3.92
22 июл. 2024 г.38Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21bukkit, paper, purpur, spigot
Скачать
Что нового
### New Features - **Deop on Leave Toggle**: - Introduced a new option to toggle the deop on leave feature directly from the main settings GUI. - This allows administrators to enable or disable the feature without editing the configuration file manually. - Access this setting under the "OaExploits Settings" menu. ### Improvements - **Settings GUI Enhancements**: - **New Option**: Added **Toggle Deop on Leave** to the GUI for easy access and control. - **Enhanced Feedback**: Users now receive chat messages indicating the status of settings when toggled. - **Sound Effects**: Added sound feedback (ENTITY_PLAYER_LEVELUP and BLOCK_NOTE_BLOCK_PLING) for a better user experience when interacting with the GUI. - **Particle Effects**: Added particle effects (HAPPY_VILLAGER) to enhance visual feedback when settings are changed. - **Configurable Deop on Leave**: - Added the ability to enable or disable the deop on leave feature through the configuration. - **Whitelist Feature**: Specific players can be whitelisted to avoid being deopped on leave. - **Teleport Configuration**: Players who are deopped can be teleported to a configurable location. - **Enhanced Admin Alerts and Notifications**: - **Admin Alert Cooldown**: Implemented a cooldown period for admin alerts to prevent spam. - **Clear Notifications**: Improved the clarity and detail of notifications for illegal item interactions, movements, and placements. - **Sound and Particle Effects**: Added sound and particle effects to notifications for illegal activities to improve user experience. ### Configuration Changes - **New Configuration Options**: - `deop-on-leave.enabled`: Boolean setting to enable or disable the deop on leave feature. - `deop-on-leave.whitelist.players`: List of player names to be exempted from deop on leave. - `deop-on-leave.teleport`: Configurable location settings for teleporting deopped players. - `messages` section updated for more detailed and customizable messages related to illegal item interactions and admin alerts. ### Code Changes - **Added New Handler for Deop on Leave Toggle**: ```java componentHandlers.put(TOGGLE_DEOP_ON_LEAVE, player -> handleConfigOptionClick("deop-on-leave.enabled", "Deop on Leave", player)); ``` - **Improved `handleBlockPlace` Method**: ```java private void handleBlockPlace(BlockPlaceEvent event) { Player player = event.getPlayer(); ItemStack item = event.getItemInHand(); Material blockType = event.getBlock().getType(); if (removeIllegalItemsEnabled && (shouldRemoveItem(item) || isIllegalBlock(blockType))) { event.setCancelled(true); int removedCount = item.getAmount(); Material itemType = item.getType(); String itemTypeString = itemType.toString(); removeItem(item); notifyPlayerAndAdmins(player, illegalItemPlacementTitle, illegalItemPlacementSubtitle.replace("%item%", blockType.toString()), itemTypeString); plugin.getLogger().info("\u001B[31mRemoved " + removedCount + " illegal items from player " + player.getName()); checkPlayerInventory(player); } else if (isShulkerBox(item) && cleanShulkersOnPlaceEnabled) { handleShulkerBoxContents(item); } } ``` - **Configurable Teleport Location**: ```java private Optional<Location> getTargetLocation() { String worldName = config.getString("deop-on-leave.teleport.world"); if (worldName == null) { plugin.getLogger().warning("World name for deop teleport location is not configured."); return Optional.empty(); } World world = Bukkit.getWorld(worldName); if (world == null) { plugin.getLogger().warning("World '" + worldName + "' for deop teleport location does not exist."); return Optional.empty(); } double x = config.getDouble("deop-on-leave.teleport.x", 0.0); double y = config.getDouble("deop-on-leave.teleport.y", 64.0); double z = config.getDouble("deop-on-leave.teleport.z", 0.0); float yaw = (float) config.getDouble("deop-on-leave.teleport.yaw", 0.0); float pitch = (float) config.getDouble("deop-on-leave.teleport.pitch", 0.0); return Optional.of(new Location(world, x, y, z, yaw, pitch)); } ``` ### Bug Fixes - **Illegal Block Placement**: - Resolved an issue where illegal blocks could not be placed even when the `remove-illegal-items` feature was turned off. - The plugin now respects the `removal-options.remove-illegal-items` configuration setting correctly. - **Inventory Interaction Handling**: - Improved the handling and feedback for illegal item interactions and movements. - Fixed issues where certain interactions were not properly logged or handled, ensuring comprehensive tracking and management of illegal items. ### Additional Changes - **General Code Optimization**: - Improved the overall readability and maintainability of the codebase. - Streamlined event handling and configuration loading processes for better performance and ease of use.
release

oaexploits 1.3.90

1.3.90
13 июл. 2024 г.50Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21bukkit, paper, purpur, spigot
Скачать
Что нового
### Changelog for OaExploits v1.3.90 #### New Features - **Ban and Unban GUI**: - Added a new intuitive GUI for banning and unbanning players. - Admins can now easily select players to ban or unban from a list of online players. - The GUI displays player heads for easy identification. - Confirmation messages are shown to admins after banning or unbanning players. - Ensures admins cannot ban themselves. #### General Enhancements - Improved overall GUI design for better user experience. - Added dark gray stained glass panes as placeholders for unused slots in the GUI.
release

oaexploits 1.3.85

1.3.85
12 июл. 2024 г.45Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21bukkit, paper, purpur, spigot
Скачать
Что нового
#### Added - **Enhanced Performance**: Optimized server performance with improved threading and resource management. - **New Event Handlers**: Added support for new player interaction events and world events. - **Adventure API Integration**: Full integration with Adventure API for modern and flexible message formatting. - **Async Tasks**: Enhanced support for asynchronous tasks using `CompletableFuture` to improve server responsiveness. #### Changed - **Configuration Management**: Externalized configuration settings to provide better flexibility and ease of updates. - **Dependency Injection**: Refactored code to use dependency injection for better modularity and testability. - **Event Handling**: Updated event handling mechanisms for improved reliability and performance. #### Deprecated - **Legacy Methods**: Deprecated several old methods and replaced them with more efficient alternatives. Refer to the documentation for migration steps. #### Removed - **Dropped Support for Older Versions**: We have dropped support for Minecraft versions older than 1.20. Please update your server to the latest version to continue receiving updates and support.
release

oaexploits 1.3.80

1.3.80
11 июл. 2024 г.82Minecraft: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21bukkit, paper, purpur, spigot
Скачать
Что нового
## OaExploits Plugin Changelog ### Version 1.3.80 #### New Features - **GUI Improvements**: - Enhanced GUI for settings management. - Consolidated multiple toggles into an organized interface. - Added aggregated message handling to prevent chat spam for illegal enchantments. #### Enchantment Handling - Implemented message aggregation for illegal enchantments. - Reverted illegal enchantments to allowed maximum levels. - Added player notifications with summarized illegal enchantment messages. - Improved logging to summarize illegal enchantments detected. #### Bug Fixes - Fixed illegal enchantments reverting issues. - Updated deprecated methods for latest Bukkit version compatibility. #### Configuration - Added new enchantment settings. - Updated default configuration for new GUI settings. ### Installation 1. Download the latest version from the [modrinth versions Page]((https://modrinth.com/plugin/oaexploits/versions)). 2. Place the file in your server's plugins folder. 3. Restart the server to apply changes. For detailed instructions and support, visit our [Discord server](https://discord.gg/xyhwEzzVXV).
release

oaexploits 1.3.73

1.3.73
11 июл. 2024 г.46Minecraft: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21bukkit, paper, spigot
Скачать
Что нового
### Release Update Changelog for OaExploits #### Version 1.3.73 - 2024-07-11 **New Features:** - **Wither Spawn Sound Alert:** - Introduced a new feature that plays a distinct sound for all players within a configurable radius when a Wither is spawned. - Configuration options added to `config.yml`: - `wither-sound.radius`: Sets the radius within which players will hear the sound. - `wither-sound.sound`: Specifies the sound to be played (default is `ENTITY_WITHER_SPAWN`). - This feature enhances player awareness by providing an audible alert, ensuring players can respond promptly to Wither spawns. - **Clear Withers in Chunk:** - Added a new GUI option for admins to clear all Withers in the chunk where they are currently located. - This feature can be accessed through the `/oaexploitsgui` command. - Helps maintain server performance by allowing quick removal of multiple Withers, preventing potential lag or disruptions caused by Wither entities. **Enhancements:** - **Configuration Reload Support:** - Updated the `oaexploits reload` command to include reloading the Wither sound configuration. - Ensures that any changes made to the Wither sound settings in `config.yml` are applied immediately without needing a server restart. - Provides a smoother and more efficient way to update server settings on-the-fly. **Fixes and Improvements:** - Improved performance and efficiency in Wither removal by checking entity types directly, rather than using `instanceof`. - Enhanced the GUI experience by adding visual and audio feedback for actions, ensuring admins have a clear understanding of the changes being made. **Configuration Example:** ```yaml wither-sound: radius: 20 sound: ENTITY_WITHER_SPAWN ``` ### Installation and Usage: 1. **Download and Install**: Download the plugin and place it in your server's plugins folder. 2. **Configure**: Edit the `config.yml` file to suit your server's needs. 3. **Start Your Server**: Restart your server to load the plugin. 4. **Enjoy**: Your server is now protected with OaExploits! For any issues or support, please visit: [OaExploits Discord](https://discord.gg/QppwNS5BSv) Enhance your server's security and fairness with OaExploits! Download now and keep your server running smoothly. Leave a review of the plugin on Spigot and let us know what you think!