? TentSystem — 便携居所插件(帐篷与商队)
TentSystem 是一款高级 Minecraft 服务器玩法插件,彻底重新定义了生存、突袭和玩家定位。它允许玩家制作、部署、围攻并将自己的移动基地(帐篷、商队、前哨站)随身携带。
玩家可以在世界中的任何地方一键扎营,瞬间传送至该地点,并在需要迁移时将整个结构折叠回物品中。然而,这些家园不再坚不可摧:它们内置了耐久度系统,意味着它们可以被围攻、摧毁或使用铁进行修复。
? 管理员指南:通过 WorldEdit 创建模板
创建新居所类型的过程完全集成了流行的 WorldEdit 插件,无需在配置文件中手动配置方块坐标:
-
建造结构:在游戏中直接建造帐篷、商队或战术前哨站。
-
选择区域:使用 WorldEdit 的木棍(//wand)选择你的建筑。
-
设置中心点:站在你希望玩家传送到的确切位置(或未来地基的中心),并输入保存命令:
/tent save <template_name>
插件将自动复制选定区域内的方块,将它们绑定到你当前位置的相对坐标,并将其保存为内部示意图文件。
- 配置耐久度:你可以在 config.yml 文件中为每个模板设置单独的“生命值”(HP)值:
tents:
kibitka_medium:
max-durability: 500 # 居所的最大耐久度
repair-material: IRON_INGOT # 修复所需的材料
repair-amount: 25 # 一个铁锭恢复多少耐久度
- 绑定 CustomModelData:在配置中为模板分配唯一的模型 ID。这允许标准的 Minecraft 物品通过服务器的资源包变成玩家手中漂亮的帐篷 3D 武器/物品模型。
? 玩家机制:管理、围攻和修复
? 1. 部署居所
如何放置:手持带有 3D 帐篷模型的物品,右键点击地面。
发生什么:物品从你的库存中消耗,完整的结构立即在原地生成。同时,整个建筑会自动受到分配给所有者 UUID 的私有区域的保护。
⚔️ 2. 耐久度和突袭(围攻系统)
每个部署的居所都在配置中指定了其自身的耐久度池。
如何摧毁:敌对玩家可以攻击该结构(伤害机制完全可定制,例如用武器击中中央控制块或使用 TNT/火炮爆炸)。
发生什么:受到伤害会降低家园的耐久度。如果耐久度降至 0,居所将被完全拆除,保护声明消失,里面的所有箱子和资源都成为攻击者的战利品。
?️ 3. 修复居所
所有者(或有信任访问权限的玩家)可以在经历激烈的围攻或一般磨损后恢复其庇护所的耐久度。
如何修复:携带铁锭靠近屋内的中央控制块,输入 /tent repair(或用铁锭左键点击控制块)。每个铁锭恢复配置中指定的固定数量的耐久度。
? 4. 打包(折叠房屋)
如何取回:靠近屋内的中央控制块,按住 Shift(蹲下)+ 左键点击(LMB)。
条件:只有在你拥有合法所有权且其耐久度处于满血状态(或高于特定阈值)时,才能打包居所。一旦打包,结构将从世界中消失,部署物品将返回到你的库存中。
? 安全和反破坏保护
该插件具备智能验证系统,以防止任何试图破坏世界地图或滥用声明的尝试:
重叠检查:只有在所选位置有足够空间时,居所才会部署。如果结构的蓝图与另一个玩家的声明(WorldGuard / Towny / 自定义区域)或实心地形(山脉、现有建筑、树木)重叠,插件将阻止安装并显示错误。
植被绕过:为了节省玩家手动清理田野的时间,插件忽略草、蕨类和高草。在生成房屋时,这些方块简单地被结构的方块覆盖。
智能传送(/tent tp):当传送到居所时,插件会精确计算安全方块中心的坐标,消除窒息伤害或卡在墙内的问题。
? TentSystem — Portable Dwellings Plugin (Tents & Caravans)
TentSystem is an advanced gameplay plugin for Minecraft servers that completely redefines survival, raiding, and player positioning. It allows players to craft, deploy, siege, and carry their own mobile bases (tents, caravans, outposts) right in their pockets.
A player can set up camp anywhere in the world with a single click, instantly teleport to it, and fold the entire structure back into an item when it's time to move. However, these homes are no longer invulnerable: they feature a built-in durability system, meaning they can be besieged, destroyed, or repaired using iron.
? Administrator Guide: Creating Templates via WorldEdit
The process of creating new dwelling types is fully integrated with the popular WorldEdit plugin, eliminating the need to manually configure block coordinates in configuration files:
-
Build the Structure: Build a tent, caravan, or tactical outpost directly in-game.
-
Select the Region: Select your build using the WorldEdit wooden wand (//wand).
-
Set the Center Point: Stand exactly where you want the player to land when teleporting (or at the center of the future foundation) and type the save command:
/tent save <template_name>
The plugin will automatically copy the blocks within the selection, bind them to the relative coordinates of your current position, and save it as an internal schematic file.
- Configure Durability: You can set individual "health" (HP) values for each template in the config.yml file:
tents:
kibitka_medium:
max-durability: 500 # The maximum durability of the dwelling
repair-material: IRON_INGOT # The material required for repairs
repair-amount: 25 # How much durability one iron ingot restores
- Bind CustomModelData: Assign a unique model ID to the template in the config. This allows a standard Minecraft item to turn into a beautiful 3D weapon/item model of a tent in the player's hands via your server's resource pack.
? Player Mechanics: Management, Sieges, and Repairs
? 1. Deploying the Dwelling
How to place: Hold the item with the 3D tent model in your hand and Right-Click (RMB) on the ground.
What happens: The item is consumed from your inventory, and a complete structure instantly generates on the spot. Simultaneously, the entire building is automatically protected by a private region assigned to the owner's UUID.
⚔️ 2. Durability and Raiding (Siege System)
Every deployed dwelling has its own durability pool specified in the configuration.
How to destroy: Enemy players can attack the structure (damage mechanics are fully customizable, such as hitting the central control block with weapons or using TNT/artillery explosions).
What happens: Taking damage lowers the home's durability. If the durability drops to 0, the dwelling is completely demolished, the protection claim vanishes, and all chests and resources inside become fair game for the attackers.
?️ 3. Repairing the Dwelling
The owner (or players with trusted access) can restore their shelter's durability after a rough siege or general wear and tear.
How to repair: Approach the central control block inside the house with iron ingots in your inventory and type /tent repair (or click the control block with an iron ingot). Each ingot restores a fixed amount of durability specified in the config.
? 4. Packing Up (Folding the House)
How to retrieve: Approach the central control block inside the house, hold Shift (Crouch) + Left-Click (LMB).
Condition: You can only pack up the dwelling if you are the rightful owner and its durability is at maximum health (or above a specific threshold). Once packed, the structure vanishes from the world, and the deployment item is returned to your inventory.
? Security and Anti-Griefing Protection
The plugin features an intelligent validation system to prevent any attempts to grief the world map or exploit claims:
Overlap Check: The dwelling will only deploy if there is enough space in the chosen location. If the structure's blueprint overlaps with another player's claim (WorldGuard / Towny / custom regions) or solid terrain (mountains, existing buildings, trees), the plugin will block the installation and display an error.
Foliage Bypass: To save players from manually clearing fields, the plugin ignores grass, ferns, and tall grass. When generating the house, these blocks are simply overwritten by the structure's blocks.
Smart Teleportation (/tent tp): When teleporting to a dwelling, the plugin calculates coordinates precisely to the center of a safe block, eliminating suffocation damage or getting stuck inside walls.
评论 0
登录后参与评分
还没有评论,来抢沙发吧