Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.8] Add a way to display episodes ends using /title #27

Closed
AmauryCarrade opened this issue Aug 17, 2014 · 7 comments
Closed

[1.8] Add a way to display episodes ends using /title #27

AmauryCarrade opened this issue Aug 17, 2014 · 7 comments

Comments

@AmauryCarrade
Copy link
Member

No description provided.

@AmauryCarrade
Copy link
Member Author

Episode displayed in title (big) or subtitle (small) as an option.

If the episode is in the title, an option to display something like « 12 players in 5 teams left » in the subtitle.

episodes:
    enabled: true

    # Format: "mm", "mm:ss" or "hh:mm:ss". If invalid, 20 minutes.
    # Don't remove the "quotes" (because of the commas)!
    length: "20:00"

    vanillaTitle:
        use: true
        big: true   # If true, "title" used. Else, "subtitle".

        # Display the number of players/teams left in the subtitle?
        # Only available if `big` is set to `true`.
        showPlayersLeftInSubtitle: true

@Relicum
Copy link

Relicum commented Oct 28, 2014

Can add this now for you, I'll show you on the spigot build I made.

@AmauryCarrade
Copy link
Member Author

Can add this now for you, I'll show you on the spigot build I mad

Do it if you want, it's appreciated :) .
If you agree, I'll merge your changes on this when I'll update the plugin to the 1.8 version.

@AmauryCarrade AmauryCarrade modified the milestones: 2.0 – Stable, 1.4 – Stable Nov 16, 2014
@Amunak
Copy link
Contributor

Amunak commented Jan 31, 2015

Would this also show a "game start" when you start the game, possibly with countdown and stuff? That would be awesome. Also game end, announcing winner/winning team.

@AmauryCarrade
Copy link
Member Author

Was planned but not written here :) .

@Relicum
Copy link

Relicum commented Jan 31, 2015

Ohpps I forgot to tell you I have code a 4K line API dedicated to Titles/Action bar and Tab Header and Footer. It will only work on the full 1.8 spigot / bukkit . Also its coded in Java 8 so unless you use Java 8 it won't be of much use. It is fully documented and been running for 6 weeks on servers with no probs. Let me know if you use java 8, it wouldn't make a difference provided the end user was running java 8 on their server. Let me know. Sorry for forgetting about this.

@AmauryCarrade
Copy link
Member Author

Ohh, this can be interesting! No problem for the only-real-1.8 support, the next version will not be compatible with 1.7.9 anyway.
But I'm currently compiling with Java 7 because a lot of servers use Java 7. Your API cannot work with Java 7?
(Yes, I can switch to Java 8 too.)

Update – this, I suppose?

Update II – From these global statistics, I see 80% of the servers use Java 7. This said, I think this number will evolve, and a dependency to Java 8 is not so hard to have (especially because all these dependencies are for me soft dependencies: I want this plugin to be able to run alone).

@AmauryCarrade AmauryCarrade removed their assignment Nov 2, 2015
AmauryCarrade added a commit that referenced this issue Jan 11, 2016
* NEW: added a /title displayed when the game starts (enabled by default).
AmauryCarrade added a commit that referenced this issue Jan 12, 2016
* NEW: the winners are broadcasted through a /title when the game ends (or the finish sequence is summoned using /uh finish). Can be disabled in the config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants