Tekkit Restrict (需要 Tekkit Classic)
“我最初认为拥有自己的服务器会让玩家们相处融洽。呵,我大错特错了。 我的服务器发布仅两天后,我就遇到了 7 名玩家利用重复漏洞制造宝石护甲,并炸毁了重生点大约一万亿次。 在将宝石护甲设置为特定权限等级后,他们又烧毁了我的重生点。 在禁用大部分 EE(等价交换)直到达到特定游戏时长权限等级后,他们又找到了绕过我的禁用插件的方法。(noitem)
于是我决定制作 Tekkit Restrict...” —— DreadSlicer
- 作者: DreadEnd (eternialogic@gmail.com)
- 贡献者: Taeir (taeirdev@gmail.com)
功能特性
防止崩溃
- 防止某些导致 Tekkit Classic 服务器崩溃的问题,例如部署器中的 REP(可再生增强处理器)。
禁止物品与方块
- 禁止原版 Minecraft 以及任何已安装模组中的物品和方块。
- 自定义禁止原因的提示消息(v1.19+)
限制器
- 限制玩家放置特定类型方块的数量。
受限创造模式
- 阻止在创造模式下使用(左键/右键点击)某些物品。
- 使玩家无法将贵重物品从创造模式转移到生存模式。
- 阻止在创造模式下与其他容器交互。
- 阻止在创造模式下丢弃物品。
受限交互
- 禁用使用物品时的右键/左键点击。
- 高度可定制:防止对方块/空气/安全区域进行点击。
安全区域
- 进入标记的安全区域时,卸下 EE “工具” 的充能状态。
- 移除安全区域中的大多数实体。(不包括掉落的物品、载具、玩家等)
- 强制将奥术之环切换为“大地”模式以防止恶意破坏。
- 与 WorldGuard 和 GriefPrevention 高级集成,将所有区域或特定区域标记为安全区。
- 与 Towny、Factions 和 PreciousStones 基础集成,将所有区域标记为安全区。
熔炼/合成
- 移除熔炼配方
- 移除合成配方
- 阻止合成被禁止的物品并警告玩家,以免浪费材料。
- 自 v1.19 起,通过 Forge 集成,Tekkit Restrict 可以阻止在所有合成台(包括项目桌和自动合成台)中合成被禁止的物品。
最大 EU 值
- 设置电气 IC2 物品可容纳的最大 EU 电荷量。
- 更改电气 IC2 物品的充电速度。
EMC 值修改器
- 设置、更改或删除任何物品或方块的 EMC 值。
反刷物
- 能够设置一个命令,在有人刷物 x 次后执行。
- 针对以下情况的反刷物保护:
- RM 熔炉刷物
- 炼金袋 + 虚空之环/黑洞戒刷物
- 转化桌 + Klein 之星刷物
- 水箱车刷物
- 传送刷物
- 项目桌 + 2 名玩家刷物
- 自动合成台 Mk. 2 + 采矿激光/采矿龟/方块破坏器刷物
反作弊
- 能够设置一个命令,在有人作弊 x 次后执行。
- 针对以下情况的反作弊保护:
- 加速作弊
- 飞行作弊
- 力场作弊(攻击超出范围/超出视野的玩家)
日志记录
- 将服务器日志输出拆分为多个其他文件。
- 过滤掉某些消息,使其不显示在控制台中。
- 记录 EE 工具的使用情况
其他
- 阻止使用某些宝石护甲的能力
- 当区块总数过高时,强制卸载区块。
- 阻止在锁定的机器/箱子旁边放置某些方块,以防止人们通过 BuildCraft 管道偷窃物品。
- 显示服务器上每个事件监听器所消耗的时间,以查看哪些插件导致了卡顿。
- 打开并修改在线和离线玩家的炼金袋和容器内容。
- 传送到地面上有大量物品的地方。
- 修补 ComputerCraft,确保人们无法通过 ComputerCraft 脚本使你的服务器崩溃。
- 设置 RedPower 计时器的最短时间以防止卡顿。
页面链接
- 入门指南
- 配置说明
- 命令列表
- 权限设置
- 使用免责声明
兼容性
- Vault - 推荐的权限插件。(它支持所有其他权限插件)
- PermissionsEx/PEX
- GroupManager
- WorldGuard
- GriefPrevention
- LWC
- Factions
- Towny
- PreciousStones
特别感谢!
源代码
源代码可在 GitHub 上找到:TekkitRestrict GitHub
开发构建版
本项目的开发版本可通过提供的持续集成服务器获取。这些构建版本未经 BukkitDev 工作人员审核。请自行斟酌使用风险。Jenkins 链接
指标统计
Tekkit Restrict 使用了 Hidendra 的插件指标系统,自 1.18 版本起也使用了 Taeir 的 TMetrics。这意味着以下信息会被收集并发送至 mcstats.org 和 metrics.taico.nl:
- 唯一标识符
- 服务器的 Java 版本
- 服务器处于离线模式还是在线模式
- 插件的版本号
- 服务器的 Minecraft 版本
- 操作系统版本/名称及架构
- CPU 核心数量
- 分配给服务器的内存总量
- 在线玩家数量
- Metrics 版本
如果您希望禁用 Metrics,可以通过在 /plugins/PluginMetrics/ 下的 Metrics 配置文件中选择不参与来关闭它。
您可以在 /plugins/TekkitRestrict/ 下的 General.config.yml 文件中禁用 TMetrics。
自动更新器
Tekkit Restrict 内置了自动更新器,会连接至 BukkitDev 以检查更新。如果您想更改或禁用此行为,可以在 General.config.yml 文件中修改更新设置。
Tekkit Restrict (requires Tekkit Classic)
"My initial opinion of having my own server was that players would get along. Boy, was I wrong. Only 2 days after my server's release, I already had 7 players who duped Gem Armor and blew up spawn about a trillion times. After setting gem armor to a certain rank, they then torched my spawn. After disabling most of EE until a certain playtime rank, they then found their own way around my disabling plugin. (noitem)
Then I decided to make Tekkit Restrict..." - DreadSlicer
- Author: DreadEnd (eternialogic@gmail.com)
- Contributor: Taeir (taeirdev@gmail.com)
Features
Crash Prevention
- Prevention of certain server crashing Tekkit Classic problems, like REP's in a deployer
Ban Items and Blocks
- Ban items and blocks from vanilla Minecraft AND from any mod installed.
- Customizable messages for why something is banned (v1.19+)
Limiter
- Limit the amount a player can place of a specific kind of block.
Limited Creative
- Prevent the use (left/rightclick) of certain items in creative.
- Make players unable to move valuable items over from creative to survival.
- Prevent interaction with other inventories in creative.
- Prevent the dropping of items in creative.
Limited Interacts
- Disable the right/left clicking with items.
- Highly customizable: Prevent clicking on a block/in the air/in safezones.
SafeZones
- De-charge EE "Tools" upon entering a marked SafeZone.
- Remove most entities in SafeZones. (not including dropped items, vehicles, players, etc.)
- Force Ring of Arcana into "Earth" mode to prevent griefing.
- Advanced integration with WorldGuard and GriefPrevention to mark all regions or specific ones as safezones.
- Basic integration with Towny, Factions and PreciousStones to mark all regions as safezones.
Smelting/Crafting
- Remove smelting recipes
- Remove crafting recipes
- Prevent the crafting of banned items and warn players so they don't waste ingredients.
- As of v1.19, Tekkit Restrict can prevent crafting of banned items in ALL crafting tables, including project tables and automatic crafting tables, by integrating with forge.
Max EU
- Set the maximum EU charge Electrical IC2 items can hold.
- Change the speed at which Electrical IC2 items charge at.
EMC Value Changer
- Set, change or remove EMC values from any item or block.
Anti-Dupes
- Ability to set a command that will be executed after someone has duped x amount of times.
- Anti-Dupes for:
- RM Furnace Dupes
- Alchemy Bag + Void Ring/Black Hole Band Dupes
- Transmutation Table + Klein Star Dupes
- Tank Cart Dupes
- Teleportation Dupe
- Project Table + 2 players Dupe
- Automatic Crafting Table Mk. 2 + Mining Laser/Mining Turtle/BlockBreaker Dupes
Anti-Hacks
- Ability to set a command that will be executed after someone has hacked x amount of times.
- Anti-Hacks for:
- Speed Hacks
- Fly Hacks
- Forcefield Hacks (hit players out of range/out of your field of view)
Logging
- Split the server log output into various other files.
- Filter out certain messages so they don't show up in the console.
- Log the usage of EE Tools
Other
- Prevent the use of certain Gem armor abilities
- Forcefully unload chunks when the total number is getting too high.
- Prevent the placement of certain blocks next to locked machines/chests, to prevent people from stealing stuff with buildcraft pipes.
- Display the server time used by each and every eventlistener on the server to see what plugins are causing lag.
- Open and modify the alchemy bags and inventories of people, online and offline.
- Teleport to places where there are alot of items on the ground.
- Patch ComputerCraft to make sure people can't crash your server with ComputerCraft scripts.
- Set the minimum time for RedPower timers to prevent lag.
Pages
- Getting Started
- Configuration
- Commands
- Permissions
- Disclaimer for usage
Compatibility
- Vault - Recommended permissions plugin. (it supports all other permission plugins)
- PermissionsEx/PEX
- GroupManager
- WorldGuard
- GriefPrevention
- LWC
- Factions
- Towny
- PreciousStones
Special Thanks!
Source
The source is available on GitHub: TekkitRestrict GitHub
Dev Builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.Link to jenkins
Metrics
Tekkit Restrict uses Hidendra's plugin metrics system, and as of version 1.18 also uses TMetrics by Taeir. This means that the following information is collected and sent to mcstats.org and metrics.taico.nl:
- A unique identifier
- The server's Java version
- Whether the server is in offline or online mode
- The plugin's version
- The minecraft version of the server
- The OS version/name and architecture
- The amount of CPU cores
- The amount of memory allocated to your server
- The number of players online
- The Metrics version
If you wish to disable Metrics, you can do so by opt-ing out, which you can do in the Metrics config file under /plugins/PluginMetrics/
You can disable TMetrics in the General.config.yml file under /plugins/TekkitRestrict/
Auto-updater
Tekkit Restrict has a built-in auto-updater, which connects to BukkitDev to check for updates. If you want to change or disable this behaviour, you can change the update settings in the General.config.yml file.
下载 Tekkit Restrict
下载 Tekkit Restrict
下载 Tekkit Restrict
下载 Tekkit Restrict
下载 Tekkit Restrict
下载 Tekkit Restrict
下载 Tekkit Restrict
下载 Tekkit Restrict
下载 Tekkit Restrict
下载 Tekkit Restrict
[TekkitRestrict v2.0 版本更新日志]
请注意:TekkitRestrict 2.0 使用了新的配置文件。您需要手动更新您的配置。有关此内容的更多信息将在首次启动 TekkitRestrict 2.0 时显示。
主要功能/修复/更改如下:
- 修复了方块实体(Tile Entity)错误!
- 全新的配置,拥有更详细的说明和更多的可能性。
- LogFilter、LogSplitter 和 LogEnhancer 净化您的控制台和日志!
- BannedClicks - 禁止在特定背包中点击物品!
- /clearalc 和 /tr admin unloadchunks 命令
- 大量性能更新和错误修复
通用
- 完全重新设计的配置,带有更好的解释和更多可能性
- 代码清理
- 重写大部分代码以提高效率
- 改进了线程的保存和性能。
- 由于我太忙,我处理了一些很久以前的事情。我可能忘记了很多更改。
- 当受限制的物品从你的背包中移除时,现在会说明移除原因(LimitedCreative/BannedItem)
LogFilter 和 LogSplitter
- 全新的 LogFilter 和 LogSplitter
- 你现在可以使用正则表达式、等于、以...开头、以...结尾或包含来进行过滤/分割。
- 支持区分大小写。
- 仅过滤来自控制台的消息 / 仅过滤来自日志的消息 / 两者皆可
LogEnhancer
- 将日志和控制台中的消息更改为更好的格式
- 警告:需要一些正则表达式的知识。
命令
- 新增 /clearalc <玩家> <color|all> - 清除某玩家的炼金袋中的物品 / 所有炼金袋中的物品
- 新增 /openinv <玩家> - 打开某玩家(离线状态)的背包
- 新增 /tr admin unloadchunks <low|normal|high|extreme> - 卸载区块,更多信息请查看游戏内帮助。
- 改进了 /openalc,不再需要关闭两次背包。
BannedClicks
- 新功能:禁止在特定背包中点击物品
- 例如,你可以禁止在收集器中对红石进行右键点击
错误修复
- 修复了大量问题和错误
- 修复了严重的方块实体崩溃问题
- 修复了 LWC 阻止器未能阻止向已有覆盖物添加新覆盖物的问题。
- 修复了使用扳手对方块操作导致 TR 认为方块被移除的问题(这可能导致绕过限制)
- 修复了飞行作弊踢出佩戴飞行戒指的玩家的问题。
- 修复了飞行作弊对方块检测不正确的问题。
- 修复了飞行作弊中量子靴子未能正确增加最小高度的问题。
- 修复了护盾作弊对下界矿石触发的问题
- 以及其他大量修复。
其他
- 添加了添加 Tekkit 材质名称的选项(不再是 x128,方块现在将显示为 EEChest)
- 添加了将 EE 物品名称添加到 Essentials 的选项。(你可以执行 /i condenser 20)
- 将 DisableClick 重命名为 BannedInteract 以防止混淆。
[TekkitRestrict v1.21 Beta 1 和 2 版本更新日志]
主要功能/修复/更改如下:
- 更好的性能 - 如果你使用安全区,TekkitRestrict 最多可减少 70% 的 CPU 使用率;如果不使用,则减少约 5-10%。
- 原生安全区 - 无需其他插件即可创建安全区。简单、限制更少、速度更快。
- 添加了数据库迁移 - 将你的数据库从 SQLite 转移到 MySQL 或反之!
- 大量反作弊错误的修复 - 护盾作弊不再因挖掘下界矿石、使用大天使之怒戒指射击他人、炸毁其他玩家等而踢出玩家。
完整更新日志
通用
- 更新器现在会在所有插件加载后触发,因此下载更新时将不再导致服务器短暂冻结。
- TekkitRestrict 现在在加载时添加了 2 个缺失的下界矿石配方。(这修复了某些下界矿石无法在 Tekkit 中被粉碎的问题)
- ItemDisablerThread 中有巨大的性能提升。(玩家越多,你将看到的性能提升越明显)
- 在其他线程、安全区和 TRNoHackFLy 中有小幅性能提升。
- 如果你使用 /tr about(并且拥有 tekkitrestrict.admin 权限),则添加了 EEPatch 的版本检测
修复
- 修复了限制器错误
- 修复了一些数据库问题
- 修复了配置文件不断 spam 缺少值警告的错误
- 修改了消息格式,使控制台中的命令和说明不再在 55 个字符处截断。
- 修复了 NameProcessor 中的几处错误
- 修复了 TREMCSet 在 EE 加载之前触发的错误。
作弊修复
- 修复了飞行作弊在某些情况下立即触发的错误。
- 修复了挖掘下界矿石时护盾作弊触发的错误。
- 修复了使用大天使之怒戒指的箭矢击中玩家时护盾作弊触发的错误。
- 修复了防坦克车漏洞机制在不应该触发时触发的错误。
- 修复了控制台出现重复的刷取和作弊消息的问题
数据库
- 添加了数据库迁移功能
安全区
- 实现了 TekkitRestrict 原生安全区 - 在你想要的地方添加它们,无需任何插件。只需使用 /tr admin safezone addnative <x1> <z1> <x2> <z2> <name>,其中 [x1, z1] 是一个角的坐标,[x2, z2] 是另一个角的坐标。
- 为实体移除器添加了小范围限制,以降低强度。(以后可能会再次移除)
配置
- 更新了 GeneralConfig,添加了一些新注释。
- 更新了 LoggingConfig,默认过滤掉“Sending Triang ”。
- 对 EEPatch.config.yml 进行了小幅更新。
- 修复了配置升级器在待升级字符串包含双引号时可能存在的问题。
EEPatch
- 添加了 TransmutionTablet 和 Philosopher's Stone 的阻挡功能。
Commands
- 添加了 /tr admin safezone addnative <x1> <z1> <x2> <z2> <name>
- 添加了 /tr admin test <class> <field> - 一个用于从配置缓存和 EEPatch 获取值的调试命令。
- 添加了数据库警告 (/tr warnings db)
Warnings and Logging
- 当缺少设置时,添加了更多警告信息。
- 使所有错误/警告也记录到 debug 配置中。
- 对 Log 和 FileLog 进行了改进和更改。
TMetrics
- 减小了 TMetrics 参数的大小。
- 为 TMetrics 添加了更多消息功能。
- 请勿将 AlchemicalChestFix 与 TekkitRestrict 同时使用。自 1.20 Dev 2 起,TekkitRestrict 已包含该修复内容,同时使用两者可能导致物品复制。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持

评论 0
登录后参与评分
还没有评论,来抢沙发吧