TitansBattle v3.0.0

Do you remember the coliseum games? They're back!
titans-battle.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).

A video from a server using this plugin:

(I need a video showing this plugin's functions, let me know if you can help)

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
YAML:
#This is a general configuration, for Game specific settings open the games folder
#SQL database settings
sql:
    #Set this as false if you want to use a flatfile instead.
    use-mysql: false
    database: "titansbattle"
    mysql:
        hostname: "localhost"
        port: 3306
        username: "root"
        password: "thepassword"
#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"
    ranking: "ranking"
 
#Date format used on /tb winners command
date-format: "dd/MM/yyyy"
#Set how many lines should be displayed on those commands
page-limit:
    help: 7
    ranking: 10
 
#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
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] "

#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 [PAGE] - shows this help
- /tb join - joins the game
- /tb watch - teleports to the watcher's room
- /tb exit - leaves the lobby/arena
- /tb ranking <GAME MODE> <PLAYERS | GROUPS> [KILLS | DEATH | DEFEATS] - shows a ranking with the best (or the worst) players/groups
- /tb winners <GAME MODE> [dd/MM/yyyy] - shows the latest winners or for the date informed
- /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 setdestination <GENERALEXIT> - sets your current location to the general exit
- /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
- 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
EULA: Standard EULA
539 Views
6 Downloads
May 30, 2019 Published
May 30, 2019 Updated
Not yet rated
130.7 KB File size
Supported software
Supported versions
Creator
Recommended for you
Prevents your server from crash packet exploits
5.00 star(s) 83 ratings
1,977 purchases
Elite formatting and filtering plugin. Can replace 200+ plugins. High-performance. Folia supported.
5.00 star(s) 102 ratings
1,970 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 54 ratings
1,707 purchases
Premium mobcoins plugin
5.00 star(s) 26 ratings
1,134 purchases
Easily add new mobs & AI to Minecraft (without datapacks or scripts).
5.00 star(s) 43 ratings
904 purchases
539 Views
6 Downloads
May 30, 2019 Published
May 30, 2019 Updated
Not yet rated
130.7 KB File size
Supported software
Supported versions
Creator
Recommended for you
Prevents your server from crash packet exploits
5.00 star(s) 83 ratings
1,977 purchases
Elite formatting and filtering plugin. Can replace 200+ plugins. High-performance. Folia supported.
5.00 star(s) 102 ratings
1,970 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 54 ratings
1,707 purchases
Premium mobcoins plugin
5.00 star(s) 26 ratings
1,134 purchases
Easily add new mobs & AI to Minecraft (without datapacks or scripts).
5.00 star(s) 43 ratings
904 purchases
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.