Hello, I searched for a Mafia plugin, but i didnt find one that got the most useful functions to control mafia (who dont know what's mafia about can look here: Click me!). I hope its possible to do and I (and maybe other of you who know that game) would be really happy about that Yours sincerely, Caillean Nobody who could program that? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I'm sure there are people who are able to program it here. I'm also sure that 3 hours during a week day isn't a huge amount of time to wait for a response.
I think I can do this one... Do you want it to be entirely text based, so players don't even have to be near each other, or do you want it to actually be a thing with like houses and working with the current day-night cycle or whatever? In other words, just give me the details of what you want.
1. Thx for the reply and that you can do this 2. I would like it more, if the players stand near each other and that day and night changes after a specific amount of time (maybe with the option for a faster game) like 2 min or something, because it would take too long if you have to wait for the day/night
Alright then... I'll have a little fun with this one. It might not be exactly what you want, but if anything, it'll be better.
Okay, I have a problem. I made this plugin, and it all works, but I did something very stupid. I tailored it to be specific to a certain sort of map... to the point where I hardcoded in all the warp points. I'll still give it to you, along with the map, but it's probably not what you expected. https://github.com/PhoenixFlight/Werewolf Explanation of folders: - dist has your jar in it - plugins has Multiverse in it (dependency) - src is the source - werewolf is the world I made for it Basic commands: /wolf start /wolf join /listplayers /priest /vision Wolves kill people by going to their house at night and climbing up to the roof, then flipping the lever. If you want to make your own world, then here are the things to keep in mind: 1. There are a lot of cool little things that are hardcoded in. One example is the town square catching fire during voting. The location of one of the netherrack blocks is hardcoded in so that it can tell where to place fire. I don't think that just not including those in a world will break anything, but if you you want to include it, just dig around a little in the source (anything that you would want to change will be pretty obvious and easy to find/change, even with zero coding experience) until you find the coords or whatever. 2. The maximum player count is really just the number of houses you're willing to make. If you want to raise that number, there are a couple things to do: First, go into WolfGame.java and change the value of MAXPLAYERS at the top Second, go into WarpPoint.java and add coordinates for another house and execution spot. Houses MUST be in the format HOUSE## and executioner blocks MUST be in the format EXECUTIONER##. Case sensitive. Third, go into HouseLevers.java and add the block location of the Lever for that particular house. Theoretically, you don't even really need to put the levers on the houses... you could just put them wherever. Again, it must be in the format HOUSE##. 3. It's NOT very thoroughly tested. I did some testing, but not a ton... if you find bugs, post them here along with screenshots of any exceptions thrown in the server console. I'll fix them asap. Have fun, and if this is totally not what you wanted, then at least it'll serve as a good starting point for another dev.
1. Thx that you at least tried it to code a plugin for this game 2. its a really nice start, but i hope this things would possible to code them in: -if you start a game, you have to give a number of players. after that, a village with houses will be spawned with the same number like the players -maybe more like mafia with many more roles, but you can do loadouts for each game, which can be loaded Last but not least, Thank you so much for that I hope that i am not only one who would be really exciting for a future plugin with regular updates