SmartTournament [1.7-1.8] 1.2.3

Register now to download for free
Start automated 1v1 tournaments for your players.
https://www.spigotmc.org/resources/smarttournament.25755/
smarttournamentlogo-png.148398

This plugin allows server owners to hold automated 1v1 tournaments for their players. The plugin cycles through winners of certain matches and puts them against other match winners until one final winner is determined. The plugin is highly configurable and safe.

Features:
  • Multiple arena support to allow tournaments to run faster.
  • Configurable armor, inventory, and potion effects for players fighting.
  • CombatTagPlus support to allow teleportation when tagged.
  • System to prevent players from losing items when entering tournaments.
  • Support for both Spigot 1.7 and Spigot 1.8.
  • Automatic cycling of players for new matches (matches are not determined beforehand allowing the system to still work if players leave the tournament).
This plugin requires:
  • Java 8
  • Spigot 1.7.x or 1.8.x
  • CombatTagPlus (will update this soon to make this requirement optional)
Command / Permission:
- The values for <position> are either '1' or '2'.
- There are multiple aliases listed for /tournament in the plugin.yml.

  • smarttournament.default
    • /tournament join - join the tournament
    • /tournament leave - leave the tournament
  • smarttournament.start
    • /tournament start - start the tournament
  • smarttournament.end
    • /tournament end - forcibly end the tournament
  • smarttournament.setspawn
    • /tournament setspawn <arena> <position> - set arena area and position
    • /tournament setspawn -spectator - set spectator area
    • /tournament setspawn -world - set world spawn
  • smarttournament.chatbypass - allows the player to use commands in a tournament
Configuration:
Code:
#===============================================[ Notes ]================================================#
# name: SmartTournament                                                                                  #
# author: Hid                                                                                            #
# version: 1.2.0                                                                                         #
#========================================================================================================#

configuration:
   prefix: "&4Tournament &8//&a "
   prefix-enabled: true
   tournament-start-delay: 60
   match-duration: 180
   minimum-players-to-start: 2
   maximum-players-allowed: 3
   force-player-clear-inventory: true
   disable-commands-in-tournament: true
   countdown-values:
   - 120
   - 60
   - 30
   - 15
   - 10
   - 5
   - 3
   - 2
   - 1
   when-fighting:
      ensure-max-health: true
      ensure-max-hunger: true
      ensure-max-saturation: true
      ensure-min-exhaustion: true
      ensure-survival-gamemode: true
      prevent-drop-items: true

      effects:
         SPEED: 2
         INCREASE_DAMAGE: 1
      armor:
         0:
            material: DIAMOND_HELMET
            enchantments:
               PROTECTION_ENVIRONMENTAL: 2
         1:
            material: DIAMOND_CHESTPLATE
            enchantments:
               PROTECTION_ENVIRONMENTAL: 2
         2:
            material: DIAMOND_LEGGINGS
            enchantments:
               PROTECTION_ENVIRONMENTAL: 2
         3:
            material: DIAMOND_BOOTS
            enchantments:
               PROTECTION_ENVIRONMENTAL: 2
      inventory:
         0:
            material: DIAMOND_SWORD
            material-id: 0
            amount: 1
            enchantments:
               DAMAGE_ALL: 2
            slot-numbers:
            - 0
         1:
            material: POTION
            material-id: 16421
            amount: 1
            enchantments: {}
            slot-numbers:
            - 1
            - 2
            - 3
            - 4
            - 5
            - 6
            - 7
            - 8

   cmd-whitelist:
   - /tournament
   - /st
   - /stournament
   - /smartt
   - /tourney
   - /stourney
   - /msg
   - /r

messages:
    no-permission: "&cYou do not have permission to execute this command."
    improper-usage: "&cImproper usage. Proper usage for this command: /tournament join | leave | start | end | setspawn <arena> <1|2> | setspawn <-spectator|-world>."
    invalid-sender: "&cInvalid sender. You must be a player to perform this command."
    invalid-number: "&cInvalid number. You must enter a positive integer."
    severe-error: "&cSevere error. Please contact an administrator."
    no-tournaments-running: "&cThere are currently no tournaments running."
    not-enough-players: "&eThere are not enough players for this tournament to start."
    maximum-players-reached: "&cThe maximum number of allowed joins for this tournament has been reached."
    already-in-tournament: "&cYou are already in the tournament."
    not-in-tournament: "&cYou are currently not in a tournament."
    match-start-broadcast: "&c{initiator} &7and &c{opponent} &7are now fighting."
    match-winner-broadcast: "{winner} has won the match!"
    match-idle-broadcast: "&a{initiator}&7 and &a{opponent} &7have both been eliminated for idling."
    spectator-area-set: "&aYou have successfully set the spectator area."
    arena-invalid-position: "&cInvalid number. You must enter either 1 or 2 for the position."
    arena-set-success: "&7You have successfully set position &a#{position}&7 for the arena: &a{arena}&7."
    require-empty-inventory: "&cYou must empty your inventory and armor contents before joining."
    world-spawn-set: "&aYou have successfully set the world spawn point."
    command-use-denied: "&cYou cannot use this command in the tournament."
    tournament-already-started: "&cThe tournament has already started."
    tournament-areas-not-set: "&cYou must set the world spawn point, spectator area, and arena area(s) first."
    tournament-countdown-broadcast: "&7The tournament will begin in &c{countdown} &7second(s)."
    tournament-joined-success: "&aYou have successfully joined the tournament."
    tournament-joined-broadcast: "&e{username} &7has joined the tournament."
    tournament-left-success: "&aYou have successfully left the tournament."
    tournament-left-broadcast: "&e{username} &7has left the tournament."
    tournament-start-success: "&aYou have successfully started the tournament."
    tournament-pre-start-broadcast: "&eA 1v1 tournament is going to begin. Type /tournament join to join the tournament."
    tournament-post-start-broadcast: "&eThe tournament has started!"
    tournament-end-success: "&aYou have successfully ended the tournament."
    tournament-end-broadcast: "&eThe tournament has forcibly been ended."
    tournament-no-winner-broadcast: "&eUnfortunately, no one has won this tournament."
    tournament-winner-broadcast: "&e{winner} &7has won the tournament!"

world-spawn:

spectator:

arenas:
Developer API:
Future Updates:
  • Add reward system for winner.
  • Prevent deaths from damage caused from other sources.
  • Add maximum number of players who can join tournament.
  • See names of players that are in the tournament via command.
  • See what matches are currently going on via command.
  • Statistics for tournament kills, deaths, wins.
  • Support for VanishNoPacket to automatically unvanish players who join the tournament in vanish.
  • Support for servers with Spigot 1.9 or Spigot 1.10
  • Requests?
Important Notes:
Terms of Service:
  1. You cannot redistribute this plugin to anyone.
  2. You cannot resell this plugin to anyone.
  3. There are no refunds unless on special circumstances that I decide.
  4. You cannot decompile this plugin and/or share the source.
If there are any bugs or issues, please either reply to the discussion describing the bug in detail or private message me on the forums.

Latest updates

  1. SmartTournament v.1.2.3

    Updates: Added VanishNoPacket support to automatically unvanish vanished players upon joining...

Author

Synic

Owner
Author
Synic
Downloads
284
Views
4,389
First release
Last update
Rating
0.00 star(s) 0 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.