- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
Sentinel:修订间差异
跳转到导航
跳转到搜索
(→使用教程) |
|||
第80行: | 第80行: | ||
* sentinel.info for commands: info, stats, targets | * sentinel.info for commands: info, stats, targets | ||
* Everything else is "sentinel.X" where "X" is the command name, EG "sentinel.damage". | * Everything else is "sentinel.X" where "X" is the command name, EG "sentinel.damage". | ||
=== | ===攻击目标的类型列表=== | ||
* | * 主要: | ||
* NPCS, | * NPCS,其他NPC | ||
* OWNER, | * OWNER,拥有者 | ||
* PASSIVE_MOB, | * PASSIVE_MOB,被动怪物 | ||
* MOBS, | * MOBS,主动怪物 | ||
* MONSTERS, | * MONSTERS,怪物 | ||
* PLAYERS, | * PLAYERS,玩家 | ||
* PIGS, | * PIGS,猪 | ||
* OCELOTS, | * OCELOTS,猫 | ||
* COWS, | * COWS,牛 | ||
* RABBITS, | * RABBITS,兔 | ||
* SHEEP, | * SHEEP,羊 | ||
* CHICKENS, | * CHICKENS,鸡 | ||
* HORSES, | * HORSES,马 | ||
* MUSHROOM_COW, | * MUSHROOM_COW,蘑菇牛 | ||
* IRON_GOLEMS, | * IRON_GOLEMS,铁傀儡 | ||
* SQUIDS, | * SQUIDS,鱿鱼 | ||
* VILLAGER, | * VILLAGER,村民 | ||
* WOLF, | * WOLF,狼 | ||
* SNOWMEN, | * SNOWMEN,雪人 | ||
* WITCH, | * WITCH,女巫 | ||
* GUARDIANS, | * GUARDIANS,守护者 | ||
* SHULKERS, | * SHULKERS,潜影贝 | ||
* CREERERS, | * CREERERS,苦力怕 | ||
* SKELETONS, | * SKELETONS,骷髅 | ||
* ZOMBIES, | * ZOMBIES,僵尸 | ||
* MAGMA_CUBES, | * MAGMA_CUBES,岩浆怪 | ||
* ZOMBIE_PIGMEN, | * ZOMBIE_PIGMEN,僵尸猪人 | ||
* SILVERFISH, BATS, | * SILVERFISH,蠹虫 | ||
* BLAZES, | * BATS,蝙蝠 | ||
* GHASTS, | * BLAZES,烈焰人 | ||
* GIANTS, | * GHASTS,恶魂 | ||
* SLIME, | * GIANTS,巨人 | ||
* SPIDER, | * SLIME,史莱姆 | ||
* CAVE_SPIDERS, | * SPIDER,蜘蛛 | ||
* ENDERMEN, | * CAVE_SPIDERS,洞穴蜘蛛 | ||
* ENDERMITES, | * ENDERMEN,末影人 | ||
* WITHER, | * ENDERMITES,末影螨 | ||
* ENDERDRAGON | * WITHER,凋灵 | ||
* ENDERDRAGON,末影龙 | |||
* | * | ||
* player:NAME(REGEX),某个玩家 | |||
* player:NAME(REGEX), | * npc:NAME(REGEX),某个NPC | ||
* npc:NAME(REGEX), | * entityname:NAME(REGEX),某个实体 | ||
* entityname:NAME(REGEX), | * helditem:MATERIALNAME(REGEX),手持某个物品的实体 | ||
* helditem:MATERIALNAME(REGEX), | * group:GROUPNAME(EXACT),某个组 | ||
* group:GROUPNAME(EXACT), | * event:pvp/pvnpc/pve,某个事件状态 | ||
* event:pvp/pvnpc/pve | * Some random supported things,随机支持一些事情 | ||
* Some random supported things | |||
===可以使用的武器类型=== | ===可以使用的武器类型=== |
2016年11月18日 (五) 03:40的版本
Sentinel
外文名 | Sentinel |
插件类型 | Spigot / CraftBukkit |
最新版本 | 0.6 |
兼容服务端 | Spigot 1.10 |
源地址 | http://dev.bukkit.org/bukkit-plugins/Sentinel |
[信息|角色|综合|其他|娱乐]Sentry—— 强大神奇的自定义NPC扩展! [内附教程][全版本] http://www.mcbbs.net/forum.php?mod=viewthread&tid=488928 看了这个这个帖子,你应该能大体明白这个插件的作用 本地化介绍 Sentry最新版: 支持 Spigot 1.10
注意事项
- 如果你的NPC没有近战伤害,请您把配置文件config.yml里的workaround damage 改为true
使用教程
- 下载:Citizens与Sentinel并放入plugins文件夹
- 重启服务器
- 首先创建一个NPC
- 使用/npc sel 命令选择NPC,或使用/npc create name 命令新建NPC
- 接着输入/trait Sentinel,设置NPC为哨兵
- 再输入/npc equip 设置NPC装备
- 手持要给NPC装备的护甲或武器,对着NPC右键。
- 输入/sentinel addtarget MONSTERS,给哨兵添加攻击目标的类型。
- 输入/sentinel help 显示帮助界面
- 注意:在没有开无敌的模式下,不要给哨兵添加攻击玩家的命令!
游戏命令
- /sentinel help - Shows help info.
- /sentinel addtarget TYPE - Adds a target.
- /sentinel removetarget TYPE - Removes a target.
- /sentinel addignore TYPE - Ignores a target.
- /sentinel removeignore TYPE - Allows targetting a target.
- /sentinel range RANGE - Sets the NPC's maximum attack range.
- /sentinel damage DAMAGE - Sets the NPC's attack damage.
- /sentinel armor ARMOR - Sets the NPC's armor level.
- /sentinel health HEALTH - Sets the NPC's health level.
- /sentinel attackrate RATE - Changes the rate at which the NPC attacks, in ticks.
- /sentinel healrate RATE - Changes the rate at which the NPC heals, in ticks.
- /sentinel respawntime TIME - Changes the time it takes for the NPC to respawn, in ticks.
- /sentinel chaserange RANGE - Changes the maximum distance an NPC will run before returning to base.
- /sentinel guard (PLAYERNAME) - Makes the NPC guard a specific player. Don't specify a player to stop guarding.
- /sentinel invincible - Toggles whether the NPC is invincible.
- /sentinel fightback - Toggles whether the NPC will fight back.
- /sentinel needammo - Toggles whether the NPC will need ammo.
- /sentinel safeshot - Toggles whether the NPC will avoid damaging non-targets.
- /sentinel chaseclose - Toggles whether the NPC will chase while in 'close quarters' fights.
- /sentinel chaseranged - Toggles whether the NPC will chase while in ranged fights.
- /sentinel drops - Changes the drops of the current NPC.
- /sentinel spawnpoint - Changes the NPC's spawn point to its current location, or removes it if it's already there.
- /sentinel forgive - Forgives all current targets.
- /sentinel enemydrops - Toggles whether enemy mobs of this NPC drop items.
- /sentinel info - Shows info on the current NPC.
- /sentinel stats - Shows statistics about the current NPC.
- /sentinel targets - Shows the targets of the current NPC.
- /sentinel kill - Kills the NPC.
- /sentinel respawn - Respawns the NPC.
- /sentinel targettime TIME - Sets the NPC's enemy target time limit.
- /sentinel speed - Sets the NPC's movement speed modifier.
- /sentinel autoswitch - Toggles whether the NPC automatically switches items.
- /sentinel targettime TIME - Sets the NPCs enemy target time limit.
- /sentinel greeting GREETING - Sets a greeting message for the NPC to say.
- /sentinel warning WARNING - Sets a warning message for the NPC to say.
- /sentinel greetrange RANGE - Sets how far a player can be from an NPC before they are greeted.
- /sentinel accuracy OFFSET - Sets the accuracy of an NPC.
- Sentry user?
- Type "/sentinel sentryimport" on a server running both Sentry and Sentinel to instantly transfer all data to Sentinel!
权限
- sentinel.basic for the /sentinel command
- sentinel.admin to edit other player's Sentinel NPCs.
- sentinel.greet for commands: greeting, warning, greetrange
- sentinel.info for commands: info, stats, targets
- Everything else is "sentinel.X" where "X" is the command name, EG "sentinel.damage".
攻击目标的类型列表
- 主要:
- NPCS,其他NPC
- OWNER,拥有者
- PASSIVE_MOB,被动怪物
- MOBS,主动怪物
- MONSTERS,怪物
- PLAYERS,玩家
- PIGS,猪
- OCELOTS,猫
- COWS,牛
- RABBITS,兔
- SHEEP,羊
- CHICKENS,鸡
- HORSES,马
- MUSHROOM_COW,蘑菇牛
- IRON_GOLEMS,铁傀儡
- SQUIDS,鱿鱼
- VILLAGER,村民
- WOLF,狼
- SNOWMEN,雪人
- WITCH,女巫
- GUARDIANS,守护者
- SHULKERS,潜影贝
- CREERERS,苦力怕
- SKELETONS,骷髅
- ZOMBIES,僵尸
- MAGMA_CUBES,岩浆怪
- ZOMBIE_PIGMEN,僵尸猪人
- SILVERFISH,蠹虫
- BATS,蝙蝠
- BLAZES,烈焰人
- GHASTS,恶魂
- GIANTS,巨人
- SLIME,史莱姆
- SPIDER,蜘蛛
- CAVE_SPIDERS,洞穴蜘蛛
- ENDERMEN,末影人
- ENDERMITES,末影螨
- WITHER,凋灵
- ENDERDRAGON,末影龙
- player:NAME(REGEX),某个玩家
- npc:NAME(REGEX),某个NPC
- entityname:NAME(REGEX),某个实体
- helditem:MATERIALNAME(REGEX),手持某个物品的实体
- group:GROUPNAME(EXACT),某个组
- event:pvp/pvnpc/pve,某个事件状态
- Some random supported things,随机支持一些事情
可以使用的武器类型
- Fists
- Swords/tools
- Bow
- 可以为NPC设置各种类型的箭!
- Blaze rod (shoots fire balls!)
- Potions (splash, lingering)
- Nether star (strikes lightning!)
- Spectral arrow (makes the target glow, without damaging it.)
- (To make a target glow ++ damage it, equip a bow + arm it with spectral arrows!)
- Snowballs
- Respawning can be set to "-1" to cause the NPC to delete itself on death, or "0" to prevent respawn.
- Sentinels will guard a point or path if either is set using the command "/npc path"
- To make a ghast or blaze fire fireballs, give them a blazerod!