feexranks

last built 3 months ago
Build #224
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Sven
This plugin does not compile with the latest version of RocketMod.
Contact the author and kindly ask him to update this plugin or consider fixing it on GitHub.

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.

FeexRanks

This plugin adds ranks to your server. It’s MySQL based because I love MySQL and you will be able to have syncronized ranks between your servers.

 

Commands:

  • /rank – Display rank, points and level
  • /rank [player] – Display rank, points and level from a specific player
  • /list – Display top 3 players
  • /list [rank] – Display a player’s rank information from a specific rank
  • /points reset [player] – Reset points
  • /points set [player] [points] – Set points
  • /points add [player] [points] – Add points
  • /points remove [player] [points] – Remove points

Permissions:

  • rank
  • rank.other
  • list
  • list.other
  • points.reset
  • points.set
  • points.add
  • points.remove

Info:

  • You need to install the libraries.
  • If you want to use Uconomy or Kits, you need to install those plugins.
  • Look at the events below. Most events should be self-explanatory. If not, try it by yourself.
  • /rank, /list and /points can be called from console.

 

ACCURACY, ARENA_WINS, DEATHS_PLAYERS, FOUND_BUILDABLES, FOUND_CRAFTS, FOUND_EXPERIENCE, FOUND_FISHES, FOUND_ITEMS, FOUND_PLANTS, FOUND_RESOURCES, FOUND_THROWABLES, HEADSHOTS, KILLS_ANIMALS, KILLS_PLAYERS, KILLS_ZOMBIES_MEGA, KILLS_ZOMBIES_NORMAL, NONE, TRAVEL_FOOT, TRAVEL_VEHICLE

 

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"?>
<FeexRanksConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <EnableLevelUpNotification>false</EnableLevelUpNotification>
  <EnableLevelUpNotificationGlobal>true</EnableLevelUpNotificationGlobal>
  <EnableRankNotificationOnJoin>true</EnableRankNotificationOnJoin>
  <EnableRankNotificationOnJoinGlobal>false</EnableRankNotificationOnJoinGlobal>
  <EnableRankNotificationOnLeaveGlobal>false</EnableRankNotificationOnLeaveGlobal>
  <NotificationColor>Green</NotificationColor>
  <NotificationColorGlobal>Gray</NotificationColorGlobal>
  <NotificationColorJoinLeaveGlobal>Green</NotificationColorJoinLeaveGlobal>
  <FeexRanksDatabase>
    <DatabaseAddress>localhost</DatabaseAddress>
    <DatabaseUsername>unturned</DatabaseUsername>
    <DatabasePassword>password</DatabasePassword>
    <DatabaseName>unturned</DatabaseName>
    <DatabaseTableName>ranks</DatabaseTableName>
    <DatabasePort>3306</DatabasePort>
  </FeexRanksDatabase>
  <Events>
    <Event>
      <EventName>KILLS_ZOMBIES_NORMAL</EventName>
      <Notify>false</Notify>
      <Points>10</Points>
    </Event>
    <Event>
      <EventName>KILLS_ZOMBIES_MEGA</EventName>
      <Notify>true</Notify>
      <Points>50</Points>
    </Event>
    <Event>
      <EventName>KILLS_PLAYERS</EventName>
      <Notify>true</Notify>
      <Points>60</Points>
    </Event>
  </Events>
  <Level>
    <Level>
      <Points>0</Points>
      <Name>Pig</Name>
      <KitReward>false</KitReward>
      <KitNotify>true</KitNotify>
      <KitName />
      <PermissionGroupReward>false</PermissionGroupReward>
      <PermissionGroupNotify>true</PermissionGroupNotify>
      <PermissionGroupName />
      <UconomyReward>false</UconomyReward>
      <UconomyNotify>true</UconomyNotify>
      <UconomyAmount>0</UconomyAmount>
    </Level>
    <Level>
      <Points>100</Points>
      <Name>Small Zombie</Name>
      <KitReward>false</KitReward>
      <KitNotify>true</KitNotify>
      <KitName />
      <PermissionGroupReward>false</PermissionGroupReward>
      <PermissionGroupNotify>true</PermissionGroupNotify>
      <PermissionGroupName />
      <UconomyReward>true</UconomyReward>
      <UconomyNotify>true</UconomyNotify>
      <UconomyAmount>100</UconomyAmount>
    </Level>
    <Level>
      <Points>200</Points>
      <Name>Zombie</Name>
      <KitReward>true</KitReward>
      <KitNotify>true</KitNotify>
      <KitName>Zombie</KitName>
      <PermissionGroupReward>false</PermissionGroupReward>
      <PermissionGroupNotify>true</PermissionGroupNotify>
      <PermissionGroupName />
      <UconomyReward>false</UconomyReward>
      <UconomyNotify>true</UconomyNotify>
      <UconomyAmount>0</UconomyAmount>
    </Level>
    <Level>
      <Points>500</Points>
      <Name>Giant Zombie</Name>
      <KitReward>true</KitReward>
      <KitNotify>true</KitNotify>
      <KitName>Giant Zombie</KitName>
      <PermissionGroupReward>true</PermissionGroupReward>
      <PermissionGroupNotify>true</PermissionGroupNotify>
      <PermissionGroupName>VIP</PermissionGroupName>
      <UconomyReward>true</UconomyReward>
      <UconomyNotify>false</UconomyNotify>
      <UconomyAmount>200</UconomyAmount>
    </Level>
  </Level>
</FeexRanksConfiguration>

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="general_onjoin" Value="[{2}] {3} ({0} points, rank {1}) connected to the server." />
  <Translation Id="general_onleave" Value="[{2}] {3} ({0} points, rank {1}) disconnected from the server." />
  <Translation Id="general_not_found" Value="Player not found." />
  <Translation Id="general_invalid_parameter" Value="Invalid parameter." />
  <Translation Id="rank_self" Value="Your current rank: {1} with {0} points [{2}]" />
  <Translation Id="rank_other" Value="{3}'s current rank: {1} with {0} points [{2}]" />
  <Translation Id="list_1" Value="The top 3 players:" />
  <Translation Id="list_2" Value="{1}st: [{2}] {3} ({0} points)" />
  <Translation Id="list_3" Value="{1}nd: [{2}] {3} ({0} points)" />
  <Translation Id="list_4" Value="{1}rd: [{2}] {3} ({0} points)" />
  <Translation Id="list_search" Value="Rank {1}: [{2}] {3} ({0} points)" />
  <Translation Id="list_search_not_found" Value="Rank not found." />
  <Translation Id="points_reset_player" Value="Your points have been reset." />
  <Translation Id="points_reset_caller" Value="{0}'s points have been reset." />
  <Translation Id="points_set_player" Value="Your points have been set to {0}." />
  <Translation Id="points_set_caller" Value="{1}'s points have been set to {0}." />
  <Translation Id="points_add_player" Value="You received {0} points." />
  <Translation Id="points_add_caller" Value="You sent {0} points to {1}." />
  <Translation Id="points_remove_player" Value="You lost {0} points." />
  <Translation Id="points_remove_caller" Value="You removed {0} points from {1}." />
  <Translation Id="level_up" Value="You went up: {1} with {0} points." />
  <Translation Id="level_up_kit" Value="You went up and received the kit {0}." />
  <Translation Id="level_up_rank" Value="You went up and recieved the permission rank {0}." />
  <Translation Id="level_up_uconomy" Value="You went up and received {0}." />
  <Translation Id="level_up_global" Value="{2} went up: {1} with {0} points." />
  <Translation Id="event_ACCURACY" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_ARENA_WINS" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_DEATHS_PLAYERS" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_FOUND_BUILDABLES" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_FOUND_CRAFTS" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_FOUND_EXPERIENCE" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_FOUND_FISHES" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_FOUND_ITEMS" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_FOUND_PLANTS" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_FOUND_RESOURCES" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_FOUND_THROWABLES" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_HEADSHOTS" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_KILLS_ANIMALS" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_KILLS_PLAYERS" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_KILLS_ZOMBIES_MEGA" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_KILLS_ZOMBIES_NORMAL" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_NONE" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_TRAVEL_FOOT" Value="You received {0} points. ({1} points)" />
  <Translation Id="event_TRAVEL_VEHICLE" Value="You received {0} points. ({1} points)" />
</Translations>

Commands and permissions


Git changelog


d3ed69f44ec4cdd 2019-05-20 11:46:53

Fixed referencing.

    dcfe7a097383e13 2019-05-15 23:55:54

    Fixed.

      0227e8b72564d8c 2018-01-20 16:51:03

      Update

      • Updated code for permission group rewards to use the correct calls and not be so bound to rocket's permission provider.

      eee0d3529448f4e 2017-03-04 16:11:29

      Resolved Merge Conflict

        1d2ea3cfbf3133a 2017-03-04 15:54:07

        Downloaded Latest Script Data

        • Re-fixed the bug.

        6cdad762ae9673e 2017-03-04 15:47:08

        Fixed Bug With Checker

          db126b913d6d352 2017-02-21 15:24:50

          ..

            a87d565b6466a2d 2017-02-02 06:54:26

            Added check to see if group exists.

            • Fixed merge conflicts.

            1348dc5ab8ac5fb 2017-01-14 22:28:28

            Resolved Conflicts With Latest Version

              a6cebb7153e34df 2016-12-17 14:31:51

              Updated to latest RocketMod build

                658c956c0845135 2016-11-04 19:00:08

                Updated reference to latest version

                  72a2b1217735a45 2016-10-28 20:57:11

                  re-added latest patch

                    9de07b4800302f2 2016-10-28 20:54:55

                    Latest Rocket Patch

                      c50b16cb38b9f5d 2016-10-28 20:28:20

                      Download Patch (FeexRanks.dll only)

                        20af0ec3dc9804a 2016-08-23 07:49:22

                        Add files via upload

                          4601c1f0473875c 2016-06-18 09:42:13

                          Update LICENSE

                            347cbce6d22806b 2016-06-17 14:53:03

                            Updated libs

                              8c669500bed60b6 2016-06-15 12:00:54

                              Updated libs

                                c9bf937c4ee2dde 2016-06-14 16:03:39

                                Updated to Rocket 4.9.6.0

                                  617682e9ba4fde8 2016-04-22 20:18:21

                                  Updated libs

                                    a02c5f9af575a60 2016-04-22 20:18:14

                                    Clean

                                      dde656ef74cdc9a 2016-04-08 20:43:36

                                      Updated to latest Rocket

                                        56c6bd66647e21a 2016-04-08 20:43:25

                                        Updated libs

                                          3a358361d598e6d 2016-04-03 00:53:30

                                          Added /points

                                            46a2663120e05bf 2016-04-03 00:49:58

                                            Added /points

                                              055b3da8c83250e 2016-04-03 00:49:18

                                              Updated libs

                                                beec30be59f112e 2016-03-10 14:17:58

                                                Fixed AddPoints

                                                  00636d0f7e7c0fe 2016-03-09 21:37:42

                                                  Fixed lag issues

                                                    18d2e44aeb0f412 2016-03-05 11:29:30

                                                    Fixed lag issues

                                                      e51424b24e971cf 2016-02-17 11:41:20

                                                      Prevented SQL-Injection

                                                        9c2895302685301 2016-02-16 23:55:52

                                                        Added disconnect message

                                                          53993664f45ebba 2016-02-15 17:18:02

                                                          DESC -> ASC

                                                            a61e9b94a25230f 2016-02-15 16:38:48

                                                            Fixed /list command

                                                              d2a93aef64f3198 2016-02-14 23:29:23

                                                              Fixed /list

                                                                339f89f9b6c6cd7 2016-02-14 21:44:24

                                                                Tweaked /list command

                                                                  788d9a63ecc1ad0 2016-02-14 01:43:06

                                                                  Code cleanup

                                                                    c40c4d37b61b7e0 2016-02-13 18:57:53

                                                                    Added some features

                                                                      623fec1bc503f72 2016-02-13 13:26:11

                                                                      Fixed rank_onjoin translation

                                                                        559590d32c44813 2016-02-13 13:20:48

                                                                        Added option to show global message on join

                                                                          94acf996d72f058 2016-02-13 02:20:37

                                                                          Release

                                                                            9e639a7a7d1fb15 2016-02-13 01:31:48

                                                                            Release