- 版权类型
- 授权转载
- 插件中文名称
- LiteBans
- 插件英文名称
- LiteBans
- 支持的核心(代理-服务端)
- Bungee
- WaterFall
- Velocity
- Spigot
- PaperSpigot
- Folia
- Purpur
- Leaves
- 语言支持
- 多语言
- 适配版本(Java)
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
- 1.12
- 1.11
- 1.10
- 1.9
- 1.8
- 1.7
About
LiteBans is a cross-server punishment management system with many advanced customizable features to enhance your moderation experience.
All punishments made through LiteBans will take effect globally across all servers linked to the same database.
Although LiteBans is designed to effectively synchronize between hundreds of servers, it can still work alone on a single server without a MySQL database.
LiteBans can run natively under Spigot, Folia, BungeeCord, and Velocity, offering the same features on all platforms.
Features
One of the best features of LiteBans for networks is its cross-server synchronization system.
For example:
Server A, Server B and Server C are all running LiteBans, connected to the same MySQL database.
If a player who is on Server A is muted on Server B, it will immediately take effect on Server A, the player will be muted, and all players on Server A, B and C will see the broadcast indicating that the player was muted if they have permission and broadcast synchronization is enabled. If the player leaves Server A and joins Server B or Server C, they will still be muted.
Web Interface
The web interface lists all bans, mutes, warnings, and kicks.
It can be used to view all punishments for specific players or by staff, and check when those punishments will expire.
* Free website is not included, you will require your own website hosting.
Installation guide: https://gitlab.com/ruany/litebans-php/-/wikis/Installation
JSON Support
LiteBans allows you to define custom hover text in all messages, including broadcasts.
Only players with permission (litebans.json.hover_text) will see the hover text.
All variables available to use in messages.yml can also be included in hover text, along with colours and newlines.
Example:
Template System
LiteBans has a powerful template system. Templates can be applied to bans, mutes, warnings, and kicks.
Each template has a configurable ladder, so, for example, you can have a template which bans a player for 2 weeks the first time you apply that template, one month when they are banned for the second time, and three months when they are banned for the third time.
That's the tip of the iceberg. See Templates on the wiki for the full documentation and examples!
Commands
All commands and flags are documented on the wiki - click here to view them.
FAQ
Read the FAQ before posting a review or reporting problems with the plugin!
The FAQ can be viewed here.
Permissions
The full permissions list can be viewed here.
Configuration
All options in the configuration work equally on all versions of the plugin (Spigot/Bungee/Velocity) unless explicitly otherwise stated.
Plugin configuration (config.yml):
Custom messages (messages.yml):
Database Configuration
The plugin is pre-configured for H2, so you don't need to configure anything if you don't have a MySQL database.
H2 does not require any configuration, and operates using files on disk.
To configure the plugin for MySQL, open config.yml, change 'driver' to "MySQL", and set 'username', 'password', 'address', and 'database' as needed.
Importing
A full guide with information, instructions, and examples can be viewed here:
https://gitlab.com/ruany/LiteBans/-/wikis/Importing
Images
Requirements
For MySQL support in the plugin, a working MySQL database is required.
If you're running a single plugin instance and don't need the web interface, you do not need a MySQL server and the plugin will already work immediately without configuration after being installed.
An active Internet connection is required, but only for the first time the plugin is started. The dependencies -- which are only downloaded once per update, and can be downloaded separately -- will work offline after being stored in the LiteBans data folder.
Install
LiteBans can be installed in several ways. It can run on a single Spigot server, multiple Spigot servers linked to the same MySQL database, or it can be installed directly on BungeeCord or Velocity.
Should I install the plugin on all of my Spigot servers or only on Bungee/Velocity?
Note that your configured permissions under Spigot will not automatically carry over onto BungeeCord or Velocity.
LuckPerms has BungeeCord & Velocity support. If installed correctly, permissions are bridged between Spigot and the proxy.
If you want LiteBans to have a Spigot presence (Spigot permissions, usable with Spigot plugins that use /ban, /mute, /kick, etc), then you can install it on each Spigot server and link all plugin instances together with the same database.
Otherwise, if you're fine with using the Bungee/Velocity permission system (LuckPerms is recommended) and don't have any Spigot plugins which need to use LiteBans commands, then you can install it on BungeeCord/Velocity directly and you don't have to install it on any of the servers connected to the proxy.
For a single-server Spigot setup:
Note: LiteBans does not require nor utilize RedisBungee for synchronizing across multiple servers.
Bans, mutes, broadcasts, notifications, and kicks will be synchronized across multiple BungeeCord proxies running LiteBans as long as they are connected to the same database.
Configuration is simple and intuitive - you only need to connect the servers to the same database, nothing else is required.
by running the "/litebans info" command. It will tell you if multiple servers are connected to the database.
Spigot version vs BungeeCord version
LiteBans can run directly under Spigot or BungeeCord -- it can be installed in either the Spigot plugin folder, or the BungeeCord plugin folder.
All commands and features of LiteBans are also available under BungeeCord and Velocity.
Features of the BungeeCord version:
https://gitlab.com/ruany/LiteBansAPI/wikis/home
Terms of Service
Refunds will be granted for any reason within 30 days of purchase, unless the Terms of Service have been violated.
Send me a PM if you wish to request a refund. Also, please contact me when purchasing after being previously refunded, to prevent interruptions in service.
Tags: LiteBans spigot plugin, LiteBans bukkit plugin, LiteBans bungee plugin, LiteBans bungeecord proxy plugin, LiteBans Velocity, LiteBans premium plugin, cross server sync, bukkit cross server bans, bungee cross server bans, cross-server punishments, multi server banning, cross-network punishments, punish, ban synchronization plugin mysql, ban sync mysql bukkit, bungee network banning plugin, ban sync mysql bungee, mute synchronization plugin mysql, ban database plugin, punishment database plugin, uuid banning plugin, ip banning plugin, uuid punish plugin, custom ban message plugin, custom kick message plugin, bukkit alts plugin, staff rollback plugin, liteban, litebans, lightbans, light bans, lite bans, lite ban, litebans web interface, litebans website, litebans access, litebans download, litebans buy, litebans purchase, litebans spigot, litebans permissions, litebans servers, custom punish plugin, customizable punish plugin, global banning plugin, ban history bukkit plugin, ban plugin, mute history, litebans messages, litebans 1.8, litebans 1.17
Regarding reviews:
Read the FAQ before posting a review or reporting problems with the plugin!
Report issues via PM, discussion thread, or the issue tracker.
Please do not post a negative review without contacting me first!
LiteBans is a cross-server punishment management system with many advanced customizable features to enhance your moderation experience.
All punishments made through LiteBans will take effect globally across all servers linked to the same database.
Although LiteBans is designed to effectively synchronize between hundreds of servers, it can still work alone on a single server without a MySQL database.
LiteBans can run natively under Spigot, Folia, BungeeCord, and Velocity, offering the same features on all platforms.
Features
- Designed from the ground up with UUID support in mind. All punishments are UUID-based.
- Fully customizable kick screen for banned players, multiple lines and colours can be used, as well as ban information variables – duration until ban expires, reason, staff member who placed the ban, server which ban was placed on, time since ban was placed, original ban date & duration, and many more.
- Template system allows you to make fully customizable punishment ladders. Each time you punish someone using a template, they will climb the ladder you have created and receive an incrementally larger punishment. Each ban template can be assigned with a custom kick screen message!
- Custom warning templates are supported, allowing you to define categories for warnings that each have their own set of triggered punishment commands which run after players are warned a specific number of times.
- Template groups are supported - with these, you can share template progression by combining templates under one punishment ladder.
- Server scopes are supported, granting you the ability to place per-server punishments and global punishments.
- Discord Webhook support - to send customizable Discord embed messages to your Discord server! Easy to configure.
- All messages are customizable in messages.yml. There are many useful variables available to place in any configurable message that involves a ban, mute, or warning. Hover-text and hex colours supported.
- You can view punishment history for players (/history) and punishments issued by staff members (/staffhistory).
- Several database types are supported, including MySQL, MariaDB, PostgreSQL, and H2. H2 is used by default, meaning that MySQL is not needed to use LiteBans with a single-server setup.
- Multi account notifications - when a player with a banned account on the same IP joins, all players with the right permissions will be notified.
- Multi-instance synchronization system allows global punishments and broadcasts to instantly take effect across all servers connected to the same database, even if the plugin is not installed under BungeeCord.
- Staff members can be "rolled back" – all punishments which they've issued can be removed at any time with a single command. Staff abuse has never been easier to deal with.
- Bans can be imported from vanilla (including Essentials), and 7 popular plugins, including MaxBans, BanManager, AdvancedBan, and BungeeAdminTools.
- Users who have been IP-banned or GeoIP-blocked can be permitted using the "/litebans allow" command, which excludes their account from the IP ban without removing the ban entirely.
- Offline players can receive warnings; they will see all of their new warnings when they join. This works across servers.
- Players cannot override punishments by setting very short bans or mutes unless they have permission.
- Lightweight, multithreaded, and designed for performance. LiteBans uses a minimal amount of memory and does not block the main server thread with any database queries after startup.
One of the best features of LiteBans for networks is its cross-server synchronization system.
For example:
Server A, Server B and Server C are all running LiteBans, connected to the same MySQL database.
If a player who is on Server A is muted on Server B, it will immediately take effect on Server A, the player will be muted, and all players on Server A, B and C will see the broadcast indicating that the player was muted if they have permission and broadcast synchronization is enabled. If the player leaves Server A and joins Server B or Server C, they will still be muted.
Web Interface
The web interface lists all bans, mutes, warnings, and kicks.
It can be used to view all punishments for specific players or by staff, and check when those punishments will expire.
* Free website is not included, you will require your own website hosting.


Installation guide: https://gitlab.com/ruany/litebans-php/-/wikis/Installation
JSON Support
LiteBans allows you to define custom hover text in all messages, including broadcasts.
Only players with permission (litebans.json.hover_text) will see the hover text.
All variables available to use in messages.yml can also be included in hover text, along with colours and newlines.

Example:
代码:
broadcast_ban: '&e$bannedPlayer &chas been banned. {hoverText: &aHover text here!}'
Template System
LiteBans has a powerful template system. Templates can be applied to bans, mutes, warnings, and kicks.
Each template has a configurable ladder, so, for example, you can have a template which bans a player for 2 weeks the first time you apply that template, one month when they are banned for the second time, and three months when they are banned for the third time.
That's the tip of the iceberg. See Templates on the wiki for the full documentation and examples!
Commands
All commands and flags are documented on the wiki - click here to view them.
FAQ
Read the FAQ before posting a review or reporting problems with the plugin!
The FAQ can be viewed here.
Permissions
The full permissions list can be viewed here.
Configuration
All options in the configuration work equally on all versions of the plugin (Spigot/Bungee/Velocity) unless explicitly otherwise stated.
Plugin configuration (config.yml):
The default config.yml can be viewed here.
Custom messages (messages.yml):
The default messages.yml can be viewed here.
All variables are now documented in messages.yml and can be viewed above.
All variables are now documented in messages.yml and can be viewed above.
Database Configuration
The plugin is pre-configured for H2, so you don't need to configure anything if you don't have a MySQL database.
H2 does not require any configuration, and operates using files on disk.
To configure the plugin for MySQL, open config.yml, change 'driver' to "MySQL", and set 'username', 'password', 'address', and 'database' as needed.
Importing
A full guide with information, instructions, and examples can be viewed here:
https://gitlab.com/ruany/LiteBans/-/wikis/Importing
Images


Requirements
For MySQL support in the plugin, a working MySQL database is required.
If you're running a single plugin instance and don't need the web interface, you do not need a MySQL server and the plugin will already work immediately without configuration after being installed.
An active Internet connection is required, but only for the first time the plugin is started. The dependencies -- which are only downloaded once per update, and can be downloaded separately -- will work offline after being stored in the LiteBans data folder.
Install
LiteBans can be installed in several ways. It can run on a single Spigot server, multiple Spigot servers linked to the same MySQL database, or it can be installed directly on BungeeCord or Velocity.
Should I install the plugin on all of my Spigot servers or only on Bungee/Velocity?
Note that your configured permissions under Spigot will not automatically carry over onto BungeeCord or Velocity.
LuckPerms has BungeeCord & Velocity support. If installed correctly, permissions are bridged between Spigot and the proxy.
If you want LiteBans to have a Spigot presence (Spigot permissions, usable with Spigot plugins that use /ban, /mute, /kick, etc), then you can install it on each Spigot server and link all plugin instances together with the same database.
Otherwise, if you're fine with using the Bungee/Velocity permission system (LuckPerms is recommended) and don't have any Spigot plugins which need to use LiteBans commands, then you can install it on BungeeCord/Velocity directly and you don't have to install it on any of the servers connected to the proxy.
For a single-server Spigot setup:
- Download the plugin to the Spigot plugins folder.
- Start the server (or restart it, if it is already running)
- Edit config.yml and messages.yml as needed, then run "/litebans reload".
- Set up permissions using whatever permissions plugin you have installed.
- Install the plugin on all servers that you want to link together using the instructions above for each server.
- Configure the plugin to connect to the same database across all servers.
- Download the plugin to the BungeeCord plugins folder. The plugin does not need to be installed on any of the servers linked to the proxy.
- Start BungeeCord (or restart it, if it is already running)
- Edit config.yml and messages.yml as needed, then run "/litebans reload".
- Set up permissions using whatever permissions plugin you have installed. You need to add the "litebans.notify.broadcast" permission to the default group if you want players to see broadcasts.
- If you're running an offline-mode server, you need to link your authentication system (e.g. AuthMe) with BungeeCord, otherwise users will be able to run commands without being logged in.
Note: LiteBans does not require nor utilize RedisBungee for synchronizing across multiple servers.
Bans, mutes, broadcasts, notifications, and kicks will be synchronized across multiple BungeeCord proxies running LiteBans as long as they are connected to the same database.
Configuration is simple and intuitive - you only need to connect the servers to the same database, nothing else is required.
- Download the plugin and copy it to each BungeeCord instance's plugins folder.
- Configure config.yml and messages.yml and copy them across all instances. The default configurations will be placed in "plugins/LiteBans/" after the plugin starts for the first time. All instances need to be connected to the same MySQL database in order for them to synchronize properly.
- Set up permissions in each BungeeCord instance's config.yml and restart. You need to add the "litebans.notify.broadcast" permission to the default group if you want players to see broadcasts.
- If you're running an offline-mode server, you need to install AuthMeBungee, otherwise users can run commands without being logged in.
by running the "/litebans info" command. It will tell you if multiple servers are connected to the database.
Spigot version vs BungeeCord version
LiteBans can run directly under Spigot or BungeeCord -- it can be installed in either the Spigot plugin folder, or the BungeeCord plugin folder.
All commands and features of LiteBans are also available under BungeeCord and Velocity.
Features of the BungeeCord version:
- Players across all servers on the network are treated as if they are on the same server.
- No need to set up LiteBans across all servers with the same MySQL configuration. One setup on just the BungeeCord proxy is enough for bans to work across every server.
- The BungeeCord version can use a local file database (H2) and still work across multiple servers (with a single-proxy setup), however, there is no official web interface support for this.
- Spigot plugins cannot override what happens at the proxy level, so it's much less likely for other plugins to interfere with LiteBans.
- LiteBans doesn't mind what type of servers you're running behind the proxy - they don't have to be Spigot servers, and there is no "bridge" plugin required. If you can get a Vanilla server running behind Bungee, you can still use LiteBans on it!
- You will require a native Bungee permission system (LuckPerms is recommended).
- There is only one global configuration per plugin instance. (config.yml, messages.yml) - this can also be considered a positive.
- Spigot plugins cannot directly execute BungeeCord commands, and vice versa. Anticheat plugins, for instance, will not be able to globally ban players if they can't run the /ban command from the backend server.
- When banning from console, you must use the BungeeCord console.
https://gitlab.com/ruany/LiteBansAPI/wikis/home
If you want your server to be added to the list, contact me via PM or post on the discussion thread.
- Skyblock.net
- Minetime.com
- Mineverse.com
- mc.paradise-network.com
- play.breakingmc.net
- play.zonecraft.es
- play.differentcraft.net
- play.cwoare.nl
- play.forgotten-empires.com
- finprison.net
- play.nerocraft.es
- play.lividacraft.com
- play.thedivinemc.com
- moondustmc.com
- ArsonMC.com
- mc.side.lv - https://side.lv/bans/
- play.tecnocraft.net
- mc.crapticraft.com
- Play.SilverThornMC.com - https://bans.silverthornmc.com/
- play.wickedworlds.ca - http://wickedworlds.ca/bans/
- royalcraft.co
- unitedcraft.pl
- mc.maelk.net
- jes.earth
- play.funmc.net
- Play.Vanillaplus.uk
- play.valatic.net
- play.amethystcraft.com - https://bans.amethystcraft.com/
- mc.bagma.eu
- AscendantSurvival.com
- sweetcraftmc.apexmc.co
- mc.moycraft.org
- mc.towercraft.me - https://towercraft.me/pages/bans/
- play.verbramd.nl
- play.indiummc.net
- axecraft.pl
- Play.FederalPvP.net - https://federalpvp.com/bans/index.php
- play.dracadian.com - https://dracadian.com/bans
- beeplay.pl
- Ethria.de
- play.minetopiaremake.nl
- spaceshield.org
- mc.unnamecraft.com
- play.rookiemc.eu
- play.glmidnight.co.uk - https://mcbans.glmidnight.co.uk/
- play.ventoxmc.com
- sarmacraft.info

- You are allowed to use the plugin on multiple servers, provided that all of these servers belong to you.
- You are allowed to freely use and modify the web interface, you can also remove or modify the copyright message in header.php.
- You may not redistribute or re-sell the plugin; doing so will result in your access to the plugin and future updates being revoked permanently.
- You may not file a dispute or chargeback via PayPal or any payment processor; doing so will result in your access to the plugin and future updates being revoked permanently.
Refunds will be granted for any reason within 30 days of purchase, unless the Terms of Service have been violated.
Send me a PM if you wish to request a refund. Also, please contact me when purchasing after being previously refunded, to prevent interruptions in service.
Tags: LiteBans spigot plugin, LiteBans bukkit plugin, LiteBans bungee plugin, LiteBans bungeecord proxy plugin, LiteBans Velocity, LiteBans premium plugin, cross server sync, bukkit cross server bans, bungee cross server bans, cross-server punishments, multi server banning, cross-network punishments, punish, ban synchronization plugin mysql, ban sync mysql bukkit, bungee network banning plugin, ban sync mysql bungee, mute synchronization plugin mysql, ban database plugin, punishment database plugin, uuid banning plugin, ip banning plugin, uuid punish plugin, custom ban message plugin, custom kick message plugin, bukkit alts plugin, staff rollback plugin, liteban, litebans, lightbans, light bans, lite bans, lite ban, litebans web interface, litebans website, litebans access, litebans download, litebans buy, litebans purchase, litebans spigot, litebans permissions, litebans servers, custom punish plugin, customizable punish plugin, global banning plugin, ban history bukkit plugin, ban plugin, mute history, litebans messages, litebans 1.8, litebans 1.17
Regarding reviews:
Read the FAQ before posting a review or reporting problems with the plugin!
Report issues via PM, discussion thread, or the issue tracker.
Please do not post a negative review without contacting me first!
关于LiteBans
通过 LiteBans 进行的所有惩罚将在链接到同一数据库的所有服务器上同步生效。
尽管 LiteBans 的设计初衷的是在数百台服务器之间进行有效同步,但它仍然可以在没有 MySQL 数据库的单个服务器上独立工作。
LiteBans 可以在 Spigot、Folia、BungeeCord 和 Velocity 下本地运行,在所有平台上提供相同的功能。
特点
- 从开始设计就考虑到了 UUID 支持。所有惩罚都是基于 UUID 的。
- 完全可定制的被禁止玩家的踢出通知,可以使用多行消息颜色代码,以及禁令信息变量 - 禁令到期前的持续时间、原因、发布禁令的工作人员、被施加禁令的服务器、自施加禁令以来的时间、原始禁令日期和持续时间等等。
- 模板系统允许您制作完全可定制的惩罚。每次你使用模板惩罚某人时,他们都会爬上你创建的阶梯并受到越来越大的惩罚。人话:禁令阶梯就是从低等级处罚逐步升级为高等级处罚。每个禁令模板都可以分配自定义踢出消息!
- 支持自定义警告模板,允许您定义警告类别,每个警告都有自己的一组触发惩罚命令,这些命令在玩家被警告特定次数后进行。
- 支持模板组 - 通过这些模板组,您可以通过在一个惩罚阶梯下组合模板来共享模板进程。
- 支持服务器范围,使您能够设置每台服务器的惩罚和全局惩罚。
- Discord Webhook 支持 - 将可定制的 Discord 嵌入消息发送到您的 Discord 服务器!易于配置。
- 所有消息都可以在 messages.yml 中自定义。有许多有用的变量可放置在涉及禁止、禁言或警告的任何可配置消息中。支持悬停文本和十六进制颜色。
- 您可以查看玩家的处罚历史(/history)和工作人员发出的处罚(/staffhistory)。
- 支持多种数据库类型,包括 MySQL、MariaDB、PostgreSQL 和 H2。默认情况下使用 H2,这意味着在单服务器设置中使用 LiteBans 不需要 MySQL。
- 多帐户通知 - 当同一 IP 上的被禁止帐户的玩家加入时,所有具有正确权限的玩家都会收到通知。
- 多实例同步系统允许全局惩罚和广播在连接到同一数据库的所有服务器上立即生效,即使插件没有安装在 BungeeCord 下。就比如你有两个服务器,一个生存服 一个创造服。你在创造服ban了一个人,这个ban和消息会在使用同一数据库的生存服上播报并且生效。
- 工作人员可以“回滚”——他们发出的所有惩罚都可以随时通过一个命令取消。处理员工虐待行为从未如此简单。
- 可以从原版(包括 Essentials)和 7 个流行插件(包括 MaxBans、BanManager、AdvancedBan 和 BungeeAdminTools)导入禁令。
- 可以使用“/litebans allowed”命令允许已被 IP 禁止或 GeoIP 阻止的用户,该命令将其帐户从 IP 禁止中排除,而无需完全删除禁令。
- 离线玩家可以收到警告;他们加入后将看到所有新警告。这适用于跨服务器。
- 除非获得许可,否则玩家不能通过设置非常短的禁令或静音来推翻惩罚。
- 轻量级、多线程且专为性能而设计。 LiteBans 使用最少的内存,并且启动后不会阻塞主服务器线程进行任何数据库查询。
跨服务器同步
LiteBans 网络的最佳功能之一是其跨服务器同步系统。例如:
服务器A、服务器B和服务器C都运行LiteBans,连接到同一个MySQL数据库。
如果A服务器的玩家在B服务器被禁言,则A服务器立即生效,该玩家将被禁言,并且A、B、C服务器上的所有玩家都会看到该玩家被禁言的广播:他们有权限并且启用了广播同步。如果玩家离开服务器A并加入服务器B或服务器C,他们仍然会被禁言。
网页界面
Web 界面列出了所有Ban、禁言、警告和踢出。它可用于查看特定玩家或工作人员的所有惩罚,并检查这些惩罚何时到期。
* 不包括免费网站,您需要自己的网站托管。


安装指南:https://gitlab.com/ruany/litebans-php/-/wikis/Installation
JSON 支持
LiteBans 允许您在所有消息(包括广播)中设置自定义悬停文本。只有拥有权限 (litebans.json.hover_text) 的玩家才会看到悬停文本。
messages.yml 中可用的所有变量以及颜色和换行符也可以包含在悬停文本中。

例子:
代码:
broadcast_ban: '&e$bannedPlayer &chas been banned. {hoverText: &aHover text here!}'
模板系统
LiteBans拥有强大的模板系统。模板可应用于Ban、禁言、警告和踢出。每个模板都有一个可配置的阶梯,因此,例如,您可以有一个模板,第一次应用该模板时将玩家禁言两周,第二次禁言一个月,第二次禁言三个月这是第三次了。
这只是冰山一角。请参阅 wiki 上的模板以获取完整的文档和示例!
命令
所有命令和标志都记录在 wiki 上 - 单击此处查看它们。常见问题解答
在发表评论或报告插件问题之前,请先阅读常见问题解答!常见问题解答可以在这里查看。
权限
完整的权限列表可以在此处查看。配置
除非另有明确说明,配置中的所有选项在插件的所有版本(Spigot/Bungee/Velocity)上同样有效。插件配置(config.yml):
可以在此处查看默认的 config.yml。
自定义消息(messages.yml):
可以在此处查看默认的 messages.yml。
所有变量现在都记录在 messages.yml 中,可以在上面查看。
所有变量现在都记录在 messages.yml 中,可以在上面查看。
数据库配置
该插件已针对 H2 进行了预先配置,因此如果您没有 MySQL 数据库,则无需配置任何内容。H2不需要任何配置,并使用磁盘上的文件进行操作。
如果需要使用 MySQL 数据库,请打开 config.yml,将“驱动程序”更改为“MySQL”,然后根据需要设置“用户名”、“密码”、“地址”和“数据库”。
导入
包含信息、说明和示例的完整指南可在此处查看:
https://gitlab.com/ruany/LiteBans/-/wikis/Importing
图片


要求
为了在插件中支持 MySQL,需要一个可用的 MySQL 数据库。
如果您运行单个插件实例并且不需要 Web 界面,则不需要 MySQL 服务器,并且插件在安装后无需配置即可立即运行。
需要有效的互联网连接,但仅限第一次启动插件时。依赖项(每次更新仅下载一次,并且可以单独下载)存储在 LiteBans 数据文件夹中后将离线工作。
安装
LiteBans 可以通过多种方式安装。它可以在单个 Spigot 服务器上运行,也可以在链接到同一 MySQL 数据库的多个 Spigot 服务器上运行,也可以直接安装在 BungeeCord 或 Velocity 上。
我应该在所有 Spigot 服务器上安装该插件还是仅在 Bungee/Velocity 上安装该插件?
请注意,您在 Spigot 下配置的权限不会自动转移到 BungeeCord 或 Velocity 上。
LuckPerms 有 BungeeCord 和 Velocity 支持。如果安装正确,权限将在 Spigot 和代理之间桥接。
如果您希望 LiteBans 在 Spigot 存在(Spigot 权限,可与使用 /ban、/mute、/kick 等的 Spigot 插件一起使用),那么您可以将其安装在每个 Spigot 服务器上,并将所有插件实例与同一数据库链接在一起。
否则,如果您可以使用 Bungee/Velocity 权限系统(推荐使用 LuckPerms)并且没有任何需要使用 LiteBans 命令的 Spigot 插件,那么您可以直接将其安装在 BungeeCord/Velocity 上,而不必必须将其安装在连接到代理的任何服务器上。
对于单服务器 Spigot 设置:
- 将插件下载到 Spigot 插件文件夹。
- 启动服务器(如果它已经在运行请重新启动它)
- 根据需要编辑 config.yml 和 messages.yml,然后运行“/litebans reload”。
- 使用您安装的任何权限插件设置权限。
使用多个 Spigot 服务器:
- 使用上面针对每台服务器的说明,在要链接在一起的所有服务器上安装插件。
- 配置插件以连接到所有服务器上的同一数据库。
- 将插件下载到 BungeeCord 插件文件夹。该插件不需要安装在链接到代理的任何服务器上。
- 启动 BungeeCord(如果它已经在运行请重启它)
- 根据需要编辑 config.yml 和 messages.yml,然后运行“/litebans reload”。
- 使用您安装的任何权限插件设置权限。如果您希望玩家看到播报,您需要将“litebans.notify.broadcast”权限添加到默认组。
- 如果您正在运行离线模式服务器,则需要将您的身份验证系统(例如 AuthMe)与 BungeeCord 链接,否则用户无需登录即可运行命令。
注意:LiteBans 不需要也不利用 RedisBungee 来跨多个服务器进行同步。
只要运行 LiteBans 的多个 BungeeCord 代理连接到同一数据库,禁令、禁言、广播、通知和踢出就会同步。
配置简单直观 - 您只需将服务器连接到同一个数据库,无需其他任何操作。
- 下载插件并将其复制到每个 BungeeCord 实例的插件文件夹中。
- 配置 config.yml 和 messages.yml 并将它们复制到所有实例中。插件第一次启动后,默认配置将放置在“plugins/LiteBans/”中。所有实例都需要连接到同一个 MySQL 数据库才能正确同步。
- 在每个 BungeeCord 实例的 config.yml 中设置权限并重新启动。如果您希望玩家看到广播,您需要将“litebans.notify.broadcast”权限添加到默认组。
- 如果您运行的是离线模式服务器,则需要安装 AuthMeBungee,否则用户无需登录即可运行命令。
通过运行“/litebans info”命令。它会告诉您是否有多个服务器连接到数据库。
Spigot 版本与 BungeeCord 版本
LiteBans 可以直接在 Spigot 或 BungeeCord 下运行-- 它可以安装在 Spigot 插件文件夹或 BungeeCord 插件文件夹中。LiteBans 的所有命令和功能也可在 BungeeCord 和 Velocity 下使用。
BungeeCord版本的特点:
- 网络上所有服务器上的玩家都被视为在同一服务器上。
- 无需在具有相同 MySQL 配置的所有服务器上设置 LiteBans。仅在 BungeeCord 代理上进行一次设置就足以使禁令在每台服务器上起作用。
- BungeeCord 版本可以使用本地文件数据库 (H2),并且仍然可以跨多个服务器工作(使用单代理设置),但是,没有对此提供官方 Web 界面支持。
- Spigot 插件无法覆盖代理级别发生的情况,因此其他插件干扰 LiteBans 的可能性要小得多。
- LiteBans 不介意您在代理后面运行什么类型的服务器 - 它们不必是 Spigot 服务器,并且不需要“桥接”插件。如果您可以在 Bungee 后面运行 Vanilla 服务器,您仍然可以在其上使用 LiteBans!
- 您将需要一个原生的 Bungee 权限系统(推荐使用 LuckPerms)。
- 每个插件实例只有一个全局配置。 (config.yml, messages.yml) - 这也可以被认为是积极的。
- Spigot 插件不能直接执行 BungeeCord 命令,反之亦然。例如,如果无法从后端服务器运行 /ban 命令,Anticheat 插件将无法全局禁止玩家。
- 禁止使用控制台时,您必须使用 BungeeCord 控制台。
API
https://gitlab.com/ruany/LiteBansAPI/wikis/home服务条款
- 您可以在多个服务器上使用该插件,前提是所有这些服务器都属于您。
- 您可以自由使用和修改网页界面,您还可以删除或修改header.php中的版权信息。
- 您不得重新分发或转售该插件;这样做将导致您对插件的访问权限和未来的更新被永久撤销。
- 您不得通过 PayPal 或任何支付处理机构提出争议或退款;这样做将导致您对插件的访问权限和未来的更新被永久撤销。
退款政策
除非违反服务条款,否则可以在购买后 30 天内以任何理由退款。
