TitansBattle 2.0.1

Do you remember the coliseum games? They're back!

  1. RoinujNosde
    Tested Minecraft Versions:
    • 1.12
    IMG-20170812-WA0057.jpg

    First of all, this is not meant to minigame networks (maybe if you edit it).
    I developed it to use in my survival server, this is a very famous plugin in Brazil. People know it as "Gladiador".
    Note: the original plugin had only one game mode (GROUPS_REAL in this one). This one has 4 modes and supports Factions.

    I hope you enjoy it :)

    How does it work?
    Before anything, if you wanna the original experience (Gladiador), change "ask-for-game-mode" to false and "default-game-mode" to "GROUPS_REAL".
    You can start the games manually using commands or using the Scheduler feature (I explain a little bit about it in the config.yml below).

    The four game modes:
    GROUPS: Groups fight each other until only one group is alive. You must use SimpleClans or Factions.
    FREEFORALL: Players fight each other until only one is standing. No need for SimpleClans or Factions in this mode.
    REAL: Players must use their own items.
    FUN: You set the battle kit.

    For the winner group (or player) you can give money, command or item prizes.
    The one who killed the most in the game gets join and quit messages (if enabled) and a cool prefix in Legendchat.
    (The winners also get the prefix and the join/quit messages).

    I found a bug, what do I do?
    Report it in the Discussion section, please. Also paste your config files in pastebin.com.

    How to install?
    1. Put TitansBattle.jar in your plugins folder;
    2. Set the destinations/prizes/kits for the games
    3. Enjoy!

    There are 4 modes, I want different messages!
    OK! :)
    Just go under "language" in the game file, and add the messages you want to be different from the rest.
    Example:
    language:
    starting_game: "&aThis message is specific for this game!"

    Config
    Code (YAML):

    #This is a general configuration, for Game specific settings open the games folder
    #Language used in plugin's message
    language
    : en
    #Send more output to the console?
    debug
    : false
    #Change the commands
    commands
    :
        join
    : "join"
        exit
    : "exit"
        start
    : "start"
        cancel
    : "cancel"
        setdestination
    : "setdestination"
        setinventory
    : "setinventory"
        help
    : "help"
        reload
    : "reload"
        watch
    : "watch"
        winners
    : "winners"
    #List here commands that the plugin will not block in battle phase
    allowed_commands
    : ["/tb exit", "/tb winners"]
    #On /tb winners, for instance, you have to insert the game mode as in: "/tb winners GROUPS_FUN", but, if you only use one of the 4 modes,
    #you can set this as false and set the mode you use on "default-game-mode".
    ask-for-game-mode
    : true
    #Game modes: GROUPS_FUN | GROUPS_REAL | FREEFORALL_FUN | FREEFORALL_REAL
    default-game-mode
    : "FREEFORALL_REAL"
    #Destinations
    destinations
    :
        general_exit
    :
     
    #Will the game begin automatically? Which game? When?
    #Game modes: GROUPS_FUN | GROUPS_REAL | FREEFORALL_FUN | FREEFORALL_REAL
    #Day: 1 = Sunday
    #In GROUPS, players must be part of a SimpleClans' Clan or a Factions' Faction
    #There is not for that in FREEFORALL
    #In REAL, players will use their own items in the game
    #In FUN, the server will provide the temporary items
    #Hour format: 0 to 24
    #Minute format: 0 to 59
    #If you want more schedulers, just follow the example below, copy them and change the number
    scheduler
    :
      enabled
    : true
      schedulers
    :
        1
    :
          game
    : GROUPS_FUN
          day
    : 1
          hour
    : 18
          minute
    : 30
        2
    :
          game
    : FREEFORALL_REAL
          day
    : 2
          hour
    : 10
          minute
    : 30
           
    #Data used by the plugin, don't edit it.
    data
    :
        respawn
    : []
        clear_inv
    : []
     
    A game config file
    Code (YAML):

    #Game announcements
    announcements
    :
     #Before the game starts, how much messages will be sent to players and how much time between them?
      starting
    :
        times
    : 2
        interval
    : 30
      #Insert the interval of the message with informations of the game
      game_info
    :
        interval
    : 30
     
    #Delete non participating groups
    delete_groups
    : false

    #Minimum to start the game
    minimum
    :
        players
    : 10
        groups
    : 2

    #The time to finish the game if no one wins (in seconds)
    expiration_time
    : 3600

    #The time for the players to gegt ready
    preparation_time
    : 30

    #If join/quit messages are on and the player is both killer and winner, choose wich one will be used
    join_or_quit_message_priority
    : KILLER #Available option: KILLER | WINNER

    #Should join/quit messages be sent when a winner/killer joins the server?
    winner-quit-message
    : true

    winner-join-message
    : true

    killer-quit-message
    : true

    killer-join-message
    : true

    #Prizes for the winners
    prizes
    :
       #If player's inventory is full, this is the frequency in seconds to ask to clear the inventory
        items_give_interval
    : 30
        #If true, leaders will receive the same prizes as defined for members
        treat_leaders_as_members
    : false
        leaders
    :
            items
    :
                enabled
    : false
                item_list
    :
            commands
    :
                enabled
    : false
                some_number
    :
                    value
    : 100.0
                    divide
    : true
                command_list
    : ["give %player% diamond_sword %some_number%", "eco give %player% %some_number%"]
            money
    :
                enabled
    : false
                divide
    : false
                amount
    : 10000.0
        members
    :
            items
    :
                enabled
    : false
                item_list
    :
            commands
    :
                enabled
    : false
                some_number
    :
                    value
    : 10
                    divide
    : true
                command_list
    : ["give %player% diamond_sword %some_number%", "eco give %player% %some_number%"]
            money
    :
                enabled
    : false
                divide
    : false
                amount
    : 10000.0
             
    #Destinations used by the plugin
    destinations
    :
        exit
    :
        lobby
    :
        watchroom
    :
        arena
    :  
     
    #Hooks configuration
    hooks
    :
     #If you use Legendchat, add {tb_groupsreal_killer} and {tb_groupsreal_winner} in its chat format settings
      legendchat
    :
          killer
    :
              prefix
    : "[Killer] "
          winner
    :
              prefix
    : "[Winner] "
         
    #Data used by the plugin, don't edit it.
    data
    :
        killer
    :
        winners
    : []
        winner_group
    : ""

    #Use this to set a specific message for this game mode.
    language
    :
    Permissions
    - titansbattle.admin - allow the use of all commands
    - titansbattle.player - allows the use of player commands
    - titansbattle.<commandname>- allow the use of /tb <commandname>

    Commands
    - /tb help - shows this help
    - /tb join - joins the game
    - /tb exit - leaves the lobby/arena
    - /tb winners <GAME MODE> - shows the winners list
    - /tb watch - teleports to the watcher's room
    - /tb start <GAME MODE> - starts the game
    - /tb cancel - cancels the game
    - /tb reload - reloads the config and language
    - /tb setdestination <EXIT | ARENA | LOBBY | WATCHROOM> <GAME MODE> - sets your current location to a game destination
    - /tb setinventory kit <GROUPS_FUN | FREEFORALL_FUN> - sets your inventory as the game kit
    - /tb setinventory prize <LEADERS | MEMBERS> <GAME MODE> - sets your inventory as the game prize

    Dependencies
    - Factions or SimpleClans (optional, required for group based games)
    - Vault and Economy plugin (optional, required for money prizes)
    - Legendchat (optional)

    To-do
    - Add the tab complete feature
    - Store data using MySQL or SQLite
    - Add bar boss messages
    - Send clickable messages
    - Add title messages
    - Disable Faction's "You are in truce" message
    - Add spectator mode
    - Document plugin's methods

Recent Updates

  1. Bug fix (v2.0.1)

Recent Reviews

  1. zKingOfKill
    zKingOfKill
    5/5,
    Version: 2.0.1
    I tested the plugin before when it was in development, and it was already good, now it's even better.
    The best plugin and the best dev!
    1. RoinujNosde
      Author's Response
      Thanks for testing and reviewing, man! :)