- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
Sentinel
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".
可以设置成为目标的类型
- Primary set:
- 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!