Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for fanlim

Prevent exploits on your server.

Report oaexploits?

Key Features:

/oaexploitsgui Command Features:

  • Ban and Unban GUI:

    • Added intuitive GUIs for banning and unbanning players.
    • Easily select players to ban or unban from a list of online players.
    • Displays player heads for easy identification.
    • Shows confirmation messages to admins after banning or unbanning players.
    • Prevents admins from banning themselves.
  • Illegal Items Management:

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

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

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

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

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

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

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

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

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

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

Milestones:

config.yml
config-version: 1.3.70

# 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:

# 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: true
  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 configuration
deop-on-leave:
  enabled: true
  whitelist:
    enabled: false
    players:
      - playername1
      - playername2
  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.'


# 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





Installation and Usage:

  • Download and Install: Download the plugin and place it in your server's plugins folder.
  • Configure: Edit the config.yml file to suit your server's needs.
  • Start Your Server: Restart your server to load the plugin.
  • Enjoy: Your server is now protected with OaExploits!

For any issues or support, please visit: 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!

Information

CategoryAdmin Tools
Published onJuly 10, 2024
LicenseUnspecified
Downloads25
Stars0
Watchers0

Pinned Versions

Members

Avatar for fanlim

fanlim

Owner