BattleRoyale.png
(0)

Merchant: j1r4
Price: $10.00
Framework: RocketMod
By purchasing this product you agree END-USER AGREEMENT

Battle Royale

Custom PVP event, which spawns in random intervals between X and X seconds. Allows players to get rewards for winning the event! It works the same as any other Battle Royale, last one standing wins!

Features

  • Easy setup
  • Zone is automatically adjusted to the radius you set in config
  • Moving zone, which deals damage to players if they aren't inside
  • Configurable size of zone
  • Exp and Uconomy rewards
  • Custom UIs
  • Have as many players and spawn locations as you want
  • Loadouts
  • Lobby (players get tped there before and after event)
  • Lag free
  • Multiple middle of zone points, you can have multiple variants of zone!
  • Inventory saving when player leaves while being in the event (Inventory saves over server restarts and the player always gets his items back)
  • Reward saving (Unclaimed rewards are saved over server restarts)
  • Command disabled during event
  • Group joining disabled during event

Dependencies

  • You need to install 0harmony library, RocketExtensions and Uconomy on your server in order to run this plugin. If you do not want to use Uconomy, add it into libraries and disable UconomyReward in config. All of these are in the installation folder.

Workshop

  • After purchasing the plugin, you are allowed to re-upload workshop on the steam account linked with your UnturnedStore account.
  • Unitypackage with all assets after asking me on discord.

Commands

  • Command: /leavebr > Allows players to un-register from the event.
  • Command: /joinbr > Allows players to register to the event.
  • Command: /startbr > Allows admins to start event.
  • Command: /brclaim > Allows players to claim rewards if they win.
  • Command : /brset mozp/lobby/spawn > Allows admins to setup required positions for the event to run.
  • Command : /brset mozp (starting zone size) (final zone size) > Allows admins to setup middle of zone positions required for the event.

Permissions

  • Permission for: /leavebr, /joinbr, /brclaim > "battleroyale.player"
  • Permission for: /brset, /startbr > "battleroyale.admin"

Contact

If you have issues with the plugin, feel free to DM me on discord: j1r4

Configuration

- Min and Max Intervals > Intervals in which the event will spawn
- Min and Max players > Players needed for the event to start (MinPlayers must be more than 2, otherwise the event won't start
- JoinBRTime > Time before registration ends
- WaitTimeBeforeStart > Delay after registration ends
- zoneDamage > Damage that player receives if he's not in the zone
- Loadout > Items which player receives on event start
- LobbyPosition > Position of the lobby (Players get tped there before and after event)
- ScaleRewardsPlayerCount > More players in event, higher Uconomy/Experience rewards (registered player count * reward)

ZonePoints:
- MiddleOfZonePosition > Middle point of the zone, zone shrinks towards this point
- FinalZoneSize > Final size of the zone at the end of the event (1 second on timer)
- StartingZoneSize> Starting size of zone


```
<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <JoinBRUI>31450</JoinBRUI>
  <DeathUI>31452</DeathUI>
  <zoneID>31454</zoneID>
  <countdownUI>31455</countdownUI>
  <eventUI>31451</eventUI>
  <CombatTimer>false</CombatTimer>
  <CombatTimerSeconds>10</CombatTimerSeconds>
<DisableDamageFromOutsidePlayers>true</DisableDamageFromOutsidePlayers>
  <MinInterval>300</MinInterval>
  <MaxInterval>900</MaxInterval>
  <MinPlayers>2</MinPlayers>
  <MaxPlayers>12</MaxPlayers>
  <JoinBRTime>120</JoinBRTime>
  <EventLength>900</EventLength>
  <ExtendedZoneTime>10</ExtendedZoneTime>
  <WaitTimeBeforeStart>10</WaitTimeBeforeStart>
  <WaitTimeBeforeEnd>15</WaitTimeBeforeEnd>
  <MinRewardCount>1</MinRewardCount>
  <MaxRewardCount>5</MaxRewardCount>
  <ScaleRewardsPlayerCount>false</ScaleRewardsPlayerCount>
  <ExperienceReward>true</ExperienceReward>
  <MinExpReward>100</MinExpReward>
  <MaxExpReward>500</MaxExpReward>
  <UconomyReward>false</UconomyReward>
  <MinUconomyReward>100</MinUconomyReward>
  <MaxUconomyReward>500</MaxUconomyReward>
  <zoneDamage>5</zoneDamage>
  <ItemRewards>true</ItemRewards>
  <BlacklistedReturnItems>
    <unsignedShort>0</unsignedShort>
  </BlacklistedReturnItems>
  <rewards>
    <RewardItem ID="363" Weight="2" />
    <RewardItem ID="132" Weight="2" />
    <RewardItem ID="17" Weight="1" />
    <RewardItem ID="15" Weight="1" />
  </rewards>
  <Loadout>
    <LoadoutItem ID="363" Amount="1" />
    <LoadoutItem ID="15" Amount="10" />
    <LoadoutItem ID="253" Amount="1" />
  </Loadout>
  <LobbyPosition>
    <x>0</x>
    <y>0</y>
    <z>0</z>
  </LobbyPosition>
  <ZonePoints />
  <SpawnLocations />
</Config>
```
Translations support rich text

```< means <```
```> means >```

```
<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="not_enough_players" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>Not enough players to start Battle Royale.</color>" />
  <Translation Id="commands_not_allowed" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>You are not allowed to use commands while being in the event!</color>" />
  <Translation Id="win_event" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#50C878>You won! You can claim your reward using /brclaim!" />
  <Translation Id="no_one_win" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>No one won!</color>" />
  <Translation Id="you_lost" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>You lost! Better luck next time!</color>" />
  <Translation Id="combat_mode" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>You damaged a player recently! Wait {0}s before joining BattleRoyale!</color>" />
  <Translation Id="remove_registration_death" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>You were removed from registration because you died!</color>" />
  <Translation Id="end_time_limit" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#50C878>Event has ended due to time limit! No one won." />
  <Translation Id="starting_in" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#6495ED>Starting in {0} seconds!</color>" />
  <Translation Id="not_enough_players_reg" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>Event cannot start due to lack of registered players!</color>" />
  <Translation Id="event_started" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#6495ED>Event has started! GoodLuck!</color>" />
  <Translation Id="not_registered" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>You aren't registered!" />
  <Translation Id="no_event" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>Event is not active at the moment!" />
  <Translation Id="success_unregister" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#50C878>Successfully un-registered!" />
  <Translation Id="already_registered" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>You are already registered!" />
  <Translation Id="max_players_event" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>Maximum amount of people had already registered for the event!" />
  <Translation Id="success_register" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#50C878>Successfully registered! You can un-register using /leaveBR" />
  <Translation Id="no_rewards" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>You do not have any rewards to claim!" />
  <Translation Id="reward_claimed" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#50C878>Successfully claimed your reward!" />
  <Translation Id="event_running" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#DB4F73>Event is already running!" />
  <Translation Id="fast_forward" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#50C878>Starting Battle Royale event..." />
  <Translation Id="win_countdown" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#50C878>You won! Teleporting back in {0} seconds!" />
  <Translation Id="win_announcement" Value="<color=#7F00FF>[BattleRoyale]</color> <color=#FFBF00>{0} won the event! He got {1} Experience & {2} Money !" />
  <Translation Id="br_before_ui_text" Value="Battle Royale starting in: <color=#E0E0E0>{0}s</color>" />
  <Translation Id="br_before_ui_text2" Value="Use <color=#E0E0E0>/joinbr</color> to join!" />
  <Translation Id="br_kill_ui_text" Value="<color=#E0E0E0>{0}</color> died!" />
  <Translation Id="br_main_ui_text" Value="Remaining: <color=#E0E0E0>{0}</color>" />
  <Translation Id="br_main_ui_text2" Value="TimeLeft: <color=#E0E0E0>{0}</color>" />
</Translations>
```

Not found

No reviews were found.