注意:
我目前不再维护此项目,因为将代码移植到新版本并重写插件的特定部分非常困难,由于源代码目前写得非常糟糕。我没有心情去修复这些问题或发布新的更新。感谢您的理解。编辑:我刚刚开始重新编写这个插件。它将是一个修订版,不会完全像旧版本那样。因此,它将成为一个全新的插件。
该项目的最初创意由 Sponker 提出。我添加了许多功能,也借鉴了 zorato_04 的一些内容。欢迎在我的 Discord 服务器中提供建议!
也许未来我会公开源代码!
说明:
Secret Manhunt 是一款类似“追捕”(Manhunt)的游戏模式,猎人的目标是击杀所有玩家,而无辜者的目标是赢得游戏。Secret Manhunt 的特色在于玩家不知道谁是猎人,这与普通版本不同。
猎人的身份由随机决定。目前市面上已经存在许多优秀的 Secret Manhunt 插件,但正如标题所示,这是增强版,意味着包含大量新功能。接下来我将解释所有功能,首先从角色开始,该模式当前拥有超过 20 种角色。如果猎人击杀了一名无辜者,他们将获得 1 颗永久心。以下是所有角色的介绍(在 config.yml 中始终可以调整是否启用该角色、角色数量、概率等):
侦探(The Detective):侦探是一名无辜者角色,可以通过 /accuse <player> 指控他认为是猎人的玩家。如果指控正确,他将获得 5 颗额外的心,并且所有人都会收到提示,得知该人是猎人。但如果猜错,他会立即死亡,且不会告知任何人他已死亡。
科学家(The Scientist):科学家是一名无辜者角色,可以看到谁活着、谁已死亡。通过 /scientist 命令,他可以查看生者与死者,因为死亡消息默认对所有人生效关闭。科学家的能力有冷却时间,并且有最大使用次数限制,这两项均可在 config.yml 中修改。
擦除者(The Eraser):擦除者是一名无辜者角色,可以通过 /erase <player> 移除玩家的角色。这将抹去玩家的角色,而非主要身份。例如,一名无辜者是侦探,如果擦除者抹去了他的角色,他就会变成普通的无辜者。猎人角色同理,我稍后会进行解释。
先知(The Seer):先知是一名无辜者角色,可以查看其他玩家的角色。右键点击一名玩家即可得知其角色。例如,他右键点击了一名侦探,系统会告诉他被右键的玩家是侦探。其特色在于,如果他揭示了一名猎人,他将得知该猎人的具体角色,但通常没有人会知道自己被揭示了,除了猎人。猎人会看到自己是否被揭示,这使得局势更加紧张。
运动员(The Athlete):运动员是一名无辜者角色,可以使你移动更快、跳跃更高,并造成少量额外伤害。
噪音制造者(The Noisemaker):噪音制造者是一名无辜者角色,当他死亡时,所有人都会收到警报。系统会显示他死亡的位置以及他已死亡的事实。
木猎人(The Woodhunter):木猎人是一名无辜者角色,在他死亡后,可以通过 /woodhunter <player> 击杀一名玩家。如果被击杀的是猎人,该猎人不会永久死亡。(无辜者死亡后将永久死亡,并进入旁观者模式。)猎人默认将处于死亡状态 3 分钟,然后复活。此时间可在 config.yml 中更改。
驱魔人(The Ghostbuster):驱魔人是一名无辜者角色,当他认为自己已死后,可以通过 /ghostbuster <player> 向目标提问一个问题,死者可以用 yes 或 no 回答。
VIP:VIP 是一名无辜者角色,初始拥有 20 颗心。如果猎人击杀了他,他将获得 +5 颗永久心,而不是通常的 +1 颗。
守护者(The Protector):守护者是一名无辜者角色,可以通过 /protect <player> 保护目标玩家,默认保护时间为 60 秒。如果目标死亡,他将立即恢复 10 颗心。
恋人(The Lovers):恋人是特殊角色,因为每个角色都可以与其他角色叠加此角色。当恋人角色启用时,系统将选择两名玩家进入“恋爱”状态。当其中一方死亡时,另一方也会随之死亡。这也将永久击杀一名猎人。
治疗师(The Healer):治疗师可以在有限时间内以有限的生命值复活他人,且被复活者在此期间禁止说话。默认情况下,被治疗者将保持 5 分钟,拥有 5 颗心。
日记保管员(The Diary Keeper):日记保管员是一名无辜者角色,拥有日记功能,可通过 /diary <read|write> <the text> 使用。在该人死亡后,所有人将通过 /diaryread <player> 访问日记。
黑客(The Hacker):黑客是一名稀有且过于强大的无辜者角色。黑客可以:给任意一名玩家(包括自己)赠送 2 颗心,仅限一次;可以通过 /enablepermakill 启用永久击杀模式,如果在运行命令后成功击杀猎人且该命令在过去 2 分钟内未被再次运行,则该猎人将永久死亡;通过 /tphacker,黑客可以传送至任意选择的玩家,默认仅限一次;通过 /hunterspectator,黑客可以进入旁观者模式两次,持续时间可在 config.yml 中指定;通过 /huntersabotage,黑客可以干扰猎人的指南针,默认持续 2 分钟。
幸运猜测者(The Nice Guesser):幸运猜测者是一名无辜者角色,可以猜测某名玩家的角色。如果猜对,被猜测的玩家将死亡。如果猜错,幸运猜测者将死亡。
克隆者(The Nice Cloner):克隆者是一名无辜者角色,可以克隆任意玩家背包中的物品。如果克隆成功,他将拥有该玩家的物品栏内容,默认持续 2 分钟。在克隆期间掉落或放置的所有物品都将被移除。
幻影(The Phantom):幻影是一名猎人角色,可以通过 /phantom 命令或热键栏中的道具使自己隐身。
破坏者(The Sabotager):破坏者是一名猎人角色,可以通过 /sabotager <players|lights> 进行破坏。破坏灯光将使所有人失明指定时间;破坏玩家将使所有人隐形,但猎人除外,他仍然可以看到所有人。
工程师(The Engineer):工程师是一名无辜者角色,可以通过 /fix 修复破坏者的破坏行为。该角色默认仅在存在破坏者时启用。
神谕者(The Oracle):神谕者是一名无辜者角色,在每局开始时,他将收到一条消息,指出有一名玩家绝对不是猎人。
The Frontman:Frontman 是一个猎人角色,可以使用 /frontman redlight 来玩“一二三木头人”。该技能有 5 秒冷却时间,使用后所有玩家必须静止不动,否则将死亡。
The Voodoo:Voodoo 是一个猎人角色,可以标记两名玩家。如果被标记的两名玩家距离小于 10 格,两人都会死亡。
The Evil Guesser:与 Nice guesser(善良猜谜者)相同,区别在于这是一个猎人角色。
The Evil Cloner:与 Nice Cloner(善良克隆者)相同,区别在于这是一个猎人角色。
中立角色:中立角色既不站在无辜者一方,也不站在猎人一方。他们总是拥有自己的胜利条件。
The Jester:小丑的目标是让无辜者杀死自己;如果发生这种情况,他获胜。
The Swapper:交换者是一个中立角色,可以通过 /swap <player> 将自己的角色与指定玩家互换。互换后,他将获得被交换玩家的职业,而被交换的玩家则会变成交换者。
商店系统:商店系统的运作方式是,你需要拥有积分才能购买物品。你可以通过以下方式获得积分:
- 赢得游戏 +1 积分
- 侦探正确指控猎人 +4 积分
- 作为弄臣获胜 +5 积分
- 平民击杀猎人 +2 积分
作为猎人击杀无辜者:+1 点
使用 /shop buy <购买内容> 可以购买特权。
其他所有有效命令为:/rules、/starthunt <numberOfHunters>、/resethunt、/pointop、/points、/gamble
我知道目前存在不少 bug,请在我的 GitHub Issues 页面提交反馈。
感谢以下人员提供创意支持:Elite_Combat、eZ_PandaX
当前已知问题:
- VIP 功能无法正常使用
- 当游戏统计信息因角色物品而保存时,Slot 1 和 Slot 2 的数据会丢失
本项目采用 ARR 协议授权,但我允许他人基于此插件获取灵感进行二次开发,前提是需注明原作者署名。
NOTE:
I am currently NOT working on this project, because the transfer of the code to the newer versions, and the rewrite of specific parts of the plugin is very difficult, because the source code is written like garbage currently. I'm not in the mood to fix that, or bring new updates out. Thank you for understanding. EDIT: I just started recoding the plugin. It will be an revised version, and not exactly like the old versions. So it will be an entirely new plugin
The Project Idea was originally made by Sponker. I added a lot of features, also took some of zorato_04. Feel free to give suggestions in my Discord Server!
Maybe I'll release the Source Code in the future!
Explaination:
Secret Manhunt is a Manhunt like Gamemode, where the Hunters goal is to kill everyone and the Innocents Goal is to beat the Game. Now Secret Manhunt has the specialty of not knowing who the hunter is, unlike in the normal version.
Who the Hunter is gets determent by random. Now there are already a lot of good Secret Manhunt Plugins existing, but as stated in the Title, it's the Enhanced Version, which means that there are a lot of new features. I will now Explain all of the features, beginning with the Roles, there are currently more than 20 Roles for The Gamemode. If an Hunter kills an Innocent they will get 1 more permanant Heart. These are all of them (It is always possible to alter if the role should be enabled, how many should be there, what the chance is and more in the config.yml):
The Detective: The Detective is an Innocent Role that can with /accuse <player> accuse a player where he thinks is the hunter. If the accusation is correct, he will get 5 extra hearts, and everyone gets alerted that that person is the Hunter. If he guesses wrong tho, he will instantly die, without telling anyone who died.
The Scientist: The Scientist is an Innocent Role, that can see who lives, and who is dead. With /scientist he can see who is alive and dead, because it Death Messages are for everyone toggled off. The Scientist has an Cooldown for the ability, and also has a max limit of how often he can use the ability, both things can be changed in the config.yml.
The Eraser: The Eraser is an Innocent Role which can remove roles from players with /erase <player>. This will erase the Role of the Player, Not the main role. So for example an Innocent is a Detective, and if the eraser erases his role, he will be a normal Innocent, Same for Hunter Roles, which I will explain later.
The Seer: The Seer is an Innocent Role which can See Roles from other Players. With a Right Click on a Player he gets told the Role of the Player. e.g. he right clicks a Detective, and he gets told that the player he right clicked is an Detective. The specialty is now that if he reveals a Hunter, he will get to know their Role, but normally no one gets informed that they got revealed, except Hunters. They will see if they get Revealed, which makes it more intense.
The Athlete: The Atlete is an Innocent Role which makes you faster, juimp higher, and make a bit more damage.
The Noisemaker: The Noisemaker is an Innocent Role, where everyone gets alerted when they die. It will show that they died, and where they died.
The Woodhunter: The Woodhunter is an Innocent Role which can after they die kill a player with /woodhunter <player>. If its a Hunter it will not permanatly die. (Innocents will die permanatly after they die, and will get brought into Spectator mode.) The Hunter will be by default be dead for 3 minutes, and then they respawn. It's possible to change the time in the config.yml.
The Ghostbuster: The Ghostbuster is an Innocent Role which can with /ghostbuster <player> when they believe they are dead, ask them a quuestion where the dead player can answer with yes or no.
The VIP: The VIP is an Innocent Role which starts with 20 Hearts. If an Hunter kills them they will get instead of +1 Permanant Heart, recieve +5 Permanant Hearts.
The Protector: The Protector is an Innocent Role which can with /protect <player> protect the Person for default 60s. If they die, they will get instant 10 Hearts back.
The Lovers: The Lovers are a Special Role because every role can also have this role with another Role. The Lovers when enabled, will selected 2 Players that are then in "Love". When one of the Lover partner dies, the other will die to. This will also permanantly kill a Hunter.
The Healer: The Healer can revive people for a limited amount of time with a limited amount of health, which is also not allowed to talk. The default is that the healed player will stay for 5 minutes, with 5 hearts.
The Diary Keeper: The Diary Keeper is an Innocent Role which has a diary with /diary <read|write> <the text>, after the person dies everyone will have access to the Diary, with /diaryread <player>
The Hacker: The Hacker is a rare Innocent Role that is overpowered. The Hacker can: Give 2 hearts to a player they like (including themselves) once, they can enable a permakill mode with /enablepermakill, which will if they successfully kill a hunter after running the command and it having been run below 2 minutes, The Hunter will perm anantly die, With /tphacker, the Hacker can teleport him self to a player of his choice, by default, once, The Hacker can with /hackerspectator go into spectator twice, for a specified time in the config.yml, with /huntersaboatge the hacker can sabotage the compass of the Hunter/Hunters, for default: 2 Minutes.
The Nice Guesser: The Nice Guesser is an Innocent Role which can guess a Role from a player. If they guess Correctly, the guessed Player will die. If the nice guesser guesses wrong, he will die.
The Nice Cloner: The Nice Cloner is an Innocent Role which can Clone an Inventory of a Player of their liking. If they clone an y, they will have the Inventory of the player for a default amount of time which is 2 Minutes. Everything that is dropped, or placed during the cloning, will get removed.
The Phantom: The Phantom is an Hunter Role which can vanish himself with /phantom or with an item that he gets in his hotbar.
The Sabotager: The Sabotager is an Hunter Role that can with /sabotager <players|lights> Sabotage either the lights, which will give everyone blindness of an specified amount of time or Players, which will make everyone go invisible, except for the Hunter, he can still see everyone.
The Engineer: The Engineer is an Innocent Role which can with /fix, fix a saboatge of the sabotager. The Role is by default only enabled if there is an Sabotager.
The Oracle is an Innocent Role which will get at the beginning of the Round a message that one Player is to 100% not the Hunter.
The Frontman: The Frontman is an Hunter Role which can to /frontman redlight to play redlightgreenlight. It will be a 5 second cooldown, and after that everyone needs to stand still, or else they die.
The Voodoo: The Voodoo is an Hunter Role which can mark 2 Players, and if the 2 marked players go nearer than 10 Blocks, they will both die.
The Evil Guesser: The same as the Nice guesser, with the difference of it being an Hunter Role.
The Evil Cloner: The Same as the Nice Cloner, with the difference of it being an Hunter role.
The Neutral Roles: The Neutral Roles are roles that don't side with the Innocents, or the Hunters. They will always have a way to win themselves.
The Jester: The Jesters goal is to get killed by the Innocents, if that happens, he wins.
The Swapper: The Swapper is an Neutral Role which can swap his role with /swap <player>, he will get the role of the plaser he swapped with, and the swapped person will become the Swapper.
The Shop System: The Shopsystem works so, that you need to have points to purchase things. You can get points by Winning a game +1 Points
Accusing a Hunter as Detective Correctly +4 Points
Winning as Jester: +5 Points
Killing the Hunter as Innocent: +2 Points
Killing an Innocent as Hunter: +1 Point
With /shop buy <what to buy> you can buy perks.
All other valid commands are: /rules, /starthunt <numberOfHunters>, /resethunt, /pointop, /points, /gamble
I know that there are a lot of bugs. Please report them at my Github issueses page.
Credits of people that helped me with ideas: Elite_Combat, eZ_PandaX
Current known Bugs: The VIP doesn't work
Also when the game stats don't hold the slot 1 and 2 because of role items
The Project is Licensed as ARR, but I do allow, taking insperation from my plugin, but with I would like to get credits.
评论 0
登录后参与评分
还没有评论,来抢沙发吧