feexhitman

last built 4 days ago
Build #214
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Sven
The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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


d1b3c344326f134 2019-05-15 23:55:19

Fixed.

    e411357ff9be210 2016-11-05 13:01:59

    ..

      77a6d29e8e61633 2016-06-18 09:43:09

      Update LICENSE

        da4e89e70b60ac4 2016-06-17 14:52:44

        Updated libs

          4d88185b15f2bc4 2016-06-15 12:00:41

          Updated libs

            6b66e117d7f1136 2016-06-14 16:03:22

            Updated to Rocket 4.9.6.0

              694afeb5ac119b5 2016-04-22 20:17:37

              Updated libs

                d2b3ca3d96e166a 2016-04-22 20:17:27

                Clean

                  9759cc3f6a4f367 2016-04-08 20:43:01

                  Updated to latest Rocket

                    2bdedca4b7ed843 2016-04-08 20:42:08

                    Updated libs

                      875ce5fb555a2ba 2016-02-24 22:48:02

                      Hotfix

                        99361bde04e57c4 2016-02-17 18:23:20

                        Prevented SQL-Injection

                          56207a00e9a6506 2016-02-14 11:23:48

                          Code cleanup

                            37c18aae6399e1b 2016-02-09 22:57:30

                            Updated

                              6b473ea8ffb683b 2016-02-07 23:46:13

                              Update README.md

                                e20d26e1cf679e2 2016-02-07 23:06:34

                                Updated

                                  7c17af412dc6769 2016-02-03 16:28:49

                                  Updated to Rocket 4.9.0.0

                                    90fd95171667fef 2015-12-24 10:41:12

                                    Updated to 4.8.0.0

                                      88c8976fac43060 2015-12-10 15:17:45

                                      Hotfix (proved)

                                        ea5065dec19a393 2015-12-09 22:31:20

                                        Hotfix

                                          ef61fe0e5a0080e 2015-12-09 22:09:17

                                          Hotfix

                                            e0f0ec6b1c7d5e2 2015-12-02 17:24:22

                                            Added english translation + /hitman list

                                              d1549fbb6135d93 2015-12-02 17:17:55

                                              Added english translation + /hitman list

                                                97df181afb620a2 2015-11-26 17:59:09

                                                Improved permission

                                                  92eaf44c36b05b4 2015-11-25 20:16:26

                                                  Initial commit

                                                    eac8e84f13f89a5 2015-11-25 20:08:06

                                                    Update README.md