devblook / akropolis

A modern Minecraft server hub core solution. Based on DeluxeHub by ItsLewizz.
GNU General Public License v3.0
28 stars 9 forks source link

Papi placeholders not updating in menus (1.21.1) #20

Closed GrimPlayzs closed 1 month ago

GrimPlayzs commented 1 month ago

Describe the bug

I use custom placeholders using papi to display the current player count and server status (offline or online). However, these variables never change from their default value.

Link to latest.log file

No errors apears.

Steps to reproduce

Add a papi placeholder to a menu item. See if the value changes.

Expected behavior

I expected the placeholders to update accordantly.

Technical information

Paper 1.21.1 Akroplis 1.6.0

Additional context

No response

zetastormy commented 1 month ago

Thank you for reporting, but they work just fine for me. Remember to set the refresh.enabled value to true in your menu configuration, like this:

# Automatically update open inventories.
# This can be used to update placeholders in the GUI.
refresh:
  enabled: true
  rate: 40