MobArena icon indicating copy to clipboard operation
MobArena copied to clipboard

[Suggestion] Winning Wave

Open fireheart3911 opened this issue 3 years ago • 7 comments

Short Description

The Winning Wave would be the Final Wave, after which the Game ends, all players (including spectators) get teleported out and reward command get executed.

Implementation Details Add an Arena specific setting for what wave is the final one.

Additional Info Modules for this feature:

  • Customizable Win Title
  • Fireworks
  • Completion Percentage in scoreboard
  • Delay before teleport
  • Option if you "just" have to survive or to clear all mobs
  • Leaderboard/Placeholders for completion time

fireheart3911 avatar Apr 30 '22 13:04 fireheart3911

Note: The Placeholder Expansion suggests that something like that already exists, i'm just unable to find it on the wiki.

fireheart3911 avatar May 06 '22 08:05 fireheart3911

https://github.com/garbagemule/MobArena/wiki/Setting-up-the-config-file#settings final-wave: x

I read your post when you first posted it, and it seemed you wanted more features to the final-wave setting, so I didn't comment on it :P

Nesseley avatar May 06 '22 08:05 Nesseley

I do, the other stuff is still a thing

fireheart3911 avatar May 06 '22 11:05 fireheart3911

It seems like most of this is possible with the final wave setting and the various clear wave flags, as well as command rewards. Whatever isn't possible currently might be when #678 is implemented. Perhaps it's worth first exploring the more generic functionality of the plugin before we dive into hyper-specific functionality for "winning", which isn't really a concept in MobArena in the first place (but very likely will be in the Sessions Rework).

garbagemule avatar May 06 '22 14:05 garbagemule

It seems like most of this is possible with the final wave setting and the various clear wave flags What i meant with that was a new option to only clear all mobs in the final wave and nowhere else

fireheart3911 avatar May 07 '22 20:05 fireheart3911

Right, if you want to let waves progress at a specific rate (clear-wave-before-next: false), but halt the progression on a certain wave to sort of mix with the clear-based configuration (clear-wave-before-next: true), there are a couple of ways to sort of emulate that, but we don't have a very flexible solution that would accommodate this in the general case.

The idea of making the final wave the only to clear has its merits, but it's really just a specialization or "inversion" of the idea suggested in #259. I think the wave system is generally just too inflexible, and that's exactly what the Sessions Rework is meant to change. I'll have to give it a bit more thought, because introducing yet another per-arena setting for yet another very specific use case really is the bane of the Sessions Rework. On the other hand, it seems fairly straightforward, so it might be worth another look.

In the meantime, you might be able to emulate the idea if you don't have any boss waves, since boss waves do have a clear before flag?

garbagemule avatar May 08 '22 20:05 garbagemule

Update:

  • ~~Customizable Win Title~~ Possible with Reward CMDs
  • ~~Fireworks~~ Possible with Reward CMDs
  • ~~Completion Percentage in scoreboard~~ Possible with Reward CMDs
  • Delay before teleport (Semi-solved, needs a very provisional workaround with delayed functions)
  • ~~Option if you "just" have to survive or to clear all mobs~~ Possible with Reward CMDs
  • Leaderboard/Placeholders for completion time - This could be implemented in MobArenaStats

fireheart3911 avatar Jan 29 '23 01:01 fireheart3911