Hitman

Using this plugin, players can place hits on other players and your hitmen will see the top hits with a nice UI.


Features

  • Players can simply use /hit to place hits on players
  • Players with the hitman.ui permission will be able to see the UI
  • MySQL is optional ! We provide LiteDB provider in case you don't want to set up MySQL

UI

Hitman UI Example


Commands Information

Command Parameters

  • <required> - Means that the parameter is required in order to execute the command
  • [optional] - Means that it is an optional parameter and it is not required

Commands

/hit <player> <bounty (number)>

Permission: hit

Alias: bounty

Place a bounty on a player. You must have enough money for it as it is charged upfront.


/hitsui

Permission: hitsui

Toggles the Hitman UI


Permissions

Permission: hitman

This permission is required for players to claim bounties


Permission: hitman.ui

This permission is required to access the UI


Permission: hit.exempt

This permission prevents players from getting bounties on their head


Configuration

<?xml version="1.0" encoding="utf-8"?>
<HitmanPluginConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DatabaseType>LiteDB</DatabaseType>
  <MySqlConfiguration>
    <ServerAddress>127.0.0.1</ServerAddress>
    <ServerPort>3306</ServerPort>
    <Username>root</Username>
    <Password>password</Password>
    <DatabaseName>unturned</DatabaseName>
    <ConnectionString />
  </MySqlConfiguration>
  <HitsConfiguration>
    <DurationInDays>1</DurationInDays>
    <CheckIntervalInSeconds>30</CheckIntervalInSeconds>
    <CanPlaceOnSelf>false</CanPlaceOnSelf>
    <MinimumBounty>100</MinimumBounty>
    <RefundExpired>false</RefundExpired>
    <AdminsClaimHits>true</AdminsClaimHits>
    <Placed>
      <Announce>true</Announce>
      <TellTarget>true</TellTarget>
    </Placed>
    <Completed>
      <Announce>true</Announce>
      <TellTarget>true</TellTarget>
    </Completed>
    <Expired>
      <TellTarget>true</TellTarget>
      <TellHirer>true</TellHirer>
    </Expired>
  </HitsConfiguration>
  <UIConfiguration>
    <AutoDisplay>true</AutoDisplay>
    <MaxHitsShown>10</MaxHitsShown>
    <EffectGuid>48d317b1241a49159dd63f0d0eb0ad2f</EffectGuid>
  </UIConfiguration>
</HitmanPluginConfiguration>

Translations

<?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="HitPlacedHirer" Value="You have placed a bit on {TargetPlayerName} for ${Bounty:0.00}" />
  <Translation Id="HitPlacedTarget" Value="{HirerPlayerName} has placed a hit on you for ${Bounty:0.00}" />
  <Translation Id="HitPlacedAnnounce" Value="{HirerPlayerName} has placed a hit on {TargetPlayerName} for ${Bounty:0.00}" />
  <Translation Id="HitCompletedTarget" Value="{KillerPlayerName} has claimed the bounty of ${Bounty:0.00} on your head." />
  <Translation Id="HitCompletedAnnounce" Value="{KillerPlayerName} has claimed the bounty of ${Bounty:0.00} on {TargetPlayerName}'s head." />
  <Translation Id="HitCompletedKiller" Value="You have successfully claimed the bounty of ${Bounty:0.00} on {TargetPlayerName}'s head." />
  <Translation Id="HitExpiredTarget" Value="A hit placed on your head for ${Bounty:0.00} has expired." />
  <Translation Id="HitExpiredHirer" Value="A hit you placed for ${Bounty:0.00} has expired." />
  <Translation Id="UIHeader" Value="Current Hits:" />
  <Translation Id="UIPlayerName" Value="{PlayerName}" />
  <Translation Id="UIBounty" Value="${Bounty:0.00}" />
  <Translation Id="InvalidBounty" Value="The bounty must be greater than {MinimumBounty}." />
  <Translation Id="CannotSelfPlace" Value="You cannot place a bounty on yourself." />
  <Translation Id="TargetHitExempt" Value="{TargetPlayerName} cannot have hits placed on them." />
  <Translation Id="InvalidTarget" Value="{TargetPlayerName} was not found." />
  <Translation Id="HitSyntax" Value="Correct usage: /hit &lt;player&gt; &lt;bounty (number)&gt;" />
  <Translation Id="InvalidBalance" Value="You do not have enough balance to place this bounty." />
  <Translation Id="UINoPermission" Value="You do not have permission to use the UI" />
</Translations>