Skip to content

Releases: M0diis/M0-OnlinePlayersGUI

HEX Support & Condition improvements

22 Sep 20:51
Compare
Choose a tag to compare

Added HEX color support.
Example usage: #FF5BC8%player_name%

Added ability to check text in conditions if a placeholder returns not a number.

Ex.:

  Condition:
    Required: false
    Placeholder: "%example_placeholder% == hello"

The player will be included if %example_placeholder% returns value hello.

Config & Java

02 Sep 18:41
Compare
Choose a tag to compare

This version has been compiled with Java 16 and will most likely not work with older versions of Java.
I recommend you to update as soon as possible.

You can find more information on how to do that on PaperMC wiki:
https://papermc.io/forums/t/java-16-mc-1-17-and-paper/5615

Changed HideButtonsOnSinglePage config option to AlwaysShowPageButtons.

If set to true - it will displays Next and Previous page buttons at all times, in other case - buttons will only be displayed if there's a Previous or Next page.

Did some major code refactoring, which should increase the performance ever so slightly.

Added more PlaceholderAPI support.

[CLOSE] Command.

27 Aug 13:53
Compare
Choose a tag to compare

Added an option to close the GUI if added [CLOSE] in the command section.
Removed CloseOnRightClick & CloseOnLeftClick in the Custom Items section.

For config reference head to https://github.com/M0diis/M0-OnlinePlayersGUI/blob/3.3.0/src/main/resources/config.yml

    Commands:
      Left-Click:
      - '[CLOSE]'
      - '[CONSOLE] msg %player_name% Hello!'
      Right-Click:
      - '[CLOSE]'
      - '[PLAYER] tp %player_name%'

Permission Condition

22 Aug 11:22
Compare
Choose a tag to compare

Added a config option to require a specific permission for the user to be displayed.

Condition in the main config does not have to be enabled, where as in the Conditional GUI config the condition is used by default - in this case you can use a placeholder that would accept all players.

Downgraded the API version so lower versions can use the plugin.

Condition:
  Required: false
  Placeholder: "%checkitem_mat:DIRT%"
  Permission:
    Required: false
    Node: "permission.to.include.player"

M0-OnlinePlayersGUI Conditional GUI release

21 Jul 22:28
Compare
Choose a tag to compare

This update is fully prepared for Conditional GUI use and adds several other useful features.
This release works on Java 16 & Minecraft 1.17.

You can now use operators (>, >=, <, <=, = or ==, !=) to compare values and check if it matches the condition.

Ex. you can use %vault_eco_balance% > 1000 to check if player has more than 1000 balance, etc.
You can use placeholders on both sides.

There must be a space between the values and operator.
You can use placeholder which return a numeric value, it won't work correctly if it returns for ex. time (1d 30m, etc.).

There is now a permission for Conditional GUI, which goes as follows:
m0onlinegui.conditional.<conditional_name>, example:
m0onlinegui.conditional.richplayers

You can also set a custom deny message if player tries to open a Conditional GUI that he does not have permission to.

M0-OnlinePlayersGUI v3.0 PRE-RELEASE

30 Jun 22:12
Compare
Choose a tag to compare
Pre-release

Hello everyone.
This update is pretty major since a huge part of code has been rewritten and changed as well as a lot of new stuff has been added.

This current version is pre-release of the current state of the plugin and may contain unwanted bugs or errors, if anything - please inform me by contacting directly on spigot or through discord @ M0dii#2719.

This version will still fully support older Java versions (Java 8) and Minecraft 1.16, though the next release will be fully built for Java 16 and Minecraft 1.17, though it might still work on older Minecraft versions.

The biggest part of this update are Conditional GUIs.
You can now create your own, unlimited custom GUIs without having to rely on only one available player listing ability.

To create a custom Conditional GUI, head to the plugin directory and open up /Custom/ folder - here you will be able to create Conditional GUIs.
You can find an example of how one looks on GitHub:
https://github.com/M0diis/M0-OnlinePlayersGUI/blob/main/src/main/resources/Custom/custom_gui.yml

The GUI will be able to be opened with /onlinegui filename (without .yml of course) and will be suggested by tab complete if one exists.

To load up the GUI after creating - simply reload the plugin using the command /onlinegui reload.

M0-OnlinePlayersGUI v2.11

05 May 09:10
Compare
Choose a tag to compare

Added ability to only display players with specified condition.