主要功能与配置
主要功能
-
/oaexploitsgui 命令功能:
- 封禁与解封 GUI: 提供直观的封禁和解封玩家图形界面,使用玩家头像以便轻松识别。包含面向管理员的确认消息,并防止自我封禁。
-
非法物品管理:
- 检测并从背包和容器移除非法物品。
-
区块限制器 (Chunk Limiter):
- 为每个区块内的特定物品设置上限,以防止过度放置方块。
-
命令控制:
- 阻止特定命令,并允许使用白名单中的授权命令。
-
自定义通知:
- 当玩家与非法物品交互时,向其发送可自定义的消息。
-
/stats 命令:
- 为管理员和玩家提供全面的世界统计数据。
-
管理员警报:
- 当玩家与非法物品交互时,向管理员发送警报。
-
退出时取消 OP:
- 玩家离开服务器时自动取消其 OP 权限,并可选择传送及发送消息。
-
日志记录与调试:
- 记录非法物品操作,支持可配置的日志级别和调试模式。
-
凋灵生成声音警报:
- 当生成凋灵时,在可配置半径内的所有玩家播放声音。
-
清除区块内的凋灵:
- 允许管理员通过 GUI 清除区块内所有的凋灵。
配置文件 (config.yml)
展开查看
config-version: 1.3.81
# 非法物品配置
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" # 替换为您的实际 Discord Webhook URL
# 定义凋灵生成声音的传播半径
wither-sound:
radius: 20
sound: ENTITY_WITHER_SPAWN
volume: 1.0
pitch: 1.0
# 区块限制器配置
chunk-limiter:
limits:
CHEST: 400
TRAPPED_CHEST: 400
TNT: 200
messages:
block-limit-exceeded: 您不能在此区块放置超过 {limit} 个 {block} 方块。
# 命令白名单配置
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:
enabled: true
commands:
- op
- deop
- plugins
- pl
- bukkit:plugins
- bukkit:pl
- bukkit:?
- bukkit:help
- .plugins
# 其他配置
additional-configs:
check-interval: 10 # 定期检查之间的时间间隔(秒)
inventory-scan-depth: 3 # 背包扫描深度,影响检查嵌套背包的数量
removal-options:
remove-illegal-items: true
clean-shulkers-on-place: true
notify-player-on-illegal-placement: true
messages:
illegal-item-placement:
title: "&c非法方块!"
subtitle: "&c这是一个非法物品!"
illegal-item-interaction:
title: "&c非法物品!"
subtitle: "&c您尝试与非法物品交互:&e%item%"
illegal-item-movement:
title: "&c非法物品!"
subtitle: "&c容器试图移动非法物品:&e%item%"
illegal-item-removal:
title: "&c已移除非法物品!"
subtitle: "&c已从您的背包中移除非法物品。"
admin-alert: "&c%player% 尝试与非法物品交互:&e%item%"
# 附魔最大等级
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:
revert_items: true
notify_player: false
log_illegal_items: true
# 附魔消息
enchantment_messages:
illegal_item: "&a您背包中的一个物品具有非法附魔,已恢复至合法状态。"
log_illegal_item: "&e检测到来自玩家 &c%player% 的物品 &c%item% 存在非法附魔"
admin_alert: "&c%player% 尝试与非法物品交互:&e%item%"
deop-on-leave:
enabled: true # 设置为 false 以禁用退出时取消 OP
whitelist:
players:
- "AdminPlayer1"
- "AdminPlayer2"
teleport:
world: "world"
x: 0.0
y: 64.0
z: 0.0
yaw: 0.0
pitch: 0.0
message: "&c您已被取消 OP,背包已清空,并已传送至出生点。"
title:
main: "&c已取消 OP"
subtitle: "&c您已被取消 OP 并传送至出生点。"
fade-in: 20 # 持续时间(刻,1 秒 = 20 刻)
stay: 60 # 持续时间(刻)
fade-out: 20 # 持续时间(刻)
# 管理员警报配置
admin-alerts:
enabled: true
permission: oaexploits.alerts
cooldown: 60 # 警报之间的冷却时间(秒),以避免刷屏
# 日志设置配置
log-settings:
log-illegal-item-actions: true
log-file: logs/oaexploits.log
log-level: WARNING
# 调试模式配置,用于查看人们正在执行的命令
debug-mode: false
如有任何问题或需要支持,请访问 OaExploits Discord。请在 Spigot 上为该插件留下评价,并告诉我们您的想法!
Key Features and Configurations
Key Features
-
/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.
-
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.
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!
下载 oaexploits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 oaexploits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 oaexploits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 oaexploits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 oaexploits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 oaexploits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 oaexploits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 oaexploits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 oaexploits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 oaexploits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
添加了跨库存检查以防止非法物品
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
评论 0
登录后参与评分
还没有评论,来抢沙发吧