• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“Sentinel”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
注意事项
Lzs讨论 | 贡献
使用教程
第18行: 第18行:
  
 
===使用教程===
 
===使用教程===
*首先,让我怀着激动的心,颤抖的手,来介绍下如何使用这个插件吧!
+
* 下载:Citizens与Sentinel并放入plugins文件夹
* 安装
+
* 重启服务器
* 下载:Citizens 插件
+
 
* 上面已经给出了地址
+
* 首先创建一个NPC
* 然后下载本插件
+
* 使用/npc sel 命令选择NPC,或使用/npc create name 命令新建NPC
* 把Citizens 和本插件,一起放进服务端插件文件夹里(叫什么我不用告诉你了吧,都玩NPC这么高端的东西了,这位腐竹,你应该懂的)
+
* 接着输入/trait Sentinel,设置NPC为哨兵
* 为了保险起见,请关闭你的服务器重启吧! 来死狗,跟我走吧!向快乐出发
+
* 再输入/npc equip 设置NPC装备
* 首先,你得创建一个NPC,这个我们略过(你可以去看我帖子上留的那个帖子里的介绍-PS 这话感觉有点像顺口溜)
+
* 手持要给NPC装备的护甲或武器,对着NPC右键。
* 选择你要成为哨兵的NPC (选择输入/npc sel 或者 新建立一个输入 /npc create Bob)
+
* 输入/sentinel addtarget MONSTERS,给哨兵添加攻击目标的类型。
* 接着请输入: /trait Sentinel
+
* 输入/sentinel help 显示帮助界面
* 接着再请输入 /npc equip
+
 
* 为啥要输入/npc equip 呢。这是为了给你的哨兵穿装备!
+
* 注意:在没有开无敌的模式下,不要给哨兵添加攻击玩家的命令!
* 大哥,你东北的啊!哎呀,你咋知道的呢! 你瞅啥!)
+
 
* 手里拿着你要给NPC装备的护甲和武器!!看好了,是手持! 然后对着NPC右键!.
 
* ---(看,你能分清哪个是NPC,哪个是我不!{:695:}围观群众:当然分得清拉,穷吊哪来的皮肤-哎呀少年,你很机智,今天保护费交了么--)
 
*
 
*
 
* 我们接着说!
 
* {:cb_side:}然后输入 /sentinel addtarget MONSTERS
 
* 这么做的目的是干啥呢?听好了!这么做的目的是给哨兵添加目标,
 
* 后面的MONSTERS 是类型!你也可以输入成玩家,那你小心了!连你一起切了!{:diamond_sword:}
 
* 来,让我们召唤一只[zombie],我们的哨兵是否会干它呢!这里我们卖个关子!(吊人胃口- 吊人? 这句成语是这么说的么,我用的搜狗没错吧!)
 
* 接着我们再输入: /sentinel help
 
* 输入后 会出现一大波英文!你如果看不懂,还是看我的帖子吧!
 
* 看了这个你看起来简短,但是打字并不简短的教程!
 
* 你应该能够自由的玩转这个哨兵了!
 
* 但是,然后我得提醒你以下!在没有开无敌的模式下!不要给哨兵添加攻击玩家的命令!
 
* 否则后果自负!
 
* 一个自由玩转的栗子:
 
* 我在我服里创建了一个剧情,作为主角的你要去城堡里见美丽的公主!
 
* 作为公主当然有守卫,而作为主角的你整天手持无敌神剑晃荡,
 
* 那么这一点不符合宫廷礼仪!然后当你手持无敌贱在哨兵面前走过时,哨兵会认为你是剑人,于是就会来攻击你!
 
* 曾么做到的!你只需要输入! /sentinel addtarget helditem:.*sword
 
 
===游戏命令===
 
===游戏命令===
  

2016年11月18日 (五) 11:25的版本

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!