feexhitman

#184 - published lessthan a minute ago

FeexHitman

With this plugin you can set bounties on other players. All data is stored in a database. This allows you to have syncronized bounties between your servers.

 

Commands:

  • /hitman add [player] [amount] OR /bounty [player] [amount] – Add a player to bounty list
  • /hitman payout [player] – Remove player from bounty list and receive bounty
  • /hitman check [player] – Check whether player is on bounty list
  • /hitman list – Show players in bounty list

Permissions:

  • hitman.receive.[percentage] – Allows player to receive bounty, e.g. hitman.receive.100 will give the player 100 % bounty
  • hitman.add OR bounty – Command-Permission
  • hitman.payout – Command-Permission
  • hitman.check – Command-Permission
  • hitman.list – Command-Permission

Info:

  • If you leave a translation blank, no message will be shown.
  • You need Uconomy + Uconomy’s libraries installed.
  • Admin’s can’t receive bounties.

If you have any improvements, let me know.

In case you like my work, please consider a donation. I highly appreciate it. 🙂 ~Freenex

Donate via PayPal

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<FeexHitmanConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <FeexHitmanDatabase>
    <DatabaseAddress>localhost</DatabaseAddress>
    <DatabaseUsername>unturned</DatabaseUsername>
    <DatabasePassword>password</DatabasePassword>
    <DatabaseName>unturned</DatabaseName>
    <DatabaseTableName>hitman</DatabaseTableName>
    <DatabasePort>3306</DatabasePort>
  </FeexHitmanDatabase>
  <MinimumBounty>100</MinimumBounty>
  <CommandListMaximum>20</CommandListMaximum>
</FeexHitmanConfiguration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Translation Id="hitman_general_chat_created" Value="Bounty placed: {0} ({1} $)" />
  <Translation Id="hitman_general_chat_increased" Value="Bounty increased by {1} $: {0} ({2} $)" />
  <Translation Id="hitman_general_chat_received" Value="{0} killed {1} and received the bounty of {2} $ ({3} %)." />
  <Translation Id="hitman_general_not_found" Value="Player not found." />
  <Translation Id="hitman_general_invalid_parameter" Value="Invalid parameter." />
  <Translation Id="hitman_add_self" Value="You can't place bounty on yourself." />
  <Translation Id="hitman_add_amount" Value="That's not a valid amount." />
  <Translation Id="hitman_add_balance" Value="You do not have enough money to place a bounty." />
  <Translation Id="hitman_add_minimum" Value="The bounty must be at least {0} $." />
  <Translation Id="hitman_payout" Value="The bounty of {0} has been paid to you. ({1} $)." />
  <Translation Id="hitman_check_true" Value="{0} has a bounty of {1} $." />
  <Translation Id="hitman_check_false" Value="{0} has no bounty." />
  <Translation Id="hitman_list_true" Value="{0} player/s on bounty list: {1}" />
  <Translation Id="hitman_list_false" Value="The bounty list is empty." />
</Translations>

Commands and permissions


/bounty <player> <amount>

Permissions: bounty

Add bounty to players


/hitman <add/payout/check/list> [<player>] [<amount>]

Permissions: hitman

Hitman (add/payout/check/list)


Git changelog


e411357ff9be210 2016-11-05 13:01:59

..

    Download

    Build #184
    By downloading this file, you agree to our license terms.

    Repository

    github.com

    License

    MIT

    Author

    Sven