Minecraft Leaks
[MiniGame] Murder Mystery 2 [Bungee/Multi Arena] [MySQL Support]
Submitted by FroxiakPL, 02-01-2018, 06:21 PM, Thread ID: 67980
Thread Closed
Description:
Murder Mystery is a simple and fun Minigame, 1 player is a Murderer and 1 player is a Detective and all the other players are Innocents, the detective and innocents should kill the murder before they get killed by him!
Roles:
Murderer
The murder has a knife, his job is to kill everyone in the game to win if there are still innocent players alive when the timer runs out, the Innocents win, the murder can kill anyone with one hit!
Detective:
The Detective his job is defending the Innocents. After the game starts the Detective gets a bow with infinite arrows he should shoot the murder saving the Innocents and winning the game. if the detective killed the wrong person (not the murder) both of them will die and a bow will drop the next one who picks up the bow will be the detective and have a chance to kill the murder.
Innocents
All the rest of players are innocents their job is to hide and run to not get killed by the murder they have a chance to collect gold and get a bow to kill the murder if they hit someone else by accident (not the murder) both of them will die.
Features:
Easy to setup the game
Simple commands and ways to set up the game fast
Multi-arena support
You can create arenas as much as you want | you can create multiple worlds and create arenas in it
LeaderHeads Support
Show top players on armor stands, heads etc..
PlaceholderAPI support
You are able to use any PlaceholderAPI placeholders on every message sent by Murder plugin.
Efficient scoreboard system
There are 4 scoreboards
Countdown:
%countdown% countdown time
%max% max players in game
%size% online players in game
Stats:
%kills% shows number of kills
%deaths% shows number of deaths
%wins% shows number of wins
%loses% shows number of loses
%score% shows number of score
Lobby:
%min% number of online players in game
%max% max players in game
Ingame:
%date% | date
%innocents% | number of innocents alive
%role% | your role
%map% | map name
%time% | game time
%spectators% | spectate players amount
%score% | shows your score
%kills% | shows your in game kills
%bow-state% | shows if the detective bow dropped or not
Stats
Stats system to save [Loses, Wins, Kills, Deaths]
Murder Ability
Throwing sword
Rewards
Custom win rewards per arena
Settings
Each arena has custom settings for the gameplay
Spectator compass
Custom spectate compass to teleport to in-game players
Language file
To translate all text in game
Signs
Simple and custom join signs
Tracker Compass
Track dropped bow
Different type of messages
Normal messages Title messages
ActionBar messages
Title messages
Bungee Games Option
Per server game
MySQL
Save player stats with MySQL
Corpses
Dead players on ground
Mystery Potions
Get in game random potions by clicking a specific block created by an admin
Map Voting For Bungee
If you have more than 1 Arena in bungee there will be a map voting
Commands:
Player commands:
/murder the main command
/murder join <arena>
/murder leave
/murder stats
/murder stats <player>
/murder randomjoin | murder.randomjoin | Random arena join
/murder arenas | murder.arenas | shows arena select GUI
Admin commands: | Permission: murder.admin
/murder admin main command
/murder create <arena>
/murder remove <arena>
/murder setlobby
/murder setwait <arena>
/murder setspectate <arena>
/murder addspawn <arena> <number>
/murder addgold <arena> <number>
/murder start <arena>
/murder stop <arena>
/murder reload
/murder settime <arena> <seconds>
/murder addpotion <arena>
/murder removepotion <arena>
/murder setmin <arena> <number>
/murder setmurderamount <arena> <number>
/murder setdetectiveamount <arena> <number>
Setup:
Multi Arena:-
Set the main lobby (/murder setlobby)
Create an arena using this command (/murder create <arena name>)
Set the waiting lobby for the arena (/murder setwait <arena>)
Add spawns for the arena using this command (/murder addspawn <arena> <number> | Spawn numbers should start from number 0
Add gold spawns for the arena using this command (/murder addgold <arena> <number> | Spawn numbers should start from 0
Set the spectator position (/murder setspectate <arena>)
Set the time for the arena (/murder settime <arena> <seconds>)
Add the potion stand (/murder addpotion <arena>) | Add potion for a target block for the arena
Bungee:-
Enable bungee in config.yml
If you want direct join to the arena when you join the server just create one arena with the setup tutorial above.
If you want to have multi arenas for bungee server and map selector/votes
Create multiple arenas using the methods above and reload the server at the ending and all players should get an item to vote for the map requires (murder.vote) permission to vote for the map.
Mystery Potions:
When you create an arena you can add mystery potions using this command
/murder addpotion <arena> | it will be added on the target block
Using holographic displays to create a hologram above the potion machine
To create a mystery potion look at this example.
Code (Text):
Potions:
Speed-Potion:
type: SPEED
time: 10
name: '&bSpeed'
title: '&bSpeed'
subtitle: '&710S Of speed'
level: 1
Potion Name: Speed-Potion | it should not have spaces
Type: Speed
Time: 10 seconds
Displayname: &bSpeed
Title and subtitle on drink potion
level of the potion
To create more potions copy and paste the example and change the potion name.
Rewards:
Code (Text):
test:
win-rewards:
'0':
- say %player% test reward
- say %player% test reward2
Test = arena name (rewards for arena test)
0 reward number you can add more rewards like 0, 1, 2 random rewards if player win
remove test to make win rewards public for all arenas
Signs:
Note: all variables in the signs are custom in messages.yml
Join specific arena sign:
Code (Text):
[murder]
arena
Join random arena sign:
[MurderAuto]
Map Voting Menu:
When you have the map voting feature is enabled, you will get a default item when you join the server and when you click the item you will see the map voting menu, so the items in the GUI are default paper with maps names if you want to change the paper all you need to do in config.yml is going to a blank/white spot and add your arena name for example test and near it add the item ID and Sub ID, for example, this is config
Code (Text):
test: 35;14
So the item in GUI for arena test would be a red wool (35 means wool id) (14 red data)
API: Class name [MurderAPI].
Code (Text):
Main.getInstance()
getKills(Player)
getScore(Player)
getDeaths(Player)
getWins(Player)
getLoses(Player)
getScore(Player)
Arena a = Arenas.getArena(Player)
a. ctrl + space for methods
Main.api.setNonSql or SqlData (player, wins, loses, kills, score, deaths)..
Users browsing this thread: 5 Guest(s)