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 (RocketMod only)
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 (RocketMod): hit Permission (OpenMod): Hitman:commands.hit
Alias: bounty
Place a bounty on a player. You must have enough money for it as it is charged upfront.
/hitsui
Permission (RocketMod): hitsui Permission (OpenMod): Hitman:commands.hitsui
Toggles the Hitman UI
Permissions
Permission (RocketMod): hitman Permission (OpenMod): Hitman:hitman
This permission is required for players to claim bounties
Permission (RocketMod): hitman.ui Permission (OpenMod): Hitman:ui
This permission is required to access the UI
Permission (RocketMod): hit.exempt Permission (OpenMod): Hitman:exempt
This permission prevents players from getting bounties on their head
Configuration (RocketMod)
<?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 (RocketMod)
<?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 <player> <bounty (number)>" /> <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>
Configuration (OpenMod)
database: ConnectionStrings: default: "Server=127.0.0.1; Database=openmod; Port=3306; User=unturned; Password=password" hits: duration: 1 day # Time until hit expires checkInterval: 30 seconds # Time between checks for expired hits canPlaceOnSelf: false # Whether or not players can place hits on themselves minimumBounty: 100 # Minimum bounty for a hit refundExpired: false # Should refund expired, unclaimed bounties adminsClaimHits: true # Should vanilla admins claim hits placed: announce: true # Should announce in the chat when a hit is placed tellTarget: true # Should tell the target when a hit is placed on them completed: announce: true # Should announce in the chat when a hit is completed tellTarget: true # Should tell the target when a hit placed on them is completed expired: tellTarget: true # Should tell the target a hit on them has expired tellHirer: true # Should tell the hirer a hit they placed has expired ui: autoDisplay: true # Show to users by default maxHitsShown: 10 # No greater value than ten effectId: 29200 # 29200 - Right Side, 29201 - Left Side
Translations (OpenMod)
commands: success: hit_placed: hirer: "You have placed a hit on {Target.DisplayName} for {CurrencySymbol}{Bounty:0.00}." target: "{Hirer.DisplayName} has placed a hit on you for {CurrencySymbol}{Bounty:0.00}." announce: "{Hirer.DisplayName} has placed a hit on {Target.DisplayName} for {CurrencySymbol}{Bounty:0.00}." errors: invalid_bounty: "The bounty must be greater than {MinimumBounty}." cannot_self_place: "You cannot place a bounty on yourself." target_hit_exempt: "{Target.DisplayName} cannot have hits placed on them." invalid_target: "{Target.DisplayName} does not have a valid SteamId" announcements: hit_completed: target: "{Killer.DisplayName} has claimed the bounty of {CurrencySymbol}{Bounty:0.00} on your head." announce: "{Killer.DisplayName} has claimed the bounty of {CurrencySymbol}{Bounty:0.00} on {Target.DisplayName}'s head." killer: "You have successfully claimed the bounty of {CurrencySymbol}{Bounty:0.00} on {Target.DisplayName}'s head." hit_expired: target: "A hit placed on your head for {CurrencySymbol}{Bounty:0.00} has expired." hirer: "A hit you placed for {CurrencySymbol}{Bounty:0.00} has expired." transactions: hit_placed: "Bounty placed on {Target.DisplayName}" hit_completed: "Claimed bounty for {Target.DisplayName}" hit_expired: "Bounty refund as hit on {Target.DisplayName} expired" ui: header: "Current Hits:" playerName: "{User.DisplayName}" bounty: "{CurrencySymbol}{Bounty:0.00}"
Installation (OpenMod)
- Run the following commands to install necessary libraries:
openmod install SilK.Unturned.Extras
openmod install OpenMod.EntityFrameworkCore.MySql
Specify in your Imperial Plugins config the
openmod
branch.Add the following workshop ID to your WorkshopDownloadConfig.json file - 2419939859
Change the connection string in your new
Hitman/config.yaml
file to allow Hitman to connect to your MySQL server.
Ask questions or get support in my Discord server
User Reviews
Nice Work
No issues with the plugin. Dev provided great support throughout the plugin installation.
Plugin works great! When it was not working the dev stepped right in to solve my issue. Even after it was fixed he helped me fix several other server issues that where not related to his plugin whatsoever. Nothing more i can say then 5 star Dev!
So far works great I have had no issues
VERY GOOD!!!!!!!!!
This Plugin Works Great and Support is Awesome
had lot's of troubles with this plugin but got amazing support from silk, overall a really nice to look at UI with new ability to put it onto the left ide of the screen