Language

CustomStats

CustomStats

SpigotMC

CustomStats - An anarchy server oriented plugin that adds /stats.

272 downloads
latest v2.0.0 SpigotMC
1.12 – 1.19

CustomStats



A Minecraft anarchy server oriented plugin that adds /stats.



Default config.yml

Code (YAML):

# CustomStats v2.0.0
# More detailed information on how to edit the configuration can be found on the wiki:
# https://7man7lmyt.github.io/CustomStats/

# New with v2.0.0: Placeholders

# The plugin supports PlaceholderAPI placeholders, as well as its own built in ones.
# Note: Placeholders that require a player will not work in the /stats command.
# Built in placeholders:
# %totalplayers% - How many unique players have joined the server
# %onlineplayers% - How many players are currently online.

stats
:
  stat-command
:
   - "&a-----------------------------------------------------"
    - "&6This server was created on July 30, 2022."
    - "&6The world is 12.34GB in size."
    - "&6%totalplayers% unique players have joined since."
    - "&a-----------------------------------------------------"

  # Customize the menu sent to Minecraft: Java Edition clients.
  stat-menu
:
    # Format for adding more items to the GUI:
    # (0-53):
    #  - (Item type)
    #  - "(display name)"
    #  - "(item lore)"
    #  - "(more item lore)"

    # Maximum inventory slots are limited by 'menu-size'.
    # The items are not required to be in order.
    # Either set the item type to air or remove the slot to leave blank.
    # Slot #0 is an exception, you have to set it to air if you wish to set nothing in the slot.

    # Must be a multiple of 9.
    menu-size
: 9

    title
: "&3Server Stats Menu"
    items
:
      0
:
       - book
        - "&6This server was created on July 30, 2022."
        - "&6The world is 12.34GB in size."
        - "&6%totalplayers% unique players have joined since."

  # Customize the form sent to Minecraft: Bedrock Edition clients. (Will only work if you have GeyserMC + Floodgate!)
  stat-form
:
    # Format for adding more lines to the form:
    # content:
    #   - "&6This text is gold!"
    #   - "&lThis text is bold!"
    #   - "&0R&1a&2i&3n&4b&5o&6w &7C&8o&9l&ao&br&cs&d!&e!&f!

    title
: "&3Server Stats Menu"
    content
:
     - "&a--------------------------------"
      - "&6This server was created on July 30, 2022."
      - "&6The world is 12.34GB in size."
      - "&6%totalplayers% unique players have joined since."
      - "&a--------------------------------"
 
Commands:
Code (Text):
/stats
The main plugin command. Returns whatever is set in 'stats.stat-command'

Code (Text):
/stats reload
Reload the plugin configuration

Code (Text):
/stats menu
Java Edition: Opens a menu containing information that can be edited in the configuration.
Bedrock Edition: Opens a form containing information that can also be edited in the configuration.
Both can be expanded upon based on the formats provided in the configuration.

Permissions:
Code (Text):
customstats.reload
Permission to reload the configuration.

More information can be found on the new plugin wiki, describing more information about the new 2.0.0 functions.

If you would like to suggest a change, contributions are welcome!
The source code can be found here.

Versions

Release
2.0.0
·
3
Release
1.2.1
·
51
Release
1.1.0
·
21
Release
1.0.1
·
20
Release
1.0
·
15

Comments 0

No comments yet. Be the first to share your thoughts.

Download CustomStats

Files are served directly from the original source. Modgrid does not host or modify them.