2CHEVSKII
Displays server FPS and tickrate in real-time via GUI

Supported Games
depends on

Performance UI displays server performance information in a user-friendly way.

Permissions

Permisions are enabled by default (Look into configuration).

performanceui.use

Gives user the ability to use /performance command

performanceui.usegui

Gives user the ability to see use /performance gui command

Chat Commands

/performance 

Player will receive a chat message which contains:

  • Server framerate and frametime
  • Server ACTUAL tickrate
  • His ping to the server
/performance gui 

Player will see UI with server tickrate and framerate, which updates every second. Command used when UI is already at the players screen wil close it

/performance help

Player will receive a chat message with command usage guide

Configuration

In the config file You can enable or disable permissions usage and configure UI placement and size.

{
  "Big UI Anchor max (x y)": "0.1 1",
  "Big UI Anchor min (x y)": "0 0.83",
  "Small UI Anchor max (x y)": "0.11 1",
  "Small UI Anchor min (x y)": "0 0.83",
  "Use permissions": true
}

Localization

In the language file You can configure messages sent to player. By now this plugin translated to English (default) and Russian languages. If You want to make a contribution in translating to any other language feel free to fork this project at the github page and then make a pull request.

English:

{
  "Wrong command usage": "<color=yellow>Wrong command usage! Try \"/performance help\"!</color>",
  "User has no permission": "<color=red>You are not allowed to use this command!</color>",
  "Help command response": "Usage:\n/performance - Get a single text message with current server performance and Your ping\n/performance gui - Display a UI with live updated performance information",
  "Performance report": "Current server performance:\nTickrate: {0}\nFramerate: {1}\nFrametime: {2}\nYour ping: {3}"
}

Russian:

{
  "Wrong command usage": "<color=yellow>Неверная команда! Попробуйте \"/performance help\"!</color>",
  "User has no permission": "<color=red>У Вас недостаточно прав для использования данной команды!</color>",
  "Help command response": "Использование:\n/performance - Получить сообщение о текущей производительнсти сервера и Вашем пинге\n/performance gui - Отобразить UI с информацией в реальном времени",
  "Performance report": "Текущая производительность:\nТикрейт: {0}\nКадров в секунду: {1}\nВремя кадра: {2}\nВаш пинг: {3}"
}

Dependency

This plugins uses ImageLibrary to store icons of the UI, so please, make sure it is installed.

Screenshots

Plugin uses function to determine if server performance is low and icon color changes. Nominal performance (server.tickrate and fps.limit values) divided by actual performance < 1.5 considered low (yellow icon color) and < 2 considered critical (red icon color)

Server with normal performance will show up like that:

Minimized:

When performance is low UI looks like:

With critical low performance UI will appear red:

MIT License


Copyright (c) 2020 2CHEVSKII


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.