feexranks

#189 - published 6 months ago

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


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="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


/list [<rank>]

Permissions: list

Display top players or get user by rank


/points [reset/set/add/remove] [<player>] [<points>]

Permissions: points

Reset, set, add or remove points


/rank [<player>]

Permissions: rank

Display current rank or get user by name


Git changelog


2b95279d7483019 2018-01-20 16:53:11

Merge pull request #10 from persiafighter/patch-1

  • Update

Download

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

Repository

github.com

License

MIT

Author

Sven