Sueta

⚡RussianRoulette⚡ | Fun Mini-game

1.0

minigame where only luck can help you

·Plugin

RussianRoulette

⚠DecentHolograms required⚠
--link--

------------------------ABOUT-------------------------

  • ⚡It is not just a single command

You may know other RussianRoulette plugins. Most of them only provide a single command to test your luck. But there are no minigames about that famous russian game!

So, I decided to create one myself.

  • ⚡Game rules

- Minigame has seat points. When player joins the game, he takes a free seat or becomes the spectator if all seats are occupied.

- Minigame has 3 rounds

- Minigame has turns. The player, whose turn, is teleported to a center.

- Each end of a turn starts a 'bet time'. It is a time when players(except shooter and victim) can make a bet whether shooter will shoot or not.
If player wins a bet, he gets a 'luck bonus'. This bonus affects on chance to shoot.

- Each player has 2 health. When player 'dies', he becomes a spectator

Round I:
At this round player selects the amount of bullets to use.
More bullets - higher chance to shoot yourself (lose 1 health),
but at the same time - Less bullets he will get next round

upload_2022-10-9_12-49-51.png

Round II:
At this round player gets a specific amount of bullets, depending on a previous round.

Round III:
Firefight! Final round, where player can select a victim.
Player gets random amount of bullets

upload_2022-10-9_12-47-2.png

----------------------INSTALLATION---------------------

  • 2) (Soft dependency, for chat) install Vault plugin,if you don't have it
  • 3) install .jar file into the /plugins folder, then start/restart server
  • 4) Create your first game

/rrarena create [id] - opens arena creation menu
/rrarena setmainlobby - saves the location, where player will be teleported on game finish

-----------------------------INFO-----------------------------

I 'm planning to add:

  • Custom effects
  • Support versions 1.8-1.15


If you have any question/suggestion or found an issue:
Discord guild: https://discord.gg/R2Wk5ZRXxp

All Commands:

For players(permission: 'rr.player')

/rr join [id] - Join the specified game
/rr play - open game selector menu
/rr playRandom - Join random game(with most players)
/rr sit - Take a seat
/rr leave - Leave the game

Arena settings(permission: 'rr.create')

/rrarena create [id] - Create new arena
/rrarena edit [id] - Edit existing arena
/rrarena getItems - gives items to edit the arena. Use it if you lost them
/rrarena setMainLobby - save main lobby
/rrarena remove [id] - remove arena
/rrarena list - list of loaded arenas

For admins(permission: 'rr.admin')

/rradmin reload - reload configuration files

Preview config file:

Config.yml
GENERAL:
  # If set to true, will log plugin actions in console
  debug: false
Timers:
  # playTime limiter in seconds
  # -1 - game will be finished when there will be a winner.
  playTime-limit: -1
  # Game start delay
  start_delay: 30
  # How much time should game wait for shooter's decision
  WaitingShooter_time: 30
  # Bid time
  bid_time: 10
  # Pause between rounds
  nextRound-delay: 10
  # Pause before teleporting next shooter
  nextShooter-delay: 5
  # Pause before kicking the players from finished game
  finish_delay: 15
  # Allowed commands in game
  cmd_whitelist:
  - rr leave
  - rr sit

Preview lang file:

lang.yml
GENERAL:
  unknown_cmd: "&cUnknown command, /rr help"
  no_permission: "&cYou have no permission"
  not_enough_args: "&cMore arguments needed. /rr help"
MESSAGES:
  playerJoined: "&aPlayer &l%player%&a joined the game"
  playerLeft: "&cPlayer &l%player%&c left the game"
  startTimer: "&aGame starts in &l%timer%"
  shooterBullets: "%shooter%&e received&c %bullets%&e  We all wonder, who will become a victim"
  shooterDecideTooLong: "%shooter%&c - Was too scared to shoot, the evil developers took control of him"
  playerEscaped: "%player%&с - Escaped. What a coward!"
  Misfire: "&ePlayer &l%victim%&e - Survived! Looks like other players are disappointed"
  ShootWithoutBullets: "&ePlayer &l%shooter%&e haven't installed a single bullet. What a coward! He will regret in the next round"
  bid_started_suicide:
  - "&e**************** RussianRoulette ****************"
  - "&aTime to bid!"
  - "&a%shooter% - shooting himself"
  - "&aBullets loaded: %bullets%"
  - "&aShooter's luck: %shooter_luck%"
  - ""
  - "&aChance to shoot: %shoot_chance%"
  - "&e**************** RussianRoulette ****************"
  bid_started_killOther:
  - "&e**************** RussianRoulette ****************"
  - "&aTime to bid!"
  - "&a%shooter% decided to kill %victim%"
  - "&aBullets loaded: %bullets%"
  - "&aShooter's luck: %shooter_luck%"
  - "&aVictim's luck: %victim_luck%"
  - ""
  - "&aChance to shoot: %shoot_chance%"
  - "&e**************** RussianRoulette ****************"
  bid_finished:
  - "&e**************** RussianRoulette ****************"
  - "&aWon bet:"
  - "&7%winners%"
  - "&cLost bet:"
  - "&7%losers%"
  - "&e**************** RussianRoulette ****************"
  player_suicide:
  - "&cPlayer &l%shooter%&c was too unlucky to live."
  - "&cPlayer &l%shooter%&c died by accident"
  - "&cPlayer &l%shooter%&c committed a suicide. "
  - "&cPlayer &l%shooter%&c forgot to say last words"
  - "&cPlayer &l%shooter%&c shouldn't play the casino. Well, he won't be able to, I guess..."
  - "&cPlayer &l%shooter%&c was killed by the evil developers"
  player_killed_other:
  - "&cPlayer &l%victim%&c will visit &l%shooter%&c at night as an evil spirit"
  - "&cPlayer &l%shooter%&c killed &l%victim%&c by accident"
  - "&cPlayer &l%shooter%&c committed a crime by killing &l%victim%&c, but we won't tell anyone"
  player_damaged_other:
  - "&cPlayer &l%shooter%&c hurt feelings of &l%victim%"
  - "&cPlayer &l%shooter%&c shot the &l%victim%&c by accident"
  - "&cPlayer &l%shooter%&c almost killed the &l%victim%"
  - "&cPlayer &l%shooter%&c apologizing for shooting at &l%victim%  He didn't want to!"
  - "&cPlayer &l%victim%&c is planning to get a revenge from &l%shooter%&c for that unfair shot!"
  finish:
  - "&e**************** RussianRoulette ****************"
  - "&aWinner:"
  - "&a&l%winner%"
  - "&e**************** RussianRoulette ****************"
  teleport: "&eTeleportation in &l%timer%"
TITLES:
  BecameSpectator: "&cYou are spectator"
  YourTurn: "&cYour turn"
  YouWon: "&6You won!"
  secondRoundStart_title: "&aRound 2"
  secondRoundStart_subtitle: "&e'Idk how to name it:('"
  finalRoundStart_title: "&aFinal round"
  finalRoundStart_subtitle: "&e'Firefight!'"
GUI:
   
  Game:
    chooseVictim: "&cChoose a victim"
   
  Selector:
    GameSelectorMainPage: "&6Play the RussianRoulette"
    GameSelectorArenasPage: "&6Choose arena"
     
    Items:
      ArenaItem_Lore:
      - ""
      - "&7Players: &a%rr_arena_online%/%rr_arena_max%"
      - "&7State: &a%rr_arena_state%"
      - ""
      - "&eClick to play!"
      closeItem_name: "&cClose"
      playItem_name: "&aRandom game"
      playItem_lore:
      - "&7Click to join the random game"
      - "&7The algorithm will send you to"
      - "&7the game with most amount of players"
      chooseArenaItem_name: "&aChoose specific arena"
      chooseArenaItem_lore:
      - "&7Do you have your favorite game map?"
      - "&7<Click here>"
HOLOGRAM:
  PendingForPlayers:
  - "&7>>&cRussian Roulette&7<<"
  - "&eFunny game to test your luck"
  - ""
  - "&eArena: &a%arena_name%"
  - "&eMin players: &a%min_players%"
  - "&ePending for players:&a %current_players%/%max_players%"
  RoundDelay:
  - "&7>>&e%round%&7<<"
  - ""
  - "&aStart in"
  - "%timer%"
  WaitingForShooter:
  - "&7>>&e%round%&7<<"
  - "&eShooting: &a%shooting%&7->&c%victim%"
  - "&eChance to shoot: &a%shoot_chance%%"
  - ""
  - "&aWaiting for player's decision"
  - "%timer%"
  BetTime:
  - "&7>>&e%round%&7<<"
  - "&eShooting: &a%shooting%&7->&c%victim%"
  - "&eChance to shoot: &a%shoot_chance%%"
  - ""
  - "&aTime to bet!"
  - "%timer%"
  #Random holo line when victim death
  killed_random:
  - "&cELIMINATED!"
  - "&cANNIHILATED!"
  - "&cDEAD!"
  - "&cKILLED!"
  - "&cKILLED!"
  #Random holo line when victim injured
  injured_random:
  - "&eINJURED!"
  - "&eALMOST DEAD!"
  - "&eMISFORTUNE!"
  - "&eWHOOPS"
  #Random holo line when shooter misfire
  misfire_random:
  - "&aMISFIRE!"
  - "&aMISFIRE!"
  - "&aLUCKY GUY!"
  - "&aSURVIVED!"
SCOREBOARD:
   
  displayName_starting: "&eRussian&cRoulette"
  score_starting:
  - ""
  - "&fPlayers:&b %players%/%players_max%"
  - ""
  - "&fStart in:&b %timer%"
  - ""
  - "&fMap:&b %map%"
  - ""
  - "&eyour.website.com"
   
  displayName_game: "&eRussian&cRoulette"
  score_game:
  - ""
  - "&fSpectators:&b %spectators%"
  - ""
  - "&fPlaying:&b %players%"
  - ""
  - "&fRound:&b %round%"
  - "&fCurrent shooter:&b %shooter%"
  - ""
  - "&fLuck bonus:&b %luck%"
  - ""
  - "&fMap:&b %map%"
  - ""
  - "&eyour.website.com"
   
  displayName_spectator: "&eRussian&cRoulette"
  score_spectator:
  - ""
  - "&fSpectators:&b %spectators%"
  - ""
  - "&fPlaying:&b %players%"
  - ""
  - "&fRound:&b %round%"
  - ""
  - "&fCurrent shooter:&b %shooter%"
  - ""
  - "&fMap:&b %map%"
  - ""
  - "&eyour.website.com"
ITEMS:
  bidYes: "&cWill shoot"
   
  bidNo: "&aWon't shoot"
   
  addBullet: "&cAdd bullet(-1 bullet next round)"
   
  removeBullet: "&cRemove bullet(+1 bullet next round)"
   
  shoot: "&cShoot&7(&eChance:&c %chance%% &eBullets:&c %bullets%&7)"
   
  shoot_victim: "&cShoot&7(&eBullets:&c %bullets%&7)"
OTHER:
  chatFormat_spectator: "&7EvilSpirit >> %vault_prefix% &r%player%: %msg%"
  chatFormat_player: "&aPlayer >> %vault_prefix% &r%player%: %msg%"
  round_Disabled: "&cOffline"
  round_PendingForPlayers: "&aPending for players"
  round_name_1: "Round 1"
  round_name_2: "Round 2"
  round_name_final: "Final round"
  round_starting: "&aStarting"
  round_active: "&aActive"
  round_finishing: "&eFinishing"

Similar projects

Plugin →