BattleShowdown

Discussion in 'Plugin Requests' started by adi0115, Nov 8, 2016.

Thread Status:
Not open for further replies.
  1. Plugin category: PvP/Fun

    Minecraft version: 1.8.8

    Suggested name: BattleShowdown

    What I want: This plugin will allow staff to set up a 1v1 between 2 players, people can buy tickets to see the battle, when the battle is over, the winning person receives a rewards and everybody get's teleported to spawn.

    Ideas for commands:
    [Setup commands]
    /bs setspawn 1 - sets the location of spawn for player 1 when the battle starts
    /bs setspawn 2 - sets the locations of spawn for player 2 when the battle starts
    /bs setspawn croud - sets the location of spawn for the people who bought the tickets to see the battle
    /bs setspawn end - sets the location where everybody will get teleported after the fight ends
    [Fight setup]
    /bs fight [player1] [player2] Xw Xd Xh Xm - sets up the fight between the players, then you can set when it's going to start, weeks, days, hours and minutes.
    /bs start [player1] [player2] - starts the fight between the player after the time runs out, this commands cannot be executed if the time from /bs fight has not run out, if it has, the two people fighting gets teleported to spawn 1 and spawn 2 and any people online who bouht a ticket, to the croud spawn.
    [Tickets & GUI]
    /battle - brings up a GUI with battles that were set from /bs fight, it will display who the fight is between, when it starts, and how much is the ticket, if a player clicks on the fight, he will buy a ticket.

    Ideas for permissions:
    bs.setup - access to all Setup commands and Fight commands
    bs.gui - access to /battle

    When I'd like it by: By Friday 11th or Saturday 12th

    Exmaple of the config:
    This is what I would like the config to look like, everything is customizable
    Code:
    Prefix: '&aBattleShowdown'
    #This is displayed infront of every BattleShowdown message
    
    Ticket-buy: eco remove %player% 100
    #What command is executed when a player buys a ticket
    
    Ticket-cost: 100 Dollars
    #Displays how much is the ticket for the battle in /battle GUI
    
    Battle-Start: broadcast &cBattle between %fighter1% and %fighter2% has begun!
    #Command when /bs start is excecuted
    
    Winner-command: eco give %winner% 10000
    #Command excecuted to the winner when their win the battle
    
    Ticket-purchase: &cThank you for purchasing a ticket to this battle!
    #Message send to the player when he buys a ticket
    
    Winner-message: &aYou have won the battle!
    #Message sed to the winner
    
    Global-broadcast: broadcast &c%player1% has won a fight between %player2%
    #Command excecuted to everybody after the fight
    All commands from the config are executed by the console
     
    Last edited: Nov 8, 2016
  2. Offline

    DarkSteve25

    Am still learning how to abstract the base command to all the classes. That's the reason why i have not made this plugin for you as yet
     
  3. Offline

    ipodtouch0218

    @DarkSteve25
    Are you seriously making different CommandExectors for each sub-command? Whyyyyy?

    @adi0115
    If you just want one arena, then I can gladly make this for you.
     
  4. I only need one arena, thanks.
     
  5. Offline

    DoggyCode™

    Multi arena support would be more lucrative


    Sent from my iPhone using Tapatalk
     
  6. Multi arena makes more sense, but on my server there will only be max 1 battle a day so I don't need multi arena support.
     
  7. Offline

    Machine Maker

    I will make this plugin for you. The only problematic thing is the time. You want to be able to set a time for a battle weeks in advance. Its possible, I guess, but more difficult if the server is not online 24/7 and I mean online, like no reloads. Also, when the countdown finished, do you want the two players auto teleported to the spawns? and if so, what if one of the isnt online? I'd like to suggest that you don't do timings weeks in advance. I think itd be better if you had a max time of 10 minutes. A message gets broadcast to the server saying a fight has been scheduled and to buy your tickets. What do you think?
     
  8. Offline

    ipodtouch0218

    timtower likes this.
  9. Offline

    Machine Maker

    Yeah that's what I was thinking. I haven't worked much with System.currentTimeMillis() except for commands that expire after a certain time. Invites and such. I'm also not sure how often and for how long his server is stopped. Does he want the time to pass in minecraft days or real days? Like I said you can do it, I would just like to see what @adi0115 thinks about it.
     
  10. Offline

    DoggyCode™

    You never want to shut your server off completely and keep it off for a long period of time
     
  11. Offline

    Machine Maker

    Also, the players Inventory. When they are teleported to the arena, do you want to have their inventorys stored and restored after the battle. At the start of the battle they can be equipped with certain items.
     
  12. My server is 24/7, it only goes down once a day for 1-2 minutes for a restart but thats about it. The reason why there may be battles in weeks of advance just so people have time to buy tickets and make sure that as many players possible know about it, I have a playerbase of around 180 players but I only have max 20 players at all times, some players don't come on the server as long as 2 days, and I have few streamers and youtubers who actually record 1v1's and Im sure they would also want to capture this, which is why there has to be such a big advance setup. I wanted to start the battle manually, which is /bs start for, but that command can only used after the time runs out, which solves the problem of another player not being online/busy/not ready, unless you think auto-start would be better, and yes, I want player's invetorys to be saved, given items while in the battles and then restored, and I would like it to be real days & time, maybe also add a timezone setting so the timezone shortcut is displayed next to date & time so people know what timezone the time & date is reffering to.
     
Thread Status:
Not open for further replies.

Share This Page