Add
Add a punishment list to the player site with its own data source, columns and publication settings.
Menu path Admin Dashboard → Content → Data → Punishments → Add
Enter the list details
- Name is the list title on the player site.
- URL slug is used in the list’s address. Leave it blank to generate it from the name. For a custom slug, use lowercase Latin letters, digits and hyphens between words.
- Category is required. Create the branch for this list under Categories.
- Display order accepts 0–65535. Lower values appear first within the same category.
- Publish makes the list available on the player site when its category and all parent categories are published.
Pick a punishment data source
Existing site punishments displays restrictions applied to Minexon accounts. The available fields are player, type, scope, start, end and status. The player page excludes reasons and internal notes.
For External MySQL, enter an allowed Server IP address, Port (3306 by default), Database, MySQL username and MySQL password. Use an account with SELECT access limited to the tables and views you intend to publish. Remote connections require TLS certificate verification. Minexon encrypts the password. When editing the same connection, leave the password blank to keep the saved value.
Plugin preset offers LiteBans bans, mutes and warnings, and AdvancedBan current punishments and history. Apply preset fills in the table, sorting and columns. If your installation uses a custom prefix, update the table name. LiteBans needs read access to the history table with the same prefix to look up player names. For another source, choose Custom mapping and fill in Table or view and the Player name column used for search.
Published LiteBans lists filter out silent entries, IP bans and #offline# records. AdvancedBan lists filter out IP bans and notes. For custom sources, use a table or view containing the records you intend to publish.
Set up columns and preview
- Under Columns shown to players, configure 1–12 distinct columns. Set the Source column, Display label and Format for each one.
- Choose text, number, MySQL date or a Unix timestamp in seconds or milliseconds. Use the arrows to arrange the columns.
- Set Sort column and Sort direction to choose the record order. For example, sort by start date in descending order to show the newest records first.
- Select Preview first 5 rows to check the connection, columns and formatting. The preview leaves the form unsaved. Select Save changes when ready.
Permissions punishments.manage with punishments.listings.view and punishments.listings.create. External sources also require punishments.sources.manage, and previews require punishments.source.preview.