Added a clickable navigation bar to the following commands:
/eco monolog
/baltop or /money top
Includes Previous / Next buttons for easier page navigation.
• Customization Options:
You can customize the navigation bar's text or disable it entirely in the locale files.
The pagination bar uses the placeholder:
Code (Text):
<pagination>
• PostgreSQL Database Support:
New database configuration options:
Code (YAML):
# Settings for Database or SQLite connection. database: # For SQLite, the path to the SQLite database file: jdbc:sqlite:plugins/LiteEco/database.db # For MySQL, the JDBC connection URL in the format: jdbc:mysql://your_host:port/name_of_database # For MariaDB, the JDBC connection URL in the format: jdbc:mariadb://your_host:port/name_of_database
# Drivers: # # MariaDB - org.mariadb.jdbc.Driver (https://youtrack.jetbrains.com/issue/EXPOSED-170) # MySQL - com.mysql.cj.jdbc.Driver Don't use if you have MariaDB version 11.X and newer. # PostgreSQL - org.postgresql.Driver # SQL - org.sqlite.JDBC connection: # Settings for DriverClassName driverClassName: org.postgresql.Driver
# Settings for JDBC_HOST jdbc_url: jdbc:postgresql://your_host:db_port/your_db
# The username of the user to connect to your database (MySQL only). username: user
# The password of the user to connect to your database (MySQL only). password: pass
# You can enable sql-plugin-logger for some problems with database... sql-plugin-logger: true
Locale Keys with Pagination Navigation Support:
messages.balance.top_footer
messages.monolog.footer
Example from en_us.yml:
Code (YAML):
# Translation for pagination component # Is available with placeholder <pagination> pagination:
previous: "« Previous" center: " <yellow><page>/<max_page> " next: "Next »"